diff options
| author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-10-01 11:19:30 +0200 |
|---|---|---|
| committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-10-01 11:19:30 +0200 |
| commit | 4693214cc65b2565976e1233b2f58152126d2e52 (patch) | |
| tree | f194fb490c725f1160c05e2f4040356303c5eb5d /src/main/java/at/hannibal2/skyhanni/config | |
| parent | 9202db955f10e38cf037d209c133468aa6d3b2e7 (diff) | |
| download | skyhanni-4693214cc65b2565976e1233b2f58152126d2e52.tar.gz skyhanni-4693214cc65b2565976e1233b2f58152126d2e52.tar.bz2 skyhanni-4693214cc65b2565976e1233b2f58152126d2e52.zip | |
Disabled the Translator
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/config')
| -rw-r--r-- | src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt | 23 | ||||
| -rw-r--r-- | src/main/java/at/hannibal2/skyhanni/config/features/ChatConfig.java | 20 |
2 files changed, 21 insertions, 22 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt b/src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt index 30164d8b1..e633f0c29 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt +++ b/src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt @@ -8,7 +8,6 @@ import at.hannibal2.skyhanni.data.GuiEditManager import at.hannibal2.skyhanni.data.PartyAPI import at.hannibal2.skyhanni.features.bingo.BingoCardDisplay import at.hannibal2.skyhanni.features.bingo.BingoNextStepHelper -import at.hannibal2.skyhanni.features.chat.Translator import at.hannibal2.skyhanni.features.event.diana.BurrowWarpHelper import at.hannibal2.skyhanni.features.event.diana.InquisitorWaypointShare import at.hannibal2.skyhanni.features.fame.AccountUpgradeReminder @@ -156,13 +155,13 @@ object Commands { "shfarmingprofile", "Look up the farming profile from yourself or another player on elitebot.dev" ) { FarmingWeightDisplay.lookUpCommand(it) } - registerCommand( - "shcopytranslation", - "<language code (2 letters)> <messsage to translate>\n" + - "Requires the Chat > Translator feature to be enabled.\n" + - "Copies the translation for a given message to your clipboard. " + - "Language codes are at the end of the translation when you click on a message." - ) { Translator.fromEnglish(it) } +// registerCommand( +// "shcopytranslation", +// "<language code (2 letters)> <messsage to translate>\n" + +// "Requires the Chat > Translator feature to be enabled.\n" + +// "Copies the translation for a given message to your clipboard. " + +// "Language codes are at the end of the translation when you click on a message." +// ) { Translator.fromEnglish(it) } } private fun usersBugFix() { @@ -270,10 +269,10 @@ object Commands { registerCommand("shstopcityprojectreminder", "") { CityProjectFeatures.disable() } registerCommand("shsendcontests", "") { GardenNextJacobContest.shareContestConfirmed(it) } registerCommand("shstopaccountupgradereminder", "") { AccountUpgradeReminder.disable() } - registerCommand( - "shsendtranslation", - "Respond with a translation of the message that the user clicks" - ) { Translator.toEnglish(it) } +// registerCommand( +// "shsendtranslation", +// "Respond with a translation of the message that the user clicks" +// ) { Translator.toEnglish(it) } } private fun commandHelp(args: Array<String>) { 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 b855eabd4..e23246580 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/ChatConfig.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/ChatConfig.java @@ -175,14 +175,14 @@ public class ChatConfig { @FeatureToggle public boolean hideSacksChange = false; - @Expose - @ConfigOption( - name = "Translator", - desc = "Click on a message to translate it into English. " + - "Use §e/shcopytranslation§7 to get the translation from English. " + - "§cTranslation 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 §e/shcopytranslation§7 to get the translation from English. " + +// "§cTranslation is not guaranteed to be 100% accurate." +// ) +// @ConfigEditorBoolean +// @FeatureToggle +// public boolean translator = false; } |
