mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-31 21:01:39 +09:00
🔧 Text to locale
This commit is contained in:
@@ -173,3 +173,6 @@ data-format=__1____2__
|
||||
|
||||
[tree-decon]
|
||||
main-tooltip=Toggle fast tree decon
|
||||
enabled=enabled
|
||||
disabled=disabled
|
||||
toggle-msg=Fast decon has been
|
||||
@@ -27,7 +27,7 @@ end)
|
||||
local status = HasEnabledDecon:get(player)
|
||||
HasEnabledDecon:set(player, not status)
|
||||
Gui.toolbar_button_style(element, not status)
|
||||
player.print("Fast decon has been " .. (status and "disabled" or "enabled"))
|
||||
player.print({'tree-decon.toggle-msg'} .. " " .. (status and {'tree-decon.disabled'} or {'tree-decon.enabled'}))
|
||||
end)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user