Skip to content

Commit

Permalink
fix merge
Browse files Browse the repository at this point in the history
Signed-off-by: J10a1n15 <[email protected]>
  • Loading branch information
j10a1n15 committed Oct 11, 2024
1 parent 20f93da commit 1b0b0bf
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt
Original file line number Diff line number Diff line change
Expand Up @@ -217,15 +217,15 @@ object Commands {
callback { FarmingWeightDisplay.lookUpCommand(it) }
}
event.register("shcopytranslation") {
description = "Copy the English translation of a message in another language to the clipboard. " +
"Uses a 2 letter language code that can be found at the end of a translation message."
description = "Copy the translation of a message in another language to your clipboard.\n" +
"Uses a language code that can be found at the end of a translation message."
category = CommandCategory.USERS_NORMAL
callback { Translator.fromEnglish(it) }
callback { Translator.fromNativeLanguage(it) }
}
event.register("shtranslate") {
description = "Translate a message in another language to English"
description = "Translate a message in another language your language."
category = CommandCategory.USERS_NORMAL
callback { Translator.toEnglish(it) }
callback { Translator.toNativeLanguage(it) }
}
event.register("shmouselock") {
description = "Lock/Unlock the mouse so it will no longer rotate the player (for farming)"
Expand Down Expand Up @@ -783,6 +783,11 @@ object Commands {
category = CommandCategory.DEVELOPER_CODING_HELP
callback { MineshaftPityDisplay.fullResetCounter() }
}
event.register("shtranslateadvanced") {
description = "Translates a message in an inputted language to another inputted language."
category = CommandCategory.DEVELOPER_CODING_HELP
callback { Translator.translateAdvancedCommand(it) }
}
}

private fun internalCommands(event: RegisterCommandsEvent) {
Expand Down

0 comments on commit 1b0b0bf

Please sign in to comment.