Skip to content

armgit / ente

Public Imported from GitHub
0

💚 End-to-end encrypted cloud for everything.

Merge remote-tracking branch 'origin/main' into save_contact

Neeraj Guptac25310059a4a
diff --cc mobile/lib/generated/intl/messages_ar.dart
index 95665bd0d1,406efc0cce..1ce7ba622c
--- a/mobile/lib/generated/intl/messages_ar.dart
+++ b/mobile/lib/generated/intl/messages_ar.dart
@@@ -27,10 -27,12 +27,8 @@@ class MessageLookup extends MessageLook
"ackPasswordLostWarning": MessageLookupByLibrary.simpleMessage(
"أُدركُ أنّني فقدتُ كلمة مروري، فقد أفقد بياناتي لأن بياناتي <underline>مشفرة تشفيرًا تامًّا من النهاية إلى النهاية</underline>."),
"cancel": MessageLookupByLibrary.simpleMessage("إلغاء"),
-- "checkingModels":
-- MessageLookupByLibrary.simpleMessage("Checking models..."),
"decrypting": MessageLookupByLibrary.simpleMessage("فك التشفير..."),
"email": MessageLookupByLibrary.simpleMessage("البريد الإلكتروني"),
- "enableMachineLearningBanner": MessageLookupByLibrary.simpleMessage(
- "Enable machine learning for magic search and face recognition"),
"enterYourEmailAddress":
MessageLookupByLibrary.simpleMessage("أدخل عنوان بريدك الإلكتروني"),
"enterYourRecoveryKey":
diff --cc mobile/lib/generated/intl/messages_be.dart
index 42791a7935,9092285095..a4a49d3b64
--- a/mobile/lib/generated/intl/messages_be.dart
+++ b/mobile/lib/generated/intl/messages_be.dart
@@@ -56,8 -56,8 +56,6 @@@ class MessageLookup extends MessageLook
MessageLookupByLibrary.simpleMessage("Змяніць пароль"),
"checkInboxAndSpamFolder": MessageLookupByLibrary.simpleMessage(
"Праверце свае ўваходныя лісты (і спам) для завяршэння праверкі"),
-- "checkingModels":
-- MessageLookupByLibrary.simpleMessage("Checking models..."),
"codeAppliedPageTitle":
MessageLookupByLibrary.simpleMessage("Код ужыты"),
"confirm": MessageLookupByLibrary.simpleMessage("Пацвердзіць"),
diff --cc mobile/lib/generated/intl/messages_bg.dart
index e3f8835ae7,a23489ec1f..e887127f40
--- a/mobile/lib/generated/intl/messages_bg.dart
+++ b/mobile/lib/generated/intl/messages_bg.dart
@@@ -21,8 -21,16 +21,5 @@@ class MessageLookup extends MessageLook
String get localeName => 'bg';
final messages = _notInlinedMessages(_notInlinedMessages);
-- static Map<String, Function> _notInlinedMessages(_) => <String, Function>{
-- "checkingModels":
- MessageLookupByLibrary.simpleMessage("Checking models...")
- MessageLookupByLibrary.simpleMessage("Checking models..."),
- "enableMachineLearningBanner": MessageLookupByLibrary.simpleMessage(
- "Enable machine learning for magic search and face recognition"),
- "searchDiscoverEmptySection": MessageLookupByLibrary.simpleMessage(
- "Images will be shown here once processing is complete"),
- "searchPeopleEmptySection": MessageLookupByLibrary.simpleMessage(
- "People will be shown here once processing is complete"),
- "searchPersonsEmptySection": MessageLookupByLibrary.simpleMessage(
- "People will be shown here once processing is complete")
-- };
++ static Map<String, Function> _notInlinedMessages(_) => <String, Function>{};
}
diff --cc mobile/lib/generated/intl/messages_ca.dart
index 73cf74ac9b,2b8f5a7ebc..84dea987b0
--- a/mobile/lib/generated/intl/messages_ca.dart
+++ b/mobile/lib/generated/intl/messages_ca.dart
@@@ -21,8 -21,16 +21,5 @@@ class MessageLookup extends MessageLook
String get localeName => 'ca';
final messages = _notInlinedMessages(_notInlinedMessages);
-- static Map<String, Function> _notInlinedMessages(_) => <String, Function>{
-- "checkingModels":
- MessageLookupByLibrary.simpleMessage("Checking models...")
- MessageLookupByLibrary.simpleMessage("Checking models..."),
- "enableMachineLearningBanner": MessageLookupByLibrary.simpleMessage(
- "Enable machine learning for magic search and face recognition"),
- "searchDiscoverEmptySection": MessageLookupByLibrary.simpleMessage(
- "Images will be shown here once processing is complete"),
- "searchPeopleEmptySection": MessageLookupByLibrary.simpleMessage(
- "People will be shown here once processing is complete"),
- "searchPersonsEmptySection": MessageLookupByLibrary.simpleMessage(
- "People will be shown here once processing is complete")
-- };
++ static Map<String, Function> _notInlinedMessages(_) => <String, Function>{};
}
diff --cc mobile/lib/generated/intl/messages_cs.dart
index 7c3ab0ebe2,a2a98616d5..226e365e9c
--- a/mobile/lib/generated/intl/messages_cs.dart
+++ b/mobile/lib/generated/intl/messages_cs.dart
@@@ -26,8 -26,16 +26,6 @@@ class MessageLookup extends MessageLook
"Jaký je váš hlavní důvod, proč mažete svůj účet?"),
"checkInboxAndSpamFolder": MessageLookupByLibrary.simpleMessage(
"Zkontrolujte prosím svou doručenou poštu (a spam) pro dokončení ověření"),
-- "checkingModels":
-- MessageLookupByLibrary.simpleMessage("Checking models..."),
- "enableMachineLearningBanner": MessageLookupByLibrary.simpleMessage(
- "Enable machine learning for magic search and face recognition"),
- "incorrectRecoveryKeyBody": MessageLookupByLibrary.simpleMessage(""),
- "searchDiscoverEmptySection": MessageLookupByLibrary.simpleMessage(
- "Images will be shown here once processing is complete"),
- "searchPeopleEmptySection": MessageLookupByLibrary.simpleMessage(
- "People will be shown here once processing is complete"),
- "searchPersonsEmptySection": MessageLookupByLibrary.simpleMessage(
- "People will be shown here once processing is complete")
+ "incorrectRecoveryKeyBody": MessageLookupByLibrary.simpleMessage("")
};
}
diff --cc mobile/lib/generated/intl/messages_da.dart
index 530acf8fc2,5c2005ea4d..c47bf7b6c6
--- a/mobile/lib/generated/intl/messages_da.dart
+++ b/mobile/lib/generated/intl/messages_da.dart
@@@ -41,8 -41,8 +41,6 @@@ class MessageLookup extends MessageLook
"backedUpFolders":
MessageLookupByLibrary.simpleMessage("Sikkerhedskopierede mapper"),
"cancel": MessageLookupByLibrary.simpleMessage("Annuller"),
-- "checkingModels":
-- MessageLookupByLibrary.simpleMessage("Checking models..."),
"confirmAccountDeletion":
MessageLookupByLibrary.simpleMessage("Bekræft Sletning Af Konto"),
"confirmPassword":
diff --cc mobile/lib/generated/intl/messages_de.dart
index 461b93dfd3,1a22db95fe..181384fa21
--- a/mobile/lib/generated/intl/messages_de.dart
+++ b/mobile/lib/generated/intl/messages_de.dart
@@@ -473,7 -473,7 +473,7 @@@ class MessageLookup extends MessageLook
MessageLookupByLibrary.simpleMessage("Status überprüfen"),
"checking": MessageLookupByLibrary.simpleMessage("Wird geprüft..."),
"checkingModels":
-- MessageLookupByLibrary.simpleMessage("Checking models..."),
++ MessageLookupByLibrary.simpleMessage("Prüfe Modelle..."),
"claimFreeStorage":
MessageLookupByLibrary.simpleMessage("Freien Speicher einlösen"),
"claimMore": MessageLookupByLibrary.simpleMessage("Mehr einlösen!"),
@@@ -738,6 -738,8 +738,8 @@@
"enable": MessageLookupByLibrary.simpleMessage("Aktivieren"),
"enableMLIndexingDesc": MessageLookupByLibrary.simpleMessage(
"Ente unterstützt maschinelles Lernen für Gesichtserkennung, magische Suche und andere erweiterte Suchfunktionen auf dem Gerät"),
+ "enableMachineLearningBanner": MessageLookupByLibrary.simpleMessage(
- "Enable machine learning for magic search and face recognition"),
++ "Aktiviere maschinelles Lernen für die magische Suche und Gesichtserkennung"),
"enableMaps": MessageLookupByLibrary.simpleMessage("Karten aktivieren"),
"enableMapsDesc": MessageLookupByLibrary.simpleMessage(
"Dies zeigt Ihre Fotos auf einer Weltkarte.\n\nDiese Karte wird von OpenStreetMap gehostet und die genauen Standorte Ihrer Fotos werden niemals geteilt.\n\nSie können diese Funktion jederzeit in den Einstellungen deaktivieren."),
@@@ -1434,6 -1436,8 +1436,8 @@@
"Füge Beschreibungen wie \"#trip\" in der Fotoinfo hinzu um diese schnell hier wiederzufinden"),
"searchDatesEmptySection": MessageLookupByLibrary.simpleMessage(
"Suche nach Datum, Monat oder Jahr"),
+ "searchDiscoverEmptySection": MessageLookupByLibrary.simpleMessage(
- "Images will be shown here once processing is complete"),
++ "Bilder werden hier angezeigt, sobald die Verarbeitung abgeschlossen ist"),
"searchFaceEmptySection": MessageLookupByLibrary.simpleMessage(
"Personen werden hier angezeigt, sobald die Indizierung abgeschlossen ist"),
"searchFileTypesAndNamesEmptySection":
@@@ -1451,6 -1455,8 +1455,8 @@@
"Gruppiere Fotos, die innerhalb des Radius eines bestimmten Fotos aufgenommen wurden"),
"searchPeopleEmptySection": MessageLookupByLibrary.simpleMessage(
"Laden Sie Personen ein, damit Sie geteilte Fotos hier einsehen können"),
+ "searchPersonsEmptySection": MessageLookupByLibrary.simpleMessage(
- "People will be shown here once processing is complete"),
++ "Personen werden hier angezeigt, sobald die Verarbeitung abgeschlossen ist"),
"searchResultCount": m53,
"security": MessageLookupByLibrary.simpleMessage("Sicherheit"),
"selectALocation":
diff --cc mobile/lib/generated/intl/messages_el.dart
index 3977b079de,e0b453fe8d..79c0433b27
--- a/mobile/lib/generated/intl/messages_el.dart
+++ b/mobile/lib/generated/intl/messages_el.dart
@@@ -22,9 -22,17 +22,7 @@@ class MessageLookup extends MessageLook
final messages = _notInlinedMessages(_notInlinedMessages);
static Map<String, Function> _notInlinedMessages(_) => <String, Function>{
-- "checkingModels":
-- MessageLookupByLibrary.simpleMessage("Checking models..."),
- "enableMachineLearningBanner": MessageLookupByLibrary.simpleMessage(
- "Enable machine learning for magic search and face recognition"),
"enterYourEmailAddress": MessageLookupByLibrary.simpleMessage(
- "Εισάγετε την διεύθυνση ηλ. ταχυδρομείου σας"),
- "searchDiscoverEmptySection": MessageLookupByLibrary.simpleMessage(
- "Images will be shown here once processing is complete"),
- "searchPeopleEmptySection": MessageLookupByLibrary.simpleMessage(
- "People will be shown here once processing is complete"),
- "searchPersonsEmptySection": MessageLookupByLibrary.simpleMessage(
- "People will be shown here once processing is complete")
+ "Εισάγετε την διεύθυνση ηλ. ταχυδρομείου σας")
};
}
diff --cc mobile/lib/generated/intl/messages_en.dart
index d8417292d1,50c3acbaf2..d3471c3d36
--- a/mobile/lib/generated/intl/messages_en.dart
+++ b/mobile/lib/generated/intl/messages_en.dart
@@@ -1135,8 -1133,6 +1137,8 @@@ class MessageLookup extends MessageLook
MessageLookupByLibrary.simpleMessage("OpenStreetMap contributors"),
"optionalAsShortAsYouLike": MessageLookupByLibrary.simpleMessage(
"Optional, as short as you like..."),
- "orMergeWithExistingPerson": MessageLookupByLibrary.simpleMessage(
- "Or merge with existing person"),
++ "orMergeWithExistingPerson":
++ MessageLookupByLibrary.simpleMessage("Or merge with existing"),
"orPickAnExistingOne":
MessageLookupByLibrary.simpleMessage("Or pick an existing one"),
"pair": MessageLookupByLibrary.simpleMessage("Pair"),
diff --cc mobile/lib/generated/intl/messages_es.dart
index f3f666ba1e,4722d1b979..694b232e0a
--- a/mobile/lib/generated/intl/messages_es.dart
+++ b/mobile/lib/generated/intl/messages_es.dart
@@@ -461,8 -461,8 +461,6 @@@ class MessageLookup extends MessageLook
"Revisa tu bandeja de entrada (y spam) para completar la verificación"),
"checkStatus": MessageLookupByLibrary.simpleMessage("Comprobar estado"),
"checking": MessageLookupByLibrary.simpleMessage("Comprobando..."),
-- "checkingModels":
-- MessageLookupByLibrary.simpleMessage("Checking models..."),
"claimFreeStorage": MessageLookupByLibrary.simpleMessage(
"Reclamar almacenamiento gratis"),
"claimMore": MessageLookupByLibrary.simpleMessage("¡Reclama más!"),
diff --cc mobile/lib/generated/intl/messages_et.dart
index 801f75c33c,2e63ce3c96..dc3a61a6ff
--- a/mobile/lib/generated/intl/messages_et.dart
+++ b/mobile/lib/generated/intl/messages_et.dart
@@@ -49,8 -49,8 +49,6 @@@ class MessageLookup extends MessageLook
"checkStatus":
MessageLookupByLibrary.simpleMessage("Kontrolli staatust"),
"checking": MessageLookupByLibrary.simpleMessage("Kontrollimine..."),
-- "checkingModels":
-- MessageLookupByLibrary.simpleMessage("Checking models..."),
"collaborator": MessageLookupByLibrary.simpleMessage("Kaastööline"),
"collectPhotos": MessageLookupByLibrary.simpleMessage("Kogu fotod"),
"color": MessageLookupByLibrary.simpleMessage("Värv"),
diff --cc mobile/lib/generated/intl/messages_fa.dart
index b4778b9f8d,1971bbb14f..e0d79f058d
--- a/mobile/lib/generated/intl/messages_fa.dart
+++ b/mobile/lib/generated/intl/messages_fa.dart
@@@ -103,8 -103,8 +103,6 @@@ class MessageLookup extends MessageLook
"لطفا صندوق ورودی (و هرزنامه) خود را برای تایید کامل بررسی کنید"),
"checkStatus": MessageLookupByLibrary.simpleMessage("بررسی وضعیت"),
"checking": MessageLookupByLibrary.simpleMessage("در حال بررسی..."),
-- "checkingModels":
-- MessageLookupByLibrary.simpleMessage("Checking models..."),
"collabLinkSectionDescription": MessageLookupByLibrary.simpleMessage(
"پیوندی ایجاد کنید تا به افراد اجازه دهید بدون نیاز به برنامه یا حساب کاربری Ente عکس‌ها را در آلبوم اشتراک گذاشته شده شما اضافه و مشاهده کنند. برای جمع‌آوری عکس‌های رویداد عالی است."),
"collaborator": MessageLookupByLibrary.simpleMessage("همکار"),
diff --cc mobile/lib/generated/intl/messages_fr.dart
index c159cbf564,8ee6ddb2fc..7769f7e65f
--- a/mobile/lib/generated/intl/messages_fr.dart
+++ b/mobile/lib/generated/intl/messages_fr.dart
@@@ -21,7 -21,7 +21,7 @@@ class MessageLookup extends MessageLook
String get localeName => 'fr';
static String m6(count) =>
-- "${Intl.plural(count, zero: 'Ajouter un coauteur', one: 'Ajouter un coauteur', other: 'Ajouter des coauteurs')}";
++ "${Intl.plural(count, zero: 'Ajouter un collaborateur', one: 'Ajouter un collaborateur', other: 'Ajouter des collaborateurs')}";
static String m7(count) =>
"${Intl.plural(count, one: 'Ajoutez un objet', other: 'Ajoutez des objets')}";
@@@ -30,7 -30,7 +30,7 @@@
"Votre extension de ${storageAmount} est valable jusqu\'au ${endDate}";
static String m9(count) =>
-- "${Intl.plural(count, zero: 'Ajouter un lecteur', one: 'Ajouter un lecteur', other: 'Ajouter des lecteurs')}";
++ "${Intl.plural(count, zero: 'Ajouter un observateur', one: 'Ajouter un observateur', other: 'Ajouter des observateurs')}";
static String m10(emailOrName) => "Ajouté par ${emailOrName}";
@@@ -176,7 -176,7 +176,7 @@@
"Code de parrainage Ente : ${referralCode} \n\nValidez le dans Paramètres → Général → Références pour obtenir ${referralStorageInGB} Go gratuitement après votre inscription à un plan payant\n\nhttps://ente.io";
static String m57(numberOfPeople) =>
-- "${Intl.plural(numberOfPeople, zero: 'Partagez avec des personnes spécifiques', one: 'Partagé avec 1 personne', other: 'Partagé avec ${numberOfPeople} des gens')}";
++ "${Intl.plural(numberOfPeople, zero: 'Partagez avec des personnes spécifiques', one: 'Partagé avec 1 personne', other: 'Partagé avec ${numberOfPeople} personnes')}";
static String m58(emailIDs) => "Partagé avec ${emailIDs}";
@@@ -237,6 -237,6 +237,7 @@@
"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"),
++ "add": MessageLookupByLibrary.simpleMessage("Ajouter"),
"addAName": MessageLookupByLibrary.simpleMessage("Ajouter un nom"),
"addANewEmail":
MessageLookupByLibrary.simpleMessage("Ajouter un nouvel email"),
@@@ -250,7 -250,7 +251,12 @@@
MessageLookupByLibrary.simpleMessage("Ajouter la localisation"),
"addLocationButton": MessageLookupByLibrary.simpleMessage("Ajouter"),
"addMore": MessageLookupByLibrary.simpleMessage("Ajouter"),
++ "addName": MessageLookupByLibrary.simpleMessage("Ajouter un nom"),
++ "addNameOrMerge":
++ MessageLookupByLibrary.simpleMessage("Ajouter un nom ou fusionner"),
"addNew": MessageLookupByLibrary.simpleMessage("Ajouter un nouveau"),
++ "addNewPerson": MessageLookupByLibrary.simpleMessage(
++ "Ajouter une nouvelle personne"),
"addOnPageSubtitle": MessageLookupByLibrary.simpleMessage(
"Détails des modules complémentaires"),
"addOnValidTill": m8,
@@@ -471,7 -471,7 +477,7 @@@
MessageLookupByLibrary.simpleMessage("Vérifier le statut"),
"checking": MessageLookupByLibrary.simpleMessage("Vérification..."),
"checkingModels":
-- MessageLookupByLibrary.simpleMessage("Checking models..."),
++ MessageLookupByLibrary.simpleMessage("Vérification des modèles..."),
"claimFreeStorage": MessageLookupByLibrary.simpleMessage(
"Réclamer le stockage gratuit"),
"claimMore": MessageLookupByLibrary.simpleMessage("Réclamez plus !"),
@@@ -504,7 -504,7 +510,7 @@@
"codeUsedByYou":
MessageLookupByLibrary.simpleMessage("Code utilisé par vous"),
"collabLinkSectionDescription": MessageLookupByLibrary.simpleMessage(
-- "Créez un lien pour permettre aux gens d\'ajouter et de voir des photos dans votre album partagé sans avoir besoin d\'une application ente ou d\'un compte. Idéal pour récupérer des photos d\'événement."),
++ "Créez un lien pour permettre aux personnes d\'ajouter et de voir des photos dans votre album partagé sans avoir besoin d\'une application Ente ou d\'un compte. Idéal pour récupérer des photos d\'événement."),
"collaborativeLink":
MessageLookupByLibrary.simpleMessage("Lien collaboratif"),
"collaborativeLinkCreatedFor": m18,
@@@ -523,6 -523,6 +529,7 @@@
"collectPhotosDescription": MessageLookupByLibrary.simpleMessage(
"Créez un lien où vos amis peuvent ajouter des photos en qualité originale."),
"color": MessageLookupByLibrary.simpleMessage("Couleur "),
++ "configuration": MessageLookupByLibrary.simpleMessage("Paramètres"),
"confirm": MessageLookupByLibrary.simpleMessage("Confirmer"),
"confirm2FADisable": MessageLookupByLibrary.simpleMessage(
"Voulez-vous vraiment désactiver l\'authentification à deux facteurs ?"),
@@@ -746,6 -746,8 +753,8 @@@
"enable": MessageLookupByLibrary.simpleMessage("Activer"),
"enableMLIndexingDesc": MessageLookupByLibrary.simpleMessage(
"Ente prend en charge l\'apprentissage automatique sur l\'appareil pour la reconnaissance faciale, la recherche magique et d\'autres fonctionnalités de recherche avancée"),
+ "enableMachineLearningBanner": MessageLookupByLibrary.simpleMessage(
- "Enable machine learning for magic search and face recognition"),
++ "Activer l\'apprentissage automatique pour la recherche magique et la reconnaissance faciale"),
"enableMaps": MessageLookupByLibrary.simpleMessage("Activer la carte"),
"enableMapsDesc": MessageLookupByLibrary.simpleMessage(
"Vos photos seront affichées sur une carte du monde.\n\nCette carte est hébergée par Open Street Map, et les emplacements exacts de vos photos ne sont jamais partagés.\n\nVous pouvez désactiver cette fonction à tout moment dans les Paramètres."),
@@@ -808,6 -810,6 +817,10 @@@
"exportLogs": MessageLookupByLibrary.simpleMessage("Exporter les logs"),
"exportYourData":
MessageLookupByLibrary.simpleMessage("Exportez vos données"),
++ "extraPhotosFound": MessageLookupByLibrary.simpleMessage(
++ "Photos supplémentaires trouvées"),
++ "extraPhotosFoundFor": MessageLookupByLibrary.simpleMessage(
++ "Photos supplémentaires trouvées pour \$text"),
"faceRecognition":
MessageLookupByLibrary.simpleMessage("Reconnaissance faciale"),
"faces": MessageLookupByLibrary.simpleMessage("Visages"),
@@@ -1029,6 -1031,6 +1042,8 @@@
"loadingYourPhotos":
MessageLookupByLibrary.simpleMessage("Chargement de vos photos..."),
"localGallery": MessageLookupByLibrary.simpleMessage("Galerie locale"),
++ "localIndexing":
++ MessageLookupByLibrary.simpleMessage("Indexation locale"),
"localSyncErrorMessage": MessageLookupByLibrary.simpleMessage(
"Il semble que quelque chose s\'est mal passé car la synchronisation des photos locales prend plus de temps que prévu. Veuillez contacter notre équipe d\'assistance"),
"location": MessageLookupByLibrary.simpleMessage("Emplacement"),
@@@ -1084,6 -1086,6 +1099,8 @@@
"matrix": MessageLookupByLibrary.simpleMessage("Matrix"),
"memoryCount": m3,
"merchandise": MessageLookupByLibrary.simpleMessage("Marchandise"),
++ "mergeWithExisting":
++ MessageLookupByLibrary.simpleMessage("Fusionner avec existant"),
"mlConsent": MessageLookupByLibrary.simpleMessage(
"Activer l\'apprentissage automatique"),
"mlConsentConfirmation": MessageLookupByLibrary.simpleMessage(
@@@ -1126,6 -1128,6 +1143,7 @@@
"Impossible de se connecter à Ente, veuillez vérifier vos paramètres réseau et contacter le support si l\'erreur persiste."),
"never": MessageLookupByLibrary.simpleMessage("Jamais"),
"newAlbum": MessageLookupByLibrary.simpleMessage("Nouvel album"),
++ "newPerson": MessageLookupByLibrary.simpleMessage("Nouvelle personne"),
"newToEnte": MessageLookupByLibrary.simpleMessage("Nouveau à Ente"),
"newest": MessageLookupByLibrary.simpleMessage("Le plus récent"),
"next": MessageLookupByLibrary.simpleMessage("Suivant"),
@@@ -1173,6 -1175,6 +1191,7 @@@
"onEnte": MessageLookupByLibrary.simpleMessage(
"Sur <branding>ente</branding>"),
"onlyFamilyAdminCanChangeCode": m43,
++ "onlyThem": MessageLookupByLibrary.simpleMessage("Seulement eux"),
"oops": MessageLookupByLibrary.simpleMessage("Oups"),
"oopsCouldNotSaveEdits": MessageLookupByLibrary.simpleMessage(
"Oups, impossible d\'enregistrer les modifications"),
@@@ -1187,7 -1189,7 +1206,7 @@@
"optionalAsShortAsYouLike": MessageLookupByLibrary.simpleMessage(
"Optionnel, aussi court que vous le souhaitez..."),
"orPickAnExistingOne": MessageLookupByLibrary.simpleMessage(
-- "Sélectionner un fichier existant"),
++ "Ou sélectionner un email existant"),
"pair": MessageLookupByLibrary.simpleMessage("Associer"),
"pairWithPin":
MessageLookupByLibrary.simpleMessage("Appairer avec le code PIN"),
@@@ -1229,6 -1231,6 +1248,8 @@@
MessageLookupByLibrary.simpleMessage("Supprimer définitivement"),
"permanentlyDeleteFromDevice": MessageLookupByLibrary.simpleMessage(
"Supprimer définitivement de l\'appareil ?"),
++ "personName":
++ MessageLookupByLibrary.simpleMessage("Nom de la personne"),
"photoDescriptions":
MessageLookupByLibrary.simpleMessage("Descriptions de la photo"),
"photoGridSize":
@@@ -1443,6 -1445,8 +1464,8 @@@
"Ajoutez des descriptions comme \"#trip\" dans les infos photo pour les retrouver ici plus rapidement"),
"searchDatesEmptySection": MessageLookupByLibrary.simpleMessage(
"Recherche par date, mois ou année"),
+ "searchDiscoverEmptySection": MessageLookupByLibrary.simpleMessage(
- "Images will be shown here once processing is complete"),
++ "Les images seront affichées ici une fois le traitement terminé"),
"searchFaceEmptySection": MessageLookupByLibrary.simpleMessage(
"Les personnes seront affichées ici une fois l\'indexation terminée"),
"searchFileTypesAndNamesEmptySection":
@@@ -1459,7 -1463,9 +1482,9 @@@
"searchLocationEmptySection": MessageLookupByLibrary.simpleMessage(
"Grouper les photos qui sont prises dans un certain angle d\'une photo"),
"searchPeopleEmptySection": MessageLookupByLibrary.simpleMessage(
-- "Invitez des gens, et vous verrez ici toutes les photos qu\'ils partagent"),
++ "Invitez des personnes, et vous verrez ici toutes les photos qu\'elles partagent"),
+ "searchPersonsEmptySection": MessageLookupByLibrary.simpleMessage(
- "People will be shown here once processing is complete"),
++ "Les personnes seront affichées ici une fois le traitement terminé"),
"searchResultCount": m53,
"security": MessageLookupByLibrary.simpleMessage("Sécurité"),
"selectALocation":
diff --cc mobile/lib/generated/intl/messages_gu.dart
index 4bef7ab5f7,bc1223bae1..6c1d7e4d90
--- a/mobile/lib/generated/intl/messages_gu.dart
+++ b/mobile/lib/generated/intl/messages_gu.dart
@@@ -21,8 -21,16 +21,5 @@@ class MessageLookup extends MessageLook
String get localeName => 'gu';
final messages = _notInlinedMessages(_notInlinedMessages);
-- static Map<String, Function> _notInlinedMessages(_) => <String, Function>{
-- "checkingModels":
- MessageLookupByLibrary.simpleMessage("Checking models...")
- MessageLookupByLibrary.simpleMessage("Checking models..."),
- "enableMachineLearningBanner": MessageLookupByLibrary.simpleMessage(
- "Enable machine learning for magic search and face recognition"),
- "searchDiscoverEmptySection": MessageLookupByLibrary.simpleMessage(
- "Images will be shown here once processing is complete"),
- "searchPeopleEmptySection": MessageLookupByLibrary.simpleMessage(
- "People will be shown here once processing is complete"),
- "searchPersonsEmptySection": MessageLookupByLibrary.simpleMessage(
- "People will be shown here once processing is complete")
-- };
++ static Map<String, Function> _notInlinedMessages(_) => <String, Function>{};
}
diff --cc mobile/lib/generated/intl/messages_he.dart
index eb9ee49a9d,0bf3a2cd5e..39b4708995
--- a/mobile/lib/generated/intl/messages_he.dart
+++ b/mobile/lib/generated/intl/messages_he.dart
@@@ -258,8 -258,8 +258,6 @@@ class MessageLookup extends MessageLook
"checkInboxAndSpamFolder": MessageLookupByLibrary.simpleMessage(
"אנא בדוק את תיבת הדואר שלך (והספאם) כדי להשלים את האימות"),
"checking": MessageLookupByLibrary.simpleMessage("בודק..."),
-- "checkingModels":
-- MessageLookupByLibrary.simpleMessage("Checking models..."),
"claimFreeStorage":
MessageLookupByLibrary.simpleMessage("תבע מקום אחסון בחינם"),
"claimMore": MessageLookupByLibrary.simpleMessage("תבע עוד!"),
diff --cc mobile/lib/generated/intl/messages_hi.dart
index 057c2e52e8,9b895a3bce..ff4756d8d4
--- a/mobile/lib/generated/intl/messages_hi.dart
+++ b/mobile/lib/generated/intl/messages_hi.dart
@@@ -28,8 -28,8 +28,6 @@@ class MessageLookup extends MessageLook
"askDeleteReason": MessageLookupByLibrary.simpleMessage(
"आपका अकाउंट हटाने का मुख्य कारण क्या है?"),
"cancel": MessageLookupByLibrary.simpleMessage("रद्द करें"),
-- "checkingModels":
-- MessageLookupByLibrary.simpleMessage("Checking models..."),
"confirmAccountDeletion": MessageLookupByLibrary.simpleMessage(
"अकाउंट डिलीट करने की पुष्टि करें"),
"confirmPassword":
diff --cc mobile/lib/generated/intl/messages_id.dart
index a2b4f6a619,16cc01c400..139df05f05
--- a/mobile/lib/generated/intl/messages_id.dart
+++ b/mobile/lib/generated/intl/messages_id.dart
@@@ -399,8 -399,8 +399,6 @@@ class MessageLookup extends MessageLook
"Silakan periksa kotak masuk (serta kotak spam) untuk menyelesaikan verifikasi"),
"checkStatus": MessageLookupByLibrary.simpleMessage("Periksa status"),
"checking": MessageLookupByLibrary.simpleMessage("Memeriksa..."),
-- "checkingModels":
-- MessageLookupByLibrary.simpleMessage("Checking models..."),
"claimFreeStorage":
MessageLookupByLibrary.simpleMessage("Peroleh kuota gratis"),
"claimMore":
diff --cc mobile/lib/generated/intl/messages_it.dart
index fb76c9f87a,fba3207714..17c0ebe4c1
--- a/mobile/lib/generated/intl/messages_it.dart
+++ b/mobile/lib/generated/intl/messages_it.dart
@@@ -468,7 -468,7 +468,7 @@@ class MessageLookup extends MessageLook
"checking":
MessageLookupByLibrary.simpleMessage("Controllo in corso..."),
"checkingModels":
-- MessageLookupByLibrary.simpleMessage("Checking models..."),
++ MessageLookupByLibrary.simpleMessage("Verifica dei modelli..."),
"claimFreeStorage":
MessageLookupByLibrary.simpleMessage("Richiedi spazio gratuito"),
"claimMore": MessageLookupByLibrary.simpleMessage("Richiedine di più!"),
@@@ -1090,7 -1092,7 +1090,7 @@@
"moderateStrength": MessageLookupByLibrary.simpleMessage("Mediocre"),
"modifyYourQueryOrTrySearchingFor":
MessageLookupByLibrary.simpleMessage(
-- "Modifica la tua interrogazione o prova a cercare"),
++ "Modifica la tua ricerca o prova con"),
"moments": MessageLookupByLibrary.simpleMessage("Momenti"),
"monthly": MessageLookupByLibrary.simpleMessage("Mensile"),
"moreDetails": MessageLookupByLibrary.simpleMessage("Più dettagli"),
diff --cc mobile/lib/generated/intl/messages_ja.dart
index 06006f5621,aca65c20cd..407926a11e
--- a/mobile/lib/generated/intl/messages_ja.dart
+++ b/mobile/lib/generated/intl/messages_ja.dart
@@@ -404,8 -404,8 +404,6 @@@ class MessageLookup extends MessageLook
"メールボックスを確認してEメールの所有を証明してください(見つからない場合は、スパムの中も確認してください)"),
"checkStatus": MessageLookupByLibrary.simpleMessage("ステータスの確認"),
"checking": MessageLookupByLibrary.simpleMessage("確認中…"),
-- "checkingModels":
-- MessageLookupByLibrary.simpleMessage("Checking models..."),
"claimFreeStorage":
MessageLookupByLibrary.simpleMessage("無料のストレージを受け取る"),
"claimMore": MessageLookupByLibrary.simpleMessage("もっと!"),
diff --cc mobile/lib/generated/intl/messages_km.dart
index 14989cc411,2c2c8454a6..22d4231361
--- a/mobile/lib/generated/intl/messages_km.dart
+++ b/mobile/lib/generated/intl/messages_km.dart
@@@ -21,8 -21,16 +21,5 @@@ class MessageLookup extends MessageLook
String get localeName => 'km';
final messages = _notInlinedMessages(_notInlinedMessages);
-- static Map<String, Function> _notInlinedMessages(_) => <String, Function>{
-- "checkingModels":
- MessageLookupByLibrary.simpleMessage("Checking models...")
- MessageLookupByLibrary.simpleMessage("Checking models..."),
- "enableMachineLearningBanner": MessageLookupByLibrary.simpleMessage(
- "Enable machine learning for magic search and face recognition"),
- "searchDiscoverEmptySection": MessageLookupByLibrary.simpleMessage(
- "Images will be shown here once processing is complete"),
- "searchPeopleEmptySection": MessageLookupByLibrary.simpleMessage(
- "People will be shown here once processing is complete"),
- "searchPersonsEmptySection": MessageLookupByLibrary.simpleMessage(
- "People will be shown here once processing is complete")
-- };
++ static Map<String, Function> _notInlinedMessages(_) => <String, Function>{};
}
diff --cc mobile/lib/generated/intl/messages_ko.dart
index 1f72356e6c,f04fded67c..e378d62fd9
--- a/mobile/lib/generated/intl/messages_ko.dart
+++ b/mobile/lib/generated/intl/messages_ko.dart
@@@ -27,8 -27,8 +27,6 @@@ class MessageLookup extends MessageLook
"askDeleteReason":
MessageLookupByLibrary.simpleMessage("계정을 삭제하는 가장 큰 이유가 무엇인가요?"),
"cancel": MessageLookupByLibrary.simpleMessage("닫기"),
-- "checkingModels":
-- MessageLookupByLibrary.simpleMessage("Checking models..."),
"confirmAccountDeletion":
MessageLookupByLibrary.simpleMessage("계정 삭제 확인"),
"deleteAccount": MessageLookupByLibrary.simpleMessage("계정 삭제"),
diff --cc mobile/lib/generated/intl/messages_lt.dart
index 66bab14616,5976a2645f..851ae30cec
--- a/mobile/lib/generated/intl/messages_lt.dart
+++ b/mobile/lib/generated/intl/messages_lt.dart
@@@ -241,7 -241,7 +241,7 @@@ class MessageLookup extends MessageLook
"checkStatus": MessageLookupByLibrary.simpleMessage("Tikrinti būseną"),
"checking": MessageLookupByLibrary.simpleMessage("Tikrinama..."),
"checkingModels":
-- MessageLookupByLibrary.simpleMessage("Checking models..."),
++ MessageLookupByLibrary.simpleMessage("Tikrinami modeliai..."),
"cleanUncategorized":
MessageLookupByLibrary.simpleMessage("Valyti nekategorizuotą"),
"cleanUncategorizedDescription": MessageLookupByLibrary.simpleMessage(
@@@ -551,6 -553,6 +551,8 @@@
"linkNeverExpires": MessageLookupByLibrary.simpleMessage("Niekada"),
"loadingGallery":
MessageLookupByLibrary.simpleMessage("Įkeliama galerija..."),
++ "loadingModel":
++ MessageLookupByLibrary.simpleMessage("Atsisiunčiami modeliai..."),
"loadingYourPhotos":
MessageLookupByLibrary.simpleMessage("Įkeliamos nuotraukos..."),
"localGallery":
diff --cc mobile/lib/generated/intl/messages_nl.dart
index 11bcb82b4e,9024f6817f..a24091114a
--- a/mobile/lib/generated/intl/messages_nl.dart
+++ b/mobile/lib/generated/intl/messages_nl.dart
@@@ -238,6 -238,6 +238,7 @@@ class MessageLookup extends MessageLook
"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"),
++ "add": MessageLookupByLibrary.simpleMessage("Toevoegen"),
"addAName": MessageLookupByLibrary.simpleMessage("Een naam toevoegen"),
"addANewEmail":
MessageLookupByLibrary.simpleMessage("Nieuw e-mailadres toevoegen"),
@@@ -251,7 -251,7 +252,12 @@@
MessageLookupByLibrary.simpleMessage("Locatie toevoegen"),
"addLocationButton": MessageLookupByLibrary.simpleMessage("Toevoegen"),
"addMore": MessageLookupByLibrary.simpleMessage("Meer toevoegen"),
++ "addName": MessageLookupByLibrary.simpleMessage("Naam toevoegen"),
++ "addNameOrMerge": MessageLookupByLibrary.simpleMessage(
++ "Naam toevoegen of samenvoegen"),
"addNew": MessageLookupByLibrary.simpleMessage("Nieuwe toevoegen"),
++ "addNewPerson":
++ MessageLookupByLibrary.simpleMessage("Nieuw persoon toevoegen"),
"addOnPageSubtitle":
MessageLookupByLibrary.simpleMessage("Details van add-ons"),
"addOnValidTill": m8,
@@@ -289,6 -289,6 +295,8 @@@
"allClear": MessageLookupByLibrary.simpleMessage("✨ Alles in orde"),
"allMemoriesPreserved":
MessageLookupByLibrary.simpleMessage("Alle herinneringen bewaard"),
++ "allPersonGroupingWillReset": MessageLookupByLibrary.simpleMessage(
++ "Alle groepen voor deze persoon worden gereset, en je verliest alle suggesties die voor deze persoon zijn gedaan"),
"allowAddPhotosDescription": MessageLookupByLibrary.simpleMessage(
"Sta toe dat mensen met de link ook foto\'s kunnen toevoegen aan het gedeelde album."),
"allowAddingPhotos":
@@@ -345,6 -345,6 +353,9 @@@
"Weet je zeker dat je wilt uitloggen?"),
"areYouSureYouWantToRenew": MessageLookupByLibrary.simpleMessage(
"Weet u zeker dat u wilt verlengen?"),
++ "areYouSureYouWantToResetThisPerson":
++ MessageLookupByLibrary.simpleMessage(
++ "Weet u zeker dat u deze persoon wilt resetten?"),
"askCancelReason": MessageLookupByLibrary.simpleMessage(
"Uw abonnement is opgezegd. Wilt u de reden delen?"),
"askDeleteReason": MessageLookupByLibrary.simpleMessage(
@@@ -459,7 -459,7 +470,7 @@@
MessageLookupByLibrary.simpleMessage("Status controleren"),
"checking": MessageLookupByLibrary.simpleMessage("Controleren..."),
"checkingModels":
-- MessageLookupByLibrary.simpleMessage("Checking models..."),
++ MessageLookupByLibrary.simpleMessage("Modellen controleren..."),
"claimFreeStorage":
MessageLookupByLibrary.simpleMessage("Claim gratis opslag"),
"claimMore": MessageLookupByLibrary.simpleMessage("Claim meer!"),
@@@ -509,6 -509,6 +520,7 @@@
"collectPhotosDescription": MessageLookupByLibrary.simpleMessage(
"Maak een link waarin je vrienden foto\'s kunnen uploaden in de originele kwaliteit."),
"color": MessageLookupByLibrary.simpleMessage("Kleur"),
++ "configuration": MessageLookupByLibrary.simpleMessage("Configuratie"),
"confirm": MessageLookupByLibrary.simpleMessage("Bevestig"),
"confirm2FADisable": MessageLookupByLibrary.simpleMessage(
"Weet u zeker dat u tweestapsverificatie wilt uitschakelen?"),
@@@ -791,6 -793,6 +803,10 @@@
MessageLookupByLibrary.simpleMessage("Logboek exporteren"),
"exportYourData":
MessageLookupByLibrary.simpleMessage("Exporteer je gegevens"),
++ "extraPhotosFound":
++ MessageLookupByLibrary.simpleMessage("Extra foto\'s gevonden"),
++ "extraPhotosFoundFor": MessageLookupByLibrary.simpleMessage(
++ "Extra foto\'s gevonden voor \$text"),
"faceRecognition":
MessageLookupByLibrary.simpleMessage("Gezichtsherkenning"),
"faces": MessageLookupByLibrary.simpleMessage("Gezichten"),
@@@ -1005,6 -1007,6 +1021,8 @@@
"loadingYourPhotos": MessageLookupByLibrary.simpleMessage(
"Je foto\'s worden geladen..."),
"localGallery": MessageLookupByLibrary.simpleMessage("Lokale galerij"),
++ "localIndexing":
++ MessageLookupByLibrary.simpleMessage("Lokaal indexeren"),
"localSyncErrorMessage": MessageLookupByLibrary.simpleMessage(
"Het lijkt erop dat er iets mis is gegaan omdat het synchroniseren van lokale foto\'s meer tijd kost dan verwacht. Neem contact op met ons supportteam"),
"location": MessageLookupByLibrary.simpleMessage("Locatie"),
@@@ -1059,6 -1061,6 +1077,8 @@@
"matrix": MessageLookupByLibrary.simpleMessage("Matrix"),
"memoryCount": m3,
"merchandise": MessageLookupByLibrary.simpleMessage("Merchandise"),
++ "mergeWithExisting":
++ MessageLookupByLibrary.simpleMessage("Samenvoegen met bestaand"),
"mlConsent":
MessageLookupByLibrary.simpleMessage("Schakel machine learning in"),
"mlConsentConfirmation": MessageLookupByLibrary.simpleMessage(
@@@ -1100,6 -1102,6 +1120,7 @@@
"Kan geen verbinding maken met Ente, controleer uw netwerkinstellingen en neem contact op met ondersteuning als de fout zich blijft voordoen."),
"never": MessageLookupByLibrary.simpleMessage("Nooit"),
"newAlbum": MessageLookupByLibrary.simpleMessage("Nieuw album"),
++ "newPerson": MessageLookupByLibrary.simpleMessage("Nieuw persoon"),
"newToEnte": MessageLookupByLibrary.simpleMessage("Nieuw bij Ente"),
"newest": MessageLookupByLibrary.simpleMessage("Nieuwste"),
"next": MessageLookupByLibrary.simpleMessage("Volgende"),
@@@ -1148,6 -1150,6 +1169,7 @@@
"onEnte": MessageLookupByLibrary.simpleMessage(
"Op <branding>ente</branding>"),
"onlyFamilyAdminCanChangeCode": m43,
++ "onlyThem": MessageLookupByLibrary.simpleMessage("Alleen hen"),
"oops": MessageLookupByLibrary.simpleMessage("Oeps"),
"oopsCouldNotSaveEdits": MessageLookupByLibrary.simpleMessage(
"Oeps, kon bewerkingen niet opslaan"),
@@@ -1201,6 -1203,6 +1223,7 @@@
MessageLookupByLibrary.simpleMessage("Permanent verwijderen"),
"permanentlyDeleteFromDevice": MessageLookupByLibrary.simpleMessage(
"Permanent verwijderen van apparaat?"),
++ "personName": MessageLookupByLibrary.simpleMessage("Naam van persoon"),
"photoDescriptions":
MessageLookupByLibrary.simpleMessage("Foto beschrijvingen"),
"photoGridSize":
@@@ -1364,6 -1366,6 +1387,7 @@@
MessageLookupByLibrary.simpleMessage("Reset genegeerde bestanden"),
"resetPasswordTitle":
MessageLookupByLibrary.simpleMessage("Wachtwoord resetten"),
++ "resetPerson": MessageLookupByLibrary.simpleMessage("Reset persoon"),
"resetToDefault": MessageLookupByLibrary.simpleMessage(
"Standaardinstellingen herstellen"),
"restore": MessageLookupByLibrary.simpleMessage("Herstellen"),
@@@ -1786,6 -1792,6 +1810,8 @@@
"yesLogout": MessageLookupByLibrary.simpleMessage("Ja, log uit"),
"yesRemove": MessageLookupByLibrary.simpleMessage("Ja, verwijderen"),
"yesRenew": MessageLookupByLibrary.simpleMessage("Ja, verlengen"),
++ "yesResetPerson":
++ MessageLookupByLibrary.simpleMessage("Ja, reset persoon"),
"you": MessageLookupByLibrary.simpleMessage("Jij"),
"youAreOnAFamilyPlan": MessageLookupByLibrary.simpleMessage(
"U bent onderdeel van een familie abonnement!"),
diff --cc mobile/lib/generated/intl/messages_no.dart
index 6426bdbbcb,f4fc74d775..913213386a
--- a/mobile/lib/generated/intl/messages_no.dart
+++ b/mobile/lib/generated/intl/messages_no.dart
@@@ -117,8 -117,8 +117,6 @@@ class MessageLookup extends MessageLook
MessageLookupByLibrary.simpleMessage("Endre tillatelser?"),
"checkInboxAndSpamFolder": MessageLookupByLibrary.simpleMessage(
"Sjekk innboksen din (og spam) for å fullføre verifikasjonen"),
-- "checkingModels":
-- MessageLookupByLibrary.simpleMessage("Checking models..."),
"clearIndexes": MessageLookupByLibrary.simpleMessage("Tøm indekser"),
"codeCopiedToClipboard": MessageLookupByLibrary.simpleMessage(
"Kode kopiert til utklippstavlen"),
diff --cc mobile/lib/generated/intl/messages_pl.dart
index 2fcbcfe497,d4cf46daee..284584bebd
--- a/mobile/lib/generated/intl/messages_pl.dart
+++ b/mobile/lib/generated/intl/messages_pl.dart
@@@ -470,8 -470,8 +470,6 @@@ class MessageLookup extends MessageLook
"Sprawdź swoją skrzynkę odbiorczą (i spam), aby zakończyć weryfikację"),
"checkStatus": MessageLookupByLibrary.simpleMessage("Sprawdź stan"),
"checking": MessageLookupByLibrary.simpleMessage("Sprawdzanie..."),
-- "checkingModels":
-- MessageLookupByLibrary.simpleMessage("Checking models..."),
"claimFreeStorage": MessageLookupByLibrary.simpleMessage(
"Odbierz bezpłatną przestrzeń dyskową"),
"claimMore": MessageLookupByLibrary.simpleMessage("Zdobądź więcej!"),
@@@ -1165,6 -1167,6 +1163,7 @@@
"onEnte":
MessageLookupByLibrary.simpleMessage("W <branding>ente</branding>"),
"onlyFamilyAdminCanChangeCode": m43,
++ "onlyThem": MessageLookupByLibrary.simpleMessage("Tylko te"),
"oops": MessageLookupByLibrary.simpleMessage("Ups"),
"oopsCouldNotSaveEdits": MessageLookupByLibrary.simpleMessage(
"Ups, nie udało się zapisać zmian"),
diff --cc mobile/lib/generated/intl/messages_pt.dart
index 017fd3d557,e4859e76ff..6cb173a708
--- a/mobile/lib/generated/intl/messages_pt.dart
+++ b/mobile/lib/generated/intl/messages_pt.dart
@@@ -465,7 -465,7 +465,7 @@@ class MessageLookup extends MessageLook
"checkStatus": MessageLookupByLibrary.simpleMessage("Verificar estado"),
"checking": MessageLookupByLibrary.simpleMessage("Verificando..."),
"checkingModels":
-- MessageLookupByLibrary.simpleMessage("Checking models..."),
++ MessageLookupByLibrary.simpleMessage("Verificando modelos..."),
"claimFreeStorage": MessageLookupByLibrary.simpleMessage(
"Reivindicar armazenamento grátis"),
"claimMore": MessageLookupByLibrary.simpleMessage("Reivindique mais!"),
@@@ -729,6 -729,8 +729,8 @@@
"enable": MessageLookupByLibrary.simpleMessage("Ativar"),
"enableMLIndexingDesc": MessageLookupByLibrary.simpleMessage(
"Ente suporta aprendizagem de máquina para reconhecimento facial, busca mágica e outros recursos de busca avançados"),
+ "enableMachineLearningBanner": MessageLookupByLibrary.simpleMessage(
- "Enable machine learning for magic search and face recognition"),
++ "Ativar aprendizagem de máquina para busca mágica e reconhecimento facial"),
"enableMaps": MessageLookupByLibrary.simpleMessage("Ativar mapas"),
"enableMapsDesc": MessageLookupByLibrary.simpleMessage(
"Isso exibirá suas fotos em um mapa mundial.\n\nEste mapa é hospedado por Open Street Map, e as exatas localizações das fotos nunca serão compartilhadas.\n\nVocê pode desativar esta função a qualquer momento em Opções."),
@@@ -1419,6 -1421,8 +1421,8 @@@
"Adicione marcações como \"#viagem\" nas informações das fotos para encontrá-las aqui com facilidade"),
"searchDatesEmptySection":
MessageLookupByLibrary.simpleMessage("Buscar por data, mês ou ano"),
+ "searchDiscoverEmptySection": MessageLookupByLibrary.simpleMessage(
- "Images will be shown here once processing is complete"),
++ "As imagens serão exibidas aqui quando o processamento for concluído"),
"searchFaceEmptySection": MessageLookupByLibrary.simpleMessage(
"As pessoas apareceram aqui quando a indexação for concluída"),
"searchFileTypesAndNamesEmptySection":
@@@ -1436,6 -1440,8 +1440,8 @@@
"Fotos de grupo que estão sendo tiradas em algum raio da foto"),
"searchPeopleEmptySection": MessageLookupByLibrary.simpleMessage(
"Convide pessoas e você verá todas as fotos compartilhadas por elas aqui"),
+ "searchPersonsEmptySection": MessageLookupByLibrary.simpleMessage(
- "People will be shown here once processing is complete"),
++ "As pessoas serão exibidas aqui quando o processamento for concluído"),
"searchResultCount": m53,
"security": MessageLookupByLibrary.simpleMessage("Segurança"),
"selectALocation":
diff --cc mobile/lib/generated/intl/messages_ro.dart
index fd6bd7ddd0,a170cb9d76..befa98a7e9
--- a/mobile/lib/generated/intl/messages_ro.dart
+++ b/mobile/lib/generated/intl/messages_ro.dart
@@@ -378,8 -378,8 +378,6 @@@ class MessageLookup extends MessageLook
"checkStatus":
MessageLookupByLibrary.simpleMessage("Verificați starea"),
"checking": MessageLookupByLibrary.simpleMessage("Se verifică..."),
-- "checkingModels":
-- MessageLookupByLibrary.simpleMessage("Checking models..."),
"claimFreeStorage":
MessageLookupByLibrary.simpleMessage("Revendică spațiul gratuit"),
"claimMore":
diff --cc mobile/lib/generated/intl/messages_ru.dart
index b2baeda55b,a1eff0f9c7..b2a11da5f0
--- a/mobile/lib/generated/intl/messages_ru.dart
+++ b/mobile/lib/generated/intl/messages_ru.dart
@@@ -442,8 -442,8 +442,6 @@@ class MessageLookup extends MessageLook
"Пожалуйста, проверьте свой почтовый ящик (и спам) для завершения верификации"),
"checkStatus": MessageLookupByLibrary.simpleMessage("Проверить статус"),
"checking": MessageLookupByLibrary.simpleMessage("Проверка..."),
-- "checkingModels":
-- MessageLookupByLibrary.simpleMessage("Checking models..."),
"claimFreeStorage": MessageLookupByLibrary.simpleMessage(
"Получить бесплатное хранилище"),
"claimMore": MessageLookupByLibrary.simpleMessage("Получите больше!"),
diff --cc mobile/lib/generated/intl/messages_sl.dart
index 88252dd5d5,81b60bd891..d41d848b0f
--- a/mobile/lib/generated/intl/messages_sl.dart
+++ b/mobile/lib/generated/intl/messages_sl.dart
@@@ -21,8 -21,16 +21,5 @@@ class MessageLookup extends MessageLook
String get localeName => 'sl';
final messages = _notInlinedMessages(_notInlinedMessages);
-- static Map<String, Function> _notInlinedMessages(_) => <String, Function>{
-- "checkingModels":
- MessageLookupByLibrary.simpleMessage("Checking models...")
- MessageLookupByLibrary.simpleMessage("Checking models..."),
- "enableMachineLearningBanner": MessageLookupByLibrary.simpleMessage(
- "Enable machine learning for magic search and face recognition"),
- "searchDiscoverEmptySection": MessageLookupByLibrary.simpleMessage(
- "Images will be shown here once processing is complete"),
- "searchPeopleEmptySection": MessageLookupByLibrary.simpleMessage(
- "People will be shown here once processing is complete"),
- "searchPersonsEmptySection": MessageLookupByLibrary.simpleMessage(
- "People will be shown here once processing is complete")
-- };
++ static Map<String, Function> _notInlinedMessages(_) => <String, Function>{};
}
diff --cc mobile/lib/generated/intl/messages_sv.dart
index 3c2d8049a8,0e26a61abe..186d1f8dc1
--- a/mobile/lib/generated/intl/messages_sv.dart
+++ b/mobile/lib/generated/intl/messages_sv.dart
@@@ -158,8 -158,8 +158,6 @@@ class MessageLookup extends MessageLook
MessageLookupByLibrary.simpleMessage("Ändra behörighet?"),
"checkInboxAndSpamFolder": MessageLookupByLibrary.simpleMessage(
"Kontrollera din inkorg (och skräppost) för att slutföra verifieringen"),
-- "checkingModels":
-- MessageLookupByLibrary.simpleMessage("Checking models..."),
"claimed": MessageLookupByLibrary.simpleMessage("Nyttjad"),
"close": MessageLookupByLibrary.simpleMessage("Stäng"),
"codeAppliedPageTitle":
diff --cc mobile/lib/generated/intl/messages_ta.dart
index a293e51fc1,9141faf514..30c00c6d72
--- a/mobile/lib/generated/intl/messages_ta.dart
+++ b/mobile/lib/generated/intl/messages_ta.dart
@@@ -27,8 -27,8 +27,6 @@@ class MessageLookup extends MessageLook
"askDeleteReason": MessageLookupByLibrary.simpleMessage(
"உங்கள் கணக்கை நீக்குவதற்கான முக்கிய காரணம் என்ன?"),
"cancel": MessageLookupByLibrary.simpleMessage("ரத்து செய்"),
-- "checkingModels":
-- MessageLookupByLibrary.simpleMessage("Checking models..."),
"confirmAccountDeletion": MessageLookupByLibrary.simpleMessage(
"கணக்கு நீக்குதலை உறுதிப்படுத்தவும்"),
"confirmDeletePrompt": MessageLookupByLibrary.simpleMessage(
diff --cc mobile/lib/generated/intl/messages_te.dart
index 9f7ed5e4df,055e89f535..5e415c9da0
--- a/mobile/lib/generated/intl/messages_te.dart
+++ b/mobile/lib/generated/intl/messages_te.dart
@@@ -21,8 -21,16 +21,5 @@@ class MessageLookup extends MessageLook
String get localeName => 'te';
final messages = _notInlinedMessages(_notInlinedMessages);
-- static Map<String, Function> _notInlinedMessages(_) => <String, Function>{
-- "checkingModels":
- MessageLookupByLibrary.simpleMessage("Checking models...")
- MessageLookupByLibrary.simpleMessage("Checking models..."),
- "enableMachineLearningBanner": MessageLookupByLibrary.simpleMessage(
- "Enable machine learning for magic search and face recognition"),
- "searchDiscoverEmptySection": MessageLookupByLibrary.simpleMessage(
- "Images will be shown here once processing is complete"),
- "searchPeopleEmptySection": MessageLookupByLibrary.simpleMessage(
- "People will be shown here once processing is complete"),
- "searchPersonsEmptySection": MessageLookupByLibrary.simpleMessage(
- "People will be shown here once processing is complete")
-- };
++ static Map<String, Function> _notInlinedMessages(_) => <String, Function>{};
}
diff --cc mobile/lib/generated/intl/messages_th.dart
index ba95cc741b,1aa1e4bf69..93c45e7af6
--- a/mobile/lib/generated/intl/messages_th.dart
+++ b/mobile/lib/generated/intl/messages_th.dart
@@@ -92,8 -92,8 +92,6 @@@ class MessageLookup extends MessageLook
MessageLookupByLibrary.simpleMessage("เปลี่ยนรหัสผ่าน"),
"checkInboxAndSpamFolder": MessageLookupByLibrary.simpleMessage(
"โปรดตรวจสอบกล่องจดหมาย (และสแปม) ของคุณ เพื่อยืนยันให้เสร็จสิ้น"),
-- "checkingModels":
-- MessageLookupByLibrary.simpleMessage("Checking models..."),
"codeCopiedToClipboard": MessageLookupByLibrary.simpleMessage(
"คัดลอกรหัสไปยังคลิปบอร์ดแล้ว"),
"collectPhotos": MessageLookupByLibrary.simpleMessage("รวบรวมรูปภาพ"),
diff --cc mobile/lib/generated/intl/messages_ti.dart
index 4c54aa4ee8,7761d43d9b..775cc78213
--- a/mobile/lib/generated/intl/messages_ti.dart
+++ b/mobile/lib/generated/intl/messages_ti.dart
@@@ -21,8 -21,16 +21,5 @@@ class MessageLookup extends MessageLook
String get localeName => 'ti';
final messages = _notInlinedMessages(_notInlinedMessages);
-- static Map<String, Function> _notInlinedMessages(_) => <String, Function>{
-- "checkingModels":
- MessageLookupByLibrary.simpleMessage("Checking models...")
- MessageLookupByLibrary.simpleMessage("Checking models..."),
- "enableMachineLearningBanner": MessageLookupByLibrary.simpleMessage(
- "Enable machine learning for magic search and face recognition"),
- "searchDiscoverEmptySection": MessageLookupByLibrary.simpleMessage(
- "Images will be shown here once processing is complete"),
- "searchPeopleEmptySection": MessageLookupByLibrary.simpleMessage(
- "People will be shown here once processing is complete"),
- "searchPersonsEmptySection": MessageLookupByLibrary.simpleMessage(
- "People will be shown here once processing is complete")
-- };
++ static Map<String, Function> _notInlinedMessages(_) => <String, Function>{};
}
diff --cc mobile/lib/generated/intl/messages_tr.dart
index 864c0df840,0f27c79538..dc2571fa97
--- a/mobile/lib/generated/intl/messages_tr.dart
+++ b/mobile/lib/generated/intl/messages_tr.dart
@@@ -389,8 -389,8 +389,6 @@@ class MessageLookup extends MessageLook
"checkInboxAndSpamFolder": MessageLookupByLibrary.simpleMessage(
"Lütfen doğrulama işlemini tamamlamak için gelen kutunuzu (ve spam klasörünüzü) kontrol edin"),
"checking": MessageLookupByLibrary.simpleMessage("Kontrol ediliyor..."),
-- "checkingModels":
-- MessageLookupByLibrary.simpleMessage("Checking models..."),
"claimFreeStorage":
MessageLookupByLibrary.simpleMessage("Bedava alan talep edin"),
"claimMore": MessageLookupByLibrary.simpleMessage("Arttır!"),
diff --cc mobile/lib/generated/intl/messages_uk.dart
index 8d4c85a99e,78a875268c..4f3331d456
--- a/mobile/lib/generated/intl/messages_uk.dart
+++ b/mobile/lib/generated/intl/messages_uk.dart
@@@ -465,7 -465,7 +465,7 @@@ class MessageLookup extends MessageLook
"checkStatus": MessageLookupByLibrary.simpleMessage("Перевірити стан"),
"checking": MessageLookupByLibrary.simpleMessage("Перевірка..."),
"checkingModels":
-- MessageLookupByLibrary.simpleMessage("Checking models..."),
++ MessageLookupByLibrary.simpleMessage("Перевірка моделей..."),
"claimFreeStorage":
MessageLookupByLibrary.simpleMessage("Отримайте безплатне сховище"),
"claimMore": MessageLookupByLibrary.simpleMessage("Отримайте більше!"),
@@@ -731,6 -731,8 +731,8 @@@
"enable": MessageLookupByLibrary.simpleMessage("Увімкнути"),
"enableMLIndexingDesc": MessageLookupByLibrary.simpleMessage(
"Ente підтримує машинне навчання для розпізнавання обличчя, магічний пошук та інші розширені функції пошуку"),
+ "enableMachineLearningBanner": MessageLookupByLibrary.simpleMessage(
- "Enable machine learning for magic search and face recognition"),
++ "Увімкніть машинне навчання для магічного пошуку та розпізнавання облич"),
"enableMaps": MessageLookupByLibrary.simpleMessage("Увімкнути мапи"),
"enableMapsDesc": MessageLookupByLibrary.simpleMessage(
"Це покаже ваші фотографії на мапі світу.\n\nЦя мапа розміщена на OpenStreetMap, і точне розташування ваших фотографій ніколи не розголошується.\n\nВи можете будь-коли вимкнути цю функцію в налаштуваннях."),
@@@ -1160,6 -1162,6 +1162,7 @@@
"onEnte":
MessageLookupByLibrary.simpleMessage("В <branding>Ente</branding>"),
"onlyFamilyAdminCanChangeCode": m43,
++ "onlyThem": MessageLookupByLibrary.simpleMessage("Тільки вони"),
"oops": MessageLookupByLibrary.simpleMessage("От халепа"),
"oopsCouldNotSaveEdits": MessageLookupByLibrary.simpleMessage(
"Ой, не вдалося зберегти зміни"),
@@@ -1429,6 -1431,8 +1432,8 @@@
"Додавайте такі описи як «#подорож» в інформацію про фотографію, щоб швидко знайти їх тут"),
"searchDatesEmptySection": MessageLookupByLibrary.simpleMessage(
"Шукати за датою, місяцем або роком"),
+ "searchDiscoverEmptySection": MessageLookupByLibrary.simpleMessage(
- "Images will be shown here once processing is complete"),
++ "Зображення будуть показані тут після завершення обробки"),
"searchFaceEmptySection": MessageLookupByLibrary.simpleMessage(
"Люди будуть показані тут після завершення індексації"),
"searchFileTypesAndNamesEmptySection":
@@@ -1445,6 -1449,8 +1450,8 @@@
"Групові фотографії, які зроблені в певному радіусі від фотографії"),
"searchPeopleEmptySection": MessageLookupByLibrary.simpleMessage(
"Запросіть людей, і ви побачите всі фотографії, якими вони поділилися, тут"),
+ "searchPersonsEmptySection": MessageLookupByLibrary.simpleMessage(
- "People will be shown here once processing is complete"),
++ "Люди будуть показані тут після завершення обробки"),
"searchResultCount": m53,
"security": MessageLookupByLibrary.simpleMessage("Безпека"),
"selectALocation":
diff --cc mobile/lib/generated/intl/messages_zh.dart
index 22109eeb32,1f8f49fc33..f4e41bed32
--- a/mobile/lib/generated/intl/messages_zh.dart
+++ b/mobile/lib/generated/intl/messages_zh.dart
@@@ -394,8 -394,8 +394,6 @@@ class MessageLookup extends MessageLook
"请检查您的收件箱 (或者是在您的“垃圾邮件”列表内) 以完成验证"),
"checkStatus": MessageLookupByLibrary.simpleMessage("检查状态"),
"checking": MessageLookupByLibrary.simpleMessage("正在检查..."),
-- "checkingModels":
-- MessageLookupByLibrary.simpleMessage("Checking models..."),
"claimFreeStorage": MessageLookupByLibrary.simpleMessage("领取免费存储"),
"claimMore": MessageLookupByLibrary.simpleMessage("领取更多!"),
"claimed": MessageLookupByLibrary.simpleMessage("已领取"),
diff --cc mobile/lib/generated/l10n.dart
index c8cf88c93a,a76cc59628..abd2f16a80
--- a/mobile/lib/generated/l10n.dart
+++ b/mobile/lib/generated/l10n.dart
@@@ -8995,56 -8995,6 +8995,56 @@@ class S
);
}
+ /// `Enter name`
+ String get enterName {
+ return Intl.message(
+ 'Enter name',
+ name: 'enterName',
+ desc: '',
+ args: [],
+ );
+ }
+
+ /// `Save person`
+ String get savePerson {
+ return Intl.message(
+ 'Save person',
+ name: 'savePerson',
+ desc: '',
+ args: [],
+ );
+ }
+
- /// `Or merge with existing person`
++ /// `Or merge with existing`
+ String get orMergeWithExistingPerson {
+ return Intl.message(
- 'Or merge with existing person',
++ 'Or merge with existing',
+ name: 'orMergeWithExistingPerson',
+ desc: '',
+ args: [],
+ );
+ }
+
+ /// `Birthday (optional)`
+ String get enterDateOfBirth {
+ return Intl.message(
+ 'Birthday (optional)',
+ name: 'enterDateOfBirth',
+ desc: '',
+ args: [],
+ );
+ }
+
+ /// `Birthday`
+ String get birthday {
+ return Intl.message(
+ 'Birthday',
+ name: 'birthday',
+ desc: '',
+ args: [],
+ );
+ }
+
/// `Remove person label`
String get removePersonLabel {
return Intl.message(
diff --cc mobile/lib/l10n/intl_en.arb
index e7d445aaef,2c7b8701fd..8f2276cc64
--- a/mobile/lib/l10n/intl_en.arb
+++ b/mobile/lib/l10n/intl_en.arb
@@@ -1260,11 -1260,6 +1260,11 @@@
"createCollaborativeLink": "Create collaborative link",
"search": "Search",
"enterPersonName": "Enter person name",
+ "enterName": "Enter name",
+ "savePerson": "Save person",
- "orMergeWithExistingPerson" : "Or merge with existing person",
++ "orMergeWithExistingPerson" : "Or merge with existing",
+ "enterDateOfBirth": "Birthday (optional)",
+ "birthday": "Birthday",
"removePersonLabel": "Remove person label",
"autoPairDesc": "Auto pair works only with devices that support Chromecast.",
"manualPairDesc": "Pair with PIN works with any screen you wish to view your album on.",
diff --cc mobile/lib/ui/common/date_input.dart
index a1b7e32806,0000000000..0a6a5067ef
mode 100644,000000..100644
--- a/mobile/lib/ui/common/date_input.dart
+++ b/mobile/lib/ui/common/date_input.dart
@@@ -1,171 -1,0 +1,176 @@@
+import 'package:flutter/material.dart';
+import 'package:intl/intl.dart';
++import "package:photos/l10n/l10n.dart";
+import "package:photos/theme/ente_theme.dart";
+
+class DatePickerField extends StatefulWidget {
+ final String? initialValue;
+ final String? hintText;
+ final void Function(DateTime?)? onChanged;
+ final DateTime? firstDate;
+ final DateTime? lastDate;
+ final bool isRequired; // New parameter for optional/required state
+
+ const DatePickerField({
+ super.key,
+ this.initialValue,
+ this.hintText,
+ this.onChanged,
+ this.firstDate,
+ this.lastDate,
+ this.isRequired = true, // Default to required for backward compatibility
+ });
+
+ @override
+ State<DatePickerField> createState() => _DatePickerFieldState();
+}
+
+class _DatePickerFieldState extends State<DatePickerField> {
+ final TextEditingController _controller = TextEditingController();
+ DateTime? _selectedDate;
+ bool _hasError = false;
+
+ @override
+ void initState() {
+ super.initState();
+ if (widget.initialValue != null) {
+ _controller.text = widget.initialValue!;
- _tryParseDate(widget.initialValue!);
++ _tryParseDate(widget.initialValue!).ignore();
+ }
+ }
+
- void _tryParseDate(String value) {
++ Future<void> _tryParseDate(String value) async {
+ // If the field is empty and not required, reset error state and clear date
+ if (value.isEmpty && !widget.isRequired) {
+ setState(() {
+ _selectedDate = null;
+ _hasError = false;
+ });
+ widget.onChanged?.call(null);
+ return;
+ }
+
+ // Skip validation for empty optional fields
+ if (value.isEmpty) {
+ return;
+ }
+
+ try {
++ Locale? locale = await getLocale();
++ locale ??= const Locale('en', 'US');
+ // Try parsing different date formats
+ DateTime? parsed;
- final List<String> formats = ['MM/dd/yyyy', 'MM-dd-yyyy', 'yyyy-MM-dd'];
++ final List<String> formats =
++ (locale.toString().toLowerCase().contains('us'))
++ ? [
++ 'MM/dd/yyyy',
++ 'MM-dd-yyyy',
++ 'YYYY-MM-dd',
++ ]
++ : [
++ 'dd/MM/yyyy',
++ 'dd-MM-yyyy',
++ 'yyyy-dd-MM',
++ ];
+
+ for (String format in formats) {
+ try {
+ parsed = DateFormat(format).parseStrict(value);
+ break;
+ } catch (_) {
+ continue;
+ }
+ }
+
+ if (parsed != null) {
+ // Validate date range if specified
+ bool isValid = true;
+ if (widget.firstDate != null && parsed.isBefore(widget.firstDate!)) {
+ isValid = false;
+ }
+ if (widget.lastDate != null && parsed.isAfter(widget.lastDate!)) {
+ isValid = false;
+ }
+
+ setState(() {
+ _selectedDate = isValid ? parsed : null;
+ _hasError = !isValid;
+ });
+
+ if (isValid) {
+ widget.onChanged?.call(parsed);
+ }
+ } else {
+ setState(() {
+ _selectedDate = null;
+ _hasError = true;
+ });
+ }
+ } catch (e) {
+ setState(() {
+ _selectedDate = null;
+ _hasError = true;
+ });
+ }
+ }
+
+ Future<void> _showDatePicker() async {
+ final DateTime? picked = await showDatePicker(
+ context: context,
+ initialDate: _selectedDate ?? DateTime.now(),
+ firstDate: widget.firstDate ?? DateTime(1900),
+ lastDate: widget.lastDate ?? DateTime(2100),
+ );
+
+ if (picked != null) {
+ setState(() {
+ _selectedDate = picked;
+ _hasError = false;
+ _controller.text = DateFormat('MM/dd/yyyy').format(picked);
+ });
+ widget.onChanged?.call(picked);
+ }
+ }
+
+ @override
+ Widget build(BuildContext context) {
+ return TextFormField(
+ controller: _controller,
+ onChanged: (value) => _tryParseDate(value),
+ decoration: InputDecoration(
+ focusedBorder: OutlineInputBorder(
+ borderRadius: const BorderRadius.all(Radius.circular(8.0)),
+ borderSide: BorderSide(
+ color: getEnteColorScheme(context).strokeMuted,
+ ),
+ ),
+ fillColor: getEnteColorScheme(context).fillFaint,
+ filled: true,
+ hintText: widget.hintText ??
+ "Enter date (DD/MM/YYYY)${widget.isRequired ? '' : ' (optional)'}",
+ hintStyle: getEnteTextTheme(context).bodyFaint,
+ contentPadding: const EdgeInsets.symmetric(
+ horizontal: 16,
+ vertical: 14,
+ ),
+ border: UnderlineInputBorder(
+ borderSide: BorderSide.none,
+ borderRadius: BorderRadius.circular(8),
+ ),
- error: _hasError
- ? Align(
- alignment: Alignment.centerLeft,
- child: Text(
- 'Use format (MM-dd-YYYY or MM/dd/YYYY)',
- style: getEnteTextTheme(context).miniMuted,
- ),
- )
- : null,
+ suffixIcon: IconButton(
+ icon: const Icon(Icons.calendar_today),
+ onPressed: _showDatePicker,
+ color: _hasError
+ ? getEnteColorScheme(context).warning500
+ : getEnteColorScheme(context).strokeMuted,
+ ),
+ ),
+ );
+ }
+
+ @override
+ void dispose() {
+ _controller.dispose();
+ super.dispose();
+ }
+}
diff --cc mobile/lib/ui/viewer/people/people_banner.dart
index 7a27990935,7a27990935..033a35eb55
--- a/mobile/lib/ui/viewer/people/people_banner.dart
+++ b/mobile/lib/ui/viewer/people/people_banner.dart
@@@ -17,7 -17,7 +17,7 @@@ class PeopleBanner extends StatelessWid
final String? subText;
final GestureTapCallback onTap;
-- const PeopleBanner({
++const PeopleBanner({
super.key,
required this.type,
this.startIcon,
diff --cc mobile/lib/ui/viewer/people/person_row_item.dart
index 9718364ca0,95e2453eaa..10716f4196
--- a/mobile/lib/ui/viewer/people/person_row_item.dart
+++ b/mobile/lib/ui/viewer/people/person_row_item.dart
@@@ -36,47 -36,3 +36,49 @@@ class PersonRowItem extends StatelessWi
);
}
}
+
+class PersonGridItem extends StatelessWidget {
+ final PersonEntity person;
+ final EnteFile personFile;
+ final VoidCallback onTap;
+
+ const PersonGridItem({
+ super.key,
+ required this.person,
+ required this.personFile,
+ required this.onTap,
+ });
+
+ @override
+ Widget build(BuildContext context) {
+ return GestureDetector(
+ onTap: onTap,
+ child: Padding(
+ padding: const EdgeInsets.all(8.0),
+ child: Column(
+ mainAxisSize: MainAxisSize.min,
+ children: [
+ SizedBox(
+ width: 112,
+ height: 112,
- child: ClipRRect(
- borderRadius: const BorderRadius.all(
- Radius.elliptical(16, 12),
++ child: ClipPath(
++ clipper: ShapeBorderClipper(
++ shape: ContinuousRectangleBorder(
++ borderRadius: BorderRadius.circular(80),
++ ),
+ ),
+ child: PersonFaceWidget(personFile, personId: person.remoteID),
+ ),
+ ),
+ const SizedBox(height: 4),
+ Text(
+ person.data.name,
+ style: Theme.of(context).textTheme.bodyMedium,
+ overflow: TextOverflow.ellipsis,
+ ),
+ ],
+ ),
+ ),
+ );
+ }
+}
diff --cc mobile/lib/ui/viewer/people/save_person.dart
index 1b5db110d6,0000000000..25bc953104
mode 100644,000000..100644
--- a/mobile/lib/ui/viewer/people/save_person.dart
+++ b/mobile/lib/ui/viewer/people/save_person.dart
@@@ -1,291 -1,0 +1,286 @@@
+import "dart:developer";
+
+import "package:flutter/foundation.dart";
+import "package:flutter/material.dart";
+import "package:logging/logging.dart";
+import "package:photos/core/event_bus.dart";
+import "package:photos/db/ml/db.dart";
+import "package:photos/events/people_changed_event.dart";
+import "package:photos/generated/l10n.dart";
+import "package:photos/l10n/l10n.dart";
+import "package:photos/models/file/file.dart";
+import "package:photos/models/ml/face/person.dart";
+import "package:photos/services/machine_learning/face_ml/feedback/cluster_feedback.dart";
+import "package:photos/services/machine_learning/face_ml/person/person_service.dart";
+import "package:photos/services/search_service.dart";
+import "package:photos/theme/ente_theme.dart";
+import "package:photos/ui/common/date_input.dart";
+import "package:photos/ui/common/loading_widget.dart";
+import "package:photos/ui/components/buttons/button_widget.dart";
+import "package:photos/ui/components/models/button_type.dart";
+import "package:photos/ui/viewer/file/no_thumbnail_widget.dart";
+import "package:photos/ui/viewer/people/person_row_item.dart";
+import "package:photos/ui/viewer/search/result/person_face_widget.dart";
+import "package:photos/utils/dialog_util.dart";
+import "package:photos/utils/toast_util.dart";
+
+class SavePerson extends StatefulWidget {
+ final String clusterID;
+ final EnteFile? file;
+ final bool isEditing;
+
+ const SavePerson(
+ this.clusterID, {
+ super.key,
+ this.file,
+ this.isEditing = false,
+ });
+
+ @override
+ State<SavePerson> createState() => _SavePersonState();
+}
+
+class _SavePersonState extends State<SavePerson> {
+ bool isKeypadOpen = false;
+ String _inputName = "";
+ bool userAlreadyAssigned = false;
+ late final Logger _logger = Logger("_SavePersonState");
+
+ @override
+ Widget build(BuildContext context) {
+ return Scaffold(
+ resizeToAvoidBottomInset: isKeypadOpen,
+ appBar: AppBar(
+ title: Align(
+ alignment: Alignment.centerLeft,
+ child: Text(
+ context.l10n.savePerson,
+ ),
+ ),
+ ),
+ body: SingleChildScrollView(
+ padding: const EdgeInsets.only(bottom: 16.0, left: 16.0, right: 16.0),
+ child: Column(
+ children: [
+ const SizedBox(height: 48),
+ SizedBox(
+ height: 110,
+ width: 110,
- child: widget.file != null
- ? ClipRRect(
- borderRadius: const BorderRadius.all(
- Radius.elliptical(16, 12),
- ),
- child: PersonFaceWidget(
- widget.file!,
- clusterID: widget.clusterID,
- ),
- )
- : const ClipRRect(
- borderRadius: BorderRadius.all(
- Radius.elliptical(16, 12),
- ),
- child: NoThumbnailWidget(
++ child: ClipPath(
++ clipper: ShapeBorderClipper(
++ shape: ContinuousRectangleBorder(
++ borderRadius: BorderRadius.circular(80),
++ ),
++ ),
++ child: widget.file != null
++ ? PersonFaceWidget(widget.file!,
++ clusterID: widget.clusterID)
++ : const NoThumbnailWidget(
+ addBorder: false,
+ ),
- ),
++ ),
+ ),
+ const SizedBox(height: 36),
+ TextFormField(
+ onChanged: (value) {
+ setState(() {
+ _inputName = value;
+ });
+ },
+ decoration: InputDecoration(
+ focusedBorder: OutlineInputBorder(
+ borderRadius: const BorderRadius.all(Radius.circular(8.0)),
+ borderSide: BorderSide(
+ color: getEnteColorScheme(context).strokeMuted,
+ ),
+ ),
+ fillColor: getEnteColorScheme(context).fillFaint,
+ filled: true,
+ hintText: context.l10n.enterName,
+ hintStyle: getEnteTextTheme(context).bodyFaint,
+ contentPadding: const EdgeInsets.symmetric(
+ horizontal: 16,
+ vertical: 14,
+ ),
+ border: UnderlineInputBorder(
+ borderSide: BorderSide.none,
+ borderRadius: BorderRadius.circular(8),
+ ),
+ ),
+ ),
+ const SizedBox(height: 16),
+ DatePickerField(
+ hintText: context.l10n.enterDateOfBirth,
- firstDate: DateTime(1900),
++ firstDate: DateTime(100),
+ lastDate: DateTime.now(),
+ isRequired: false,
+ ),
+ const SizedBox(height: 32),
+ ButtonWidget(
+ buttonType: ButtonType.primary,
+ labelText: context.l10n.save,
+ isDisabled: _inputName.isEmpty,
+ onTap: () async {
+ await addNewPerson(
+ context,
+ text: _inputName,
+ clusterID: widget.clusterID,
+ );
+ },
+ ),
+ const SizedBox(height: 32),
+ _getPersonItems(),
+ ],
+ ),
+ ),
+ );
+ }
+
+ Widget _getPersonItems() {
+ return Padding(
+ padding: const EdgeInsets.fromLTRB(0, 12, 4, 0),
+ child: FutureBuilder<List<(PersonEntity, EnteFile)>>(
+ future: _getPersonsWithRecentFile(),
+ builder: (context, snapshot) {
+ if (snapshot.hasError) {
+ log("Error: ${snapshot.error} ${snapshot.stackTrace}}");
+ if (kDebugMode) {
+ return Column(
+ mainAxisSize: MainAxisSize.min,
+ children: [
+ Text('${snapshot.error}'),
+ Text('${snapshot.stackTrace}'),
+ ],
+ );
+ } else {
+ return const SizedBox.shrink();
+ }
+ } else if (snapshot.hasData) {
+ final persons = snapshot.data!;
+ final searchResults = _inputName.isNotEmpty
+ ? persons
+ .where(
+ (element) => element.$1.data.name
+ .toLowerCase()
+ .contains(_inputName.toLowerCase()),
+ )
+ .toList()
+ : persons;
+ searchResults.sort(
+ (a, b) => a.$1.data.name.compareTo(b.$1.data.name),
+ );
+
+ return Column(
+ crossAxisAlignment: CrossAxisAlignment.start,
+ children: [
+ // left align
+ Padding(
+ padding: const EdgeInsets.only(top: 12, bottom: 12),
+ child: Text(
+ context.l10n.orMergeWithExistingPerson,
+ style: getEnteTextTheme(context).largeBold,
+ ),
+ ),
+
+ SizedBox(
+ height: 160, // Adjust this height based on your needs
+ child: ScrollConfiguration(
+ behavior: ScrollConfiguration.of(context).copyWith(
+ scrollbars: true,
+ ),
+ child: ListView.separated(
+ scrollDirection: Axis.horizontal,
+ padding: const EdgeInsets.only(right: 8),
+ itemCount: searchResults.length,
+ itemBuilder: (context, index) {
+ final person = searchResults[index];
+ return PersonGridItem(
+ person: person.$1,
+ personFile: person.$2,
+ onTap: () async {
+ if (userAlreadyAssigned) {
+ return;
+ }
+ userAlreadyAssigned = true;
+ await MLDataDB.instance.assignClusterToPerson(
+ personID: person.$1.remoteID,
+ clusterID: widget.clusterID,
+ );
+ Bus.instance.fire(PeopleChangedEvent());
+
+ Navigator.pop(context, person);
+ },
+ );
+ },
+ separatorBuilder: (context, index) {
+ return const SizedBox(width: 6);
+ },
+ ),
+ ),
+ ),
+ ]);
+ } else {
+ return const EnteLoadingWidget();
+ }
+ },
+ ),
+ );
+ }
+
+ Future<void> addNewPerson(
+ BuildContext context, {
+ String text = '',
+ required String clusterID,
+ }) async {
+ try {
+ if (userAlreadyAssigned) {
+ return;
+ }
+ if (text.trim() == "") {
+ return;
+ }
+ userAlreadyAssigned = true;
+ final personEntity =
+ await PersonService.instance.addPerson(text, clusterID);
+ final bool extraPhotosFound =
+ await ClusterFeedbackService.instance.checkAndDoAutomaticMerges(
+ personEntity,
+ personClusterID: clusterID,
+ );
+ if (extraPhotosFound) {
+ showShortToast(context, S.of(context).extraPhotosFound);
+ }
+ Bus.instance.fire(PeopleChangedEvent());
+ Navigator.pop(context, personEntity);
+ } catch (e) {
+ _logger.severe("Error adding new person", e);
+ userAlreadyAssigned = false;
+ await showGenericErrorDialog(context: context, error: e);
+ }
+ }
+
+ Future<List<(PersonEntity, EnteFile)>> _getPersonsWithRecentFile({
+ bool excludeHidden = true,
+ }) async {
+ final persons = await PersonService.instance.getPersons();
+ if (excludeHidden) {
+ persons.removeWhere((person) => person.data.isIgnored);
+ }
+ final List<(PersonEntity, EnteFile)> personAndFileID = [];
+ for (final person in persons) {
+ final clustersToFiles =
+ await SearchService.instance.getClusterFilesForPersonID(
+ person.remoteID,
+ );
+ final files = clustersToFiles.values.expand((e) => e).toList();
+ if (files.isEmpty) {
+ debugPrint(
+ "Person ${kDebugMode ? person.data.name : person.remoteID} has no files",
+ );
+ continue;
+ }
+ personAndFileID.add((person, files.first));
+ }
+ return personAndFileID;
+ }
+}