mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-16 18:01:40 +00:00
Mainmenu: Make capitalisation consistent in mainmenu and advanced settings
This commit is contained in:
parent
a0c8c05242
commit
8ea86338ab
4 changed files with 29 additions and 29 deletions
|
@ -74,7 +74,7 @@ local function get_formspec(tabview, name, tabdata)
|
|||
end
|
||||
|
||||
retval = retval ..
|
||||
"label[5.5,1.7;".. fgettext("Mod information:") .. "]" ..
|
||||
"label[5.5,1.7;".. fgettext("Mod Information:") .. "]" ..
|
||||
"textlist[5.5,2.2;6.2,2.4;description;"
|
||||
|
||||
for i=1,#descriptionlines,1 do
|
||||
|
@ -87,7 +87,7 @@ local function get_formspec(tabview, name, tabdata)
|
|||
"button[10,4.85;2,0.5;btn_mod_mgr_rename_modpack;" ..
|
||||
fgettext("Rename") .. "]"
|
||||
retval = retval .. "button[5.5,4.85;4.5,0.5;btn_mod_mgr_delete_mod;"
|
||||
.. fgettext("Uninstall selected modpack") .. "]"
|
||||
.. fgettext("Uninstall Selected Modpack") .. "]"
|
||||
else
|
||||
--show dependencies
|
||||
local toadd_hard, toadd_soft = modmgr.get_dependencies(selected_mod.path)
|
||||
|
@ -110,7 +110,7 @@ local function get_formspec(tabview, name, tabdata)
|
|||
retval = retval .. ";0]"
|
||||
|
||||
retval = retval .. "button[5.5,4.85;4.5,0.5;btn_mod_mgr_delete_mod;"
|
||||
.. fgettext("Uninstall selected mod") .. "]"
|
||||
.. fgettext("Uninstall Selected Mod") .. "]"
|
||||
end
|
||||
end
|
||||
return retval
|
||||
|
|
|
@ -201,7 +201,7 @@ local function formspec(tabview, name, tabdata)
|
|||
"dropdown[4.25,2.6;3.5;dd_antialiasing;" .. dd_options.antialiasing[1] .. ";"
|
||||
.. getSettingIndex.Antialiasing() .. "]" ..
|
||||
"label[4.25,3.45;" .. fgettext("Screen:") .. "]" ..
|
||||
"checkbox[4.25,3.6;cb_autosave_screensize;" .. fgettext("Autosave screen size") .. ";"
|
||||
"checkbox[4.25,3.6;cb_autosave_screensize;" .. fgettext("Autosave Screen Size") .. ";"
|
||||
.. dump(core.settings:get_bool("autosave_screensize")) .. "]" ..
|
||||
"box[8,0;3.75,4.5;#999999]" ..
|
||||
"checkbox[8.25,0;cb_shaders;" .. fgettext("Shaders") .. ";"
|
||||
|
@ -214,7 +214,7 @@ local function formspec(tabview, name, tabdata)
|
|||
else
|
||||
tab_string = tab_string ..
|
||||
"button[8,4.75;4,1;btn_change_keys;"
|
||||
.. fgettext("Change keys") .. "]"
|
||||
.. fgettext("Change Keys") .. "]"
|
||||
end
|
||||
|
||||
tab_string = tab_string ..
|
||||
|
|
|
@ -51,7 +51,7 @@ end
|
|||
--------------------------------------------------------------------------------
|
||||
local function get_formspec(tabview, name, tabdata)
|
||||
|
||||
local retval = "label[4,-0.25;" .. fgettext("Select texture pack:") .. "]" ..
|
||||
local retval = "label[4,-0.25;" .. fgettext("Select Texture Pack:") .. "]" ..
|
||||
"textlist[4,0.25;7.5,5.0;TPs;"
|
||||
|
||||
local current_texture_path = core.settings:get("texture_path")
|
||||
|
@ -128,7 +128,7 @@ end
|
|||
--------------------------------------------------------------------------------
|
||||
return {
|
||||
name = "texturepacks",
|
||||
caption = fgettext("Texturepacks"),
|
||||
caption = fgettext("Texture Packs"),
|
||||
cbf_formspec = get_formspec,
|
||||
cbf_button_handler = main_button_handler,
|
||||
on_change = nil
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue