Skip to content

Commit 83eb34e

Browse files
committed
Fix message key lowercase issues if java environment is non-english
1 parent bd7ebcf commit 83eb34e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/main/java/org/mvplugins/multiverse/inventories/util/MVInvi18n.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
import org.mvplugins.multiverse.external.acf.locales.MessageKey;
77
import org.mvplugins.multiverse.external.acf.locales.MessageKeyProvider;
88

9+
import java.util.Locale;
10+
911
/**
1012
* Locales keys for Multiverse-Inventories
1113
*/
@@ -99,7 +101,7 @@ public enum MVInvi18n implements MessageKeyProvider {
99101
;
100102

101103
private final MessageKey key = MessageKey.of("mv-inventories." + this.name().replace('_', '.')
102-
.toLowerCase());
104+
.toLowerCase(Locale.ENGLISH));
103105

104106
/**
105107
* {@inheritDoc}

0 commit comments

Comments
 (0)