From 1f40fc1de95c5152f32bce7ab68a709e7d461abe Mon Sep 17 00:00:00 2001 From: Eidenz Date: Thu, 14 Jul 2022 03:46:28 +0200 Subject: [PATCH] Add missing translation tag for search_no_objects (#344) * feat(mobile) added french translations * fix(mobile) added missing translation tag for search_no_objects (EN,DE,FR) * fix(mobile) renamed search_no_objects to search_page_no_objects --- mobile/assets/i18n/de-DE.json | 1 + mobile/assets/i18n/en-US.json | 1 + mobile/assets/i18n/fr-FR.json | 1 + mobile/lib/modules/search/views/search_page.dart | 2 +- 4 files changed, 4 insertions(+), 1 deletion(-) diff --git a/mobile/assets/i18n/de-DE.json b/mobile/assets/i18n/de-DE.json index 6a2f6e22e2..b8f3f4c4ae 100644 --- a/mobile/assets/i18n/de-DE.json +++ b/mobile/assets/i18n/de-DE.json @@ -76,6 +76,7 @@ "profile_drawer_sign_out": "Abmelden", "search_bar_hint": "Durchsuche deine Fotos", "search_page_no_places": "Keine Informationen über Orte verfügbar", + "search_page_no_objects": "Keine Objektinformationen verfügbar", "search_page_places": "Orte", "search_page_things": "Dinge", "search_result_page_new_search_hint": "Neue Suche", diff --git a/mobile/assets/i18n/en-US.json b/mobile/assets/i18n/en-US.json index 4a239b09fa..bd3bc152de 100644 --- a/mobile/assets/i18n/en-US.json +++ b/mobile/assets/i18n/en-US.json @@ -77,6 +77,7 @@ "profile_drawer_sign_out": "Sign Out", "search_bar_hint": "Search your photos", "search_page_no_places": "No Places Info Available", + "search_page_no_objects": "No Objects Info Available", "search_page_places": "Places", "search_page_things": "Things", "search_result_page_new_search_hint": "New Search", diff --git a/mobile/assets/i18n/fr-FR.json b/mobile/assets/i18n/fr-FR.json index 281eee8f3c..e33b25a439 100644 --- a/mobile/assets/i18n/fr-FR.json +++ b/mobile/assets/i18n/fr-FR.json @@ -77,6 +77,7 @@ "profile_drawer_sign_out": "Se déconnecter", "search_bar_hint": "Rechercher vos photos", "search_page_no_places": "Aucune information disponible sur la localisation", + "search_page_no_objects": "Aucune information disponible sur les objets", "search_page_places": "Lieux", "search_page_things": "Objets", "search_result_page_new_search_hint": "Nouvelle recherche", diff --git a/mobile/lib/modules/search/views/search_page.dart b/mobile/lib/modules/search/views/search_page.dart index 832c641781..e29e1d97b9 100644 --- a/mobile/lib/modules/search/views/search_page.dart +++ b/mobile/lib/modules/search/views/search_page.dart @@ -140,7 +140,7 @@ class SearchPage extends HookConsumerWidget { return ThumbnailWithInfo( imageUrl: 'https://images.unsplash.com/photo-1612178537253-bccd437b730e?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxzZWFyY2h8NXx8Ymxhbmt8ZW58MHx8MHx8&auto=format&fit=crop&w=700&q=60', - textInfo: 'sarch_no_objects'.tr(), + textInfo: 'search_page_no_objects'.tr(), onTap: () {}, ); }),