aboutsummaryrefslogtreecommitdiff
path: root/builtin/mainmenu/dlg_settings_advanced.lua
diff options
context:
space:
mode:
authorrubenwardy <rw@rubenwardy.com>2022-06-30 20:18:09 +0100
committerGitHub <noreply@github.com>2022-06-30 20:18:09 +0100
commit45da0d43fdb73bb7c0a746fb8ea6f588a101cace (patch)
tree4e67e44a7ae31ff4e91c95c4c6c3d5cf2e3db8f5 /builtin/mainmenu/dlg_settings_advanced.lua
parent7494ff291785c229791a59c08c99611b4d506ce2 (diff)
downloadminetest-45da0d43fdb73bb7c0a746fb8ea6f588a101cace.tar.gz
minetest-45da0d43fdb73bb7c0a746fb8ea6f588a101cace.tar.bz2
minetest-45da0d43fdb73bb7c0a746fb8ea6f588a101cace.zip
Reorganise settingtypes.txt (#12490)
This organises the settingstype.txt file to use a logical/user-friendly structure. Advanced settings are also demoted to an advanced section at the end. At most 3 levels of hierarchy are used, as that's the most allowed by the settings redesign
Diffstat (limited to 'builtin/mainmenu/dlg_settings_advanced.lua')
-rw-r--r--builtin/mainmenu/dlg_settings_advanced.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/builtin/mainmenu/dlg_settings_advanced.lua b/builtin/mainmenu/dlg_settings_advanced.lua
index 320db7e40..c395f0b08 100644
--- a/builtin/mainmenu/dlg_settings_advanced.lua
+++ b/builtin/mainmenu/dlg_settings_advanced.lua
@@ -351,9 +351,9 @@ local function parse_config_file(read_all, parse_mods)
local file = io.open(path, "r")
if file then
if not games_category_initialized then
- fgettext_ne("Games") -- not used, but needed for xgettext
+ fgettext_ne("Content: Games") -- not used, but needed for xgettext
table.insert(settings, {
- name = "Games",
+ name = "Content: Games",
level = 0,
type = "category",
})
@@ -384,9 +384,9 @@ local function parse_config_file(read_all, parse_mods)
local file = io.open(path, "r")
if file then
if not mods_category_initialized then
- fgettext_ne("Mods") -- not used, but needed for xgettext
+ fgettext_ne("Content: Mods") -- not used, but needed for xgettext
table.insert(settings, {
- name = "Mods",
+ name = "Content: Mods",
level = 0,
type = "category",
})