Update i18n.ts

This commit is contained in:
Joseph Garrone 2023-02-08 13:55:07 +01:00 committed by GitHub
parent 1539980f66
commit c206c058e4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -9,20 +9,20 @@ export function useI18n(props: Props) {
"extraMessages": { "extraMessages": {
"en": { "en": {
"alphanumericalCharsOnly": "Only alphanumerical characters", "alphanumericalCharsOnly": "Only alphanumerical characters",
"gender": "Gender", "gender": "Gender",
// Here we overwrite the default english value for the message "doForgotPassword" // Here we overwrite the default english value for the message "doForgotPassword"
// that is "Forgot Password?" see: https://github.com/InseeFrLab/keycloakify/blob/f0ae5ea908e0aa42391af323b6d5e2fd371af851/src/lib/i18n/generated_messages/18.0.1/login/en.ts#L17 // that is "Forgot Password?" see: https://github.com/InseeFrLab/keycloakify/blob/f0ae5ea908e0aa42391af323b6d5e2fd371af851/src/lib/i18n/generated_messages/18.0.1/login/en.ts#L17
"doForgotPassword": "I forgot my password", "doForgotPassword": "I forgot my password",
}, },
"fr": { "fr": {
/* spell-checker: disable */ /* spell-checker: disable */
"alphanumericalCharsOnly": "Caractère alphanumérique uniquement", "alphanumericalCharsOnly": "Caractère alphanumérique uniquement",
"gender": "Genre", "gender": "Genre",
"doForgotPassword": "J'ai oublié mon mot de passe" "doForgotPassword": "J'ai oublié mon mot de passe"
/* spell-checker: enable */ /* spell-checker: enable */
}, },
}, },
}); });
} }
export type I18n = NonNullable<ReturnType<typeof useI18n>>; export type I18n = NonNullable<ReturnType<typeof useI18n>>;