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

This commit is contained in:
2026-06-05 17:13:03 +02:00
parent 8ecfc9a1fe
commit ee293d7daf
301 changed files with 8247 additions and 2218 deletions

View File

@@ -64,6 +64,7 @@ import {
ThemePickerOverlayComponent,
ThemeService
} from './domains/theme';
import { AppI18nService, APP_TRANSLATE_IMPORTS } from './core/i18n';
@Component({
selector: 'app-root',
@@ -81,7 +82,8 @@ import {
NativeContextMenuComponent,
PrivateCallComponent,
ThemeNodeDirective,
ThemePickerOverlayComponent
ThemePickerOverlayComponent,
...APP_TRANSLATE_IMPORTS
],
viewProviders: [
provideIcons({
@@ -189,6 +191,7 @@ export class App implements OnInit, OnDestroy {
};
});
private readonly appI18n = inject(AppI18nService);
private readonly mobilePersistence = inject(MobilePersistenceService);
private readonly mobileLifecycle = inject(MobileAppLifecycleService);
private readonly mobileUpdates = inject(MobileAppUpdateService);
@@ -198,6 +201,8 @@ export class App implements OnInit, OnDestroy {
private themeStudioControlsBounds: { width: number; height: number } | null = null;
constructor() {
this.appI18n.initialize();
effect(() => {
if (!this.isThemeStudioFullscreen() || this.themeStudioFullscreenComponent()) {
return;