From 23b12864f115c4cd37a48b01afdb093732dd5a12 Mon Sep 17 00:00:00 2001 From: NetheriteMiner <88792142+NetheriteMiner@users.noreply.github.com> Date: Wed, 27 Sep 2023 06:31:41 -0400 Subject: Make translator run asynchronously and support error messages (#506) Fixed the Translator #506 --- .../skyhanni/config/features/ChatConfig.java | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) (limited to 'src/main/java/at/hannibal2/skyhanni/config/features') diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/ChatConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/ChatConfig.java index 8cc69426a..3c0e0e324 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/ChatConfig.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/ChatConfig.java @@ -175,15 +175,14 @@ public class ChatConfig { @FeatureToggle public boolean hideSacksChange = false; - // TODO reenable once the translator is working again -// @Expose -// @ConfigOption( -// name = "Translator", -// desc = "Click on a message to translate it into English. " + -// "Use /shcopytranslation to get the translation from English. " + -// "Translation is not guaranteed to be 100% accurate." -// ) -// @ConfigEditorBoolean -// @FeatureToggle -// public boolean translator = false; + @Expose + @ConfigOption( + name = "Translator", + desc = "Click on a message to translate it into English. " + + "Use /shcopytranslation to get the translation from English. " + + "Translation is not guaranteed to be 100% accurate." + ) + @ConfigEditorBoolean + @FeatureToggle + public boolean translator = false; } -- cgit