diff --git a/forms/common-themes/src/main/resources/theme/base/admin/messages/admin-messages_de.properties b/forms/common-themes/src/main/resources/theme/base/admin/messages/admin-messages_de.properties index 6442e6e05a..beaeb4dcc2 100644 --- a/forms/common-themes/src/main/resources/theme/base/admin/messages/admin-messages_de.properties +++ b/forms/common-themes/src/main/resources/theme/base/admin/messages/admin-messages_de.properties @@ -7,6 +7,7 @@ onText=AN offText=AUS client=de Client clear=de Clear +selectOne=de Select One... # Realm settings realm-detail.enabled.tooltip=de Users and clients can only access a realm if it's enabled @@ -114,3 +115,15 @@ not-before.tooltip=de Revoke any tokens issued before this date. set-to-now=de Set To Now push=de Push push.tooltip=de For every client that has an admin URL, notify them of the new revocation policy. + +#Protocol Mapper +usermodel.prop.label=de Property +usermodel.prop.tooltip=de Name of the property method in the UserModel interface. For example, a value of 'email' would reference the UserModel.getEmail() method. +usermodel.attr.label=de User Attribute +usermodel.attr.tooltip=de Name of stored user attribute which is the name of an attribute within the UserModel.attribute map. +userSession.modelNote.label=de User Session Note +userSession.modelNote.tooltip=de Name of stored user session note within the UserSessionModel.note map. +multivalued.label=de Multivalued +multivalued.tooltip=de Indicates if attribute supports multiple values. If true, then the list of all values of this attribute will be set as claim. If false, then just first value will be set as claim +selectRole.label=de Select Role +selectRole.tooltip=de Enter role in the textbox to the left, or click this button to browse and select the role you want diff --git a/forms/common-themes/src/main/resources/theme/base/admin/messages/admin-messages_en.properties b/forms/common-themes/src/main/resources/theme/base/admin/messages/admin-messages_en.properties index be3ef2de22..54044587e4 100644 --- a/forms/common-themes/src/main/resources/theme/base/admin/messages/admin-messages_en.properties +++ b/forms/common-themes/src/main/resources/theme/base/admin/messages/admin-messages_en.properties @@ -7,6 +7,7 @@ onText=ON offText=OFF client=Client clear=Clear +selectOne=Select One... # Realm settings realm-detail.enabled.tooltip=Users and clients can only access a realm if it's enabled @@ -114,3 +115,15 @@ not-before.tooltip=Revoke any tokens issued before this date. set-to-now=Set To Now push=Push push.tooltip=For every client that has an admin URL, notify them of the new revocation policy. + +#Protocol Mapper +usermodel.prop.label=Property +usermodel.prop.tooltip=Name of the property method in the UserModel interface. For example, a value of 'email' would reference the UserModel.getEmail() method. +usermodel.attr.label=User Attribute +usermodel.attr.tooltip=Name of stored user attribute which is the name of an attribute within the UserModel.attribute map. +userSession.modelNote.label=User Session Note +userSession.modelNote.tooltip=Name of stored user session note within the UserSessionModel.note map. +multivalued.label=Multivalued +multivalued.tooltip=Indicates if attribute supports multiple values. If true, then the list of all values of this attribute will be set as claim. If false, then just first value will be set as claim +selectRole.label=Select Role +selectRole.tooltip=Enter role in the textbox to the left, or click this button to browse and select the role you want diff --git a/forms/common-themes/src/main/resources/theme/base/admin/resources/templates/kc-provider-config.html b/forms/common-themes/src/main/resources/theme/base/admin/resources/templates/kc-provider-config.html index 08b76a82b1..54ebdaee3e 100755 --- a/forms/common-themes/src/main/resources/theme/base/admin/resources/templates/kc-provider-config.html +++ b/forms/common-themes/src/main/resources/theme/base/admin/resources/templates/kc-provider-config.html @@ -1,16 +1,16 @@
- +
- +
@@ -19,16 +19,16 @@
- +
- {{option.helpText}} + {{:: option.helpText | translate}} \ No newline at end of file diff --git a/services/src/main/java/org/keycloak/protocol/ProtocolMapperUtils.java b/services/src/main/java/org/keycloak/protocol/ProtocolMapperUtils.java index 829e8635e5..8ba48825c1 100755 --- a/services/src/main/java/org/keycloak/protocol/ProtocolMapperUtils.java +++ b/services/src/main/java/org/keycloak/protocol/ProtocolMapperUtils.java @@ -16,14 +16,14 @@ public class ProtocolMapperUtils { public static final String USER_ATTRIBUTE = "user.attribute"; public static final String USER_SESSION_NOTE = "user.session.note"; public static final String MULTIVALUED = "multivalued"; - public static final String USER_MODEL_PROPERTY_LABEL = "User Property"; - public static final String USER_MODEL_PROPERTY_HELP_TEXT = "Name of the property method in the UserModel interface. For example, a value of 'email' would reference the UserModel.getEmail() method."; - public static final String USER_MODEL_ATTRIBUTE_LABEL = "User Attribute"; - public static final String USER_MODEL_ATTRIBUTE_HELP_TEXT = "Name of stored user attribute which is the name of an attribute within the UserModel.attribute map."; - public static final String USER_SESSION_MODEL_NOTE_LABEL = "User Session Note"; - public static final String USER_SESSION_MODEL_NOTE_HELP_TEXT = "Name of stored user session note within the UserSessionModel.note map."; - public static final String MULTIVALUED_LABEL = "Multivalued"; - public static final String MULTIVALUED_HELP_TEXT = "Indicates if attribute supports multiple values. If true, then the list of all values of this attribute will be set as claim. If false, then just first value will be set as claim"; + public static final String USER_MODEL_PROPERTY_LABEL = "usermodel.prop.label"; + public static final String USER_MODEL_PROPERTY_HELP_TEXT = "usermodel.prop.tooltip"; + public static final String USER_MODEL_ATTRIBUTE_LABEL = "usermodel.attr.label"; + public static final String USER_MODEL_ATTRIBUTE_HELP_TEXT = "usermodel.attr.tooltip"; + public static final String USER_SESSION_MODEL_NOTE_LABEL = "userSession.modelNote.label"; + public static final String USER_SESSION_MODEL_NOTE_HELP_TEXT = "userSession.modelNote.tooltip"; + public static final String MULTIVALUED_LABEL = "multivalued.label"; + public static final String MULTIVALUED_HELP_TEXT = "multivalued.tooltip"; public static String getUserModelValue(UserModel user, String propertyName) {