We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 757c083 commit 77583c1Copy full SHA for 77583c1
1 file changed
localization/src/main/java/de/clickism/configured/localization/LocalizationKey.java
@@ -59,12 +59,12 @@ public String[] parameters() {
59
* @return the key as a lowercase string with '$' replaced by '.'
60
*/
61
default @NotNull String key() {
62
- return getBaseKey().toLowerCase().replace('$', '.');
+ return getBaseKey().replace('$', '.');
63
}
64
65
private String getBaseKey() {
66
if (this instanceof Enum<?> enumKey) {
67
- return enumKey.name();
+ return enumKey.name().toLowerCase();
68
69
// Fallback to default toString() for non-enum keys
70
return toString();
0 commit comments