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 a3922953..42465626 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 533d8786..4c26065e 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 0fade746..457d64ab 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 ded0d2bb..0aff3d96 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 10c43435..a4da968b 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. #