💚 End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Merge branch 'main' into onnx
vishnukvmdb6c8a79a78c9
diff --cc lib/generated/intl/messages_cs.dartindex a0b3b9f7d9,a0b3b9f7d9..e91d3502e7--- a/lib/generated/intl/messages_cs.dart+++ b/lib/generated/intl/messages_cs.dart@@@ -24,15 -24,15 +24,25 @@@ class MessageLookup extends MessageLookstatic Map<String, Function> _notInlinedMessages(_) => <String, Function>{"addToHiddenAlbum":MessageLookupByLibrary.simpleMessage("Add to hidden album"),++ "changeLocationOfSelectedItems": MessageLookupByLibrary.simpleMessage(++ "Change location of selected items?"),"contacts": MessageLookupByLibrary.simpleMessage("Contacts"),"deleteConfirmDialogBody": MessageLookupByLibrary.simpleMessage("This account is linked to other ente apps, if you use any.\\n\\nYour uploaded data, across all ente apps, will be scheduled for deletion, and your account will be permanently deleted."),++ "editLocation": MessageLookupByLibrary.simpleMessage("Edit location"),++ "editsToLocationWillOnlyBeSeenWithinEnte":++ MessageLookupByLibrary.simpleMessage(++ "Edits to location will only be seen within Ente"),"fileTypes": MessageLookupByLibrary.simpleMessage("File types"),"modifyYourQueryOrTrySearchingFor":MessageLookupByLibrary.simpleMessage("Modify your query, or try searching for"),"moveToHiddenAlbum":MessageLookupByLibrary.simpleMessage("Move to hidden album"),++ "selectALocation":++ MessageLookupByLibrary.simpleMessage("Select a location"),++ "selectALocationFirst":++ MessageLookupByLibrary.simpleMessage("Select a location first"),"yourMap": MessageLookupByLibrary.simpleMessage("Your map")};}diff --cc lib/generated/intl/messages_de.dartindex 9fd8013d17,7956192f4b..3271c7968c--- a/lib/generated/intl/messages_de.dart+++ b/lib/generated/intl/messages_de.dart@@@ -393,6 -393,6 +393,8 @@@ class MessageLookup extends MessageLook"centerPoint": MessageLookupByLibrary.simpleMessage("Mittelpunkt"),"changeEmail":MessageLookupByLibrary.simpleMessage("E-Mail-Adresse ändern"),++ "changeLocationOfSelectedItems": MessageLookupByLibrary.simpleMessage(++ "Change location of selected items?"),"changePassword":MessageLookupByLibrary.simpleMessage("Passwort ändern"),"changePasswordTitle":@@@ -599,10 -599,10 +601,14 @@@"duplicateFileCountWithStorageSaved": m16,"duplicateItemsGroup": m17,"edit": MessageLookupByLibrary.simpleMessage("Bearbeiten"),++ "editLocation": MessageLookupByLibrary.simpleMessage("Edit location"),"editLocationTagTitle":MessageLookupByLibrary.simpleMessage("Standort bearbeiten"),"editsSaved":MessageLookupByLibrary.simpleMessage("Änderungen gespeichert"),++ "editsToLocationWillOnlyBeSeenWithinEnte":++ MessageLookupByLibrary.simpleMessage(++ "Edits to location will only be seen within Ente"),"eligible": MessageLookupByLibrary.simpleMessage("zulässig"),"email": MessageLookupByLibrary.simpleMessage("E-Mail"),"emailChangedTo": m18,@@@ -1193,6 -1193,6 +1199,10 @@@"Laden Sie Personen ein, damit Sie geteilte Fotos hier einsehen können"),"searchResultCount": m43,"security": MessageLookupByLibrary.simpleMessage("Sicherheit"),++ "selectALocation":++ MessageLookupByLibrary.simpleMessage("Select a location"),++ "selectALocationFirst":++ MessageLookupByLibrary.simpleMessage("Select a location first"),"selectAlbum": MessageLookupByLibrary.simpleMessage("Album auswählen"),"selectAll": MessageLookupByLibrary.simpleMessage("Alle markieren"),"selectFoldersForBackup": MessageLookupByLibrary.simpleMessage(diff --cc lib/generated/intl/messages_en.dartindex 4397e28d41,f1cd30b7a3..3eae25d3d9--- a/lib/generated/intl/messages_en.dart+++ b/lib/generated/intl/messages_en.dart@@@ -379,6 -382,6 +382,8 @@@ class MessageLookup extends MessageLookMessageLookupByLibrary.simpleMessage("Cannot delete shared files"),"centerPoint": MessageLookupByLibrary.simpleMessage("Center point"),"changeEmail": MessageLookupByLibrary.simpleMessage("Change email"),++ "changeLocationOfSelectedItems": MessageLookupByLibrary.simpleMessage(++ "Change location of selected items?"),"changePassword":MessageLookupByLibrary.simpleMessage("Change password"),"changePasswordTitle":@@@ -395,8 -398,9 +400,10 @@@"claimMore": MessageLookupByLibrary.simpleMessage("Claim more!"),"claimed": MessageLookupByLibrary.simpleMessage("Claimed"),"claimedStorageSoFar": m8,+ "cleanUncategorized":+ MessageLookupByLibrary.simpleMessage("Clean Uncategorized"),"clearCaches": MessageLookupByLibrary.simpleMessage("Clear caches"),+ "clearIndexes": MessageLookupByLibrary.simpleMessage("Clear indexes"),"click": MessageLookupByLibrary.simpleMessage("• Click"),"clickOnTheOverflowMenu": MessageLookupByLibrary.simpleMessage("• Click on the overflow menu"),@@@ -581,9 -585,9 +588,13 @@@"duplicateFileCountWithStorageSaved": m16,"duplicateItemsGroup": m17,"edit": MessageLookupByLibrary.simpleMessage("Edit"),++ "editLocation": MessageLookupByLibrary.simpleMessage("Edit location"),"editLocationTagTitle":MessageLookupByLibrary.simpleMessage("Edit location"),"editsSaved": MessageLookupByLibrary.simpleMessage("Edits saved"),++ "editsToLocationWillOnlyBeSeenWithinEnte":++ MessageLookupByLibrary.simpleMessage(++ "Edits to location will only be seen within Ente"),"eligible": MessageLookupByLibrary.simpleMessage("eligible"),"email": MessageLookupByLibrary.simpleMessage("Email"),"emailChangedTo": m18,@@@ -1151,6 -1149,6 +1163,10 @@@"Invite people, and you\'ll see all photos shared by them here"),"searchResultCount": m43,"security": MessageLookupByLibrary.simpleMessage("Security"),++ "selectALocation":++ MessageLookupByLibrary.simpleMessage("Select a location"),++ "selectALocationFirst":++ MessageLookupByLibrary.simpleMessage("Select a location first"),"selectAlbum": MessageLookupByLibrary.simpleMessage("Select album"),"selectAll": MessageLookupByLibrary.simpleMessage("Select all"),"selectFoldersForBackup":diff --cc lib/generated/intl/messages_es.dartindex 548fc33bcf,08a31da2e9..1fd4f860f8--- a/lib/generated/intl/messages_es.dart+++ b/lib/generated/intl/messages_es.dart@@@ -336,6 -336,6 +336,8 @@@ class MessageLookup extends MessageLook"centerPoint": MessageLookupByLibrary.simpleMessage("Punto central"),"changeEmail":MessageLookupByLibrary.simpleMessage("Cambiar correo electrónico"),++ "changeLocationOfSelectedItems": MessageLookupByLibrary.simpleMessage(++ "Change location of selected items?"),"changePassword":MessageLookupByLibrary.simpleMessage("Cambiar contraseña"),"changePasswordTitle":@@@ -527,10 -527,10 +529,14 @@@"dropSupportEmail": m15,"duplicateFileCountWithStorageSaved": m16,"edit": MessageLookupByLibrary.simpleMessage("Editar"),++ "editLocation": MessageLookupByLibrary.simpleMessage("Edit location"),"editLocationTagTitle":MessageLookupByLibrary.simpleMessage("Editar la ubicación"),"editsSaved":MessageLookupByLibrary.simpleMessage("Ediciones guardadas"),++ "editsToLocationWillOnlyBeSeenWithinEnte":++ MessageLookupByLibrary.simpleMessage(++ "Edits to location will only be seen within Ente"),"eligible": MessageLookupByLibrary.simpleMessage("elegible"),"email": MessageLookupByLibrary.simpleMessage("Correo electrónico"),"emailChangedTo": m18,@@@ -1032,6 -1032,6 +1038,10 @@@"searchHintText": MessageLookupByLibrary.simpleMessage("Álbunes, meses, días, años, ..."),"security": MessageLookupByLibrary.simpleMessage("Seguridad"),++ "selectALocation":++ MessageLookupByLibrary.simpleMessage("Select a location"),++ "selectALocationFirst":++ MessageLookupByLibrary.simpleMessage("Select a location first"),"selectAlbum":MessageLookupByLibrary.simpleMessage("Seleccionar álbum"),"selectAll": MessageLookupByLibrary.simpleMessage("Seleccionar todos"),diff --cc lib/generated/intl/messages_fr.dartindex 50dbaf3f47,33e01b761c..2239a904f1--- a/lib/generated/intl/messages_fr.dart+++ b/lib/generated/intl/messages_fr.dart@@@ -392,6 -392,6 +392,8 @@@ class MessageLookup extends MessageLook"centerPoint": MessageLookupByLibrary.simpleMessage("Point central"),"changeEmail":MessageLookupByLibrary.simpleMessage("Modifier l\'e-mail"),++ "changeLocationOfSelectedItems": MessageLookupByLibrary.simpleMessage(++ "Change location of selected items?"),"changePassword":MessageLookupByLibrary.simpleMessage("Modifier le mot de passe"),"changePasswordTitle":@@@ -603,10 -603,10 +605,14 @@@"duplicateFileCountWithStorageSaved": m16,"duplicateItemsGroup": m17,"edit": MessageLookupByLibrary.simpleMessage("Éditer"),++ "editLocation": MessageLookupByLibrary.simpleMessage("Edit location"),"editLocationTagTitle":MessageLookupByLibrary.simpleMessage("Modifier l’emplacement"),"editsSaved":MessageLookupByLibrary.simpleMessage("Modification sauvegardée"),++ "editsToLocationWillOnlyBeSeenWithinEnte":++ MessageLookupByLibrary.simpleMessage(++ "Edits to location will only be seen within Ente"),"eligible": MessageLookupByLibrary.simpleMessage("éligible"),"email": MessageLookupByLibrary.simpleMessage("E-mail"),"emailChangedTo": m18,@@@ -1195,6 -1195,6 +1201,10 @@@"Invitez des gens, et vous verrez ici toutes les photos qu\'ils partagent"),"searchResultCount": m43,"security": MessageLookupByLibrary.simpleMessage("Sécurité"),++ "selectALocation":++ MessageLookupByLibrary.simpleMessage("Select a location"),++ "selectALocationFirst":++ MessageLookupByLibrary.simpleMessage("Select a location first"),"selectAlbum":MessageLookupByLibrary.simpleMessage("Sélectionner album"),"selectAll": MessageLookupByLibrary.simpleMessage("Tout sélectionner"),diff --cc lib/generated/intl/messages_it.dartindex 761747c48a,558581fc1d..8ecbf58b84--- a/lib/generated/intl/messages_it.dart+++ b/lib/generated/intl/messages_it.dart@@@ -378,6 -378,6 +378,8 @@@ class MessageLookup extends MessageLook"Impossibile eliminare i file condivisi"),"centerPoint": MessageLookupByLibrary.simpleMessage("Punto centrale"),"changeEmail": MessageLookupByLibrary.simpleMessage("Modifica email"),++ "changeLocationOfSelectedItems": MessageLookupByLibrary.simpleMessage(++ "Change location of selected items?"),"changePassword":MessageLookupByLibrary.simpleMessage("Cambia password"),"changePasswordTitle":@@@ -583,9 -583,9 +585,13 @@@"duplicateFileCountWithStorageSaved": m16,"duplicateItemsGroup": m17,"edit": MessageLookupByLibrary.simpleMessage("Modifica"),++ "editLocation": MessageLookupByLibrary.simpleMessage("Edit location"),"editLocationTagTitle":MessageLookupByLibrary.simpleMessage("Modifica luogo"),"editsSaved": MessageLookupByLibrary.simpleMessage("Modifiche salvate"),++ "editsToLocationWillOnlyBeSeenWithinEnte":++ MessageLookupByLibrary.simpleMessage(++ "Edits to location will only be seen within Ente"),"eligible": MessageLookupByLibrary.simpleMessage("idoneo"),"email": MessageLookupByLibrary.simpleMessage("Email"),"emailChangedTo": m18,@@@ -1126,6 -1126,6 +1132,10 @@@"searchHintText": MessageLookupByLibrary.simpleMessage("Album, mesi, giorni, anni, ..."),"security": MessageLookupByLibrary.simpleMessage("Sicurezza"),++ "selectALocation":++ MessageLookupByLibrary.simpleMessage("Select a location"),++ "selectALocationFirst":++ MessageLookupByLibrary.simpleMessage("Select a location first"),"selectAlbum": MessageLookupByLibrary.simpleMessage("Seleziona album"),"selectAll": MessageLookupByLibrary.simpleMessage("Seleziona tutto"),"selectFoldersForBackup": MessageLookupByLibrary.simpleMessage(diff --cc lib/generated/intl/messages_ko.dartindex 7c52593426,7c52593426..d9c3fcd9e2--- a/lib/generated/intl/messages_ko.dart+++ b/lib/generated/intl/messages_ko.dart@@@ -24,15 -24,15 +24,25 @@@ class MessageLookup extends MessageLookstatic Map<String, Function> _notInlinedMessages(_) => <String, Function>{"addToHiddenAlbum":MessageLookupByLibrary.simpleMessage("Add to hidden album"),++ "changeLocationOfSelectedItems": MessageLookupByLibrary.simpleMessage(++ "Change location of selected items?"),"contacts": MessageLookupByLibrary.simpleMessage("Contacts"),"deleteConfirmDialogBody": MessageLookupByLibrary.simpleMessage("This account is linked to other ente apps, if you use any.\\n\\nYour uploaded data, across all ente apps, will be scheduled for deletion, and your account will be permanently deleted."),++ "editLocation": MessageLookupByLibrary.simpleMessage("Edit location"),++ "editsToLocationWillOnlyBeSeenWithinEnte":++ MessageLookupByLibrary.simpleMessage(++ "Edits to location will only be seen within Ente"),"fileTypes": MessageLookupByLibrary.simpleMessage("File types"),"modifyYourQueryOrTrySearchingFor":MessageLookupByLibrary.simpleMessage("Modify your query, or try searching for"),"moveToHiddenAlbum":MessageLookupByLibrary.simpleMessage("Move to hidden album"),++ "selectALocation":++ MessageLookupByLibrary.simpleMessage("Select a location"),++ "selectALocationFirst":++ MessageLookupByLibrary.simpleMessage("Select a location first"),"yourMap": MessageLookupByLibrary.simpleMessage("Your map")};}diff --cc lib/generated/intl/messages_nl.dartindex 5d83fc6401,a487b9db2c..cd612d97b3--- a/lib/generated/intl/messages_nl.dart+++ b/lib/generated/intl/messages_nl.dart@@@ -391,6 -391,6 +391,8 @@@ class MessageLookup extends MessageLook"Kan gedeelde bestanden niet verwijderen"),"centerPoint": MessageLookupByLibrary.simpleMessage("Middelpunt"),"changeEmail": MessageLookupByLibrary.simpleMessage("E-mail wijzigen"),++ "changeLocationOfSelectedItems": MessageLookupByLibrary.simpleMessage(++ "Change location of selected items?"),"changePassword":MessageLookupByLibrary.simpleMessage("Wachtwoord wijzigen"),"changePasswordTitle":@@@ -597,10 -597,10 +599,14 @@@"duplicateFileCountWithStorageSaved": m16,"duplicateItemsGroup": m17,"edit": MessageLookupByLibrary.simpleMessage("Bewerken"),++ "editLocation": MessageLookupByLibrary.simpleMessage("Edit location"),"editLocationTagTitle":MessageLookupByLibrary.simpleMessage("Locatie bewerken"),"editsSaved":MessageLookupByLibrary.simpleMessage("Bewerkingen opgeslagen"),++ "editsToLocationWillOnlyBeSeenWithinEnte":++ MessageLookupByLibrary.simpleMessage(++ "Edits to location will only be seen within Ente"),"eligible": MessageLookupByLibrary.simpleMessage("gerechtigd"),"email": MessageLookupByLibrary.simpleMessage("E-mail"),"emailChangedTo": m18,@@@ -1190,6 -1190,6 +1196,10 @@@"Nodig mensen uit, en je ziet alle foto\'s die door hen worden gedeeld hier"),"searchResultCount": m43,"security": MessageLookupByLibrary.simpleMessage("Beveiliging"),++ "selectALocation":++ MessageLookupByLibrary.simpleMessage("Select a location"),++ "selectALocationFirst":++ MessageLookupByLibrary.simpleMessage("Select a location first"),"selectAlbum": MessageLookupByLibrary.simpleMessage("Album selecteren"),"selectAll": MessageLookupByLibrary.simpleMessage("Selecteer alles"),"selectFoldersForBackup": MessageLookupByLibrary.simpleMessage(diff --cc lib/generated/intl/messages_no.dartindex d162c45508,d162c45508..97bb1d5ea3--- a/lib/generated/intl/messages_no.dart+++ b/lib/generated/intl/messages_no.dart@@@ -29,6 -29,6 +29,8 @@@ class MessageLookup extends MessageLook"askDeleteReason": MessageLookupByLibrary.simpleMessage("Hva er hovedårsaken til at du sletter kontoen din?"),"cancel": MessageLookupByLibrary.simpleMessage("Avbryt"),++ "changeLocationOfSelectedItems": MessageLookupByLibrary.simpleMessage(++ "Change location of selected items?"),"confirmAccountDeletion":MessageLookupByLibrary.simpleMessage("Bekreft sletting av konto"),"confirmDeletePrompt": MessageLookupByLibrary.simpleMessage(@@@ -39,6 -39,6 +41,10 @@@"Vi er lei oss for at du forlater oss. Gi oss gjerne en tilbakemelding så vi kan forbedre oss."),"deleteConfirmDialogBody": MessageLookupByLibrary.simpleMessage("This account is linked to other ente apps, if you use any.\\n\\nYour uploaded data, across all ente apps, will be scheduled for deletion, and your account will be permanently deleted."),++ "editLocation": MessageLookupByLibrary.simpleMessage("Edit location"),++ "editsToLocationWillOnlyBeSeenWithinEnte":++ MessageLookupByLibrary.simpleMessage(++ "Edits to location will only be seen within Ente"),"email": MessageLookupByLibrary.simpleMessage("E-post"),"enterValidEmail": MessageLookupByLibrary.simpleMessage("Vennligst skriv inn en gyldig e-postadresse."),@@@ -55,6 -55,6 +61,10 @@@"Modify your query, or try searching for"),"moveToHiddenAlbum":MessageLookupByLibrary.simpleMessage("Move to hidden album"),++ "selectALocation":++ MessageLookupByLibrary.simpleMessage("Select a location"),++ "selectALocationFirst":++ MessageLookupByLibrary.simpleMessage("Select a location first"),"verify": MessageLookupByLibrary.simpleMessage("Bekreft"),"yourMap": MessageLookupByLibrary.simpleMessage("Your map")};diff --cc lib/generated/intl/messages_pl.dartindex f7cb0acffb,f7cb0acffb..7f3b6505f1--- a/lib/generated/intl/messages_pl.dart+++ b/lib/generated/intl/messages_pl.dart@@@ -35,6 -35,6 +35,8 @@@ class MessageLookup extends MessageLook"cancel": MessageLookupByLibrary.simpleMessage("Anuluj"),"changeEmail":MessageLookupByLibrary.simpleMessage("Zmień adres e-mail"),++ "changeLocationOfSelectedItems": MessageLookupByLibrary.simpleMessage(++ "Change location of selected items?"),"changePasswordTitle":MessageLookupByLibrary.simpleMessage("Zmień hasło"),"checkInboxAndSpamFolder": MessageLookupByLibrary.simpleMessage(@@@ -77,6 -77,6 +79,10 @@@"deleteRequestSLAText": MessageLookupByLibrary.simpleMessage("Twoje żądanie zostanie przetworzone w ciągu 72 godzin."),"doThisLater": MessageLookupByLibrary.simpleMessage("Spróbuj później"),++ "editLocation": MessageLookupByLibrary.simpleMessage("Edit location"),++ "editsToLocationWillOnlyBeSeenWithinEnte":++ MessageLookupByLibrary.simpleMessage(++ "Edits to location will only be seen within Ente"),"email": MessageLookupByLibrary.simpleMessage("Adres e-mail"),"encryption": MessageLookupByLibrary.simpleMessage("Szyfrowanie"),"enterCode": MessageLookupByLibrary.simpleMessage("Wprowadź kod"),@@@ -149,6 -149,6 +155,10 @@@"resetPasswordTitle":MessageLookupByLibrary.simpleMessage("Zresetuj hasło"),"saveKey": MessageLookupByLibrary.simpleMessage("Zapisz klucz"),++ "selectALocation":++ MessageLookupByLibrary.simpleMessage("Select a location"),++ "selectALocationFirst":++ MessageLookupByLibrary.simpleMessage("Select a location first"),"selectReason": MessageLookupByLibrary.simpleMessage("Wybierz powód"),"sendEmail": MessageLookupByLibrary.simpleMessage("Wyślij e-mail"),"setPasswordTitle": MessageLookupByLibrary.simpleMessage("Ustaw hasło"),diff --cc lib/generated/intl/messages_pt.dartindex bc38ae7284,bc38ae7284..1f8f26cc1b--- a/lib/generated/intl/messages_pt.dart+++ b/lib/generated/intl/messages_pt.dart@@@ -102,6 -102,6 +102,8 @@@ class MessageLookup extends MessageLook"cancel": MessageLookupByLibrary.simpleMessage("Cancelar"),"cannotAddMorePhotosAfterBecomingViewer": m7,"changeEmail": MessageLookupByLibrary.simpleMessage("Mudar e-mail"),++ "changeLocationOfSelectedItems": MessageLookupByLibrary.simpleMessage(++ "Change location of selected items?"),"changePassword":MessageLookupByLibrary.simpleMessage("Mude sua senha"),"changePasswordTitle":@@@ -186,6 -186,6 +188,10 @@@"doThisLater":MessageLookupByLibrary.simpleMessage("Fazer isso mais tarde"),"dropSupportEmail": m15,++ "editLocation": MessageLookupByLibrary.simpleMessage("Edit location"),++ "editsToLocationWillOnlyBeSeenWithinEnte":++ MessageLookupByLibrary.simpleMessage(++ "Edits to location will only be seen within Ente"),"eligible": MessageLookupByLibrary.simpleMessage("elegível"),"email": MessageLookupByLibrary.simpleMessage("E-mail"),"encryption": MessageLookupByLibrary.simpleMessage("Criptografia"),@@@ -350,6 -350,6 +356,10 @@@"scanThisBarcodeWithnyourAuthenticatorApp":MessageLookupByLibrary.simpleMessage("Escaneie este código de barras com\nseu aplicativo autenticador"),++ "selectALocation":++ MessageLookupByLibrary.simpleMessage("Select a location"),++ "selectALocationFirst":++ MessageLookupByLibrary.simpleMessage("Select a location first"),"selectReason":MessageLookupByLibrary.simpleMessage("Selecione o motivo"),"sendEmail": MessageLookupByLibrary.simpleMessage("Enviar e-mail"),diff --cc lib/generated/intl/messages_zh.dartindex 7ef02f16ba,4d1060c329..fe8af37025--- a/lib/generated/intl/messages_zh.dart+++ b/lib/generated/intl/messages_zh.dart@@@ -96,6 -96,6 +96,9 @@@ class MessageLookup extends MessageLookstatic String m27(count, formattedSize) =>"${Intl.plural(count, one: '它可以从设备中删除以释放 ${formattedSize}', other: '它们可以从设备中删除以释放 ${formattedSize}')}";++ static String m67(currentlyProcessing, totalCount) =>++ "正在处理 ${currentlyProcessing} / ${totalCount}";++static String m28(count) =>"${Intl.plural(count, one: '${count} 个项目', other: '${count} 个项目')}";@@@ -335,6 -335,6 +338,8 @@@MessageLookupByLibrary.simpleMessage("无法删除共享文件"),"centerPoint": MessageLookupByLibrary.simpleMessage("中心点"),"changeEmail": MessageLookupByLibrary.simpleMessage("修改邮箱"),++ "changeLocationOfSelectedItems": MessageLookupByLibrary.simpleMessage(++ "Change location of selected items?"),"changePassword": MessageLookupByLibrary.simpleMessage("修改密码"),"changePasswordTitle": MessageLookupByLibrary.simpleMessage("修改密码"),"changePermissions": MessageLookupByLibrary.simpleMessage("要修改权限吗?"),@@@ -346,6 -346,6 +351,7 @@@"claimMore": MessageLookupByLibrary.simpleMessage("领取更多!"),"claimed": MessageLookupByLibrary.simpleMessage("已领取"),"claimedStorageSoFar": m8,++ "cleanUncategorized": MessageLookupByLibrary.simpleMessage("清除未分类的"),"clearCaches": MessageLookupByLibrary.simpleMessage("清除缓存"),"click": MessageLookupByLibrary.simpleMessage("• 点击"),"clickOnTheOverflowMenu":@@@ -492,8 -492,8 +498,12 @@@"duplicateFileCountWithStorageSaved": m16,"duplicateItemsGroup": m17,"edit": MessageLookupByLibrary.simpleMessage("编辑"),++ "editLocation": MessageLookupByLibrary.simpleMessage("Edit location"),"editLocationTagTitle": MessageLookupByLibrary.simpleMessage("编辑位置"),"editsSaved": MessageLookupByLibrary.simpleMessage("已保存编辑"),++ "editsToLocationWillOnlyBeSeenWithinEnte":++ MessageLookupByLibrary.simpleMessage(++ "Edits to location will only be seen within Ente"),"eligible": MessageLookupByLibrary.simpleMessage("符合资格"),"email": MessageLookupByLibrary.simpleMessage("电子邮件地址"),"emailChangedTo": m18,@@@ -596,6 -596,6 +606,7 @@@"general": MessageLookupByLibrary.simpleMessage("通用"),"generatingEncryptionKeys":MessageLookupByLibrary.simpleMessage("正在生成加密密钥..."),++ "genericProgress": m67,"goToSettings": MessageLookupByLibrary.simpleMessage("前往设置"),"googlePlayId": MessageLookupByLibrary.simpleMessage("Google Play ID"),"grantFullAccessPrompt":@@@ -958,6 -958,6 +969,10 @@@MessageLookupByLibrary.simpleMessage("邀请他人,您将在此看到他们分享的所有照片"),"searchResultCount": m43,"security": MessageLookupByLibrary.simpleMessage("安全"),++ "selectALocation":++ MessageLookupByLibrary.simpleMessage("Select a location"),++ "selectALocationFirst":++ MessageLookupByLibrary.simpleMessage("Select a location first"),"selectAlbum": MessageLookupByLibrary.simpleMessage("选择相册"),"selectAll": MessageLookupByLibrary.simpleMessage("全选"),"selectFoldersForBackup":diff --cc lib/ui/viewer/location/update_location_data_widget.dartindex 0000000000,93b608a520..780cf432ebmode 000000,100644..100644--- a/lib/ui/viewer/location/update_location_data_widget.dart+++ b/lib/ui/viewer/location/update_location_data_widget.dart@@@ -1,0 -1,290 +1,288 @@@+ import "dart:async";++ import "package:flutter/material.dart";+ import "package:flutter_map/flutter_map.dart";+ import "package:latlong2/latlong.dart";+ import "package:logging/logging.dart";+ import "package:photos/generated/l10n.dart";+ import "package:photos/models/file/file.dart";+ import "package:photos/models/location/location.dart";+ import "package:photos/services/files_service.dart";+ import "package:photos/services/location_service.dart";+ import "package:photos/theme/effects.dart";+ import "package:photos/theme/ente_theme.dart";+ import "package:photos/ui/map/map_button.dart";+ import "package:photos/ui/map/tile/layers.dart";+ import "package:photos/utils/toast_util.dart";++ class UpdateLocationDataWidget extends StatefulWidget {+ final List<EnteFile> files;+ const UpdateLocationDataWidget(this.files, {super.key});++ @override+ State<UpdateLocationDataWidget> createState() =>+ _UpdateLocationDataWidgetState();+ }++ class _UpdateLocationDataWidgetState extends State<UpdateLocationDataWidget> {+ final MapController _mapController = MapController();+ ValueNotifier hasSelectedLocation = ValueNotifier(false);+ final selectedLocation = ValueNotifier<LatLng?>(null);+ final isDragging = ValueNotifier(false);++ @override+ void dispose() {+ super.dispose();+ hasSelectedLocation.dispose();+ selectedLocation.dispose();+ _mapController.dispose();+ isDragging.dispose();+ }++ @override+ Widget build(BuildContext context) {+ Logger("UpdateLocationDataWiget").info("building");+ final textTheme = getEnteTextTheme(context);+ return Stack(+ alignment: Alignment.topCenter,+ children: [+ FlutterMap(+ mapController: _mapController,+ options: MapOptions(+ enableMultiFingerGestureRace: true,+ zoom: 3,+ maxZoom: 18.0,+ minZoom: 2.8,+ onMapEvent: (p0) {+ if (p0.source == MapEventSource.onDrag) {+ isDragging.value = true;+ } else if (p0.source == MapEventSource.dragEnd) {+ isDragging.value = false;+ }+ },+ onTap: (tapPosition, latlng) {+ final zoom = selectedLocation.value == null+ ? _mapController.zoom + 2.0+ : _mapController.zoom;+ _mapController.move(latlng, zoom);++ selectedLocation.value = latlng;+ hasSelectedLocation.value = true;+ },+ onPositionChanged: (position, hasGesture) {+ if (selectedLocation.value != null) {+ selectedLocation.value = position.center;+ }+ },+ ),+ nonRotatedChildren: const [+ OSMFranceTileAttributes(),+ ],+ children: const [+ OSMFranceTileLayer(),+ ],+ ),+ Positioned(+ top: 20,+ child: Container(+ padding: const EdgeInsets.symmetric(+ horizontal: 16,+ vertical: 10,+ ),+ decoration: BoxDecoration(+ borderRadius: BorderRadius.circular(8),+ color: getEnteColorScheme(context).backgroundElevated,+ boxShadow: shadowFloatFaintLight,+ ),+ child: ValueListenableBuilder(+ valueListenable: selectedLocation,+ builder: (context, value, _) {+ final locationInDMS =+ LocationService.instance.convertLocationToDMS(+ Location(+ latitude: value?.latitude,+ longitude: value?.longitude,+ ),+ );+ return locationInDMS != null+ ? ConstrainedBox(+ constraints: BoxConstraints(+ minWidth: 80 * MediaQuery.textScaleFactorOf(context),+ ),+ child: Column(+ children: [+ Text(+ locationInDMS[0],+ style: textTheme.mini,+ ),+ const SizedBox(height: 8),+ Text(+ locationInDMS[1],+ style: textTheme.mini,+ ),+ ],+ ),+ )+ : const UpdateLocationInfo();+ },+ ),+ ),+ ),+ Positioned(+ bottom: 48,+ right: 24,+ left: 24,+ child: Column(+ crossAxisAlignment: CrossAxisAlignment.end,+ children: [+ MapButton(+ icon: Icons.add,+ onPressed: () {+ _mapController.move(+ _mapController.center,+ _mapController.zoom + 1,+ );+ },+ heroTag: 'zoom-in',+ ),+ const SizedBox(height: 8),+ MapButton(+ icon: Icons.remove,+ onPressed: () {+ _mapController.move(+ _mapController.center,+ _mapController.zoom - 1,+ );+ },+ heroTag: 'zoom-out',+ ),+ const SizedBox(height: 8),+ MapButton(+ icon: Icons.check,+ onPressed: () async {+ if (selectedLocation.value == null) {- unawaited(- showShortToast(- context,- S.of(context).selectALocationFirst,- ),++ showShortToast(++ context,++ S.of(context).selectALocationFirst,+ );+ return;+ }+ await FilesService.instance.bulkEditLocationData(+ widget.files,+ selectedLocation.value!,+ context,+ );+ Navigator.of(context).pop();+ },+ heroTag: 'add-location',+ ),+ ],+ ),+ ),+ ValueListenableBuilder(+ valueListenable: hasSelectedLocation,+ builder: (context, value, _) {+ return value+ ? Positioned(+ bottom: 32,+ top: 0,+ left: 0,+ right: 0,+ child: Stack(+ alignment: Alignment.center,+ children: [+ ValueListenableBuilder(+ valueListenable: isDragging,+ builder: (context, value, child) {+ return AnimatedContainer(+ curve: Curves.easeInOut,+ duration: const Duration(milliseconds: 200),+ height: value ? 32 : 16,+ child: child,+ );+ },+ child: const Icon(+ Icons.location_on,+ color: Color.fromARGB(255, 250, 34, 19),+ size: 32,+ ),+ ),+ Transform(+ transform: Matrix4.translationValues(0, 21, 0),+ child: Container(+ height: 2,+ width: 12,+ decoration: BoxDecoration(+ boxShadow: shadowMenuDark,+ ),+ ),+ ),+ ],+ ),+ )+ : const SizedBox.shrink();+ },+ ),+ ],+ );+ }+ }++ class UpdateLocationInfo extends StatefulWidget {+ const UpdateLocationInfo({super.key});++ @override+ State<UpdateLocationInfo> createState() => _UpdateLocationInfoState();+ }++ class _UpdateLocationInfoState extends State<UpdateLocationInfo> {+ bool showSelectLocationText = false;++ @override+ initState() {+ super.initState();+ Future.delayed(const Duration(seconds: 3), () {+ setState(() {+ showSelectLocationText = true;+ });+ });+ }++ @override+ Widget build(BuildContext context) {+ return AnimatedCrossFade(+ duration: const Duration(milliseconds: 200),+ firstCurve: Curves.easeInOutExpo,+ secondCurve: Curves.easeInOutExpo,+ sizeCurve: Curves.easeInOutExpo,+ crossFadeState: showSelectLocationText+ ? CrossFadeState.showFirst+ : CrossFadeState.showSecond,+ firstChild: Text(+ S.of(context).selectALocation,+ style: getEnteTextTheme(context).mini,+ ),+ secondChild: Text(+ S.of(context).editsToLocationWillOnlyBeSeenWithinEnte,+ style: getEnteTextTheme(context).mini,+ ),+ layoutBuilder: (topChild, topChildKey, bottomChild, bottomChildKey) {+ return Stack(+ alignment: Alignment.center,+ children: [+ Positioned(+ top: 0,+ key: bottomChildKey,+ child: bottomChild,+ // top: 0,+ ),+ Positioned(+ key: topChildKey,+ child: topChild,+ ),+ ],+ );+ },+ );+ }+ }