mirror of
https://github.com/andwati/zitadel.git
synced 2026-11-28 06:58:54 +00:00
feat(typescript): add i18n for input labels in Login V2 (#10233)
# Which Problems Are Solved - Most inputs have hardcoded label # How the Problems Are Solved - add usage of i18n library for every label - add labels to i18n translation files # Additional Changes - fixed key used in `device-code-form.tsx` by submit button - `v2-default.json` was update and contains all values from login app not only newly added key for labels. # Additional Context N.A --------- Co-authored-by: David Skewis <[email protected]> Co-authored-by: Max Peintner <[email protected]>
This commit is contained in:
co-authored by
David Skewis
Max Peintner
parent
6d0b7ed2aa
commit
832e78f9bc
@@ -122,7 +122,7 @@ export function PasswordForm({
|
||||
type="password"
|
||||
autoComplete="password"
|
||||
{...register("password", { required: t("verify.required.password") })}
|
||||
label="Password"
|
||||
label={t("verify.labels.password")}
|
||||
data-testid="password-text-input"
|
||||
/>
|
||||
{!loginSettings?.hidePasswordReset && (
|
||||
|
||||
Reference in New Issue
Block a user