Update time ticket areas added to use translations

This commit is contained in:
jfrye122
2023-06-05 16:50:12 -04:00
parent 43151aaa2d
commit 0889453998
11 changed files with 235 additions and 84 deletions

View File

@@ -186,7 +186,7 @@ const TimeTicketBrowserStackNavigator = connect(
<TimeTicketBrowserStack.Screen
name="TimeTicketClockOff"
options={() => ({
title: "Clock Off",
title: i18n.t("timeticketclockoff.titles.clockoff"),
})}
component={ScreenTimeTicketClockoffComponent}
/>
@@ -217,7 +217,6 @@ const BottomTabsNavigator = () => (
} else if (route.name === "MediaBrowserTab") {
iconName = "ios-camera";
} else if (route.name === "TimeTicketBrowserTab") {
//ADDED JF check for route.name for TimeTicketBrowserTab. Also icon ios-stopwatch-outline
iconName = "ios-stopwatch-outline";
} else {
//iconName = "customerservice";