Skip to content

Commit

Permalink
Revert "Feat: Add TranslationFacility"
Browse files Browse the repository at this point in the history
This reverts commit f391267.
  • Loading branch information
sgcr committed Sep 23, 2024
1 parent e31d900 commit b91005e
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/main/java/core/model/TranslationFacility.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,6 @@ public static void setTranslator(Translator newTranslator) {
translator = requireNonNullElseGet(newTranslator, () -> Translator.load(INITIAL_TRANSLATOR));
}

public static String getLanguageString(String key) {
return tr(key);
}

public static String getLanguageString(String key, Object... values) {
return tr(key, values);
}

public static String tr(String key) {
return translator.translate(key);
}
Expand Down

0 comments on commit b91005e

Please sign in to comment.