diff --git a/.changeset/rare-feet-relate.md b/.changeset/rare-feet-relate.md new file mode 100644 index 00000000000..7204347f26e --- /dev/null +++ b/.changeset/rare-feet-relate.md @@ -0,0 +1,5 @@ +--- +"@wso2is/identity-apps-core": patch +--- + +Converted OR label to lowercase diff --git a/identity-apps-core/apps/authentication-portal/src/main/webapp/includes/username-label-resolver.jsp b/identity-apps-core/apps/authentication-portal/src/main/webapp/includes/username-label-resolver.jsp index af035b2391b..bbcf23d3299 100644 --- a/identity-apps-core/apps/authentication-portal/src/main/webapp/includes/username-label-resolver.jsp +++ b/identity-apps-core/apps/authentication-portal/src/main/webapp/includes/username-label-resolver.jsp @@ -61,7 +61,7 @@ } if (attributeList.size() > 0) { - String orString = AuthenticationEndpointUtil.i18n(resourceBundle, "or"); + String orString = AuthenticationEndpointUtil.i18n(resourceBundle, "or").toLowerCase(); usernameLabel = String.join(", ", attributeList.subList(0, attributeList.size() - 1)) + (attributeList.size() > 1 ? " " + orString + " " : "") + attributeList.get(attributeList.size() - 1); diff --git a/identity-apps-core/apps/recovery-portal/src/main/webapp/includes/username-label-resolver.jsp b/identity-apps-core/apps/recovery-portal/src/main/webapp/includes/username-label-resolver.jsp index 617076a6dc3..0374b8cd719 100644 --- a/identity-apps-core/apps/recovery-portal/src/main/webapp/includes/username-label-resolver.jsp +++ b/identity-apps-core/apps/recovery-portal/src/main/webapp/includes/username-label-resolver.jsp @@ -59,7 +59,7 @@ } } if (attributeList.size() > 0) { - String orString = AuthenticationEndpointUtil.i18n(resourceBundle, "or"); + String orString = AuthenticationEndpointUtil.i18n(resourceBundle, "or").toLowerCase(); usernameLabel = String.join(", ", attributeList.subList(0, attributeList.size() - 1)) + (attributeList.size() > 1 ? " " + orString + " " : "") + attributeList.get(attributeList.size() - 1);