From 5a8974d663222302da5900bc2eb96c52f0a82d64 Mon Sep 17 00:00:00 2001 From: Tim R Date: Tue, 27 Feb 2024 14:26:30 -0600 Subject: [PATCH] Updated copy/translations --- packages/components/src/utils/OSfunctions.tsx | 4 ++-- packages/components/src/utils/translation/en.json | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/packages/components/src/utils/OSfunctions.tsx b/packages/components/src/utils/OSfunctions.tsx index d42f04a5..0509dad1 100644 --- a/packages/components/src/utils/OSfunctions.tsx +++ b/packages/components/src/utils/OSfunctions.tsx @@ -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')) { diff --git a/packages/components/src/utils/translation/en.json b/packages/components/src/utils/translation/en.json index 9407a23a..77a39884 100644 --- a/packages/components/src/utils/translation/en.json +++ b/packages/components/src/utils/translation/en.json @@ -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}}" } \ No newline at end of file