diff options
author | Wuzzy <wuzzy2@mail.ru> | 2020-03-20 08:41:07 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-20 09:41:07 +0100 |
commit | 625b1005939e76d6a5b2d241635be3b8a89eb128 (patch) | |
tree | 07c47b2f6925a2da46dc6f648e8b35c3da02cf2b /builtin/mainmenu | |
parent | 5c1b72544a6158346b7d8608c895678fe7d5a19b (diff) | |
download | minetest-625b1005939e76d6a5b2d241635be3b8a89eb128.tar.gz minetest-625b1005939e76d6a5b2d241635be3b8a89eb128.tar.bz2 minetest-625b1005939e76d6a5b2d241635be3b8a89eb128.zip |
Add comments for translators (#9510)
* Add translator comments for "special" strings
* Add translator comments for some "tricky" strings
Diffstat (limited to 'builtin/mainmenu')
-rw-r--r-- | builtin/mainmenu/dlg_settings_advanced.lua | 11 | ||||
-rw-r--r-- | builtin/mainmenu/tab_online.lua | 1 |
2 files changed, 12 insertions, 0 deletions
diff --git a/builtin/mainmenu/dlg_settings_advanced.lua b/builtin/mainmenu/dlg_settings_advanced.lua index 24b71d957..c16e4aad0 100644 --- a/builtin/mainmenu/dlg_settings_advanced.lua +++ b/builtin/mainmenu/dlg_settings_advanced.lua @@ -639,12 +639,23 @@ local function create_change_setting_formspec(dialogdata) -- Flags formspec = table.concat(fields) .. "checkbox[0.5," .. height - 0.6 .. ";cb_defaults;" + --[[~ "defaults" is a noise parameter flag. + It describes the default processing options + for noise settings in main menu -> "All Settings". ]] .. fgettext("defaults") .. ";" -- defaults .. tostring(flags["defaults"] == true) .. "]" -- to get false if nil .. "checkbox[5," .. height - 0.6 .. ";cb_eased;" + --[[~ "eased" is a noise parameter flag. + It is used to make the map smoother and + can be enabled in noise settings in + main menu -> "All Settings". ]] .. fgettext("eased") .. ";" -- eased .. tostring(flags["eased"] == true) .. "]" .. "checkbox[5," .. height - 0.15 .. ";cb_absvalue;" + --[[~ "absvalue" is a noise parameter flag. + It is short for "absolute value". + It can be enabled in noise settings in + main menu -> "All Settings". ]] .. fgettext("absvalue") .. ";" -- absvalue .. tostring(flags["absvalue"] == true) .. "]" height = height + 1 diff --git a/builtin/mainmenu/tab_online.lua b/builtin/mainmenu/tab_online.lua index 8733f7618..7985fd84a 100644 --- a/builtin/mainmenu/tab_online.lua +++ b/builtin/mainmenu/tab_online.lua @@ -78,6 +78,7 @@ local function get_formspec(tabview, name, tabdata) "text,align=right,padding=0.25;" .. -- clients_max image_column(fgettext("Creative mode"), "creative") .. ",padding=1;" .. image_column(fgettext("Damage enabled"), "damage") .. ",padding=0.25;" .. + --~ PvP = Player versus Player image_column(fgettext("PvP enabled"), "pvp") .. ",padding=0.25;" .. "color,span=1;" .. "text,padding=1]" .. |