mirror of
https://github.com/andwati/zitadel.git
synced 2026-11-26 06:18:46 +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
@@ -139,7 +139,7 @@ export function VerifyForm({
|
||||
type="text"
|
||||
autoComplete="one-time-code"
|
||||
{...register("code", { required: t("verify.required.code") })}
|
||||
label="Code"
|
||||
label={t("verify.labels.code")}
|
||||
data-testid="code-text-input"
|
||||
/>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user