π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Add ente_strings package and update localization delegates
AmanRajSinghMourya085551b5a7f8
diff --git a/mobile/apps/auth/lib/app/view/app.dart b/mobile/apps/auth/lib/app/view/app.dartindex 81dedefa5f..ff4434f2e1 100644--- a/mobile/apps/auth/lib/app/view/app.dart+++ b/mobile/apps/auth/lib/app/view/app.dart@@ -16,6 +16,7 @@ import 'package:ente_auth/ui/settings/app_update_dialog.dart';import 'package:ente_events/event_bus.dart';import 'package:ente_events/models/signed_in_event.dart';import 'package:ente_events/models/signed_out_event.dart';+import 'package:ente_strings/l10n/strings_localizations.dart';import 'package:flutter/foundation.dart';import "package:flutter/material.dart";import 'package:flutter_localizations/flutter_localizations.dart';@@ -131,6 +132,7 @@ class _AppState extends State<App>localeListResolutionCallback: localResolutionCallBack,localizationsDelegates: const [AppLocalizations.delegate,+ StringsLocalizations.delegate,GlobalMaterialLocalizations.delegate,GlobalCupertinoLocalizations.delegate,GlobalWidgetsLocalizations.delegate,@@ -150,6 +152,7 @@ class _AppState extends State<App>localeListResolutionCallback: localResolutionCallBack,localizationsDelegates: const [AppLocalizations.delegate,+ StringsLocalizations.delegate,GlobalMaterialLocalizations.delegate,GlobalCupertinoLocalizations.delegate,GlobalWidgetsLocalizations.delegate,diff --git a/mobile/apps/auth/lib/main.dart b/mobile/apps/auth/lib/main.dartindex 5676f508eb..3f7d5f2fea 100644--- a/mobile/apps/auth/lib/main.dart+++ b/mobile/apps/auth/lib/main.dart@@ -7,7 +7,7 @@ import "package:ente_auth/app/view/app.dart";import 'package:ente_auth/core/configuration.dart';import 'package:ente_auth/core/constants.dart';import 'package:ente_auth/ente_theme_data.dart';-import 'package:ente_auth/l10n/l10n.dart';+import 'package:ente_auth/l10n/l10n.dart';import 'package:ente_auth/locale.dart';import 'package:ente_auth/services/authenticator_service.dart';import 'package:ente_auth/services/billing_service.dart';@@ -29,6 +29,7 @@ import 'package:ente_lock_screen/ui/app_lock.dart';import 'package:ente_lock_screen/ui/lock_screen.dart';import 'package:ente_logging/logging.dart';import 'package:ente_network/network.dart';+import 'package:ente_strings/l10n/strings_localizations.dart';import 'package:flutter/foundation.dart';import "package:flutter/material.dart";import 'package:flutter_displaymode/flutter_displaymode.dart';@@ -111,7 +112,8 @@ Future<void> _runInForeground() async {darkTheme: darkThemeData,savedThemeMode: savedThemeMode,localeListResolutionCallback: localResolutionCallBack,- localizationsDelegates: const [+ localizationsDelegates: const [+ ...StringsLocalizations.localizationsDelegates,...AppLocalizations.localizationsDelegates,],supportedLocales: appSupportedLocales,diff --git a/mobile/apps/auth/pubspec.lock b/mobile/apps/auth/pubspec.lockindex 57852f892d..a0eb13e153 100644--- a/mobile/apps/auth/pubspec.lock+++ b/mobile/apps/auth/pubspec.lock@@ -457,7 +457,7 @@ packages:source: pathversion: "1.0.0"ente_strings:- dependency: transitive+ dependency: "direct main"description:path: "../../packages/strings"relative: truediff --git a/mobile/apps/auth/pubspec.yaml b/mobile/apps/auth/pubspec.yamlindex a78cdb0377..5a67de92b6 100644--- a/mobile/apps/auth/pubspec.yaml+++ b/mobile/apps/auth/pubspec.yaml@@ -42,6 +42,8 @@ dependencies:path: ../../packages/loggingente_network:path: ../../packages/network+ ente_strings:+ path: ../../packages/stringsente_ui:path: ../../packages/uievent_bus: ^2.0.0