From b4cf5761fa08e8a8639093cf2517cceba14cecef Mon Sep 17 00:00:00 2001 From: ashilkn Date: Sat, 9 Mar 2024 16:44:24 +0530 Subject: [PATCH] remove unused translation --- mobile/lib/generated/intl/messages_de.dart | 2 -- mobile/lib/generated/intl/messages_en.dart | 2 -- mobile/lib/generated/intl/messages_es.dart | 2 -- mobile/lib/generated/intl/messages_fr.dart | 2 -- mobile/lib/generated/intl/messages_it.dart | 2 -- mobile/lib/generated/intl/messages_nl.dart | 2 -- mobile/lib/generated/intl/messages_pt.dart | 2 -- mobile/lib/generated/intl/messages_zh.dart | 4 +--- mobile/lib/generated/l10n.dart | 10 ---------- mobile/lib/l10n/intl_de.arb | 1 - mobile/lib/l10n/intl_en.arb | 1 - mobile/lib/l10n/intl_es.arb | 1 - mobile/lib/l10n/intl_fr.arb | 1 - mobile/lib/l10n/intl_it.arb | 1 - mobile/lib/l10n/intl_nl.arb | 1 - mobile/lib/l10n/intl_pt.arb | 1 - mobile/lib/l10n/intl_zh.arb | 1 - mobile/lib/ui/viewer/search/search_widget.dart | 3 +-- 18 files changed, 2 insertions(+), 37 deletions(-) diff --git a/mobile/lib/generated/intl/messages_de.dart b/mobile/lib/generated/intl/messages_de.dart index 2c766c0a9..e16b99885 100644 --- a/mobile/lib/generated/intl/messages_de.dart +++ b/mobile/lib/generated/intl/messages_de.dart @@ -1199,8 +1199,6 @@ class MessageLookup extends MessageLookupByLibrary { "searchHint4": MessageLookupByLibrary.simpleMessage("Ort"), "searchHint5": MessageLookupByLibrary.simpleMessage( "Demnächst: Gesichter & magische Suche ✨"), - "searchHintText": MessageLookupByLibrary.simpleMessage( - "Alben, Monate, Tage, Jahre, ..."), "searchLocationEmptySection": MessageLookupByLibrary.simpleMessage( "Gruppiere Fotos, die innerhalb des Radius eines bestimmten Fotos aufgenommen wurden"), "searchPeopleEmptySection": MessageLookupByLibrary.simpleMessage( diff --git a/mobile/lib/generated/intl/messages_en.dart b/mobile/lib/generated/intl/messages_en.dart index 96ee8f8b0..e04559e3f 100644 --- a/mobile/lib/generated/intl/messages_en.dart +++ b/mobile/lib/generated/intl/messages_en.dart @@ -1171,8 +1171,6 @@ class MessageLookup extends MessageLookupByLibrary { "searchHint4": MessageLookupByLibrary.simpleMessage("Location"), "searchHint5": MessageLookupByLibrary.simpleMessage( "Coming soon: Faces & magic search ✨"), - "searchHintText": MessageLookupByLibrary.simpleMessage( - "Albums, months, days, years, ..."), "searchLocationEmptySection": MessageLookupByLibrary.simpleMessage( "Group photos that are taken within some radius of a photo"), "searchPeopleEmptySection": MessageLookupByLibrary.simpleMessage( diff --git a/mobile/lib/generated/intl/messages_es.dart b/mobile/lib/generated/intl/messages_es.dart index a33d6e88a..1f9efc5e4 100644 --- a/mobile/lib/generated/intl/messages_es.dart +++ b/mobile/lib/generated/intl/messages_es.dart @@ -1036,8 +1036,6 @@ class MessageLookup extends MessageLookupByLibrary { MessageLookupByLibrary.simpleMessage("Nombre del álbum"), "searchByExamples": MessageLookupByLibrary.simpleMessage( "• Nombres de álbumes (por ejemplo, \"Cámara\")\n• Tipos de archivos (por ejemplo, \"Videos\", \".gif\")\n• Años y meses (por ejemplo, \"2022\", \"Enero\")\n• Vacaciones (por ejemplo, \"Navidad\")\n• Descripciones fotográficas (por ejemplo, \"#diversión\")"), - "searchHintText": MessageLookupByLibrary.simpleMessage( - "Álbunes, meses, días, años, ..."), "security": MessageLookupByLibrary.simpleMessage("Seguridad"), "selectALocation": MessageLookupByLibrary.simpleMessage("Select a location"), diff --git a/mobile/lib/generated/intl/messages_fr.dart b/mobile/lib/generated/intl/messages_fr.dart index 39287c79a..a8fa5e887 100644 --- a/mobile/lib/generated/intl/messages_fr.dart +++ b/mobile/lib/generated/intl/messages_fr.dart @@ -1194,8 +1194,6 @@ class MessageLookup extends MessageLookupByLibrary { "searchHint4": MessageLookupByLibrary.simpleMessage("Emplacement"), "searchHint5": MessageLookupByLibrary.simpleMessage( "Bientôt: Visages & recherche magique ✨"), - "searchHintText": MessageLookupByLibrary.simpleMessage( - "Albums, mois, jours, années, ..."), "searchLocationEmptySection": MessageLookupByLibrary.simpleMessage( "Grouper les photos qui sont prises dans un certain angle d\'une photo"), "searchPeopleEmptySection": MessageLookupByLibrary.simpleMessage( diff --git a/mobile/lib/generated/intl/messages_it.dart b/mobile/lib/generated/intl/messages_it.dart index 29367dd33..b2d9a085a 100644 --- a/mobile/lib/generated/intl/messages_it.dart +++ b/mobile/lib/generated/intl/messages_it.dart @@ -1130,8 +1130,6 @@ class MessageLookup extends MessageLookupByLibrary { MessageLookupByLibrary.simpleMessage("Nome album"), "searchByExamples": MessageLookupByLibrary.simpleMessage( "• Nomi degli album (es. \"Camera\")\n• Tipi di file (es. \"Video\", \".gif\")\n• Anni e mesi (e.. \"2022\", \"gennaio\")\n• Vacanze (ad es. \"Natale\")\n• Descrizioni delle foto (ad es. “#mare”)"), - "searchHintText": MessageLookupByLibrary.simpleMessage( - "Album, mesi, giorni, anni, ..."), "security": MessageLookupByLibrary.simpleMessage("Sicurezza"), "selectALocation": MessageLookupByLibrary.simpleMessage("Select a location"), diff --git a/mobile/lib/generated/intl/messages_nl.dart b/mobile/lib/generated/intl/messages_nl.dart index 6b2b97ff8..1e09286c9 100644 --- a/mobile/lib/generated/intl/messages_nl.dart +++ b/mobile/lib/generated/intl/messages_nl.dart @@ -1218,8 +1218,6 @@ class MessageLookup extends MessageLookupByLibrary { "searchHint4": MessageLookupByLibrary.simpleMessage("Locatie"), "searchHint5": MessageLookupByLibrary.simpleMessage( "Binnenkort beschikbaar: Gezichten & magische zoekopdrachten ✨"), - "searchHintText": MessageLookupByLibrary.simpleMessage( - "Albums, maanden, dagen, jaren, ..."), "searchLocationEmptySection": MessageLookupByLibrary.simpleMessage( "Foto\'s groeperen die in een bepaalde straal van een foto worden genomen"), "searchPeopleEmptySection": MessageLookupByLibrary.simpleMessage( diff --git a/mobile/lib/generated/intl/messages_pt.dart b/mobile/lib/generated/intl/messages_pt.dart index 49043b366..73acbc58e 100644 --- a/mobile/lib/generated/intl/messages_pt.dart +++ b/mobile/lib/generated/intl/messages_pt.dart @@ -1213,8 +1213,6 @@ class MessageLookup extends MessageLookupByLibrary { "searchHint4": MessageLookupByLibrary.simpleMessage("Local"), "searchHint5": MessageLookupByLibrary.simpleMessage( "Em breve: Rostos e busca mágica ✨"), - "searchHintText": MessageLookupByLibrary.simpleMessage( - "Álbuns, meses, dias, anos, ..."), "searchLocationEmptySection": MessageLookupByLibrary.simpleMessage( "Fotos de grupo que estão sendo tiradas em algum raio da foto"), "searchPeopleEmptySection": MessageLookupByLibrary.simpleMessage( diff --git a/mobile/lib/generated/intl/messages_zh.dart b/mobile/lib/generated/intl/messages_zh.dart index 317acc585..2826de6cb 100644 --- a/mobile/lib/generated/intl/messages_zh.dart +++ b/mobile/lib/generated/intl/messages_zh.dart @@ -980,9 +980,7 @@ class MessageLookup extends MessageLookupByLibrary { "searchHint3": MessageLookupByLibrary.simpleMessage("相册、文件名和类型"), "searchHint4": MessageLookupByLibrary.simpleMessage("位置"), "searchHint5": MessageLookupByLibrary.simpleMessage("即将到来:面部和魔法搜索✨"), - "searchHintText": MessageLookupByLibrary.simpleMessage("相册,月,日,年,..."), - "searchLocationEmptySection": - MessageLookupByLibrary.simpleMessage("在照片的一定半径内拍摄的几组照片"), + MessageLookupByLibrary.simpleMessage("在照片的一定半径内拍摄的几组照片"), "searchPeopleEmptySection": MessageLookupByLibrary.simpleMessage("邀请他人,您将在此看到他们分享的所有照片"), "searchResultCount": m44, diff --git a/mobile/lib/generated/l10n.dart b/mobile/lib/generated/l10n.dart index 8940c16fb..69c18c5dd 100644 --- a/mobile/lib/generated/l10n.dart +++ b/mobile/lib/generated/l10n.dart @@ -5785,16 +5785,6 @@ class S { ); } - /// `Albums, months, days, years, ...` - String get searchHintText { - return Intl.message( - 'Albums, months, days, years, ...', - name: 'searchHintText', - desc: '', - args: [], - ); - } - /// `• Album names (e.g. "Camera")\n• Types of files (e.g. "Videos", ".gif")\n• Years and months (e.g. "2022", "January")\n• Holidays (e.g. "Christmas")\n• Photo descriptions (e.g. “#fun”)` String get searchByExamples { return Intl.message( diff --git a/mobile/lib/l10n/intl_de.arb b/mobile/lib/l10n/intl_de.arb index 0e99c86f8..5e23c4adf 100644 --- a/mobile/lib/l10n/intl_de.arb +++ b/mobile/lib/l10n/intl_de.arb @@ -810,7 +810,6 @@ "archiveAlbum": "Album archivieren", "calculating": "Wird berechnet...", "pleaseWaitDeletingAlbum": "Bitte warten, Album wird gelöscht", - "searchHintText": "Alben, Monate, Tage, Jahre, ...", "searchByExamples": "• Albumnamen (z.B. \"Kamera\")\n• Dateitypen (z.B. \"Videos\", \".gif\")\n• Jahre und Monate (z.B. \"2022\", \"Januar\")\n• Feiertage (z.B. \"Weihnachten\")\n• Fotobeschreibungen (z.B. \"#fun\")", "youCanTrySearchingForADifferentQuery": "Sie können versuchen, nach einer anderen Abfrage suchen.", "noResultsFound": "Keine Ergebnisse gefunden", diff --git a/mobile/lib/l10n/intl_en.arb b/mobile/lib/l10n/intl_en.arb index b999b0905..1a7de6015 100644 --- a/mobile/lib/l10n/intl_en.arb +++ b/mobile/lib/l10n/intl_en.arb @@ -819,7 +819,6 @@ "archiveAlbum": "Archive album", "calculating": "Calculating...", "pleaseWaitDeletingAlbum": "Please wait, deleting album", - "searchHintText": "Albums, months, days, years, ...", "searchByExamples": "• Album names (e.g. \"Camera\")\n• Types of files (e.g. \"Videos\", \".gif\")\n• Years and months (e.g. \"2022\", \"January\")\n• Holidays (e.g. \"Christmas\")\n• Photo descriptions (e.g. “#fun”)", "youCanTrySearchingForADifferentQuery": "You can try searching for a different query.", "noResultsFound": "No results found", diff --git a/mobile/lib/l10n/intl_es.arb b/mobile/lib/l10n/intl_es.arb index d9f69970f..3acbce2fb 100644 --- a/mobile/lib/l10n/intl_es.arb +++ b/mobile/lib/l10n/intl_es.arb @@ -746,7 +746,6 @@ "archiveAlbum": "Archivar álbum", "calculating": "Calculando...", "pleaseWaitDeletingAlbum": "Por favor espere, borrando álbum", - "searchHintText": "Álbunes, meses, días, años, ...", "searchByExamples": "• Nombres de álbumes (por ejemplo, \"Cámara\")\n• Tipos de archivos (por ejemplo, \"Videos\", \".gif\")\n• Años y meses (por ejemplo, \"2022\", \"Enero\")\n• Vacaciones (por ejemplo, \"Navidad\")\n• Descripciones fotográficas (por ejemplo, \"#diversión\")", "youCanTrySearchingForADifferentQuery": "Puedes intentar buscar una consulta diferente.", "noResultsFound": "No se han encontrado resultados", diff --git a/mobile/lib/l10n/intl_fr.arb b/mobile/lib/l10n/intl_fr.arb index 87d792c7b..3212a9693 100644 --- a/mobile/lib/l10n/intl_fr.arb +++ b/mobile/lib/l10n/intl_fr.arb @@ -794,7 +794,6 @@ "archiveAlbum": "Archiver l'album", "calculating": "Calcul en cours...", "pleaseWaitDeletingAlbum": "Veuillez patienter, suppression de l'album", - "searchHintText": "Albums, mois, jours, années, ...", "searchByExamples": "• Noms d'albums (par exemple \"Caméra\")\n• Types de fichiers (par exemple \"Vidéos\", \".gif\")\n• Années et mois (par exemple \"2022\", \"Janvier\")\n• Vacances (par exemple \"Noël\")\n• Descriptions de photos (par exemple \"#fun\")", "youCanTrySearchingForADifferentQuery": "Vous pouvez essayer de rechercher une autre requête.", "noResultsFound": "Aucun résultat trouvé", diff --git a/mobile/lib/l10n/intl_it.arb b/mobile/lib/l10n/intl_it.arb index 83fa1d054..c28a263be 100644 --- a/mobile/lib/l10n/intl_it.arb +++ b/mobile/lib/l10n/intl_it.arb @@ -794,7 +794,6 @@ "archiveAlbum": "Archivia album", "calculating": "Calcolando...", "pleaseWaitDeletingAlbum": "Attendere, sto eliminando l'album", - "searchHintText": "Album, mesi, giorni, anni, ...", "searchByExamples": "• Nomi degli album (es. \"Camera\")\n• Tipi di file (es. \"Video\", \".gif\")\n• Anni e mesi (e.. \"2022\", \"gennaio\")\n• Vacanze (ad es. \"Natale\")\n• Descrizioni delle foto (ad es. “#mare”)", "youCanTrySearchingForADifferentQuery": "Prova con una ricerca differente.", "noResultsFound": "Nessun risultato trovato", diff --git a/mobile/lib/l10n/intl_nl.arb b/mobile/lib/l10n/intl_nl.arb index ef9d9e433..4cdd968f2 100644 --- a/mobile/lib/l10n/intl_nl.arb +++ b/mobile/lib/l10n/intl_nl.arb @@ -819,7 +819,6 @@ "archiveAlbum": "Album archiveren", "calculating": "Berekenen...", "pleaseWaitDeletingAlbum": "Een ogenblik geduld, album wordt verwijderd", - "searchHintText": "Albums, maanden, dagen, jaren, ...", "searchByExamples": "• Albumnamen (bijv. \"Camera\")\n• Types van bestanden (bijv. \"Video's\", \".gif\")\n• Jaren en maanden (bijv. \"2022\", \"januari\")\n• Feestdagen (bijv. \"Kerstmis\")\n• Fotobeschrijvingen (bijv. \"#fun\")", "youCanTrySearchingForADifferentQuery": "U kunt proberen een andere zoekopdracht te vinden.", "noResultsFound": "Geen resultaten gevonden", diff --git a/mobile/lib/l10n/intl_pt.arb b/mobile/lib/l10n/intl_pt.arb index 668d40c2b..95ba551ec 100644 --- a/mobile/lib/l10n/intl_pt.arb +++ b/mobile/lib/l10n/intl_pt.arb @@ -819,7 +819,6 @@ "archiveAlbum": "Arquivar álbum", "calculating": "Calculando...", "pleaseWaitDeletingAlbum": "Por favor, aguarde, excluindo álbum", - "searchHintText": "Álbuns, meses, dias, anos, ...", "searchByExamples": "• Nomes de álbuns (ex: \"Câmera\")\n• Tipos de arquivos (ex.: \"Vídeos\", \".gif\")\n• Anos e meses (e.. \"2022\", \"Janeiro\")\n• Feriados (por exemplo, \"Natal\")\n• Descrições de fotos (por exemplo, \"#divertido\")", "youCanTrySearchingForADifferentQuery": "Você pode tentar procurar uma consulta diferente.", "noResultsFound": "Nenhum resultado encontrado", diff --git a/mobile/lib/l10n/intl_zh.arb b/mobile/lib/l10n/intl_zh.arb index d8cbd00e3..af13ca24a 100644 --- a/mobile/lib/l10n/intl_zh.arb +++ b/mobile/lib/l10n/intl_zh.arb @@ -819,7 +819,6 @@ "archiveAlbum": "存档相册", "calculating": "正在计算...", "pleaseWaitDeletingAlbum": "请稍候,正在删除相册", - "searchHintText": "相册,月,日,年,...", "searchByExamples": "• 相册名称(例如“相机”)\n• 文件类型(例如“视频”、“.gif”)\n• 年份和月份(例如“2022”、“一月”)\n• 假期(例如“圣诞节”)\n• 照片说明(例如“#和女儿独居,好开心啊”)", "youCanTrySearchingForADifferentQuery": "您可以尝试搜索不同的查询。", "noResultsFound": "未找到任何结果", diff --git a/mobile/lib/ui/viewer/search/search_widget.dart b/mobile/lib/ui/viewer/search/search_widget.dart index 177a56922..c624a78b3 100644 --- a/mobile/lib/ui/viewer/search/search_widget.dart +++ b/mobile/lib/ui/viewer/search/search_widget.dart @@ -139,10 +139,9 @@ class SearchWidgetState extends State { autocorrect: false, // Above parameters are to disable auto-suggestion decoration: InputDecoration( - // hintText: S.of(context).searchHintText, + //TODO: Extract string hintText: "Search", filled: true, - border: const UnderlineInputBorder( borderSide: BorderSide.none, ),