Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

[mob] Rename icons and action name for people bar

Neeraj Gupta7e7d53fbaf79
diff --git a/mobile/lib/generated/intl/messages_en.dart b/mobile/lib/generated/intl/messages_en.dart
index d3471c3d36..d9e5696eb0 100644
--- a/mobile/lib/generated/intl/messages_en.dart
+++ b/mobile/lib/generated/intl/messages_en.dart
@@ -1333,7 +1333,7 @@ class MessageLookup extends MessageLookupByLibrary {
MessageLookupByLibrary.simpleMessage("Reset ignored files"),
"resetPasswordTitle":
MessageLookupByLibrary.simpleMessage("Reset password"),
- "resetPerson": MessageLookupByLibrary.simpleMessage("Reset person"),
+ "resetPerson": MessageLookupByLibrary.simpleMessage("Remove"),
"resetToDefault":
MessageLookupByLibrary.simpleMessage("Reset to default"),
"restore": MessageLookupByLibrary.simpleMessage("Restore"),
@@ -1344,6 +1344,7 @@ class MessageLookup extends MessageLookupByLibrary {
"resumableUploads":
MessageLookupByLibrary.simpleMessage("Resumable uploads"),
"retry": MessageLookupByLibrary.simpleMessage("Retry"),
+ "review": MessageLookupByLibrary.simpleMessage("Review"),
"reviewDeduplicateItems": MessageLookupByLibrary.simpleMessage(
"Please review and delete the items you believe are duplicates."),
"reviewSuggestions":
diff --git a/mobile/lib/generated/l10n.dart b/mobile/lib/generated/l10n.dart
index abd2f16a80..d1ae7f88cf 100644
--- a/mobile/lib/generated/l10n.dart
+++ b/mobile/lib/generated/l10n.dart
@@ -9305,6 +9305,16 @@ class S {
);
}
+ /// `Review`
+ String get review {
+ return Intl.message(
+ 'Review',
+ name: 'review',
+ desc: '',
+ args: [],
+ );
+ }
+
/// `Use as cover`
String get useAsCover {
return Intl.message(
@@ -9906,10 +9916,10 @@ class S {
);
}
- /// `Reset person`
+ /// `Remove`
String get resetPerson {
return Intl.message(
- 'Reset person',
+ 'Remove',
name: 'resetPerson',
desc: '',
args: [],
diff --git a/mobile/lib/l10n/intl_en.arb b/mobile/lib/l10n/intl_en.arb
index 8f2276cc64..8c6edcdb7f 100644
--- a/mobile/lib/l10n/intl_en.arb
+++ b/mobile/lib/l10n/intl_en.arb
@@ -1291,6 +1291,7 @@
"right": "Right",
"whatsNew": "What's new",
"reviewSuggestions": "Review suggestions",
+ "review": "Review",
"useAsCover": "Use as cover",
"notPersonLabel": "Not {name}?",
"@notPersonLabel": {
@@ -1360,7 +1361,7 @@
"extraPhotosFound": "Extra photos found",
"configuration": "Configuration",
"localIndexing": "Local indexing",
- "resetPerson": "Reset person",
+ "resetPerson": "Remove",
"areYouSureYouWantToResetThisPerson": "Are you sure you want to reset this person?",
"allPersonGroupingWillReset": "All groupings for this person will be reset, and you will lose all suggestions made for this person",
"yesResetPerson": "Yes, reset person",
diff --git a/mobile/lib/ui/viewer/people/people_app_bar.dart b/mobile/lib/ui/viewer/people/people_app_bar.dart
index 44e5d66e0d..cf88e60b59 100644
--- a/mobile/lib/ui/viewer/people/people_app_bar.dart
+++ b/mobile/lib/ui/viewer/people/people_app_bar.dart
@@ -198,44 +198,31 @@ class _AppBarWidgetState extends State<PeopleAppBar> {
const Padding(
padding: EdgeInsets.all(8),
),
- Text(S.of(context).rename),
+ Text(S.of(context).edit),
],
),
),
- // PopupMenuItem(
- // value: PeoplPopupAction.setCover,
- // child: Row(
- // children: [
- // const Icon(Icons.image_outlined),
- // const Padding(
- // padding: EdgeInsets.all(8),
- // ),
- // Text(S.of(context).setCover),
- // ],
- // ),
- // ),
-
PopupMenuItem(
- value: PeoplePopupAction.removeLabel,
+ value: PeoplePopupAction.reviewSuggestions,
child: Row(
children: [
- const Icon(Icons.remove_circle_outline),
+ const Icon(Icons.search_outlined),
const Padding(
padding: EdgeInsets.all(8),
),
- Text(S.of(context).resetPerson),
+ Text(S.of(context).review),
],
),
),
- const PopupMenuItem(
- value: PeoplePopupAction.reviewSuggestions,
+ PopupMenuItem(
+ value: PeoplePopupAction.removeLabel,
child: Row(
children: [
- Icon(CupertinoIcons.square_stack_3d_down_right),
- Padding(
+ const Icon(Icons.delete_outline),
+ const Padding(
padding: EdgeInsets.all(8),
),
- Text('Review suggestions'),
+ Text(S.of(context).remove),
],
),
),