π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
extract strings and update colors
AmanRajSinghMouryacb0da0ad3f6c
diff --git a/mobile/apps/locker/lib/l10n/app_en.arb b/mobile/apps/locker/lib/l10n/app_en.arbindex 2812f19a29..09806a8f61 100644--- a/mobile/apps/locker/lib/l10n/app_en.arb+++ b/mobile/apps/locker/lib/l10n/app_en.arb@@ -288,6 +288,7 @@}},"uncategorized": "Uncategorized",+ "syncing": "Syncing...","syncingTrash": "Syncing trash...","restoring": "Restoring...","restoredFileToCollection": "Restored \"{fileName}\" to \"{collectionName}\"",diff --git a/mobile/apps/locker/lib/l10n/app_localizations.dart b/mobile/apps/locker/lib/l10n/app_localizations.dartindex b57c302e4d..cf09b9539b 100644--- a/mobile/apps/locker/lib/l10n/app_localizations.dart+++ b/mobile/apps/locker/lib/l10n/app_localizations.dart@@ -670,6 +670,12 @@ abstract class AppLocalizations {/// **'Uncategorized'**String get uncategorized;+ /// No description provided for @syncing.+ ///+ /// In en, this message translates to:+ /// **'Syncing...'**+ String get syncing;+/// No description provided for @syncingTrash.////// In en, this message translates to:diff --git a/mobile/apps/locker/lib/l10n/app_localizations_en.dart b/mobile/apps/locker/lib/l10n/app_localizations_en.dartindex eb172e4f5c..c489ce0451 100644--- a/mobile/apps/locker/lib/l10n/app_localizations_en.dart+++ b/mobile/apps/locker/lib/l10n/app_localizations_en.dart@@ -354,6 +354,9 @@ class AppLocalizationsEn extends AppLocalizations {@overrideString get uncategorized => 'Uncategorized';+ @override+ String get syncing => 'Syncing...';+@overrideString get syncingTrash => 'Syncing trash...';diff --git a/mobile/apps/locker/lib/ui/pages/home_page.dart b/mobile/apps/locker/lib/ui/pages/home_page.dartindex c209c2b814..e53143a6ee 100644--- a/mobile/apps/locker/lib/ui/pages/home_page.dart+++ b/mobile/apps/locker/lib/ui/pages/home_page.dart@@ -8,6 +8,7 @@ import "package:ente_ui/components/alert_bottom_sheet.dart";import 'package:ente_ui/theme/ente_theme.dart';import 'package:ente_ui/utils/dialog_util.dart';import 'package:flutter/material.dart';+import "package:flutter_svg/flutter_svg.dart";import "package:hugeicons/hugeicons.dart";import 'package:listen_sharing_intent/listen_sharing_intent.dart';import 'package:locker/events/collections_updated_event.dart';@@ -60,6 +61,7 @@ class CustomLockerAppBar extends StatelessWidget@overrideWidget build(BuildContext context) {final colorScheme = getEnteColorScheme(context);+ final textTheme = getEnteTextTheme(context);final hasQuery = searchController.text.isNotEmpty;final showClearIcon = isSearchActive || hasQuery;@@ -96,10 +98,10 @@ class CustomLockerAppBar extends StatelessWidget),),isSyncing- ? const Row(+ ? Row(mainAxisSize: MainAxisSize.min,children: [- SizedBox(+ const SizedBox(width: 16,height: 16,child: CircularProgressIndicator(@@ -109,21 +111,16 @@ class CustomLockerAppBar extends StatelessWidget),),),- SizedBox(width: 8),+ const SizedBox(width: 8),Text(- "Syncing...",- style: TextStyle(+ context.l10n.syncing,+ style: textTheme.body.copyWith(color: Colors.white,- fontSize: 16,- fontWeight: FontWeight.w500,),),],)- : Image.asset(- 'assets/locker-logo.png',- height: 28,- ),+ : SvgPicture.asset('assets/svg/app-logo.svg'),],),),@@ -145,10 +142,8 @@ class CustomLockerAppBar extends StatelessWidgettextAlignVertical: TextAlignVertical.center,decoration: InputDecoration(hintText: context.l10n.searchHint,- hintStyle: TextStyle(+ hintStyle: textTheme.smallBold.copyWith(color: colorScheme.iconColor,- fontWeight: FontWeight.w600,- fontSize: 14,),border: InputBorder.none,focusedBorder: InputBorder.none,@@ -679,6 +674,7 @@ class _HomePageState extends UploaderPageState<HomePage>}Widget _buildBody() {+ final colorScheme = getEnteColorScheme(context);if (_error != null) {return SingleChildScrollView(physics: const AlwaysScrollableScrollPhysics(),@@ -688,15 +684,15 @@ class _HomePageState extends UploaderPageState<HomePage>child: Column(mainAxisAlignment: MainAxisAlignment.center,children: [- const Icon(+ Icon(Icons.error_outline,- color: Colors.red,+ color: colorScheme.warning400,size: 64,),const SizedBox(height: 16),Text(_error!,- style: const TextStyle(color: Colors.red),+ style: TextStyle(color: colorScheme.warning400),textAlign: TextAlign.center,),const SizedBox(height: 16),