From e3fce4c1d7419a64218c2516b4c4a84943150368 Mon Sep 17 00:00:00 2001 From: bohdanprog Date: Mon, 6 May 2024 10:44:13 +0200 Subject: [PATCH] rollback env changes add translations --- messages/en.json | 14 ++++++++++++-- .../Navigation/ScreenGroups/AppScreens.tsx | 2 +- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/messages/en.json b/messages/en.json index 30f50c3b8..73551430a 100644 --- a/messages/en.json +++ b/messages/en.json @@ -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?" }, @@ -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?" @@ -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", diff --git a/src/frontend/Navigation/ScreenGroups/AppScreens.tsx b/src/frontend/Navigation/ScreenGroups/AppScreens.tsx index d5fabfafd..107663147 100644 --- a/src/frontend/Navigation/ScreenGroups/AppScreens.tsx +++ b/src/frontend/Navigation/ScreenGroups/AppScreens.tsx @@ -192,7 +192,7 @@ const HomeTabs = () => { }} /> - {true && ( + {process.env.FEATURE_TRACKS && (