From 2739c9fc7cae8e631ed13154570921d36a587674 Mon Sep 17 00:00:00 2001 From: Puneet Lath Date: Thu, 12 Dec 2024 16:35:41 -0500 Subject: [PATCH] Rename search to Reports --- src/languages/en.ts | 1 + src/languages/es.ts | 1 + .../createCustomBottomTabNavigator/BottomTabBar.tsx | 4 ++-- src/pages/Search/SearchPageBottomTab.tsx | 2 +- 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/languages/en.ts b/src/languages/en.ts index 2dece7799259..32d05a6406c6 100755 --- a/src/languages/en.ts +++ b/src/languages/en.ts @@ -229,6 +229,7 @@ const translations = { optional: 'Optional', new: 'New', search: 'Search', + reports: 'Reports', find: 'Find', searchWithThreeDots: 'Search...', next: 'Next', diff --git a/src/languages/es.ts b/src/languages/es.ts index 015f595eb8b3..02733ffc22c4 100644 --- a/src/languages/es.ts +++ b/src/languages/es.ts @@ -220,6 +220,7 @@ const translations = { new: 'Nuevo', center: 'Centrar', search: 'Buscar', + reports: 'Informes', find: 'Encontrar', searchWithThreeDots: 'Buscar...', select: 'Seleccionar', diff --git a/src/libs/Navigation/AppNavigator/createCustomBottomTabNavigator/BottomTabBar.tsx b/src/libs/Navigation/AppNavigator/createCustomBottomTabNavigator/BottomTabBar.tsx index 88a735884493..b478f09c2e01 100644 --- a/src/libs/Navigation/AppNavigator/createCustomBottomTabNavigator/BottomTabBar.tsx +++ b/src/libs/Navigation/AppNavigator/createCustomBottomTabNavigator/BottomTabBar.tsx @@ -163,7 +163,7 @@ function BottomTabBar({selectedTab}: BottomTabBarProps) { @@ -184,7 +184,7 @@ function BottomTabBar({selectedTab}: BottomTabBarProps) { styles.bottomTabBarLabel, ]} > - {translate('common.search')} + {translate('common.reports')} diff --git a/src/pages/Search/SearchPageBottomTab.tsx b/src/pages/Search/SearchPageBottomTab.tsx index bfe378409af7..2b4f1a2dc561 100644 --- a/src/pages/Search/SearchPageBottomTab.tsx +++ b/src/pages/Search/SearchPageBottomTab.tsx @@ -108,7 +108,7 @@ function SearchPageBottomTab() {