diff --git a/i18n/en.json b/i18n/en.json index 6d683dfc55..2db9976fa6 100644 --- a/i18n/en.json +++ b/i18n/en.json @@ -5,6 +5,7 @@ "new_pin_code": "New PIN code", "setup_pin_code": "Setup a PIN code", "confirm_new_pin_code": "Confirm new PIN code", + "change_pin_code": "Change PIN code", "unable_to_change_pin_code": "Unable to change PIN code", "unable_to_setup_pin_code": "Unable to setup PIN code", "pin_code_changed_successfully": "Successfully changed PIN code", diff --git a/web/src/lib/components/user-settings-page/PinCodeSettings.svelte b/web/src/lib/components/user-settings-page/PinCodeSettings.svelte index ef122b14e7..4839b2d58c 100644 --- a/web/src/lib/components/user-settings-page/PinCodeSettings.svelte +++ b/web/src/lib/components/user-settings-page/PinCodeSettings.svelte @@ -79,7 +79,7 @@ <form autocomplete="off" onsubmit={handleSubmit} class="mt-6"> <div class="flex flex-col gap-6 place-items-center place-content-center"> {#if hasPinCode} - <p class="text-dark">Change PIN code</p> + <p class="text-dark">{$t('change_pin_code')}</p> <PinCodeInput label={$t('current_pin_code')} bind:value={currentPinCode} tabindexStart={1} pinLength={6} /> <PinCodeInput label={$t('new_pin_code')} bind:value={newPinCode} tabindexStart={7} pinLength={6} />