diff --git a/core/src/main/java/com/sekwah/advancedportals/core/util/Lang.java b/core/src/main/java/com/sekwah/advancedportals/core/util/Lang.java index 19a0b011..caec09a8 100644 --- a/core/src/main/java/com/sekwah/advancedportals/core/util/Lang.java +++ b/core/src/main/java/com/sekwah/advancedportals/core/util/Lang.java @@ -43,7 +43,7 @@ public static String translate(String s) { if (instance.languageMap.containsKey(s)) { String translation = instance.languageMap.get(s); // noinspection ALL (not sure what the specific warning is for escaped unicode) - translation = translation.replaceAll("&([0-9a-frk-o])", "\u00A7$1"); + translation = translation.replaceAll("&([0-9a-frk-ox])", "\u00A7$1"); return translation; } else { return s; diff --git a/lang/src/main/resources/lang/de_DE.lang b/lang/src/main/resources/lang/de_DE.lang index cd3ec989..0c888256 100644 --- a/lang/src/main/resources/lang/de_DE.lang +++ b/lang/src/main/resources/lang/de_DE.lang @@ -29,6 +29,7 @@ # &n Underline # &o Italic # &r Reset +# &x Hex Color (#aa5f10 represented by &x&a&a&5&f&1&0) - Spigot 1.16.1+ # # Also note that some debug messages may not be listed here for translation. # diff --git a/lang/src/main/resources/lang/en_GB.lang b/lang/src/main/resources/lang/en_GB.lang index 5efea357..c2dc3132 100644 --- a/lang/src/main/resources/lang/en_GB.lang +++ b/lang/src/main/resources/lang/en_GB.lang @@ -29,6 +29,7 @@ # &n Underline # &o Italic # &r Reset +# &x Hex Color (#aa5f10 represented by &x&a&a&5&f&1&0) - Spigot 1.16.1+ # # Some debug messages may not be listed here for translation. diff --git a/lang/src/main/resources/lang/fr_FR.lang b/lang/src/main/resources/lang/fr_FR.lang index 66568196..f6f5c230 100644 --- a/lang/src/main/resources/lang/fr_FR.lang +++ b/lang/src/main/resources/lang/fr_FR.lang @@ -29,6 +29,7 @@ # &n Underline # &o Italic # &r Reset +# &x Hex Color (#aa5f10 represented by &x&a&a&5&f&1&0) - Spigot 1.16.1+ # # Some debug messages may not be listed here for translation. diff --git a/lang/src/main/resources/lang/hu_HU.lang b/lang/src/main/resources/lang/hu_HU.lang index f87df5d5..64062c72 100644 --- a/lang/src/main/resources/lang/hu_HU.lang +++ b/lang/src/main/resources/lang/hu_HU.lang @@ -29,6 +29,7 @@ # &n Underline # &o Italic # &r Reset +# &x Hex Color (#aa5f10 represented by &x&a&a&5&f&1&0) - Spigot 1.16.1+ # # Vegye figyelembe, hogy néhány hibaelhárító üzenet itt nem szerepel a fordításban. #