瀏覽代碼

[mob][photos] Small copy change

laurenspriem 1 年之前
父節點
當前提交
077b46e490

+ 4 - 0
mobile/lib/generated/intl/messages_cs.dart

@@ -44,6 +44,8 @@ class MessageLookup extends MessageLookupByLibrary {
         "editsToLocationWillOnlyBeSeenWithinEnte":
             MessageLookupByLibrary.simpleMessage(
                 "Edits to location will only be seen within Ente"),
+        "enterPersonName":
+            MessageLookupByLibrary.simpleMessage("Enter person name"),
         "fileTypes": MessageLookupByLibrary.simpleMessage("File types"),
         "joinDiscord": MessageLookupByLibrary.simpleMessage("Join Discord"),
         "locations": MessageLookupByLibrary.simpleMessage("Locations"),
@@ -55,6 +57,8 @@ class MessageLookup extends MessageLookupByLibrary {
                 "Modify your query, or try searching for"),
         "moveToHiddenAlbum":
             MessageLookupByLibrary.simpleMessage("Move to hidden album"),
+        "removePersonLabel":
+            MessageLookupByLibrary.simpleMessage("Remove person label"),
         "search": MessageLookupByLibrary.simpleMessage("Search"),
         "selectALocation":
             MessageLookupByLibrary.simpleMessage("Select a location"),

+ 4 - 0
mobile/lib/generated/intl/messages_de.dart

@@ -676,6 +676,8 @@ class MessageLookup extends MessageLookupByLibrary {
             MessageLookupByLibrary.simpleMessage("Passwort eingeben"),
         "enterPasswordToEncrypt": MessageLookupByLibrary.simpleMessage(
             "Gib ein Passwort ein, mit dem wir deine Daten verschlüsseln können"),
+        "enterPersonName":
+            MessageLookupByLibrary.simpleMessage("Enter person name"),
         "enterReferralCode": MessageLookupByLibrary.simpleMessage(
             "Gib den Weiterempfehlungs-Code ein"),
         "enterThe6digitCodeFromnyourAuthenticatorApp":
@@ -1167,6 +1169,8 @@ class MessageLookup extends MessageLookupByLibrary {
         "removeParticipant":
             MessageLookupByLibrary.simpleMessage("Teilnehmer entfernen"),
         "removeParticipantBody": m43,
+        "removePersonLabel":
+            MessageLookupByLibrary.simpleMessage("Remove person label"),
         "removePublicLink":
             MessageLookupByLibrary.simpleMessage("Öffentlichen Link entfernen"),
         "removeShareItemsWarning": MessageLookupByLibrary.simpleMessage(

+ 4 - 0
mobile/lib/generated/intl/messages_en.dart

@@ -663,6 +663,8 @@ class MessageLookup extends MessageLookupByLibrary {
         "enterPassword": MessageLookupByLibrary.simpleMessage("Enter password"),
         "enterPasswordToEncrypt": MessageLookupByLibrary.simpleMessage(
             "Enter a password we can use to encrypt your data"),
+        "enterPersonName":
+            MessageLookupByLibrary.simpleMessage("Enter person name"),
         "enterReferralCode":
             MessageLookupByLibrary.simpleMessage("Enter referral code"),
         "enterThe6digitCodeFromnyourAuthenticatorApp":
@@ -1133,6 +1135,8 @@ class MessageLookup extends MessageLookupByLibrary {
         "removeParticipant":
             MessageLookupByLibrary.simpleMessage("Remove participant"),
         "removeParticipantBody": m43,
+        "removePersonLabel":
+            MessageLookupByLibrary.simpleMessage("Remove person label"),
         "removePublicLink":
             MessageLookupByLibrary.simpleMessage("Remove public link"),
         "removeShareItemsWarning": MessageLookupByLibrary.simpleMessage(

+ 4 - 0
mobile/lib/generated/intl/messages_es.dart

@@ -585,6 +585,8 @@ class MessageLookup extends MessageLookupByLibrary {
             MessageLookupByLibrary.simpleMessage("Introduzca contraseña"),
         "enterPasswordToEncrypt": MessageLookupByLibrary.simpleMessage(
             "Introduzca una contraseña que podamos usar para cifrar sus datos"),
+        "enterPersonName":
+            MessageLookupByLibrary.simpleMessage("Enter person name"),
         "enterReferralCode": MessageLookupByLibrary.simpleMessage(
             "Ingresar código de referencia"),
         "enterThe6digitCodeFromnyourAuthenticatorApp":
@@ -997,6 +999,8 @@ class MessageLookup extends MessageLookupByLibrary {
         "removeParticipant":
             MessageLookupByLibrary.simpleMessage("Quitar participante"),
         "removeParticipantBody": m43,
+        "removePersonLabel":
+            MessageLookupByLibrary.simpleMessage("Remove person label"),
         "removePublicLink":
             MessageLookupByLibrary.simpleMessage("Quitar enlace público"),
         "removeShareItemsWarning": MessageLookupByLibrary.simpleMessage(

+ 4 - 0
mobile/lib/generated/intl/messages_fr.dart

@@ -665,6 +665,8 @@ class MessageLookup extends MessageLookupByLibrary {
             MessageLookupByLibrary.simpleMessage("Saisissez le mot de passe"),
         "enterPasswordToEncrypt": MessageLookupByLibrary.simpleMessage(
             "Entrez un mot de passe que nous pouvons utiliser pour chiffrer vos données"),
+        "enterPersonName":
+            MessageLookupByLibrary.simpleMessage("Enter person name"),
         "enterReferralCode": MessageLookupByLibrary.simpleMessage(
             "Entrez le code de parrainage"),
         "enterThe6digitCodeFromnyourAuthenticatorApp":
@@ -1129,6 +1131,8 @@ class MessageLookup extends MessageLookupByLibrary {
         "removeParticipant":
             MessageLookupByLibrary.simpleMessage("Supprimer le participant"),
         "removeParticipantBody": m43,
+        "removePersonLabel":
+            MessageLookupByLibrary.simpleMessage("Remove person label"),
         "removePublicLink":
             MessageLookupByLibrary.simpleMessage("Supprimer le lien public"),
         "removeShareItemsWarning": MessageLookupByLibrary.simpleMessage(

+ 4 - 0
mobile/lib/generated/intl/messages_it.dart

@@ -644,6 +644,8 @@ class MessageLookup extends MessageLookupByLibrary {
             MessageLookupByLibrary.simpleMessage("Inserisci password"),
         "enterPasswordToEncrypt": MessageLookupByLibrary.simpleMessage(
             "Inserisci una password per criptare i tuoi dati"),
+        "enterPersonName":
+            MessageLookupByLibrary.simpleMessage("Enter person name"),
         "enterReferralCode": MessageLookupByLibrary.simpleMessage(
             "Inserisci il codice di invito"),
         "enterThe6digitCodeFromnyourAuthenticatorApp":
@@ -1090,6 +1092,8 @@ class MessageLookup extends MessageLookupByLibrary {
         "removeParticipant":
             MessageLookupByLibrary.simpleMessage("Rimuovi partecipante"),
         "removeParticipantBody": m43,
+        "removePersonLabel":
+            MessageLookupByLibrary.simpleMessage("Remove person label"),
         "removePublicLink":
             MessageLookupByLibrary.simpleMessage("Rimuovi link pubblico"),
         "removeShareItemsWarning": MessageLookupByLibrary.simpleMessage(

+ 4 - 0
mobile/lib/generated/intl/messages_ko.dart

@@ -44,6 +44,8 @@ class MessageLookup extends MessageLookupByLibrary {
         "editsToLocationWillOnlyBeSeenWithinEnte":
             MessageLookupByLibrary.simpleMessage(
                 "Edits to location will only be seen within Ente"),
+        "enterPersonName":
+            MessageLookupByLibrary.simpleMessage("Enter person name"),
         "fileTypes": MessageLookupByLibrary.simpleMessage("File types"),
         "joinDiscord": MessageLookupByLibrary.simpleMessage("Join Discord"),
         "locations": MessageLookupByLibrary.simpleMessage("Locations"),
@@ -55,6 +57,8 @@ class MessageLookup extends MessageLookupByLibrary {
                 "Modify your query, or try searching for"),
         "moveToHiddenAlbum":
             MessageLookupByLibrary.simpleMessage("Move to hidden album"),
+        "removePersonLabel":
+            MessageLookupByLibrary.simpleMessage("Remove person label"),
         "search": MessageLookupByLibrary.simpleMessage("Search"),
         "selectALocation":
             MessageLookupByLibrary.simpleMessage("Select a location"),

+ 4 - 0
mobile/lib/generated/intl/messages_nl.dart

@@ -685,6 +685,8 @@ class MessageLookup extends MessageLookupByLibrary {
             MessageLookupByLibrary.simpleMessage("Voer wachtwoord in"),
         "enterPasswordToEncrypt": MessageLookupByLibrary.simpleMessage(
             "Voer een wachtwoord in dat we kunnen gebruiken om je gegevens te versleutelen"),
+        "enterPersonName":
+            MessageLookupByLibrary.simpleMessage("Enter person name"),
         "enterReferralCode":
             MessageLookupByLibrary.simpleMessage("Voer verwijzingscode in"),
         "enterThe6digitCodeFromnyourAuthenticatorApp":
@@ -1177,6 +1179,8 @@ class MessageLookup extends MessageLookupByLibrary {
         "removeParticipant":
             MessageLookupByLibrary.simpleMessage("Deelnemer verwijderen"),
         "removeParticipantBody": m43,
+        "removePersonLabel":
+            MessageLookupByLibrary.simpleMessage("Remove person label"),
         "removePublicLink":
             MessageLookupByLibrary.simpleMessage("Verwijder publieke link"),
         "removeShareItemsWarning": MessageLookupByLibrary.simpleMessage(

+ 4 - 0
mobile/lib/generated/intl/messages_no.dart

@@ -57,6 +57,8 @@ class MessageLookup extends MessageLookupByLibrary {
             MessageLookupByLibrary.simpleMessage(
                 "Edits to location will only be seen within Ente"),
         "email": MessageLookupByLibrary.simpleMessage("E-post"),
+        "enterPersonName":
+            MessageLookupByLibrary.simpleMessage("Enter person name"),
         "enterValidEmail": MessageLookupByLibrary.simpleMessage(
             "Vennligst skriv inn en gyldig e-postadresse."),
         "enterYourEmailAddress": MessageLookupByLibrary.simpleMessage(
@@ -77,6 +79,8 @@ class MessageLookup extends MessageLookupByLibrary {
                 "Modify your query, or try searching for"),
         "moveToHiddenAlbum":
             MessageLookupByLibrary.simpleMessage("Move to hidden album"),
+        "removePersonLabel":
+            MessageLookupByLibrary.simpleMessage("Remove person label"),
         "search": MessageLookupByLibrary.simpleMessage("Search"),
         "selectALocation":
             MessageLookupByLibrary.simpleMessage("Select a location"),

+ 4 - 0
mobile/lib/generated/intl/messages_pl.dart

@@ -101,6 +101,8 @@ class MessageLookup extends MessageLookupByLibrary {
             "Wprowadź nowe hasło, którego możemy użyć do zaszyfrowania Twoich danych"),
         "enterPasswordToEncrypt": MessageLookupByLibrary.simpleMessage(
             "Wprowadź hasło, którego możemy użyć do zaszyfrowania Twoich danych"),
+        "enterPersonName":
+            MessageLookupByLibrary.simpleMessage("Enter person name"),
         "enterValidEmail": MessageLookupByLibrary.simpleMessage(
             "Podaj poprawny adres e-mail."),
         "enterYourEmailAddress":
@@ -166,6 +168,8 @@ class MessageLookup extends MessageLookupByLibrary {
             "Jeśli zapomnisz hasła, jedynym sposobem odzyskania danych jest ten klucz."),
         "recoverySuccessful":
             MessageLookupByLibrary.simpleMessage("Odzyskano pomyślnie!"),
+        "removePersonLabel":
+            MessageLookupByLibrary.simpleMessage("Remove person label"),
         "resendEmail":
             MessageLookupByLibrary.simpleMessage("Wyślij e-mail ponownie"),
         "resetPasswordTitle":

+ 4 - 0
mobile/lib/generated/intl/messages_pt.dart

@@ -675,6 +675,8 @@ class MessageLookup extends MessageLookupByLibrary {
         "enterPassword": MessageLookupByLibrary.simpleMessage("Digite a senha"),
         "enterPasswordToEncrypt": MessageLookupByLibrary.simpleMessage(
             "Insira a senha para criptografar seus dados"),
+        "enterPersonName":
+            MessageLookupByLibrary.simpleMessage("Enter person name"),
         "enterReferralCode": MessageLookupByLibrary.simpleMessage(
             "Insira o código de referência"),
         "enterThe6digitCodeFromnyourAuthenticatorApp":
@@ -1168,6 +1170,8 @@ class MessageLookup extends MessageLookupByLibrary {
         "removeParticipant":
             MessageLookupByLibrary.simpleMessage("Remover participante"),
         "removeParticipantBody": m43,
+        "removePersonLabel":
+            MessageLookupByLibrary.simpleMessage("Remove person label"),
         "removePublicLink":
             MessageLookupByLibrary.simpleMessage("Remover link público"),
         "removeShareItemsWarning": MessageLookupByLibrary.simpleMessage(

+ 4 - 0
mobile/lib/generated/intl/messages_zh.dart

@@ -563,6 +563,8 @@ class MessageLookup extends MessageLookupByLibrary {
         "enterPassword": MessageLookupByLibrary.simpleMessage("输入密码"),
         "enterPasswordToEncrypt":
             MessageLookupByLibrary.simpleMessage("输入我们可以用来加密您的数据的密码"),
+        "enterPersonName":
+            MessageLookupByLibrary.simpleMessage("Enter person name"),
         "enterReferralCode": MessageLookupByLibrary.simpleMessage("输入推荐代码"),
         "enterThe6digitCodeFromnyourAuthenticatorApp":
             MessageLookupByLibrary.simpleMessage("从你的身份验证器应用中\n输入6位数字代码"),
@@ -952,6 +954,8 @@ class MessageLookup extends MessageLookupByLibrary {
         "removeLink": MessageLookupByLibrary.simpleMessage("移除链接"),
         "removeParticipant": MessageLookupByLibrary.simpleMessage("移除参与者"),
         "removeParticipantBody": m43,
+        "removePersonLabel":
+            MessageLookupByLibrary.simpleMessage("Remove person label"),
         "removePublicLink": MessageLookupByLibrary.simpleMessage("删除公开链接"),
         "removeShareItemsWarning":
             MessageLookupByLibrary.simpleMessage("您要删除的某些项目是由其他人添加的,您将无法访问它们"),

+ 20 - 0
mobile/lib/generated/l10n.dart

@@ -8593,6 +8593,26 @@ class S {
       args: [],
     );
   }
+
+  /// `Enter person name`
+  String get enterPersonName {
+    return Intl.message(
+      'Enter person name',
+      name: 'enterPersonName',
+      desc: '',
+      args: [],
+    );
+  }
+
+  /// `Remove person label`
+  String get removePersonLabel {
+    return Intl.message(
+      'Remove person label',
+      name: 'removePersonLabel',
+      desc: '',
+      args: [],
+    );
+  }
 }
 
 class AppLocalizationDelegate extends LocalizationsDelegate<S> {

+ 3 - 1
mobile/lib/l10n/intl_cs.arb

@@ -18,5 +18,7 @@
   "addCollaborators": "{count, plural, zero {Add collaborator} one {Add collaborator} other {Add collaborators}}",
   "longPressAnEmailToVerifyEndToEndEncryption": "Long press an email to verify end to end encryption.",
   "createCollaborativeLink": "Create collaborative link",
-  "search": "Search"
+  "search": "Search",
+  "enterPersonName": "Enter person name",
+  "removePersonLabel": "Remove person label"
 }

+ 3 - 1
mobile/lib/l10n/intl_de.arb

@@ -1206,5 +1206,7 @@
   "addCollaborators": "{count, plural, zero {Add collaborator} one {Add collaborator} other {Add collaborators}}",
   "longPressAnEmailToVerifyEndToEndEncryption": "Long press an email to verify end to end encryption.",
   "createCollaborativeLink": "Create collaborative link",
-  "search": "Search"
+  "search": "Search",
+  "enterPersonName": "Enter person name",
+  "removePersonLabel": "Remove person label"
 }

+ 3 - 1
mobile/lib/l10n/intl_en.arb

@@ -1215,5 +1215,7 @@
   "endpointUpdatedMessage": "Endpoint updated successfully",
   "customEndpoint": "Connected to {endpoint}",
   "createCollaborativeLink": "Create collaborative link",
-  "search": "Search"
+  "search": "Search",
+  "enterPersonName": "Enter person name",
+  "removePersonLabel": "Remove person label"
 }

+ 3 - 1
mobile/lib/l10n/intl_es.arb

@@ -980,5 +980,7 @@
   "addCollaborators": "{count, plural, zero {Add collaborator} one {Add collaborator} other {Add collaborators}}",
   "longPressAnEmailToVerifyEndToEndEncryption": "Long press an email to verify end to end encryption.",
   "createCollaborativeLink": "Create collaborative link",
-  "search": "Search"
+  "search": "Search",
+  "enterPersonName": "Enter person name",
+  "removePersonLabel": "Remove person label"
 }

+ 3 - 1
mobile/lib/l10n/intl_fr.arb

@@ -1161,5 +1161,7 @@
   "addCollaborators": "{count, plural, zero {Add collaborator} one {Add collaborator} other {Add collaborators}}",
   "longPressAnEmailToVerifyEndToEndEncryption": "Long press an email to verify end to end encryption.",
   "createCollaborativeLink": "Create collaborative link",
-  "search": "Search"
+  "search": "Search",
+  "enterPersonName": "Enter person name",
+  "removePersonLabel": "Remove person label"
 }

+ 3 - 1
mobile/lib/l10n/intl_it.arb

@@ -1123,5 +1123,7 @@
   "addCollaborators": "{count, plural, zero {Add collaborator} one {Add collaborator} other {Add collaborators}}",
   "longPressAnEmailToVerifyEndToEndEncryption": "Long press an email to verify end to end encryption.",
   "createCollaborativeLink": "Create collaborative link",
-  "search": "Search"
+  "search": "Search",
+  "enterPersonName": "Enter person name",
+  "removePersonLabel": "Remove person label"
 }

+ 3 - 1
mobile/lib/l10n/intl_ko.arb

@@ -18,5 +18,7 @@
   "addCollaborators": "{count, plural, zero {Add collaborator} one {Add collaborator} other {Add collaborators}}",
   "longPressAnEmailToVerifyEndToEndEncryption": "Long press an email to verify end to end encryption.",
   "createCollaborativeLink": "Create collaborative link",
-  "search": "Search"
+  "search": "Search",
+  "enterPersonName": "Enter person name",
+  "removePersonLabel": "Remove person label"
 }

+ 3 - 1
mobile/lib/l10n/intl_nl.arb

@@ -1212,5 +1212,7 @@
   "endpointUpdatedMessage": "Eindpunt met succes bijgewerkt",
   "customEndpoint": "Verbonden met {endpoint}",
   "createCollaborativeLink": "Maak een gezamenlijke link",
-  "search": "Zoeken"
+  "search": "Zoeken",
+  "enterPersonName": "Enter person name",
+  "removePersonLabel": "Remove person label"
 }

+ 3 - 1
mobile/lib/l10n/intl_no.arb

@@ -32,5 +32,7 @@
   "addCollaborators": "{count, plural, zero {Add collaborator} one {Add collaborator} other {Add collaborators}}",
   "longPressAnEmailToVerifyEndToEndEncryption": "Long press an email to verify end to end encryption.",
   "createCollaborativeLink": "Create collaborative link",
-  "search": "Search"
+  "search": "Search",
+  "enterPersonName": "Enter person name",
+  "removePersonLabel": "Remove person label"
 }

+ 3 - 1
mobile/lib/l10n/intl_pl.arb

@@ -119,5 +119,7 @@
   "addCollaborators": "{count, plural, zero {Add collaborator} one {Add collaborator} other {Add collaborators}}",
   "longPressAnEmailToVerifyEndToEndEncryption": "Long press an email to verify end to end encryption.",
   "createCollaborativeLink": "Create collaborative link",
-  "search": "Search"
+  "search": "Search",
+  "enterPersonName": "Enter person name",
+  "removePersonLabel": "Remove person label"
 }

+ 3 - 1
mobile/lib/l10n/intl_pt.arb

@@ -1213,5 +1213,7 @@
   "endpointUpdatedMessage": "Endpoint atualizado com sucesso",
   "customEndpoint": "Conectado a {endpoint}",
   "createCollaborativeLink": "Criar link colaborativo",
-  "search": "Pesquisar"
+  "search": "Pesquisar",
+  "enterPersonName": "Enter person name",
+  "removePersonLabel": "Remove person label"
 }

+ 3 - 1
mobile/lib/l10n/intl_zh.arb

@@ -1212,5 +1212,7 @@
   "endpointUpdatedMessage": "端点更新成功",
   "customEndpoint": "已连接至 {endpoint}",
   "createCollaborativeLink": "创建协作链接",
-  "search": "搜索"
+  "search": "搜索",
+  "enterPersonName": "Enter person name",
+  "removePersonLabel": "Remove person label"
 }

+ 22 - 22
mobile/lib/ui/viewer/people/people_app_bar.dart

@@ -41,7 +41,7 @@ class PeopleAppBar extends StatefulWidget {
   State<PeopleAppBar> createState() => _AppBarWidgetState();
 }
 
-enum PeoplPopupAction {
+enum PeoplePopupAction {
   rename,
   setCover,
   removeLabel,
@@ -99,12 +99,12 @@ class _AppBarWidgetState extends State<PeopleAppBar> {
     );
   }
 
-  Future<dynamic> _renameAlbum(BuildContext context) async {
+  Future<dynamic> _renamePerson(BuildContext context) async {
     final result = await showTextInputDialog(
       context,
-      title: 'Rename',
+      title: S.of(context).rename,
       submitButtonLabel: S.of(context).done,
-      hintText: S.of(context).enterAlbumName,
+      hintText: S.of(context).enterPersonName,
       alwaysShowSuccessState: true,
       initialValue: widget.person.data.name,
       textCapitalization: TextCapitalization.words,
@@ -141,13 +141,13 @@ class _AppBarWidgetState extends State<PeopleAppBar> {
       return actions;
     }
 
-    final List<PopupMenuItem<PeoplPopupAction>> items = [];
+    final List<PopupMenuItem<PeoplePopupAction>> items = [];
 
     if (!widget.isIgnored) {
       items.addAll(
         [
           PopupMenuItem(
-            value: PeoplPopupAction.rename,
+            value: PeoplePopupAction.rename,
             child: Row(
               children: [
                 const Icon(Icons.edit),
@@ -171,20 +171,20 @@ class _AppBarWidgetState extends State<PeopleAppBar> {
           //   ),
           // ),
 
-          const PopupMenuItem(
-            value: PeoplPopupAction.removeLabel,
+          PopupMenuItem(
+            value: PeoplePopupAction.removeLabel,
             child: Row(
               children: [
-                Icon(Icons.remove_circle_outline),
-                Padding(
+                const Icon(Icons.remove_circle_outline),
+                const Padding(
                   padding: EdgeInsets.all(8),
                 ),
-                Text("Remove label"),
+                Text(S.of(context).removePersonLabel),
               ],
             ),
           ),
           const PopupMenuItem(
-            value: PeoplPopupAction.viewPhotos,
+            value: PeoplePopupAction.viewPhotos,
             child: Row(
               children: [
                 Icon(Icons.view_array_outlined),
@@ -196,7 +196,7 @@ class _AppBarWidgetState extends State<PeopleAppBar> {
             ),
           ),
           const PopupMenuItem(
-            value: PeoplPopupAction.confirmPhotos,
+            value: PeoplePopupAction.confirmPhotos,
             child: Row(
               children: [
                 Icon(CupertinoIcons.square_stack_3d_down_right),
@@ -213,7 +213,7 @@ class _AppBarWidgetState extends State<PeopleAppBar> {
       items.addAll(
         [
           const PopupMenuItem(
-            value: PeoplPopupAction.unignore,
+            value: PeoplePopupAction.unignore,
             child: Row(
               children: [
                 Icon(Icons.visibility_outlined),
@@ -234,8 +234,8 @@ class _AppBarWidgetState extends State<PeopleAppBar> {
           itemBuilder: (context) {
             return items;
           },
-          onSelected: (PeoplPopupAction value) async {
-            if (value == PeoplPopupAction.viewPhotos) {
+          onSelected: (PeoplePopupAction value) async {
+            if (value == PeoplePopupAction.viewPhotos) {
               // ignore: unawaited_futures
               unawaited(
                 Navigator.of(context).push(
@@ -244,7 +244,7 @@ class _AppBarWidgetState extends State<PeopleAppBar> {
                   ),
                 ),
               );
-            } else if (value == PeoplPopupAction.confirmPhotos) {
+            } else if (value == PeoplePopupAction.confirmPhotos) {
               // ignore: unawaited_futures
               unawaited(
                 Navigator.of(context).push(
@@ -254,13 +254,13 @@ class _AppBarWidgetState extends State<PeopleAppBar> {
                   ),
                 ),
               );
-            } else if (value == PeoplPopupAction.rename) {
-              await _renameAlbum(context);
-            } else if (value == PeoplPopupAction.setCover) {
+            } else if (value == PeoplePopupAction.rename) {
+              await _renamePerson(context);
+            } else if (value == PeoplePopupAction.setCover) {
               await setCoverPhoto(context);
-            } else if (value == PeoplPopupAction.unignore) {
+            } else if (value == PeoplePopupAction.unignore) {
               await _showPerson(context);
-            } else if (value == PeoplPopupAction.removeLabel) {
+            } else if (value == PeoplePopupAction.removeLabel) {
               await PersonService.instance.deletePerson(widget.person.remoteID);
             }
           },