simplified translations keys
This commit is contained in:
1 parent
68093ed54a
commit
74c62e5a13
5 files changed
+102
-96
No files matched your search
@@ -57,6 +57,7 @@ public class Translations
|
||||
Gson gson = new GsonBuilder().enableComplexMapKeySerialization().create();
|
||||
Type type = new TypeToken<Map<String, String>>() {}.getType();
|
||||
translationMap = gson.fromJson(langJs, type);
|
||||
translationMap.entrySet().removeIf(e -> e.getKey().startsWith("//"));
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user