feat: Rename to Toju and add translation
Some checks failed
Deploy Web Apps / deploy (push) Successful in 5m52s
Build Android APK / build-android-apk (push) Failing after 23m15s
Queue Release Build / prepare (push) Successful in 1m42s
Queue Release Build / build-linux (push) Failing after 9m33s
Queue Release Build / build-windows (push) Successful in 26m5s
Queue Release Build / finalize (push) Has been skipped
Some checks failed
Deploy Web Apps / deploy (push) Successful in 5m52s
Build Android APK / build-android-apk (push) Failing after 23m15s
Queue Release Build / prepare (push) Successful in 1m42s
Queue Release Build / build-linux (push) Failing after 9m33s
Queue Release Build / build-windows (push) Successful in 26m5s
Queue Release Build / finalize (push) Has been skipped
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
import { Injector } from '@angular/core';
|
||||
import { provideTranslateService } from '@ngx-translate/core';
|
||||
import { environment } from '../../../../../environments/environment';
|
||||
import { AppI18nService } from '../../../../core/i18n';
|
||||
import type { TojuPluginManifest } from '../../../../shared-kernel';
|
||||
import { ElectronBridgeService } from '../../../../core/platform/electron/electron-bridge.service';
|
||||
import { PluginStoreService } from './plugin-store.service';
|
||||
@@ -259,6 +261,11 @@ function createService(
|
||||
): PluginStoreService {
|
||||
const injector = Injector.create({
|
||||
providers: [
|
||||
provideTranslateService({
|
||||
fallbackLang: 'en',
|
||||
lang: 'en'
|
||||
}),
|
||||
AppI18nService,
|
||||
PluginStoreService,
|
||||
{
|
||||
provide: ElectronBridgeService,
|
||||
@@ -299,7 +306,10 @@ function createService(
|
||||
]
|
||||
});
|
||||
|
||||
return injector.get(PluginStoreService);
|
||||
const service = injector.get(PluginStoreService);
|
||||
injector.get(AppI18nService).initialize();
|
||||
|
||||
return service;
|
||||
}
|
||||
|
||||
function toBase64(value: string): string {
|
||||
|
||||
Reference in New Issue
Block a user