From 18054aaa6644a557ff4f154ae1e23c4cbfa3ac5e Mon Sep 17 00:00:00 2001 From: krille-chan Date: Sun, 5 May 2024 14:40:24 +0200 Subject: [PATCH] chore: Follow up search --- assets/l10n/intl_en.arb | 1 + lib/pages/chat_search/chat_search_files_tab.dart | 2 +- lib/pages/chat_search/chat_search_images_tab.dart | 2 +- lib/pages/chat_search/chat_search_message_tab.dart | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/assets/l10n/intl_en.arb b/assets/l10n/intl_en.arb index cad529e89..00f7356f5 100644 --- a/assets/l10n/intl_en.arb +++ b/assets/l10n/intl_en.arb @@ -2540,6 +2540,7 @@ "chat": {} } }, + "searchMore": "Search more...", "gallery": "Gallery", "files": "Files", "databaseBuildErrorBody": "Unable to build the SQlite database. The app tries to use the legacy database for now. Please report this error to the developers at {url}. The error message is: {error}", diff --git a/lib/pages/chat_search/chat_search_files_tab.dart b/lib/pages/chat_search/chat_search_files_tab.dart index db85b2af3..85525ab6f 100644 --- a/lib/pages/chat_search/chat_search_files_tab.dart +++ b/lib/pages/chat_search/chat_search_files_tab.dart @@ -94,7 +94,7 @@ class ChatSearchFilesTab extends StatelessWidget { icon: const Icon( Icons.arrow_downward_outlined, ), - label: const Text('Search more...'), + label: Text(L10n.of(context)!.searchMore), ), ), ); diff --git a/lib/pages/chat_search/chat_search_images_tab.dart b/lib/pages/chat_search/chat_search_images_tab.dart index e48e5c464..9f8c1f0c9 100644 --- a/lib/pages/chat_search/chat_search_images_tab.dart +++ b/lib/pages/chat_search/chat_search_images_tab.dart @@ -103,7 +103,7 @@ class ChatSearchImagesTab extends StatelessWidget { icon: const Icon( Icons.arrow_downward_outlined, ), - label: const Text('Search more...'), + label: Text(L10n.of(context)!.searchMore), ), ), ); diff --git a/lib/pages/chat_search/chat_search_message_tab.dart b/lib/pages/chat_search/chat_search_message_tab.dart index 44f2adf00..7542d6ae9 100644 --- a/lib/pages/chat_search/chat_search_message_tab.dart +++ b/lib/pages/chat_search/chat_search_message_tab.dart @@ -91,7 +91,7 @@ class ChatSearchMessageTab extends StatelessWidget { icon: const Icon( Icons.arrow_downward_outlined, ), - label: const Text('Search more...'), + label: Text(L10n.of(context)!.searchMore), ), ), );