simplified translations keys

This commit is contained in:
gnembon committed 2020-05-15 20:00:27 -03:00
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("//"));
}