summaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/config/features
diff options
context:
space:
mode:
authorNetheriteMiner <88792142+NetheriteMiner@users.noreply.github.com>2023-09-27 06:31:41 -0400
committerGitHub <noreply@github.com>2023-09-27 12:31:41 +0200
commit23b12864f115c4cd37a48b01afdb093732dd5a12 (patch)
tree1046a519537cbb441c333433cad19801b581cacf /src/main/java/at/hannibal2/skyhanni/config/features
parent55f953504d1af9d8443d1164867400a8cc6c43f2 (diff)
downloadskyhanni-23b12864f115c4cd37a48b01afdb093732dd5a12.tar.gz
skyhanni-23b12864f115c4cd37a48b01afdb093732dd5a12.tar.bz2
skyhanni-23b12864f115c4cd37a48b01afdb093732dd5a12.zip
Make translator run asynchronously and support error messages (#506)
Fixed the Translator #506
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/config/features')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/features/ChatConfig.java21
1 files changed, 10 insertions, 11 deletions
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;
}