From 77f0fb359e00585dacf1d55333259dccf3d17113 Mon Sep 17 00:00:00 2001 From: Carlos Martins Date: Mon, 22 Apr 2024 15:07:08 -0600 Subject: [PATCH 1/2] rename search page --- src/languages/en.ts | 3 ++- src/languages/es.ts | 3 ++- .../AppNavigator/createCustomBottomTabNavigator/TopBar.tsx | 4 ++-- src/pages/ChatFinderPage/index.tsx | 2 +- 4 files changed, 7 insertions(+), 5 deletions(-) diff --git a/src/languages/en.ts b/src/languages/en.ts index e00325837af2..3faff138db9b 100755 --- a/src/languages/en.ts +++ b/src/languages/en.ts @@ -129,6 +129,7 @@ export default { optional: 'Optional', new: 'New', search: 'Search', + find: 'Find', searchWithThreeDots: 'Search...', next: 'Next', previous: 'Previous', @@ -550,7 +551,7 @@ export default { }, }, sidebarScreen: { - buttonSearch: 'Search for something...', + buttonFind: 'Find something...', buttonMySettings: 'My settings', fabNewChat: 'Start chat', fabNewChatExplained: 'Start chat (Floating action)', diff --git a/src/languages/es.ts b/src/languages/es.ts index 5011793b3295..782d14ffe20b 100644 --- a/src/languages/es.ts +++ b/src/languages/es.ts @@ -119,6 +119,7 @@ export default { optional: 'Opcional', new: 'Nuevo', search: 'Buscar', + find: 'Encontrar', searchWithThreeDots: 'Buscar...', select: 'Seleccionar', next: 'Siguiente', @@ -543,7 +544,7 @@ export default { }, }, sidebarScreen: { - buttonSearch: 'Busca algo...', + buttonFind: 'Encuentre algo...', buttonMySettings: 'Mi configuración', fabNewChat: 'Iniciar chat', fabNewChatExplained: 'Iniciar chat (Acción flotante)', diff --git a/src/libs/Navigation/AppNavigator/createCustomBottomTabNavigator/TopBar.tsx b/src/libs/Navigation/AppNavigator/createCustomBottomTabNavigator/TopBar.tsx index a06c9d08c529..d867ae779a9c 100644 --- a/src/libs/Navigation/AppNavigator/createCustomBottomTabNavigator/TopBar.tsx +++ b/src/libs/Navigation/AppNavigator/createCustomBottomTabNavigator/TopBar.tsx @@ -62,9 +62,9 @@ function TopBar({policy, session}: TopBarProps) { {isAnonymousUser ? ( ) : ( - + Navigation.navigate(ROUTES.CHAT_FINDER))} > diff --git a/src/pages/ChatFinderPage/index.tsx b/src/pages/ChatFinderPage/index.tsx index f992fa37d8c5..ccac9bac21ed 100644 --- a/src/pages/ChatFinderPage/index.tsx +++ b/src/pages/ChatFinderPage/index.tsx @@ -169,7 +169,7 @@ function ChatFinderPage({betas, isSearchingForReports, navigation}: ChatFinderPa > From b0947ae70823116c5d9091d5ec349dd4752908a8 Mon Sep 17 00:00:00 2001 From: Carlos Martins Date: Wed, 24 Apr 2024 08:30:29 -0600 Subject: [PATCH 2/2] update missing translation --- src/pages/ChatFinderPage/index.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/pages/ChatFinderPage/index.tsx b/src/pages/ChatFinderPage/index.tsx index ccac9bac21ed..a7516163c40b 100644 --- a/src/pages/ChatFinderPage/index.tsx +++ b/src/pages/ChatFinderPage/index.tsx @@ -168,8 +168,7 @@ function ChatFinderPage({betas, isSearchingForReports, navigation}: ChatFinderPa navigation={navigation} >