From 45da0d43fdb73bb7c0a746fb8ea6f588a101cace Mon Sep 17 00:00:00 2001 From: rubenwardy Date: Thu, 30 Jun 2022 20:18:09 +0100 Subject: 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 --- builtin/mainmenu/dlg_settings_advanced.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'builtin/mainmenu/dlg_settings_advanced.lua') 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", }) -- cgit v1.2.3