diff --git a/public/locales/en/common.json b/public/locales/en/common.json index 3710f2fd1..a28e7cf51 100644 --- a/public/locales/en/common.json +++ b/public/locales/en/common.json @@ -7,6 +7,9 @@ "delete": "Delete", "ok": "OK", "edit": "Edit", + "next": "Next", + "previous": "Previous", + "confirm": "Confirm", "enabled": "Enabled", "disabled": "Disabled", "enableAll": "Enable all", diff --git a/public/locales/en/manage/users/create.json b/public/locales/en/manage/users/create.json index fa065928e..c8c34de42 100644 --- a/public/locales/en/manage/users/create.json +++ b/public/locales/en/manage/users/create.json @@ -52,11 +52,7 @@ } }, "buttons": { - "next": "Next", - "previous": "Previous", - "confirm": "Confirm", "generateRandomPassword": "Generate random", - "createAnother": "Create another", - "goBack": "Go back to users" + "createAnother": "Create another" } } \ No newline at end of file diff --git a/src/components/Manage/User/Create/create-account-step.tsx b/src/components/Manage/User/Create/create-account-step.tsx index de4554856..d6fdcdc1c 100644 --- a/src/components/Manage/User/Create/create-account-step.tsx +++ b/src/components/Manage/User/Create/create-account-step.tsx @@ -60,7 +60,7 @@ export const CreateAccountStep = ({ variant="light" px="xl" > - {t('buttons.next')} + {t('common:next')} diff --git a/src/components/Manage/User/Create/review-input-step.tsx b/src/components/Manage/User/Create/review-input-step.tsx index 779ab1765..e5f38a9a9 100644 --- a/src/components/Manage/User/Create/review-input-step.tsx +++ b/src/components/Manage/User/Create/review-input-step.tsx @@ -89,7 +89,7 @@ export const ReviewInputStep = ({ values, prevStep, nextStep }: ReviewInputStepP diff --git a/src/components/Manage/User/Create/security-step.tsx b/src/components/Manage/User/Create/security-step.tsx index cebae996c..1cbcf573a 100644 --- a/src/components/Manage/User/Create/security-step.tsx +++ b/src/components/Manage/User/Create/security-step.tsx @@ -133,7 +133,7 @@ export const CreateAccountSecurityStep = ({ diff --git a/src/pages/manage/users/create.tsx b/src/pages/manage/users/create.tsx index 5ca9ded6c..3f200e431 100644 --- a/src/pages/manage/users/create.tsx +++ b/src/pages/manage/users/create.tsx @@ -113,7 +113,7 @@ const CreateNewUserPage = () => { variant="default" href="/manage/users" > - {t('buttons.goBack')} + {t('common:back')}