π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Update localization strings and adjust spacing in various UI components
AmanRajSinghMourya5849e5e79015
diff --git a/mobile/apps/locker/lib/l10n/app_en.arb b/mobile/apps/locker/lib/l10n/app_en.arbindex 4c89d5ce48..c398fcb35f 100644--- a/mobile/apps/locker/lib/l10n/app_en.arb+++ b/mobile/apps/locker/lib/l10n/app_en.arb@@ -362,7 +362,7 @@"emergencyContact": "Emergency contact","emergencyContactDescription": "Keep contact info for key people in crises.","noteName": "Title",- "noteNameHint": "Write down important thoughts, instructions, or memories you want to preserve",+ "noteNameHint": "Hint text","noteContent": "Content","noteContentHint": "Write down important thoughts, instructions, or memories you want to preserve","recordName": "Record name",diff --git a/mobile/apps/locker/lib/l10n/app_localizations.dart b/mobile/apps/locker/lib/l10n/app_localizations.dartindex 113a4356cc..4940219690 100644--- a/mobile/apps/locker/lib/l10n/app_localizations.dart+++ b/mobile/apps/locker/lib/l10n/app_localizations.dart@@ -1093,7 +1093,7 @@ abstract class AppLocalizations {/// No description provided for @noteNameHint.////// In en, this message translates to:- /// **'Write down important thoughts, instructions, or memories you want to preserve'**+ /// **'Hint text'**String get noteNameHint;/// No description provided for @noteContent.diff --git a/mobile/apps/locker/lib/l10n/app_localizations_en.dart b/mobile/apps/locker/lib/l10n/app_localizations_en.dartindex 0c18daa06e..1917d4b391 100644--- a/mobile/apps/locker/lib/l10n/app_localizations_en.dart+++ b/mobile/apps/locker/lib/l10n/app_localizations_en.dart@@ -577,8 +577,7 @@ class AppLocalizationsEn extends AppLocalizations {String get noteName => 'Title';@override- String get noteNameHint =>- 'Write down important thoughts, instructions, or memories you want to preserve';+ String get noteNameHint => 'Hint text';@overrideString get noteContent => 'Content';diff --git a/mobile/apps/locker/lib/ui/components/collection_popup_menu_widget.dart b/mobile/apps/locker/lib/ui/components/collection_popup_menu_widget.dartindex 866cdca07e..344ae2f45e 100644--- a/mobile/apps/locker/lib/ui/components/collection_popup_menu_widget.dart+++ b/mobile/apps/locker/lib/ui/components/collection_popup_menu_widget.dart@@ -33,7 +33,6 @@ class CollectionPopupMenuWidget extends StatelessWidget {borderRadius: BorderRadius.circular(16),side: BorderSide(color: colorScheme.strokeFaint),),- color: colorScheme.backgroundElevated,elevation: 15,shadowColor: Colors.black.withValues(alpha: 0.08),child: child ??diff --git a/mobile/apps/locker/lib/ui/components/file_popup_menu_widget.dart b/mobile/apps/locker/lib/ui/components/file_popup_menu_widget.dartindex 7683b1a445..e93f8b2dd9 100644--- a/mobile/apps/locker/lib/ui/components/file_popup_menu_widget.dart+++ b/mobile/apps/locker/lib/ui/components/file_popup_menu_widget.dart@@ -38,7 +38,6 @@ class FilePopupMenuWidget extends StatelessWidget {borderRadius: BorderRadius.circular(16),side: BorderSide(color: colorScheme.strokeFaint),),- color: colorScheme.backgroundElevated,elevation: 15,shadowColor: Colors.black.withValues(alpha: 0.08),child: child ??diff --git a/mobile/apps/locker/lib/ui/components/form_text_input_widget.dart b/mobile/apps/locker/lib/ui/components/form_text_input_widget.dartindex aa51d1293e..a21726c638 100644--- a/mobile/apps/locker/lib/ui/components/form_text_input_widget.dart+++ b/mobile/apps/locker/lib/ui/components/form_text_input_widget.dart@@ -111,7 +111,7 @@ class _FormTextInputWidgetState extends State<FormTextInputWidget> {widget.labelText,style: textTheme.body,),- const SizedBox(height: 4),+ const SizedBox(height: 8),],ClipRRect(borderRadius: const BorderRadius.all(Radius.circular(8)),diff --git a/mobile/apps/locker/lib/ui/components/input_dialog_sheet.dart b/mobile/apps/locker/lib/ui/components/input_dialog_sheet.dartindex c853ff220e..422aec661e 100644--- a/mobile/apps/locker/lib/ui/components/input_dialog_sheet.dart+++ b/mobile/apps/locker/lib/ui/components/input_dialog_sheet.dart@@ -171,7 +171,6 @@ Future<dynamic> showInputDialogSheet(final result = await showDialog<dynamic>(context: context,builder: (context) => Dialog(- backgroundColor: Colors.transparent,child: InputDialogSheet(title: title,hintText: hintText,diff --git a/mobile/apps/locker/lib/ui/pages/account_credentials_page.dart b/mobile/apps/locker/lib/ui/pages/account_credentials_page.dartindex 8b633ce925..52b675b807 100644--- a/mobile/apps/locker/lib/ui/pages/account_credentials_page.dart+++ b/mobile/apps/locker/lib/ui/pages/account_credentials_page.dart@@ -104,7 +104,7 @@ class _AccountCredentialsPageStatereturn null;},),- const SizedBox(height: 16),+ const SizedBox(height: 24),FormTextInputWidget(labelText: context.l10n.username,hintText: context.l10n.usernameHint,@@ -117,7 +117,7 @@ class _AccountCredentialsPageStatereturn null;},),- const SizedBox(height: 16),+ const SizedBox(height: 24),FormTextInputWidget(labelText: context.l10n.password,hintText: context.l10n.passwordHint,@@ -141,7 +141,7 @@ class _AccountCredentialsPageStatereturn null;},),- const SizedBox(height: 16),+ const SizedBox(height: 24),FormTextInputWidget(labelText: context.l10n.credentialNotes,hintText: context.l10n.credentialNotesHint,@@ -160,19 +160,19 @@ class _AccountCredentialsPageStatelabel: context.l10n.credentialName,value: _nameController.text,),- const SizedBox(height: 16),+ const SizedBox(height: 24),buildViewField(label: context.l10n.username,value: _usernameController.text,),- const SizedBox(height: 16),+ const SizedBox(height: 24),buildViewField(label: context.l10n.password,value: _passwordController.text,isSecret: true,),if (_notesController.text.isNotEmpty) ...[- const SizedBox(height: 16),+ const SizedBox(height: 24),buildViewField(label: context.l10n.credentialNotes,value: _notesController.text,diff --git a/mobile/apps/locker/lib/ui/pages/base_info_page.dart b/mobile/apps/locker/lib/ui/pages/base_info_page.dartindex 8890cdf3b2..aa211d65db 100644--- a/mobile/apps/locker/lib/ui/pages/base_info_page.dart+++ b/mobile/apps/locker/lib/ui/pages/base_info_page.dart@@ -441,7 +441,7 @@ abstract class BaseInfoPageState<T extends InfoData, W extends BaseInfoPage<T>>width: double.infinity,child: GradientButton(hugeIcon: HugeIcon(- icon: HugeIcons.strokeRoundedAddCircleHalfDot,+ icon: HugeIcons.strokeRoundedFileUpload,color: colorScheme.textBase,),onTap: _isLoading ? null : _saveRecord,diff --git a/mobile/apps/locker/lib/ui/pages/collection_page.dart b/mobile/apps/locker/lib/ui/pages/collection_page.dartindex c2067179fb..6b13fe8842 100644--- a/mobile/apps/locker/lib/ui/pages/collection_page.dart+++ b/mobile/apps/locker/lib/ui/pages/collection_page.dart@@ -250,7 +250,6 @@ class _CollectionPageState extends UploaderPageState<CollectionPage>borderRadius: BorderRadius.circular(16),side: BorderSide(color: colorScheme.strokeFaint),),- color: colorScheme.backgroundElevated,elevation: 15,shadowColor: Colors.black.withValues(alpha: 0.08),child: Container(@@ -263,7 +262,7 @@ class _CollectionPageState extends UploaderPageState<CollectionPage>padding: const EdgeInsets.all(12),child: HugeIcon(icon: HugeIcons.strokeRoundedMoreVertical,- color: colorScheme.textBase,+ color: colorScheme.iconColor,),),onSelected: (value) {@@ -302,7 +301,7 @@ class _CollectionPageState extends UploaderPageState<CollectionPage>child: MenuItemWidget(icon: HugeIcon(icon: HugeIcons.strokeRoundedPencilEdit02,- color: colorScheme.textBase,+ color: colorScheme.iconColor,size: 20,),label: context.l10n.edit,@@ -340,7 +339,7 @@ class _CollectionPageState extends UploaderPageState<CollectionPage>child: MenuItemWidget(icon: HugeIcon(icon: HugeIcons.strokeRoundedDelete02,- color: colorScheme.textBase,+ color: colorScheme.iconColor,size: 20,),label: context.l10n.leaveCollection,@@ -394,7 +393,7 @@ class _CollectionPageState extends UploaderPageState<CollectionPage>padding: const EdgeInsets.all(12),child: HugeIcon(icon: HugeIcons.strokeRoundedShare08,- color: colorScheme.textBase,+ color: colorScheme.iconColor,),),),diff --git a/mobile/apps/locker/lib/ui/pages/emergency_contact_page.dart b/mobile/apps/locker/lib/ui/pages/emergency_contact_page.dartindex ee36afac1b..152e738ac0 100644--- a/mobile/apps/locker/lib/ui/pages/emergency_contact_page.dart+++ b/mobile/apps/locker/lib/ui/pages/emergency_contact_page.dart@@ -92,7 +92,7 @@ class _EmergencyContactPageStatereturn null;},),- const SizedBox(height: 16),+ const SizedBox(height: 24),FormTextInputWidget(labelText: context.l10n.contactDetails,hintText: context.l10n.contactDetailsHint,@@ -105,7 +105,7 @@ class _EmergencyContactPageStatereturn null;},),- const SizedBox(height: 16),+ const SizedBox(height: 24),FormTextInputWidget(labelText: context.l10n.contactNotes,hintText: context.l10n.contactNotesHint,@@ -124,13 +124,13 @@ class _EmergencyContactPageStatelabel: context.l10n.contactName,value: _nameController.text,),- const SizedBox(height: 16),+ const SizedBox(height: 24),buildViewField(label: context.l10n.contactDetails,value: _contactDetailsController.text,),if (_notesController.text.isNotEmpty) ...[- const SizedBox(height: 16),+ const SizedBox(height: 24),buildViewField(label: context.l10n.contactNotes,value: _notesController.text,diff --git a/mobile/apps/locker/lib/ui/pages/file_upload_screen.dart b/mobile/apps/locker/lib/ui/pages/file_upload_screen.dartindex 173c35a54e..dd42c6ad8d 100644--- a/mobile/apps/locker/lib/ui/pages/file_upload_screen.dart+++ b/mobile/apps/locker/lib/ui/pages/file_upload_screen.dart@@ -185,9 +185,9 @@ class _FileUploadScreenState extends State<FileUploadScreen> {child: SizedBox(width: double.infinity,child: GradientButton(- hugeIcon: HugeIcon(+ hugeIcon: const HugeIcon(icon: HugeIcons.strokeRoundedFileUpload,- color: colorScheme.backdropBase,+ color: Colors.white,),onTap: () async {final result = FileUploadDialogResult(diff --git a/mobile/apps/locker/lib/ui/pages/home_page.dart b/mobile/apps/locker/lib/ui/pages/home_page.dartindex 6f7b3ea746..675e893416 100644--- a/mobile/apps/locker/lib/ui/pages/home_page.dart+++ b/mobile/apps/locker/lib/ui/pages/home_page.dart@@ -766,7 +766,6 @@ class _HomePageState extends UploaderPageState<HomePage>child: Container(width: 200,decoration: BoxDecoration(- color: colorScheme.backgroundElevated,borderRadius: BorderRadius.circular(16),border: Border.all(color: colorScheme.strokeFaint),boxShadow: [@@ -781,7 +780,6 @@ class _HomePageState extends UploaderPageState<HomePage>mainAxisSize: MainAxisSize.min,children: [Material(- color: Colors.transparent,borderRadius: const BorderRadius.only(topLeft: Radius.circular(15),topRight: Radius.circular(15),@@ -825,7 +823,6 @@ class _HomePageState extends UploaderPageState<HomePage>color: colorScheme.strokeFaint,),Material(- color: Colors.transparent,borderRadius: const BorderRadius.only(bottomLeft: Radius.circular(15),bottomRight: Radius.circular(15),diff --git a/mobile/apps/locker/lib/ui/pages/personal_note_page.dart b/mobile/apps/locker/lib/ui/pages/personal_note_page.dartindex a413c1e5b5..4782a2f796 100644--- a/mobile/apps/locker/lib/ui/pages/personal_note_page.dart+++ b/mobile/apps/locker/lib/ui/pages/personal_note_page.dart@@ -85,7 +85,7 @@ class _PersonalNotePageStatereturn null;},),- const SizedBox(height: 16),+ const SizedBox(height: 24),FormTextInputWidget(labelText: context.l10n.noteContent,hintText: context.l10n.noteContentHint,@@ -109,7 +109,7 @@ class _PersonalNotePageStatelabel: context.l10n.noteName,value: _nameController.text,),- const SizedBox(height: 16),+ const SizedBox(height: 24),buildViewField(label: context.l10n.noteContent,value: _contentController.text,diff --git a/mobile/apps/locker/lib/ui/pages/physical_records_page.dart b/mobile/apps/locker/lib/ui/pages/physical_records_page.dartindex aff14a4fa7..64f47b246d 100644--- a/mobile/apps/locker/lib/ui/pages/physical_records_page.dart+++ b/mobile/apps/locker/lib/ui/pages/physical_records_page.dart@@ -91,7 +91,7 @@ class _PhysicalRecordsPageStatereturn null;},),- const SizedBox(height: 16),+ const SizedBox(height: 24),FormTextInputWidget(labelText: context.l10n.recordLocation,hintText: context.l10n.recordLocationHint,@@ -104,7 +104,7 @@ class _PhysicalRecordsPageStatereturn null;},),- const SizedBox(height: 16),+ const SizedBox(height: 24),FormTextInputWidget(labelText: context.l10n.recordNotes,hintText: context.l10n.recordNotesHint,@@ -123,13 +123,13 @@ class _PhysicalRecordsPageStatelabel: context.l10n.recordName,value: _nameController.text,),- const SizedBox(height: 16),+ const SizedBox(height: 24),buildViewField(label: context.l10n.recordLocation,value: _locationController.text,),if (_notesController.text.isNotEmpty) ...[- const SizedBox(height: 16),+ const SizedBox(height: 24),buildViewField(label: context.l10n.recordNotes,value: _notesController.text,