diff options
Diffstat (limited to 'packages/demobank-ui/src/pages/account/UpdateAccountPassword.tsx')
-rw-r--r-- | packages/demobank-ui/src/pages/account/UpdateAccountPassword.tsx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/packages/demobank-ui/src/pages/account/UpdateAccountPassword.tsx b/packages/demobank-ui/src/pages/account/UpdateAccountPassword.tsx index 3b35c1fe1..4dcce599d 100644 --- a/packages/demobank-ui/src/pages/account/UpdateAccountPassword.tsx +++ b/packages/demobank-ui/src/pages/account/UpdateAccountPassword.tsx @@ -69,13 +69,13 @@ export function UpdateAccountPassword({ current: !accountIsTheCurrentUser ? undefined : !current - ? i18n.str`required` + ? i18n.str`Required` : undefined, - password: !password ? i18n.str`required` : undefined, + password: !password ? i18n.str`Required` : undefined, repeat: !repeat - ? i18n.str`required` + ? i18n.str`Required` : password !== repeat - ? i18n.str`password doesn't match` + ? i18n.str`Repeated password doesn't match` : undefined, }); const [notification, notify, handleError] = useLocalNotification(); @@ -214,7 +214,7 @@ export function UpdateAccountPassword({ /> </div> <p class="mt-2 text-sm text-gray-500"> - <i18n.Translate>repeat the same password</i18n.Translate> + <i18n.Translate>Repeat the same password</i18n.Translate> </p> </div> @@ -246,7 +246,7 @@ export function UpdateAccountPassword({ </div> <p class="mt-2 text-sm text-gray-500"> <i18n.Translate> - your current password, for security + Your current password, for security </i18n.Translate> </p> </div> |