Skip to content

armgit / ente

Public Imported from GitHub
0

💚 End-to-end encrypted cloud for everything.

[mob][photos] Small copy change

laurenspriem077b46e49005
diff --git a/mobile/lib/generated/intl/messages_cs.dart b/mobile/lib/generated/intl/messages_cs.dart
index 8db8489d33..315c67d33a 100644
--- a/mobile/lib/generated/intl/messages_cs.dart
+++ b/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"),
diff --git a/mobile/lib/generated/intl/messages_de.dart b/mobile/lib/generated/intl/messages_de.dart
index 74225acbd2..88e2852a68 100644
--- a/mobile/lib/generated/intl/messages_de.dart
+++ b/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(
diff --git a/mobile/lib/generated/intl/messages_en.dart b/mobile/lib/generated/intl/messages_en.dart
index 0ff575fff0..cd28878530 100644
--- a/mobile/lib/generated/intl/messages_en.dart
+++ b/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(
diff --git a/mobile/lib/generated/intl/messages_es.dart b/mobile/lib/generated/intl/messages_es.dart
index a6294d4a43..88ef5b2443 100644
--- a/mobile/lib/generated/intl/messages_es.dart
+++ b/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(
diff --git a/mobile/lib/generated/intl/messages_fr.dart b/mobile/lib/generated/intl/messages_fr.dart
index 82125afcca..7e9875c81c 100644
--- a/mobile/lib/generated/intl/messages_fr.dart
+++ b/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(
diff --git a/mobile/lib/generated/intl/messages_it.dart b/mobile/lib/generated/intl/messages_it.dart
index e6db5b380f..9cde66f877 100644
--- a/mobile/lib/generated/intl/messages_it.dart
+++ b/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(
diff --git a/mobile/lib/generated/intl/messages_ko.dart b/mobile/lib/generated/intl/messages_ko.dart
index c91d849f6e..9459978cd5 100644
--- a/mobile/lib/generated/intl/messages_ko.dart
+++ b/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"),
diff --git a/mobile/lib/generated/intl/messages_nl.dart b/mobile/lib/generated/intl/messages_nl.dart
index af7502d906..7b59771cd5 100644
--- a/mobile/lib/generated/intl/messages_nl.dart
+++ b/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(
diff --git a/mobile/lib/generated/intl/messages_no.dart b/mobile/lib/generated/intl/messages_no.dart
index 0e5bd97b21..51a3895dfa 100644
--- a/mobile/lib/generated/intl/messages_no.dart
+++ b/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"),
diff --git a/mobile/lib/generated/intl/messages_pl.dart b/mobile/lib/generated/intl/messages_pl.dart
index b3a922b0ae..efc9e46102 100644
--- a/mobile/lib/generated/intl/messages_pl.dart
+++ b/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":
diff --git a/mobile/lib/generated/intl/messages_pt.dart b/mobile/lib/generated/intl/messages_pt.dart
index 14fdde86ad..7064b1d616 100644
--- a/mobile/lib/generated/intl/messages_pt.dart
+++ b/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(
diff --git a/mobile/lib/generated/intl/messages_zh.dart b/mobile/lib/generated/intl/messages_zh.dart
index 7be447f89c..0a13bacaa0 100644
--- a/mobile/lib/generated/intl/messages_zh.dart
+++ b/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("您要删除的某些项目是由其他人添加的,您将无法访问它们"),
diff --git a/mobile/lib/generated/l10n.dart b/mobile/lib/generated/l10n.dart
index 4da7e9abc2..f7a5295e07 100644
--- a/mobile/lib/generated/l10n.dart
+++ b/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> {
diff --git a/mobile/lib/l10n/intl_cs.arb b/mobile/lib/l10n/intl_cs.arb
index e7d3747252..8730fe40ce 100644
--- a/mobile/lib/l10n/intl_cs.arb
+++ b/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"
}
\ No newline at end of file
diff --git a/mobile/lib/l10n/intl_de.arb b/mobile/lib/l10n/intl_de.arb
index 40912d2826..29e2eca5e8 100644
--- a/mobile/lib/l10n/intl_de.arb
+++ b/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"
}
\ No newline at end of file
diff --git a/mobile/lib/l10n/intl_en.arb b/mobile/lib/l10n/intl_en.arb
index 7a94dd839c..5689682c3f 100644
--- a/mobile/lib/l10n/intl_en.arb
+++ b/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"
}
\ No newline at end of file
diff --git a/mobile/lib/l10n/intl_es.arb b/mobile/lib/l10n/intl_es.arb
index 6515371fa5..0bfb398d55 100644
--- a/mobile/lib/l10n/intl_es.arb
+++ b/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"
}
\ No newline at end of file
diff --git a/mobile/lib/l10n/intl_fr.arb b/mobile/lib/l10n/intl_fr.arb
index 1d8e5f6d3a..0049fa7581 100644
--- a/mobile/lib/l10n/intl_fr.arb
+++ b/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"
}
\ No newline at end of file
diff --git a/mobile/lib/l10n/intl_it.arb b/mobile/lib/l10n/intl_it.arb
index c9655dd065..97d8059e8c 100644
--- a/mobile/lib/l10n/intl_it.arb
+++ b/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"
}
\ No newline at end of file
diff --git a/mobile/lib/l10n/intl_ko.arb b/mobile/lib/l10n/intl_ko.arb
index e7d3747252..8730fe40ce 100644
--- a/mobile/lib/l10n/intl_ko.arb
+++ b/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"
}
\ No newline at end of file
diff --git a/mobile/lib/l10n/intl_nl.arb b/mobile/lib/l10n/intl_nl.arb
index 0ba9bd10c3..fdcee85f39 100644
--- a/mobile/lib/l10n/intl_nl.arb
+++ b/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"
}
\ No newline at end of file
diff --git a/mobile/lib/l10n/intl_no.arb b/mobile/lib/l10n/intl_no.arb
index 8908eadb01..1d09ae2501 100644
--- a/mobile/lib/l10n/intl_no.arb
+++ b/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"
}
\ No newline at end of file
diff --git a/mobile/lib/l10n/intl_pl.arb b/mobile/lib/l10n/intl_pl.arb
index 13d740614d..9b0c7270ff 100644
--- a/mobile/lib/l10n/intl_pl.arb
+++ b/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"
}
\ No newline at end of file
diff --git a/mobile/lib/l10n/intl_pt.arb b/mobile/lib/l10n/intl_pt.arb
index 665574f971..c45bdc0535 100644
--- a/mobile/lib/l10n/intl_pt.arb
+++ b/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"
}
\ No newline at end of file
diff --git a/mobile/lib/l10n/intl_zh.arb b/mobile/lib/l10n/intl_zh.arb
index 54fed47df5..ad4b31bfc0 100644
--- a/mobile/lib/l10n/intl_zh.arb
+++ b/mobile/lib/l10n/intl_zh.arb
@@ -1212,5 +1212,7 @@
"endpointUpdatedMessage": "端点更新成功",
"customEndpoint": "已连接至 {endpoint}",
"createCollaborativeLink": "创建协作链接",
- "search": "搜索"
+ "search": "搜索",
+ "enterPersonName": "Enter person name",
+ "removePersonLabel": "Remove person label"
}
\ No newline at end of file
diff --git a/mobile/lib/ui/viewer/people/people_app_bar.dart b/mobile/lib/ui/viewer/people/people_app_bar.dart
index 4b85a74dac..ed2a1e27de 100644
--- a/mobile/lib/ui/viewer/people/people_app_bar.dart
+++ b/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);
}
},