Skip to content

armgit / ente

Public Imported from GitHub
0

💚 End-to-end encrypted cloud for everything.

[mob] green banner for adding name to cluster

laurenspriem17684a112e05
diff --git a/mobile/lib/generated/intl/messages_cs.dart b/mobile/lib/generated/intl/messages_cs.dart
index 71aa6589dc..142ca37b79 100644
--- a/mobile/lib/generated/intl/messages_cs.dart
+++ b/mobile/lib/generated/intl/messages_cs.dart
@@ -22,6 +22,7 @@ class MessageLookup extends MessageLookupByLibrary {
final messages = _notInlinedMessages(_notInlinedMessages);
static Map<String, Function> _notInlinedMessages(_) => <String, Function>{
+ "addAName": MessageLookupByLibrary.simpleMessage("Add a name"),
"addToHiddenAlbum":
MessageLookupByLibrary.simpleMessage("Add to hidden album"),
"changeLocationOfSelectedItems": MessageLookupByLibrary.simpleMessage(
@@ -35,6 +36,8 @@ class MessageLookup extends MessageLookupByLibrary {
MessageLookupByLibrary.simpleMessage(
"Edits to location will only be seen within Ente"),
"fileTypes": MessageLookupByLibrary.simpleMessage("File types"),
+ "findPeopleByName": MessageLookupByLibrary.simpleMessage(
+ "Find people quickly by searching by name"),
"joinDiscord": MessageLookupByLibrary.simpleMessage("Join Discord"),
"locations": MessageLookupByLibrary.simpleMessage("Locations"),
"modifyYourQueryOrTrySearchingFor":
diff --git a/mobile/lib/generated/intl/messages_de.dart b/mobile/lib/generated/intl/messages_de.dart
index 5127b0ca12..cca4ad8d4a 100644
--- a/mobile/lib/generated/intl/messages_de.dart
+++ b/mobile/lib/generated/intl/messages_de.dart
@@ -224,6 +224,7 @@ class MessageLookup extends MessageLookupByLibrary {
"Ich verstehe, dass ich meine Daten verlieren kann, wenn ich mein Passwort vergesse, da meine Daten <underline>Ende-zu-Ende-verschlüsselt</underline> sind."),
"activeSessions":
MessageLookupByLibrary.simpleMessage("Aktive Sitzungen"),
+ "addAName": MessageLookupByLibrary.simpleMessage("Add a name"),
"addANewEmail": MessageLookupByLibrary.simpleMessage(
"Neue E-Mail-Adresse hinzufügen"),
"addCollaborator":
@@ -723,6 +724,8 @@ class MessageLookup extends MessageLookupByLibrary {
"filesBackedUpInAlbum": m21,
"filesDeleted":
MessageLookupByLibrary.simpleMessage("Dateien gelöscht"),
+ "findPeopleByName": MessageLookupByLibrary.simpleMessage(
+ "Find people quickly by searching by name"),
"flip": MessageLookupByLibrary.simpleMessage("Spiegeln"),
"forYourMemories":
MessageLookupByLibrary.simpleMessage("Als Erinnerung"),
diff --git a/mobile/lib/generated/intl/messages_en.dart b/mobile/lib/generated/intl/messages_en.dart
index 202ea159d9..5f8a1cf335 100644
--- a/mobile/lib/generated/intl/messages_en.dart
+++ b/mobile/lib/generated/intl/messages_en.dart
@@ -220,6 +220,7 @@ class MessageLookup extends MessageLookupByLibrary {
"I understand that if I lose my password, I may lose my data since my data is <underline>end-to-end encrypted</underline>."),
"activeSessions":
MessageLookupByLibrary.simpleMessage("Active sessions"),
+ "addAName": MessageLookupByLibrary.simpleMessage("Add a name"),
"addANewEmail": MessageLookupByLibrary.simpleMessage("Add a new email"),
"addCollaborator":
MessageLookupByLibrary.simpleMessage("Add collaborator"),
@@ -705,6 +706,8 @@ class MessageLookup extends MessageLookupByLibrary {
"filesBackedUpFromDevice": m20,
"filesBackedUpInAlbum": m21,
"filesDeleted": MessageLookupByLibrary.simpleMessage("Files deleted"),
+ "findPeopleByName": MessageLookupByLibrary.simpleMessage(
+ "Find people quickly by searching by name"),
"flip": MessageLookupByLibrary.simpleMessage("Flip"),
"forYourMemories":
MessageLookupByLibrary.simpleMessage("for your memories"),
diff --git a/mobile/lib/generated/intl/messages_es.dart b/mobile/lib/generated/intl/messages_es.dart
index 7b2121bb59..24da1b7393 100644
--- a/mobile/lib/generated/intl/messages_es.dart
+++ b/mobile/lib/generated/intl/messages_es.dart
@@ -200,6 +200,7 @@ class MessageLookup extends MessageLookupByLibrary {
"Entiendo que si pierdo mi contraseña podría perder mis datos, ya que mis datos están <underline>cifrados de extremo a extremo</underline>."),
"activeSessions":
MessageLookupByLibrary.simpleMessage("Sesiónes activas"),
+ "addAName": MessageLookupByLibrary.simpleMessage("Add a name"),
"addANewEmail": MessageLookupByLibrary.simpleMessage(
"Agregar nuevo correo electrónico"),
"addCollaborator":
@@ -634,6 +635,8 @@ class MessageLookup extends MessageLookupByLibrary {
"filesBackedUpInAlbum": m21,
"filesDeleted":
MessageLookupByLibrary.simpleMessage("Archivos eliminados"),
+ "findPeopleByName": MessageLookupByLibrary.simpleMessage(
+ "Find people quickly by searching by name"),
"flip": MessageLookupByLibrary.simpleMessage("Voltear"),
"forYourMemories":
MessageLookupByLibrary.simpleMessage("para tus recuerdos"),
diff --git a/mobile/lib/generated/intl/messages_fr.dart b/mobile/lib/generated/intl/messages_fr.dart
index b2ac59426c..dc4f98965b 100644
--- a/mobile/lib/generated/intl/messages_fr.dart
+++ b/mobile/lib/generated/intl/messages_fr.dart
@@ -217,6 +217,7 @@ class MessageLookup extends MessageLookupByLibrary {
"Je comprends que si je perds mon mot de passe, je perdrai mes données puisque mes données sont <underline>chiffrées de bout en bout</underline>."),
"activeSessions":
MessageLookupByLibrary.simpleMessage("Sessions actives"),
+ "addAName": MessageLookupByLibrary.simpleMessage("Add a name"),
"addANewEmail":
MessageLookupByLibrary.simpleMessage("Ajouter un nouvel email"),
"addCollaborator":
@@ -720,6 +721,8 @@ class MessageLookup extends MessageLookupByLibrary {
"filesBackedUpInAlbum": m21,
"filesDeleted":
MessageLookupByLibrary.simpleMessage("Fichiers supprimés"),
+ "findPeopleByName": MessageLookupByLibrary.simpleMessage(
+ "Find people quickly by searching by name"),
"flip": MessageLookupByLibrary.simpleMessage("Retourner"),
"forYourMemories":
MessageLookupByLibrary.simpleMessage("pour vos souvenirs"),
diff --git a/mobile/lib/generated/intl/messages_it.dart b/mobile/lib/generated/intl/messages_it.dart
index d18386043e..9a6e4f8c6c 100644
--- a/mobile/lib/generated/intl/messages_it.dart
+++ b/mobile/lib/generated/intl/messages_it.dart
@@ -212,6 +212,7 @@ class MessageLookup extends MessageLookupByLibrary {
"Comprendo che se perdo la password potrei perdere l\'accesso ai miei dati poiché sono <underline>criptati end-to-end</underline>."),
"activeSessions":
MessageLookupByLibrary.simpleMessage("Sessioni attive"),
+ "addAName": MessageLookupByLibrary.simpleMessage("Add a name"),
"addANewEmail":
MessageLookupByLibrary.simpleMessage("Aggiungi una nuova email"),
"addCollaborator":
@@ -692,6 +693,8 @@ class MessageLookup extends MessageLookupByLibrary {
"filesBackedUpFromDevice": m20,
"filesBackedUpInAlbum": m21,
"filesDeleted": MessageLookupByLibrary.simpleMessage("File eliminati"),
+ "findPeopleByName": MessageLookupByLibrary.simpleMessage(
+ "Find people quickly by searching by name"),
"flip": MessageLookupByLibrary.simpleMessage("Capovolgi"),
"forYourMemories":
MessageLookupByLibrary.simpleMessage("per i tuoi ricordi"),
diff --git a/mobile/lib/generated/intl/messages_ko.dart b/mobile/lib/generated/intl/messages_ko.dart
index a97232febc..0b6e7fc6ac 100644
--- a/mobile/lib/generated/intl/messages_ko.dart
+++ b/mobile/lib/generated/intl/messages_ko.dart
@@ -22,6 +22,7 @@ class MessageLookup extends MessageLookupByLibrary {
final messages = _notInlinedMessages(_notInlinedMessages);
static Map<String, Function> _notInlinedMessages(_) => <String, Function>{
+ "addAName": MessageLookupByLibrary.simpleMessage("Add a name"),
"addToHiddenAlbum":
MessageLookupByLibrary.simpleMessage("Add to hidden album"),
"changeLocationOfSelectedItems": MessageLookupByLibrary.simpleMessage(
@@ -35,6 +36,8 @@ class MessageLookup extends MessageLookupByLibrary {
MessageLookupByLibrary.simpleMessage(
"Edits to location will only be seen within Ente"),
"fileTypes": MessageLookupByLibrary.simpleMessage("File types"),
+ "findPeopleByName": MessageLookupByLibrary.simpleMessage(
+ "Find people quickly by searching by name"),
"joinDiscord": MessageLookupByLibrary.simpleMessage("Join Discord"),
"locations": MessageLookupByLibrary.simpleMessage("Locations"),
"modifyYourQueryOrTrySearchingFor":
diff --git a/mobile/lib/generated/intl/messages_nl.dart b/mobile/lib/generated/intl/messages_nl.dart
index 1a54922240..b4bd15c86a 100644
--- a/mobile/lib/generated/intl/messages_nl.dart
+++ b/mobile/lib/generated/intl/messages_nl.dart
@@ -224,6 +224,7 @@ class MessageLookup extends MessageLookupByLibrary {
"Ik begrijp dat als ik mijn wachtwoord verlies, ik mijn gegevens kan verliezen omdat mijn gegevens <underline>end-to-end versleuteld</underline> zijn."),
"activeSessions":
MessageLookupByLibrary.simpleMessage("Actieve sessies"),
+ "addAName": MessageLookupByLibrary.simpleMessage("Add a name"),
"addANewEmail":
MessageLookupByLibrary.simpleMessage("Nieuw e-mailadres toevoegen"),
"addCollaborator":
@@ -732,6 +733,8 @@ class MessageLookup extends MessageLookupByLibrary {
"filesBackedUpInAlbum": m21,
"filesDeleted":
MessageLookupByLibrary.simpleMessage("Bestanden verwijderd"),
+ "findPeopleByName": MessageLookupByLibrary.simpleMessage(
+ "Find people quickly by searching by name"),
"flip": MessageLookupByLibrary.simpleMessage("Omdraaien"),
"forYourMemories":
MessageLookupByLibrary.simpleMessage("voor uw herinneringen"),
diff --git a/mobile/lib/generated/intl/messages_no.dart b/mobile/lib/generated/intl/messages_no.dart
index 795caf2007..e0891fc1ce 100644
--- a/mobile/lib/generated/intl/messages_no.dart
+++ b/mobile/lib/generated/intl/messages_no.dart
@@ -24,6 +24,7 @@ class MessageLookup extends MessageLookupByLibrary {
static Map<String, Function> _notInlinedMessages(_) => <String, Function>{
"accountWelcomeBack":
MessageLookupByLibrary.simpleMessage("Velkommen tilbake!"),
+ "addAName": MessageLookupByLibrary.simpleMessage("Add a name"),
"addToHiddenAlbum":
MessageLookupByLibrary.simpleMessage("Add to hidden album"),
"askDeleteReason": MessageLookupByLibrary.simpleMessage(
@@ -53,6 +54,8 @@ class MessageLookup extends MessageLookupByLibrary {
"Skriv inn e-postadressen din"),
"feedback": MessageLookupByLibrary.simpleMessage("Tilbakemelding"),
"fileTypes": MessageLookupByLibrary.simpleMessage("File types"),
+ "findPeopleByName": MessageLookupByLibrary.simpleMessage(
+ "Find people quickly by searching by name"),
"invalidEmailAddress":
MessageLookupByLibrary.simpleMessage("Ugyldig e-postadresse"),
"joinDiscord": MessageLookupByLibrary.simpleMessage("Join Discord"),
diff --git a/mobile/lib/generated/intl/messages_pl.dart b/mobile/lib/generated/intl/messages_pl.dart
index 2647e1191c..8faaae6f96 100644
--- a/mobile/lib/generated/intl/messages_pl.dart
+++ b/mobile/lib/generated/intl/messages_pl.dart
@@ -28,6 +28,7 @@ class MessageLookup extends MessageLookupByLibrary {
"accountWelcomeBack":
MessageLookupByLibrary.simpleMessage("Witaj ponownie!"),
"activeSessions": MessageLookupByLibrary.simpleMessage("Aktywne sesje"),
+ "addAName": MessageLookupByLibrary.simpleMessage("Add a name"),
"addToHiddenAlbum":
MessageLookupByLibrary.simpleMessage("Add to hidden album"),
"askDeleteReason": MessageLookupByLibrary.simpleMessage(
@@ -101,6 +102,8 @@ class MessageLookup extends MessageLookupByLibrary {
"Wprowadź swój klucz odzyskiwania"),
"feedback": MessageLookupByLibrary.simpleMessage("Informacja zwrotna"),
"fileTypes": MessageLookupByLibrary.simpleMessage("File types"),
+ "findPeopleByName": MessageLookupByLibrary.simpleMessage(
+ "Find people quickly by searching by name"),
"forgotPassword":
MessageLookupByLibrary.simpleMessage("Nie pamiętam hasła"),
"generatingEncryptionKeys": MessageLookupByLibrary.simpleMessage(
diff --git a/mobile/lib/generated/intl/messages_pt.dart b/mobile/lib/generated/intl/messages_pt.dart
index 4a2bfa26d1..8aa3e0c8d1 100644
--- a/mobile/lib/generated/intl/messages_pt.dart
+++ b/mobile/lib/generated/intl/messages_pt.dart
@@ -220,6 +220,7 @@ class MessageLookup extends MessageLookupByLibrary {
"Eu entendo que se eu perder minha senha, posso perder meus dados, já que meus dados são <underline>criptografados de ponta a ponta</underline>."),
"activeSessions":
MessageLookupByLibrary.simpleMessage("Sessões ativas"),
+ "addAName": MessageLookupByLibrary.simpleMessage("Add a name"),
"addANewEmail":
MessageLookupByLibrary.simpleMessage("Adicionar um novo email"),
"addCollaborator":
@@ -720,6 +721,8 @@ class MessageLookup extends MessageLookupByLibrary {
"filesBackedUpInAlbum": m21,
"filesDeleted":
MessageLookupByLibrary.simpleMessage("Arquivos excluídos"),
+ "findPeopleByName": MessageLookupByLibrary.simpleMessage(
+ "Find people quickly by searching by name"),
"flip": MessageLookupByLibrary.simpleMessage("Inverter"),
"forYourMemories":
MessageLookupByLibrary.simpleMessage("para suas memórias"),
diff --git a/mobile/lib/generated/intl/messages_zh.dart b/mobile/lib/generated/intl/messages_zh.dart
index 4a056efe89..668a455b4a 100644
--- a/mobile/lib/generated/intl/messages_zh.dart
+++ b/mobile/lib/generated/intl/messages_zh.dart
@@ -200,6 +200,7 @@ class MessageLookup extends MessageLookupByLibrary {
"ackPasswordLostWarning": MessageLookupByLibrary.simpleMessage(
"我明白,如果我丢失密码,我可能会丢失我的数据,因为我的数据是 <underline>端到端加密的</underline>。"),
"activeSessions": MessageLookupByLibrary.simpleMessage("已登录的设备"),
+ "addAName": MessageLookupByLibrary.simpleMessage("Add a name"),
"addANewEmail": MessageLookupByLibrary.simpleMessage("添加新的电子邮件"),
"addCollaborator": MessageLookupByLibrary.simpleMessage("添加协作者"),
"addFromDevice": MessageLookupByLibrary.simpleMessage("从设备添加"),
@@ -592,6 +593,8 @@ class MessageLookup extends MessageLookupByLibrary {
"filesBackedUpFromDevice": m20,
"filesBackedUpInAlbum": m21,
"filesDeleted": MessageLookupByLibrary.simpleMessage("文件已删除"),
+ "findPeopleByName": MessageLookupByLibrary.simpleMessage(
+ "Find people quickly by searching by name"),
"flip": MessageLookupByLibrary.simpleMessage("上下翻转"),
"forYourMemories": MessageLookupByLibrary.simpleMessage("为您的回忆"),
"forgotPassword": MessageLookupByLibrary.simpleMessage("忘记密码"),
diff --git a/mobile/lib/generated/l10n.dart b/mobile/lib/generated/l10n.dart
index 1dde8d9032..f24c440b09 100644
--- a/mobile/lib/generated/l10n.dart
+++ b/mobile/lib/generated/l10n.dart
@@ -8437,6 +8437,26 @@ class S {
args: [],
);
}
+
+ /// `Add a name`
+ String get addAName {
+ return Intl.message(
+ 'Add a name',
+ name: 'addAName',
+ desc: '',
+ args: [],
+ );
+ }
+
+ /// `Find people quickly by searching by name`
+ String get findPeopleByName {
+ return Intl.message(
+ 'Find people quickly by searching by name',
+ name: 'findPeopleByName',
+ desc: '',
+ args: [],
+ );
+ }
}
class AppLocalizationDelegate extends LocalizationsDelegate<S> {
diff --git a/mobile/lib/l10n/intl_cs.arb b/mobile/lib/l10n/intl_cs.arb
index d9ce7ebeb1..66ed18d55b 100644
--- a/mobile/lib/l10n/intl_cs.arb
+++ b/mobile/lib/l10n/intl_cs.arb
@@ -13,5 +13,7 @@
"editsToLocationWillOnlyBeSeenWithinEnte": "Edits to location will only be seen within Ente",
"joinDiscord": "Join Discord",
"locations": "Locations",
- "descriptions": "Descriptions"
+ "descriptions": "Descriptions",
+ "addAName": "Add a name",
+ "findPeopleByName": "Find people quickly by searching by name"
}
\ No newline at end of file
diff --git a/mobile/lib/l10n/intl_de.arb b/mobile/lib/l10n/intl_de.arb
index 117cd799e7..08677bbd26 100644
--- a/mobile/lib/l10n/intl_de.arb
+++ b/mobile/lib/l10n/intl_de.arb
@@ -1180,5 +1180,7 @@
"cleanUncategorized": "Unkategorisiert leeren",
"joinDiscord": "Join Discord",
"locations": "Locations",
- "descriptions": "Descriptions"
+ "descriptions": "Descriptions",
+ "addAName": "Add a name",
+ "findPeopleByName": "Find people quickly by searching by name"
}
\ No newline at end of file
diff --git a/mobile/lib/l10n/intl_en.arb b/mobile/lib/l10n/intl_en.arb
index e87932409a..0460ddea8f 100644
--- a/mobile/lib/l10n/intl_en.arb
+++ b/mobile/lib/l10n/intl_en.arb
@@ -1200,5 +1200,7 @@
"deviceCodeHint": "Enter the code",
"joinDiscord": "Join Discord",
"locations": "Locations",
- "descriptions": "Descriptions"
+ "descriptions": "Descriptions",
+ "addAName": "Add a name",
+ "findPeopleByName": "Find people quickly by searching by name"
}
\ No newline at end of file
diff --git a/mobile/lib/l10n/intl_es.arb b/mobile/lib/l10n/intl_es.arb
index cbbb60a451..e44176c754 100644
--- a/mobile/lib/l10n/intl_es.arb
+++ b/mobile/lib/l10n/intl_es.arb
@@ -975,5 +975,7 @@
"editsToLocationWillOnlyBeSeenWithinEnte": "Edits to location will only be seen within Ente",
"joinDiscord": "Join Discord",
"locations": "Locations",
- "descriptions": "Descriptions"
+ "descriptions": "Descriptions",
+ "addAName": "Add a name",
+ "findPeopleByName": "Find people quickly by searching by name"
}
\ No newline at end of file
diff --git a/mobile/lib/l10n/intl_fr.arb b/mobile/lib/l10n/intl_fr.arb
index f0afcaa98e..caede7dee4 100644
--- a/mobile/lib/l10n/intl_fr.arb
+++ b/mobile/lib/l10n/intl_fr.arb
@@ -1156,5 +1156,7 @@
"editsToLocationWillOnlyBeSeenWithinEnte": "Edits to location will only be seen within Ente",
"joinDiscord": "Join Discord",
"locations": "Locations",
- "descriptions": "Descriptions"
+ "descriptions": "Descriptions",
+ "addAName": "Add a name",
+ "findPeopleByName": "Find people quickly by searching by name"
}
\ No newline at end of file
diff --git a/mobile/lib/l10n/intl_it.arb b/mobile/lib/l10n/intl_it.arb
index be0dc1e2c6..d302fec222 100644
--- a/mobile/lib/l10n/intl_it.arb
+++ b/mobile/lib/l10n/intl_it.arb
@@ -1118,5 +1118,7 @@
"editsToLocationWillOnlyBeSeenWithinEnte": "Edits to location will only be seen within Ente",
"joinDiscord": "Join Discord",
"locations": "Locations",
- "descriptions": "Descriptions"
+ "descriptions": "Descriptions",
+ "addAName": "Add a name",
+ "findPeopleByName": "Find people quickly by searching by name"
}
\ No newline at end of file
diff --git a/mobile/lib/l10n/intl_ko.arb b/mobile/lib/l10n/intl_ko.arb
index d9ce7ebeb1..66ed18d55b 100644
--- a/mobile/lib/l10n/intl_ko.arb
+++ b/mobile/lib/l10n/intl_ko.arb
@@ -13,5 +13,7 @@
"editsToLocationWillOnlyBeSeenWithinEnte": "Edits to location will only be seen within Ente",
"joinDiscord": "Join Discord",
"locations": "Locations",
- "descriptions": "Descriptions"
+ "descriptions": "Descriptions",
+ "addAName": "Add a name",
+ "findPeopleByName": "Find people quickly by searching by name"
}
\ No newline at end of file
diff --git a/mobile/lib/l10n/intl_nl.arb b/mobile/lib/l10n/intl_nl.arb
index 0f2ab0ec2a..d213263130 100644
--- a/mobile/lib/l10n/intl_nl.arb
+++ b/mobile/lib/l10n/intl_nl.arb
@@ -1194,5 +1194,7 @@
"deviceCodeHint": "Voer de code in",
"joinDiscord": "Join Discord",
"locations": "Locations",
- "descriptions": "Descriptions"
+ "descriptions": "Descriptions",
+ "addAName": "Add a name",
+ "findPeopleByName": "Find people quickly by searching by name"
}
\ No newline at end of file
diff --git a/mobile/lib/l10n/intl_no.arb b/mobile/lib/l10n/intl_no.arb
index 8d40561fce..efad4e47ee 100644
--- a/mobile/lib/l10n/intl_no.arb
+++ b/mobile/lib/l10n/intl_no.arb
@@ -27,5 +27,7 @@
"editsToLocationWillOnlyBeSeenWithinEnte": "Edits to location will only be seen within Ente",
"joinDiscord": "Join Discord",
"locations": "Locations",
- "descriptions": "Descriptions"
+ "descriptions": "Descriptions",
+ "addAName": "Add a name",
+ "findPeopleByName": "Find people quickly by searching by name"
}
\ No newline at end of file
diff --git a/mobile/lib/l10n/intl_pl.arb b/mobile/lib/l10n/intl_pl.arb
index 6bd5a30aa2..ac1b6dce7b 100644
--- a/mobile/lib/l10n/intl_pl.arb
+++ b/mobile/lib/l10n/intl_pl.arb
@@ -114,5 +114,7 @@
"editsToLocationWillOnlyBeSeenWithinEnte": "Edits to location will only be seen within Ente",
"joinDiscord": "Join Discord",
"locations": "Locations",
- "descriptions": "Descriptions"
+ "descriptions": "Descriptions",
+ "addAName": "Add a name",
+ "findPeopleByName": "Find people quickly by searching by name"
}
\ No newline at end of file
diff --git a/mobile/lib/l10n/intl_pt.arb b/mobile/lib/l10n/intl_pt.arb
index ccbe1b69df..8a9ef5cb39 100644
--- a/mobile/lib/l10n/intl_pt.arb
+++ b/mobile/lib/l10n/intl_pt.arb
@@ -1198,5 +1198,7 @@
"deviceCodeHint": "Insira o código",
"joinDiscord": "Junte-se ao Discord",
"locations": "Locations",
- "descriptions": "Descriptions"
+ "descriptions": "Descriptions",
+ "addAName": "Add a name",
+ "findPeopleByName": "Find people quickly by searching by name"
}
\ No newline at end of file
diff --git a/mobile/lib/l10n/intl_zh.arb b/mobile/lib/l10n/intl_zh.arb
index 7519a9aa4a..83190df5a8 100644
--- a/mobile/lib/l10n/intl_zh.arb
+++ b/mobile/lib/l10n/intl_zh.arb
@@ -1198,5 +1198,7 @@
"deviceCodeHint": "输入代码",
"joinDiscord": "加入 Discord",
"locations": "Locations",
- "descriptions": "Descriptions"
+ "descriptions": "Descriptions",
+ "addAName": "Add a name",
+ "findPeopleByName": "Find people quickly by searching by name"
}
\ No newline at end of file
diff --git a/mobile/lib/ui/components/notification_widget.dart b/mobile/lib/ui/components/notification_widget.dart
index 6779a58fae..864e4c29c0 100644
--- a/mobile/lib/ui/components/notification_widget.dart
+++ b/mobile/lib/ui/components/notification_widget.dart
@@ -10,6 +10,7 @@ import 'package:photos/ui/components/buttons/icon_button_widget.dart';
enum NotificationType {
warning,
banner,
+ greenBanner,
goldenBanner,
notice,
}
@@ -67,6 +68,18 @@ class NotificationWidget extends StatelessWidget {
);
boxShadow = Theme.of(context).colorScheme.enteTheme.shadowMenu;
break;
+ case NotificationType.greenBanner:
+ backgroundGradient = LinearGradient(
+ colors: [
+ getEnteColorScheme(context).primary700,
+ getEnteColorScheme(context).primary500,
+ ],
+ stops: const [0.25, 1],
+ begin: Alignment.bottomCenter,
+ end: Alignment.topCenter,
+ );
+ boxShadow = Theme.of(context).colorScheme.enteTheme.shadowMenu;
+ break;
case NotificationType.notice:
backgroundColor = colorScheme.backgroundElevated2;
mainTextStyle = textTheme.bodyBold;
diff --git a/mobile/lib/ui/viewer/people/cluster_page.dart b/mobile/lib/ui/viewer/people/cluster_page.dart
index e21341daaa..04a14d0120 100644
--- a/mobile/lib/ui/viewer/people/cluster_page.dart
+++ b/mobile/lib/ui/viewer/people/cluster_page.dart
@@ -6,6 +6,7 @@ import 'package:photos/core/event_bus.dart';
import 'package:photos/events/files_updated_event.dart';
import 'package:photos/events/local_photos_updated_event.dart';
import "package:photos/face/model/person.dart";
+import "package:photos/generated/l10n.dart";
import 'package:photos/models/file/file.dart';
import 'package:photos/models/file_load_result.dart';
import 'package:photos/models/gallery_type.dart';
@@ -117,13 +118,16 @@ class _ClusterPageState extends State<ClusterPage> {
const SizedBox(height: 12),
RepaintBoundary(
child: Padding(
- padding: const EdgeInsets.symmetric(vertical: 8.0),
+ padding:
+ const EdgeInsets.symmetric(vertical: 8.0, horizontal: 8.0),
child: NotificationWidget(
startIcon: Icons.person_add_outlined,
actionIcon: Icons.add_outlined,
- text: "Add a name",
- subText: "Find persons quickly by searching by name",
- type: NotificationType.notice,
+ text: S.of(context).addAName,
+ subText:S.of(context).findPeopleByName,
+ // text: S.of(context).addAName,
+ // subText: S.of(context).findPersonsByName,
+ type: NotificationType.greenBanner,
onTap: () async {
if (widget.personID == null) {
final result = await showAssignPersonAction(