Skip to content

Commit

Permalink
fix(mobile): fix translations on search page (#14533)
Browse files Browse the repository at this point in the history
* Update en-US.json

* Update search.page.dart
  • Loading branch information
Cotterman-b authored Dec 7, 2024
1 parent 5e955a1 commit e99edc4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion mobile/assets/i18n/en-US.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -653,4 +654,4 @@
"viewer_unstack": "Un-Stack",
"wifi_name": "WiFi Name",
"your_wifi_name": "Your WiFi name"
}
}
2 changes: 1 addition & 1 deletion mobile/lib/pages/search/search.page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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,
),
),
Expand Down

0 comments on commit e99edc4

Please sign in to comment.