Skip to content

Commit

Permalink
Merge pull request #6884 from HasiniSama/username-label
Browse files Browse the repository at this point in the history
Converted OR label to lowercase
  • Loading branch information
sadilchamishka authored Sep 10, 2024
2 parents 3206b38 + 794a830 commit d512378
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/rare-feet-relate.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@wso2is/identity-apps-core": patch
---

Converted OR label to lowercase
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit d512378

Please sign in to comment.