Skip to content

Commit

Permalink
Merge pull request #208 from department-of-veterans-affairs/feature/1…
Browse files Browse the repository at this point in the history
…96-roettger-UpdateCopyForLeaveAppPrompt

[Feature] Update copy for leave app prompt
  • Loading branch information
TimRoe authored Feb 27, 2024
2 parents c337a5a + 89561ba commit f0b78d6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions packages/components/src/utils/OSfunctions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@ export function useExternalLink(): (
}

const body = text?.body ? text.body : t('leaveAppAlert.body')
const cancel = text?.cancel ? text.cancel : t('cancel')
const confirm = text?.confirm ? text.confirm : t('ok')
const cancel = text?.cancel ? text.cancel : t('goBack')
const confirm = text?.confirm ? text.confirm : t('leave')
const title = text?.title ? text.title : t('leaveAppAlert.title')

if (url.startsWith('http')) {
Expand Down
10 changes: 5 additions & 5 deletions packages/components/src/utils/translation/en.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"cancel": "Cancel",
"leaveAppAlert.body": "You're navigating to a website outside of the app.",
"leaveAppAlert.title": "You’re leaving the app",
"listPosition": "{{position}} of {{total}}",
"ok": "Ok"
"goBack": "Go back",
"leave": "Leave",
"leaveAppAlert.body": "You'll go to a website outside of this app.",
"leaveAppAlert.title": "Leave the mobile app?",
"listPosition": "{{position}} of {{total}}"
}

0 comments on commit f0b78d6

Please sign in to comment.