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
master
rubenwardy 2022-06-30 20:18:09 +01:00 committed by GitHub
parent 7494ff2917
commit 45da0d43fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1124 additions and 1063 deletions

View File

@ -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",
})

File diff suppressed because it is too large Load Diff