From be64a10fac430f24a48f03436b17cf34bcb0f5fe Mon Sep 17 00:00:00 2001 From: Hasini Samarathunga Date: Tue, 10 Sep 2024 16:44:14 +0530 Subject: [PATCH 1/2] Converted OR label to lowercase --- .../src/main/webapp/includes/username-label-resolver.jsp | 2 +- .../src/main/webapp/includes/username-label-resolver.jsp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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); From 794a830456b9f995658505e3186fc90d4e0c6999 Mon Sep 17 00:00:00 2001 From: Hasini Samarathunga Date: Tue, 10 Sep 2024 16:48:32 +0530 Subject: [PATCH 2/2] =?UTF-8?q?Add=20changeset=20=F0=9F=A6=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .changeset/rare-feet-relate.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/rare-feet-relate.md 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