diff --git a/features/debug_commands.lua b/features/debug_tools.lua similarity index 97% rename from features/debug_commands.lua rename to features/debug_tools.lua index 01189c07..8b6c1f76 100644 --- a/features/debug_commands.lua +++ b/features/debug_tools.lua @@ -2,7 +2,7 @@ local Command = require 'utils.command' local Ranks = require 'resources.ranks' Command.add( - 'reveal', + 'debug-reveal', { description = {'command_description.reveal'}, arguments = {'radius'}, diff --git a/locale/en/redmew_utils.cfg b/locale/en/redmew_utils.cfg index 18c3adb3..59ef4310 100644 --- a/locale/en/redmew_utils.cfg +++ b/locale/en/redmew_utils.cfg @@ -25,3 +25,6 @@ error_log=Error while running '__1__' with arguments __2__: __3__ [utils_core] print_admins=__1__(ADMIN) __2__: __3__ + +[gui_util] +button_tooltip=Shows / hides the Redmew Gui buttons. diff --git a/utils/gui.lua b/utils/gui.lua index d8c76e2f..4d1012db 100644 --- a/utils/gui.lua +++ b/utils/gui.lua @@ -205,7 +205,7 @@ Event.add( type = 'button', name = toggle_button_name, caption = '<', - tooltip = 'Shows / hides the Redmew Gui buttons.' + tooltip = {'gui_util.button_tooltip'} } local style = b.style style.width = 18