From e99edc47b7a6298f62bad7f3d12389b51472ca02 Mon Sep 17 00:00:00 2001 From: Cotterman-b <119392287+Cotterman-b@users.noreply.github.com> Date: Sat, 7 Dec 2024 10:46:19 -0600 Subject: [PATCH] fix(mobile): fix translations on search page (#14533) * Update en-US.json * Update search.page.dart --- mobile/assets/i18n/en-US.json | 3 ++- mobile/lib/pages/search/search.page.dart | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/mobile/assets/i18n/en-US.json b/mobile/assets/i18n/en-US.json index 6fb2ed4ff5..46e9758d85 100644 --- a/mobile/assets/i18n/en-US.json +++ b/mobile/assets/i18n/en-US.json @@ -482,6 +482,7 @@ "search_page_places": "Places", "search_page_recently_added": "Recently added", "search_page_screenshots": "Screenshots", + "search_page_search_photos_videos": "Search for your photos and videos", "search_page_selfies": "Selfies", "search_page_things": "Things", "search_page_videos": "Videos", @@ -653,4 +654,4 @@ "viewer_unstack": "Un-Stack", "wifi_name": "WiFi Name", "your_wifi_name": "Your WiFi name" -} \ No newline at end of file +} diff --git a/mobile/lib/pages/search/search.page.dart b/mobile/lib/pages/search/search.page.dart index 9f2ddee446..01119485cf 100644 --- a/mobile/lib/pages/search/search.page.dart +++ b/mobile/lib/pages/search/search.page.dart @@ -680,7 +680,7 @@ class SearchEmptyContent extends StatelessWidget { const SizedBox(height: 16), Center( child: Text( - "Search for your photos and videos", + 'search_page_search_photos_videos'.tr(), style: context.textTheme.labelLarge, ), ),