π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Extract strings
laurenspriem22b6707e9288
diff --git a/mobile/lib/generated/intl/messages_en.dart b/mobile/lib/generated/intl/messages_en.dartindex c9dc398980..3608f1c14b 100644--- a/mobile/lib/generated/intl/messages_en.dart+++ b/mobile/lib/generated/intl/messages_en.dart@@ -415,6 +415,9 @@ class MessageLookup extends MessageLookupByLibrary {MessageLookupByLibrary.simpleMessage("All memories preserved"),"allPersonGroupingWillReset": MessageLookupByLibrary.simpleMessage("All groupings for this person will be reset, and you will lose all suggestions made for this person"),+ "allUnnamedGroupsWillBeMergedIntoTheSelectedPerson":+ MessageLookupByLibrary.simpleMessage(+ "All unnamed groups will be merged into the selected person. This can still be undone from the suggestions history overview of the person."),"allWillShiftRangeBasedOnFirst": MessageLookupByLibrary.simpleMessage("This is the first in the group. Other selected photos will automatically shift based on this new date"),"allow": MessageLookupByLibrary.simpleMessage("Allow"),@@ -478,8 +481,16 @@ class MessageLookup extends MessageLookupByLibrary {"Are you sure you want to change your plan?"),"areYouSureYouWantToExit": MessageLookupByLibrary.simpleMessage("Are you sure you want to exit?"),+ "areYouSureYouWantToIgnoreThesePersons":+ MessageLookupByLibrary.simpleMessage(+ "Are you sure you want to ignore these persons?"),+ "areYouSureYouWantToIgnoreThisPerson":+ MessageLookupByLibrary.simpleMessage(+ "Are you sure you want to ignore this person?"),"areYouSureYouWantToLogout": MessageLookupByLibrary.simpleMessage("Are you sure you want to logout?"),+ "areYouSureYouWantToMergeThem": MessageLookupByLibrary.simpleMessage(+ "Are you sure you want to merge them?"),"areYouSureYouWantToRenew": MessageLookupByLibrary.simpleMessage("Are you sure you want to renew?"),"areYouSureYouWantToResetThisPerson":@@ -1095,6 +1106,7 @@ class MessageLookup extends MessageLookupByLibrary {"iOSLockOut": MessageLookupByLibrary.simpleMessage("Biometric authentication is disabled. Please lock and unlock your screen to enable it."),"iOSOkButton": MessageLookupByLibrary.simpleMessage("OK"),+ "ignore": MessageLookupByLibrary.simpleMessage("Ignore"),"ignoreUpdate": MessageLookupByLibrary.simpleMessage("Ignore"),"ignored": MessageLookupByLibrary.simpleMessage("ignored"),"ignoredFolderUploadReason": MessageLookupByLibrary.simpleMessage(@@ -1289,6 +1301,7 @@ class MessageLookup extends MessageLookupByLibrary {"Select the kind of memories you wish to see on your homescreen."),"memoryCount": m50,"merchandise": MessageLookupByLibrary.simpleMessage("Merchandise"),+ "merge": MessageLookupByLibrary.simpleMessage("Merge"),"mergeWithExisting":MessageLookupByLibrary.simpleMessage("Merge with existing"),"mergedPhotos": MessageLookupByLibrary.simpleMessage("Merged photos"),@@ -1657,6 +1670,7 @@ class MessageLookup extends MessageLookupByLibrary {"reportABug": MessageLookupByLibrary.simpleMessage("Report a bug"),"reportBug": MessageLookupByLibrary.simpleMessage("Report bug"),"resendEmail": MessageLookupByLibrary.simpleMessage("Resend email"),+ "reset": MessageLookupByLibrary.simpleMessage("Reset"),"resetIgnoredFiles":MessageLookupByLibrary.simpleMessage("Reset ignored files"),"resetPasswordTitle":@@ -1965,6 +1979,10 @@ class MessageLookup extends MessageLookupByLibrary {"theLinkYouAreTryingToAccessHasExpired":MessageLookupByLibrary.simpleMessage("The link you are trying to access has expired."),+ "thePersonGroupsWillNotBeDisplayed": MessageLookupByLibrary.simpleMessage(+ "The person groups will not be displayed in the people section anymore. Photos will remain untouched."),+ "thePersonWillNotBeDisplayed": MessageLookupByLibrary.simpleMessage(+ "The person will not be displayed in the people section anymore. Photos will remain untouched."),"theRecoveryKeyYouEnteredIsIncorrect":MessageLookupByLibrary.simpleMessage("The recovery key you entered is incorrect"),diff --git a/mobile/lib/generated/l10n.dart b/mobile/lib/generated/l10n.dartindex 6ca13af0c0..80505a4d74 100644--- a/mobile/lib/generated/l10n.dart+++ b/mobile/lib/generated/l10n.dart@@ -12045,6 +12045,96 @@ class S {args: [],);}++ /// `Ignore`+ String get ignore {+ return Intl.message(+ 'Ignore',+ name: 'ignore',+ desc: '',+ args: [],+ );+ }++ /// `Merge`+ String get merge {+ return Intl.message(+ 'Merge',+ name: 'merge',+ desc: '',+ args: [],+ );+ }++ /// `Reset`+ String get reset {+ return Intl.message(+ 'Reset',+ name: 'reset',+ desc: '',+ args: [],+ );+ }++ /// `Are you sure you want to ignore this person?`+ String get areYouSureYouWantToIgnoreThisPerson {+ return Intl.message(+ 'Are you sure you want to ignore this person?',+ name: 'areYouSureYouWantToIgnoreThisPerson',+ desc: '',+ args: [],+ );+ }++ /// `Are you sure you want to ignore these persons?`+ String get areYouSureYouWantToIgnoreThesePersons {+ return Intl.message(+ 'Are you sure you want to ignore these persons?',+ name: 'areYouSureYouWantToIgnoreThesePersons',+ desc: '',+ args: [],+ );+ }++ /// `The person groups will not be displayed in the people section anymore. Photos will remain untouched.`+ String get thePersonGroupsWillNotBeDisplayed {+ return Intl.message(+ 'The person groups will not be displayed in the people section anymore. Photos will remain untouched.',+ name: 'thePersonGroupsWillNotBeDisplayed',+ desc: '',+ args: [],+ );+ }++ /// `The person will not be displayed in the people section anymore. Photos will remain untouched.`+ String get thePersonWillNotBeDisplayed {+ return Intl.message(+ 'The person will not be displayed in the people section anymore. Photos will remain untouched.',+ name: 'thePersonWillNotBeDisplayed',+ desc: '',+ args: [],+ );+ }++ /// `Are you sure you want to merge them?`+ String get areYouSureYouWantToMergeThem {+ return Intl.message(+ 'Are you sure you want to merge them?',+ name: 'areYouSureYouWantToMergeThem',+ desc: '',+ args: [],+ );+ }++ /// `All unnamed groups will be merged into the selected person. This can still be undone from the suggestions history overview of the person.`+ String get allUnnamedGroupsWillBeMergedIntoTheSelectedPerson {+ return Intl.message(+ 'All unnamed groups will be merged into the selected person. This can still be undone from the suggestions history overview of the person.',+ name: 'allUnnamedGroupsWillBeMergedIntoTheSelectedPerson',+ desc: '',+ args: [],+ );+ }}class AppLocalizationDelegate extends LocalizationsDelegate<S> {diff --git a/mobile/lib/l10n/intl_en.arb b/mobile/lib/l10n/intl_en.arbindex 4e651ebae1..e73a0f0ae5 100644--- a/mobile/lib/l10n/intl_en.arb+++ b/mobile/lib/l10n/intl_en.arb@@ -1763,5 +1763,14 @@"questionmark": "?","saveAsAnotherPerson": "Save as another person","showLessFaces": "Show less faces",- "showMoreFaces": "Show more faces"+ "showMoreFaces": "Show more faces",+ "ignore": "Ignore",+ "merge": "Merge",+ "reset": "Reset",+ "areYouSureYouWantToIgnoreThisPerson": "Are you sure you want to ignore this person?",+ "areYouSureYouWantToIgnoreThesePersons": "Are you sure you want to ignore these persons?",+ "thePersonGroupsWillNotBeDisplayed": "The person groups will not be displayed in the people section anymore. Photos will remain untouched.",+ "thePersonWillNotBeDisplayed": "The person will not be displayed in the people section anymore. Photos will remain untouched.",+ "areYouSureYouWantToMergeThem": "Are you sure you want to merge them?",+ "allUnnamedGroupsWillBeMergedIntoTheSelectedPerson": "All unnamed groups will be merged into the selected person. This can still be undone from the suggestions history overview of the person."}diff --git a/mobile/lib/ui/viewer/actions/people_selection_action_widget.dart b/mobile/lib/ui/viewer/actions/people_selection_action_widget.dartindex 42ee6ebb25..53921bebf5 100644--- a/mobile/lib/ui/viewer/actions/people_selection_action_widget.dart+++ b/mobile/lib/ui/viewer/actions/people_selection_action_widget.dart@@ -96,7 +96,7 @@ class _PeopleSelectionActionWidgetState);items.add(SelectionActionButton(- labelText: "Ignore",+ labelText: S.of(context).ignore,icon: Icons.hide_image_outlined,onTap: _onIgnore,shouldShow: anythingSelected,@@ -104,7 +104,7 @@ class _PeopleSelectionActionWidgetState);items.add(SelectionActionButton(- labelText: "Merge",+ labelText: S.of(context).merge,icon: Icons.merge_outlined,onTap: _onMerge,shouldShow: onePersonAndClusters,@@ -112,7 +112,7 @@ class _PeopleSelectionActionWidgetState);items.add(SelectionActionButton(- labelText: "Reset",+ labelText: S.of(context).reset,icon: Icons.remove_outlined,onTap: _onResetPerson,shouldShow: onlyOnePerson,@@ -210,12 +210,16 @@ class _PeopleSelectionActionWidgetStatefinal selectedPersonIds = _getSelectedPersonIds();final selectedClusterIds = _getSelectedClusterIds();if (selectedPersonIds.isEmpty && selectedClusterIds.isEmpty) return;+ final multiple = (selectedPersonIds.length + selectedClusterIds.length) > 1;await showChoiceDialog(context,- title: "Are you sure you want to ignore these persons?",- body:- "The person groups will not be displayed in the people section anymore. Photos will remain untouched.",+ title: multiple+ ? S.of(context).areYouSureYouWantToIgnoreThesePersons+ : S.of(context).areYouSureYouWantToIgnoreThisPerson,+ body: multiple+ ? S.of(context).thePersonGroupsWillNotBeDisplayed+ : S.of(context).thePersonWillNotBeDisplayed,firstButtonLabel: "Yes, confirm",firstButtonOnTap: () async {try {@@ -247,10 +251,9 @@ class _PeopleSelectionActionWidgetStateawait showChoiceDialog(context,- title: "Are you sure you want to merge them?",- body:- "All unnamed groups will be merged into the selected person. This can still be undone from the suggestions history overview of the person",- firstButtonLabel: "Yes, confirm",+ title: S.of(context).areYouSureYouWantToMergeThem,+ body: S.of(context).allUnnamedGroupsWillBeMergedIntoTheSelectedPerson,+ firstButtonLabel: S.of(context).confirm,firstButtonOnTap: () async {try {final personMap = await personEntitiesMapFuture;