From b91005e1a7a177424dc318313064cf9db72c7116 Mon Sep 17 00:00:00 2001 From: Sebastian Reddig Date: Mon, 23 Sep 2024 22:54:10 +0200 Subject: [PATCH] Revert "Feat: Add TranslationFacility" This reverts commit f39126708c64610e70eef0444e8bb87a40989b5d. --- src/main/java/core/model/TranslationFacility.java | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/main/java/core/model/TranslationFacility.java b/src/main/java/core/model/TranslationFacility.java index 3857fbc01..8271132ff 100644 --- a/src/main/java/core/model/TranslationFacility.java +++ b/src/main/java/core/model/TranslationFacility.java @@ -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); }