Update keycloaky
This commit is contained in:
@ -8,15 +8,17 @@ export const { useI18n } = createUseI18n({
|
||||
en: {
|
||||
alphanumericalCharsOnly: "Only alphanumerical characters",
|
||||
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
|
||||
doForgotPassword: "I forgot my password",
|
||||
invalidUserMessage: "Invalid username or password. (this message was overwrite in the theme)"
|
||||
},
|
||||
fr: {
|
||||
/* spell-checker: disable */
|
||||
alphanumericalCharsOnly: "Caractère alphanumérique uniquement",
|
||||
gender: "Genre",
|
||||
doForgotPassword: "J'ai oublié mon mot de passe"
|
||||
doForgotPassword: "J'ai oublié mon mot de passe",
|
||||
invalidUserMessage: "Nom d'utilisateur ou mot de passe invalide. (ce message a été écrasé dans le thème)"
|
||||
/* spell-checker: enable */
|
||||
}
|
||||
});
|
||||
|
@ -1,6 +1,8 @@
|
||||
import { createGetKcContext } from "keycloakify/login";
|
||||
|
||||
export type KcContextExtension =
|
||||
// WARNING: It's important to keep in sync the extraThemeProperties declared in the package.json and this type definition.
|
||||
| { pageId: "login.ftl"; extraThemeProperties: { foo: string; }; }
|
||||
| { pageId: "my-extra-page-1.ftl"; }
|
||||
| { pageId: "my-extra-page-2.ftl"; someCustomValue: string; }
|
||||
// NOTE: register.ftl is deprecated in favor of register-user-profile.ftl
|
||||
|
Reference in New Issue
Block a user