💚 End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
extract strings for translation
ashilknaaf15892d821
diff --git a/lib/generated/l10n.dart b/lib/generated/l10n.dartindex 6291e10c00..ff1cbcc229 100644--- a/lib/generated/l10n.dart+++ b/lib/generated/l10n.dart@@ -8157,6 +8157,46 @@ class S {args: [],);}++ /// `Edit location`+ String get editLocation {+ return Intl.message(+ 'Edit location',+ name: 'editLocation',+ desc: '',+ args: [],+ );+ }++ /// `Select a location`+ String get selectALocation {+ return Intl.message(+ 'Select a location',+ name: 'selectALocation',+ desc: '',+ args: [],+ );+ }++ /// `Select a location first`+ String get selectALocationFirst {+ return Intl.message(+ 'Select a location first',+ name: 'selectALocationFirst',+ desc: '',+ args: [],+ );+ }++ /// `Change location of selected items?`+ String get changeLocationOfSelectedItems {+ return Intl.message(+ 'Change location of selected items?',+ name: 'changeLocationOfSelectedItems',+ desc: '',+ args: [],+ );+ }}class AppLocalizationDelegate extends LocalizationsDelegate<S> {diff --git a/lib/l10n/intl_cs.arb b/lib/l10n/intl_cs.arbindex 515bfae5aa..038d7b6171 100644--- a/lib/l10n/intl_cs.arb+++ b/lib/l10n/intl_cs.arb@@ -5,5 +5,9 @@"deleteConfirmDialogBody": "This account is linked to other ente apps, if you use any.\\n\\nYour uploaded data, across all ente apps, will be scheduled for deletion, and your account will be permanently deleted.","yourMap": "Your map","modifyYourQueryOrTrySearchingFor": "Modify your query, or try searching for",- "contacts": "Contacts"+ "contacts": "Contacts",+ "editLocation": "Edit location",+ "selectALocation": "Select a location",+ "selectALocationFirst": "Select a location first",+ "changeLocationOfSelectedItems": "Change location of selected items?"}\ No newline at end of filediff --git a/lib/l10n/intl_de.arb b/lib/l10n/intl_de.arbindex 086da19989..1afcd1b5a6 100644--- a/lib/l10n/intl_de.arb+++ b/lib/l10n/intl_de.arb@@ -1158,5 +1158,9 @@"signOutFromOtherDevices": "Von anderen Geräten abmelden","signOutOtherBody": "Falls du denkst, dass jemand dein Passwort kennen könnte, kannst du alle anderen Geräte von deinem Account abmelden.","signOutOtherDevices": "Andere Geräte abmelden",- "doNotSignOut": "Melde dich nicht ab"+ "doNotSignOut": "Melde dich nicht ab",+ "editLocation": "Edit location",+ "selectALocation": "Select a location",+ "selectALocationFirst": "Select a location first",+ "changeLocationOfSelectedItems": "Change location of selected items?"}\ No newline at end of filediff --git a/lib/l10n/intl_en.arb b/lib/l10n/intl_en.arbindex 37f5148141..e39b977d66 100644--- a/lib/l10n/intl_en.arb+++ b/lib/l10n/intl_en.arb@@ -929,8 +929,8 @@"itLooksLikeSomethingWentWrongPleaseRetryAfterSome": "It looks like something went wrong. Please retry after some time. If the error persists, please contact our support team.","error": "Error","tempErrorContactSupportIfPersists": "It looks like something went wrong. Please retry after some time. If the error persists, please contact our support team.",- "networkHostLookUpErr" : "Unable to connect to Ente, please check your network settings and contact support if the error persists.",- "networkConnectionRefusedErr" : "Unable to connect to Ente, please retry after sometime. If the error persists, please contact support.",+ "networkHostLookUpErr": "Unable to connect to Ente, please check your network settings and contact support if the error persists.",+ "networkConnectionRefusedErr": "Unable to connect to Ente, please retry after sometime. If the error persists, please contact support.","cachedData": "Cached data","clearCaches": "Clear caches","remoteImages": "Remote images",@@ -1155,9 +1155,12 @@"contacts": "Contacts","noInternetConnection": "No internet connection","pleaseCheckYourInternetConnectionAndTryAgain": "Please check your internet connection and try again.",-"signOutFromOtherDevices": "Sign out from other devices","signOutOtherBody": "If you think someone might know your password, you can force all other devices using your account to sign out.","signOutOtherDevices": "Sign out other devices",- "doNotSignOut": "Do not sign out"+ "doNotSignOut": "Do not sign out",+ "editLocation": "Edit location",+ "selectALocation": "Select a location",+ "selectALocationFirst": "Select a location first",+ "changeLocationOfSelectedItems": "Change location of selected items?"}\ No newline at end of filediff --git a/lib/l10n/intl_es.arb b/lib/l10n/intl_es.arbindex d7a9aabd85..8a7bdf418e 100644--- a/lib/l10n/intl_es.arb+++ b/lib/l10n/intl_es.arb@@ -968,5 +968,9 @@"deleteConfirmDialogBody": "This account is linked to other ente apps, if you use any.\\n\\nYour uploaded data, across all ente apps, will be scheduled for deletion, and your account will be permanently deleted.","yourMap": "Your map","modifyYourQueryOrTrySearchingFor": "Modify your query, or try searching for",- "contacts": "Contacts"+ "contacts": "Contacts",+ "editLocation": "Edit location",+ "selectALocation": "Select a location",+ "selectALocationFirst": "Select a location first",+ "changeLocationOfSelectedItems": "Change location of selected items?"}\ No newline at end of filediff --git a/lib/l10n/intl_fr.arb b/lib/l10n/intl_fr.arbindex deab1cabe5..047f9ccb9f 100644--- a/lib/l10n/intl_fr.arb+++ b/lib/l10n/intl_fr.arb@@ -1149,5 +1149,9 @@"@addNew": {"description": "Text to add a new item (location tag, album, caption etc)"},- "contacts": "Contacts"+ "contacts": "Contacts",+ "editLocation": "Edit location",+ "selectALocation": "Select a location",+ "selectALocationFirst": "Select a location first",+ "changeLocationOfSelectedItems": "Change location of selected items?"}\ No newline at end of filediff --git a/lib/l10n/intl_it.arb b/lib/l10n/intl_it.arbindex d82d8e6824..ceddbbe583 100644--- a/lib/l10n/intl_it.arb+++ b/lib/l10n/intl_it.arb@@ -1111,5 +1111,9 @@"addOnPageSubtitle": "Dettagli dei componenti aggiuntivi","yourMap": "Your map","modifyYourQueryOrTrySearchingFor": "Modify your query, or try searching for",- "contacts": "Contacts"+ "contacts": "Contacts",+ "editLocation": "Edit location",+ "selectALocation": "Select a location",+ "selectALocationFirst": "Select a location first",+ "changeLocationOfSelectedItems": "Change location of selected items?"}\ No newline at end of filediff --git a/lib/l10n/intl_ko.arb b/lib/l10n/intl_ko.arbindex 515bfae5aa..038d7b6171 100644--- a/lib/l10n/intl_ko.arb+++ b/lib/l10n/intl_ko.arb@@ -5,5 +5,9 @@"deleteConfirmDialogBody": "This account is linked to other ente apps, if you use any.\\n\\nYour uploaded data, across all ente apps, will be scheduled for deletion, and your account will be permanently deleted.","yourMap": "Your map","modifyYourQueryOrTrySearchingFor": "Modify your query, or try searching for",- "contacts": "Contacts"+ "contacts": "Contacts",+ "editLocation": "Edit location",+ "selectALocation": "Select a location",+ "selectALocationFirst": "Select a location first",+ "changeLocationOfSelectedItems": "Change location of selected items?"}\ No newline at end of filediff --git a/lib/l10n/intl_nl.arb b/lib/l10n/intl_nl.arbindex b4d60d451d..07f45b66fe 100644--- a/lib/l10n/intl_nl.arb+++ b/lib/l10n/intl_nl.arb@@ -1158,5 +1158,9 @@"signOutFromOtherDevices": "Log uit op andere apparaten","signOutOtherBody": "Als je denkt dat iemand je wachtwoord zou kunnen kennen, kun je alle andere apparaten die je account gebruiken dwingen om uit te loggen.","signOutOtherDevices": "Log uit op andere apparaten",- "doNotSignOut": "Niet uitloggen"+ "doNotSignOut": "Niet uitloggen",+ "editLocation": "Edit location",+ "selectALocation": "Select a location",+ "selectALocationFirst": "Select a location first",+ "changeLocationOfSelectedItems": "Change location of selected items?"}\ No newline at end of filediff --git a/lib/l10n/intl_no.arb b/lib/l10n/intl_no.arbindex 8106b8ca77..88ffdc7cef 100644--- a/lib/l10n/intl_no.arb+++ b/lib/l10n/intl_no.arb@@ -19,5 +19,9 @@"deleteConfirmDialogBody": "This account is linked to other ente apps, if you use any.\\n\\nYour uploaded data, across all ente apps, will be scheduled for deletion, and your account will be permanently deleted.","yourMap": "Your map","modifyYourQueryOrTrySearchingFor": "Modify your query, or try searching for",- "contacts": "Contacts"+ "contacts": "Contacts",+ "editLocation": "Edit location",+ "selectALocation": "Select a location",+ "selectALocationFirst": "Select a location first",+ "changeLocationOfSelectedItems": "Change location of selected items?"}\ No newline at end of filediff --git a/lib/l10n/intl_pl.arb b/lib/l10n/intl_pl.arbindex 306b0a31cb..8a512258e3 100644--- a/lib/l10n/intl_pl.arb+++ b/lib/l10n/intl_pl.arb@@ -106,5 +106,9 @@"deleteConfirmDialogBody": "This account is linked to other ente apps, if you use any.\\n\\nYour uploaded data, across all ente apps, will be scheduled for deletion, and your account will be permanently deleted.","yourMap": "Your map","modifyYourQueryOrTrySearchingFor": "Modify your query, or try searching for",- "contacts": "Contacts"+ "contacts": "Contacts",+ "editLocation": "Edit location",+ "selectALocation": "Select a location",+ "selectALocationFirst": "Select a location first",+ "changeLocationOfSelectedItems": "Change location of selected items?"}\ No newline at end of filediff --git a/lib/l10n/intl_pt.arb b/lib/l10n/intl_pt.arbindex cd674a3479..029322d42b 100644--- a/lib/l10n/intl_pt.arb+++ b/lib/l10n/intl_pt.arb@@ -272,5 +272,9 @@"deleteConfirmDialogBody": "This account is linked to other ente apps, if you use any.\\n\\nYour uploaded data, across all ente apps, will be scheduled for deletion, and your account will be permanently deleted.","yourMap": "Your map","modifyYourQueryOrTrySearchingFor": "Modify your query, or try searching for",- "contacts": "Contacts"+ "contacts": "Contacts",+ "editLocation": "Edit location",+ "selectALocation": "Select a location",+ "selectALocationFirst": "Select a location first",+ "changeLocationOfSelectedItems": "Change location of selected items?"}\ No newline at end of filediff --git a/lib/l10n/intl_zh.arb b/lib/l10n/intl_zh.arbindex a445e3e8ee..dff07f8bf5 100644--- a/lib/l10n/intl_zh.arb+++ b/lib/l10n/intl_zh.arb@@ -1158,5 +1158,9 @@"signOutFromOtherDevices": "从其他设备退出登录","signOutOtherBody": "如果你认为有人可能知道你的密码,你可以强制所有使用你账户的其他设备退出登录。","signOutOtherDevices": "登出其他设备",- "doNotSignOut": "不要退登"+ "doNotSignOut": "不要退登",+ "editLocation": "Edit location",+ "selectALocation": "Select a location",+ "selectALocationFirst": "Select a location first",+ "changeLocationOfSelectedItems": "Change location of selected items?"}\ No newline at end of filediff --git a/lib/services/files_service.dart b/lib/services/files_service.dartindex efef5c33c7..a72db91a9e 100644--- a/lib/services/files_service.dart+++ b/lib/services/files_service.dart@@ -103,10 +103,10 @@ class FilesService {final Map<int, Map<String, dynamic>> fileIDToUpdateMetadata = {};await showActionSheet(context: context,- body: "Change location of selected items?",+ body: S.of(context).changeLocationOfSelectedItems,buttons: [ButtonWidget(- labelText: "Yes",+ labelText: S.of(context).yes,buttonType: ButtonType.neutral,buttonSize: ButtonSize.large,shouldStickToDarkTheme: true,diff --git a/lib/ui/viewer/actions/file_selection_actions_widget.dart b/lib/ui/viewer/actions/file_selection_actions_widget.dartindex e15f4576a8..c427741ad7 100644--- a/lib/ui/viewer/actions/file_selection_actions_widget.dart+++ b/lib/ui/viewer/actions/file_selection_actions_widget.dart@@ -318,7 +318,7 @@ class _FileSelectionActionsWidgetStateshouldShow: widget.selectedFiles.files.any((element) => (element.ownerID == currentUserID),),- labelText: "Edit location",+ labelText: S.of(context).editLocation,icon: Icons.edit_location_alt_outlined,onTap: () async {await showBarModalBottomSheet(diff --git a/lib/ui/viewer/location/update_location_data_widget.dart b/lib/ui/viewer/location/update_location_data_widget.dartindex 982d0afe05..cdda987902 100644--- a/lib/ui/viewer/location/update_location_data_widget.dart+++ b/lib/ui/viewer/location/update_location_data_widget.dart@@ -3,6 +3,7 @@ import "dart:async";import "package:flutter/material.dart";import "package:flutter_map/flutter_map.dart";import "package:latlong2/latlong.dart";+import "package:photos/generated/l10n.dart";import "package:photos/models/file/file.dart";import "package:photos/models/location/location.dart";import "package:photos/services/files_service.dart";@@ -116,7 +117,7 @@ class _UpdateLocationDataWidgetState extends State<UpdateLocationDataWidget> {),): Text(- "Select a location",+ S.of(context).selectALocation,style: textTheme.mini,);},@@ -159,7 +160,7 @@ class _UpdateLocationDataWidgetState extends State<UpdateLocationDataWidget> {unawaited(showShortToast(context,- "Select a location first",+ S.of(context).selectALocationFirst,),);return;@@ -192,6 +193,7 @@ class _UpdateLocationDataWidgetState extends State<UpdateLocationDataWidget> {valueListenable: isDragging,builder: (context, value, child) {return AnimatedContainer(+ curve: Curves.easeInOut,duration: const Duration(milliseconds: 200),height: value ? 32 : 16,child: child,