Skip to content

Commit

Permalink
rollback env changes add translations
Browse files Browse the repository at this point in the history
  • Loading branch information
bohdanprog committed May 6, 2024
1 parent 36f88dd commit e3fce4c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
14 changes: 12 additions & 2 deletions messages/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,15 @@
"description": "Title of dialog that shows when cancelling a new observation",
"message": "Discard observation?"
},
"Modal.DiscardTrack.defaultButton": {
"message": "Continue Editing"
},
"Modal.DiscardTrack.description": {
"message": "Your Track will not be saved. This cannot be undone."
},
"Modal.DiscardTrack.discardButton": {
"message": "Discard Track"
},
"Modal.DiscardTrack.title": {
"message": "Discard Track?"
},
Expand Down Expand Up @@ -563,6 +569,10 @@
"description": "Title for new track screen",
"message": "New Track"
},
"screens.SaveTrack.TrackCreateView.title": {
"description": "Title for new track screen",
"message": "New Track"
},
"screens.SaveTrack.TrackEditView.descriptionPlaceholder": {
"description": "Placeholder for description/notes field",
"message": "What is happening here?"
Expand All @@ -576,8 +586,8 @@
"message": "Details"
},
"screens.SaveTrack.TrackEditView.title": {
"description": "Title for new track screen",
"message": "New Track"
"description": "Title for edit track screen",
"message": "Edit Track"
},
"screens.SaveTrack.track": {
"description": "Category title for new track screen",
Expand Down
2 changes: 1 addition & 1 deletion src/frontend/Navigation/ScreenGroups/AppScreens.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ const HomeTabs = () => {
}}
/>

{true && (
{process.env.FEATURE_TRACKS && (
<Tab.Screen
name="Tracking"
options={{
Expand Down

0 comments on commit e3fce4c

Please sign in to comment.