diff --git a/mobile/lib/generated/intl/messages_en.dart b/mobile/lib/generated/intl/messages_en.dart index d8a7d87808..221a11fa55 100644 --- a/mobile/lib/generated/intl/messages_en.dart +++ b/mobile/lib/generated/intl/messages_en.dart @@ -825,6 +825,7 @@ class MessageLookup extends MessageLookupByLibrary { "deviceNotFound": MessageLookupByLibrary.simpleMessage("Device not found"), "didYouKnow": MessageLookupByLibrary.simpleMessage("Did you know?"), + "different": MessageLookupByLibrary.simpleMessage("Different"), "disableAutoLock": MessageLookupByLibrary.simpleMessage("Disable auto lock"), "disableDownloadWarningBody": MessageLookupByLibrary.simpleMessage( @@ -1697,6 +1698,8 @@ class MessageLookup extends MessageLookupByLibrary { "rotateLeft": MessageLookupByLibrary.simpleMessage("Rotate left"), "rotateRight": MessageLookupByLibrary.simpleMessage("Rotate right"), "safelyStored": MessageLookupByLibrary.simpleMessage("Safely stored"), + "same": MessageLookupByLibrary.simpleMessage("Same"), + "sameperson": MessageLookupByLibrary.simpleMessage("Same person?"), "save": MessageLookupByLibrary.simpleMessage("Save"), "saveAsAnotherPerson": MessageLookupByLibrary.simpleMessage("Save as another person"), diff --git a/mobile/lib/generated/l10n.dart b/mobile/lib/generated/l10n.dart index d4094ce789..d9cd85e901 100644 --- a/mobile/lib/generated/l10n.dart +++ b/mobile/lib/generated/l10n.dart @@ -12145,6 +12145,36 @@ class S { args: [], ); } + + /// `Same` + String get same { + return Intl.message( + 'Same', + name: 'same', + desc: '', + args: [], + ); + } + + /// `Different` + String get different { + return Intl.message( + 'Different', + name: 'different', + desc: '', + args: [], + ); + } + + /// `Same person?` + String get sameperson { + return Intl.message( + 'Same person?', + name: 'sameperson', + desc: '', + args: [], + ); + } } class AppLocalizationDelegate extends LocalizationsDelegate { diff --git a/mobile/lib/l10n/intl_en.arb b/mobile/lib/l10n/intl_en.arb index 169d7ff042..0123658a88 100644 --- a/mobile/lib/l10n/intl_en.arb +++ b/mobile/lib/l10n/intl_en.arb @@ -1773,5 +1773,8 @@ "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.", - "yesIgnore": "Yes, ignore" + "yesIgnore": "Yes, ignore", + "same": "Same", + "different": "Different", + "sameperson": "Same person?" } diff --git a/mobile/lib/ui/viewer/people/person_gallery_suggestion.dart b/mobile/lib/ui/viewer/people/person_gallery_suggestion.dart index 61d674c8a0..6b11bf7aaf 100644 --- a/mobile/lib/ui/viewer/people/person_gallery_suggestion.dart +++ b/mobile/lib/ui/viewer/people/person_gallery_suggestion.dart @@ -433,7 +433,7 @@ class _PersonGallerySuggestionState extends State ), ) : Text( - "Same person?", + S.of(context).sameperson, style: textTheme.body, textAlign: TextAlign.center, ), @@ -475,7 +475,9 @@ class _PersonGallerySuggestionState extends State ), const SizedBox(width: 8), Text( - personPage ? S.of(context).no : "Different", + personPage + ? S.of(context).no + : S.of(context).different, style: (personPage ? textTheme.bodyBold : textTheme.body) @@ -512,7 +514,9 @@ class _PersonGallerySuggestionState extends State ), const SizedBox(width: 8), Text( - personPage ? S.of(context).yes : "Same", + personPage + ? S.of(context).yes + : S.of(context).same, style: (personPage ? textTheme.bodyBold : textTheme.body)