Skip to content

Commit

Permalink
Rename search to Reports
Browse files Browse the repository at this point in the history
  • Loading branch information
puneetlath committed Dec 12, 2024
1 parent 9169920 commit 2739c9f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions src/languages/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,7 @@ const translations = {
optional: 'Optional',
new: 'New',
search: 'Search',
reports: 'Reports',
find: 'Find',
searchWithThreeDots: 'Search...',
next: 'Next',
Expand Down
1 change: 1 addition & 0 deletions src/languages/es.ts
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,7 @@ const translations = {
new: 'Nuevo',
center: 'Centrar',
search: 'Buscar',
reports: 'Informes',
find: 'Encontrar',
searchWithThreeDots: 'Buscar...',
select: 'Seleccionar',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ function BottomTabBar({selectedTab}: BottomTabBarProps) {
<PressableWithFeedback
onPress={navigateToSearch}
role={CONST.ROLE.BUTTON}
accessibilityLabel={translate('common.search')}
accessibilityLabel={translate('common.reports')}
wrapperStyle={styles.flex1}
style={styles.bottomTabBarItem}
>
Expand All @@ -184,7 +184,7 @@ function BottomTabBar({selectedTab}: BottomTabBarProps) {
styles.bottomTabBarLabel,
]}
>
{translate('common.search')}
{translate('common.reports')}
</Text>
</PressableWithFeedback>
<BottomTabAvatar isSelected={selectedTab === SCREENS.SETTINGS.ROOT} />
Expand Down
2 changes: 1 addition & 1 deletion src/pages/Search/SearchPageBottomTab.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ function SearchPageBottomTab() {
<View style={[styles.zIndex10, styles.appBG]}>
<TopBar
activeWorkspaceID={policyID}
breadcrumbLabel={translate('common.search')}
breadcrumbLabel={translate('common.reports')}
shouldDisplaySearch={shouldUseNarrowLayout}
shouldDisplayCancelSearch={shouldDisplayCancelSearch}
/>
Expand Down

0 comments on commit 2739c9f

Please sign in to comment.