Modul:category tree/poscatboiler/data/terms by script

A modult a Modul:category tree/poscatboiler/data/terms by script/doc lapon tudod dokumentálni

local labels = {}
local handlers = {}

labels["terms by script"] = {
	description = "{{{langname}}} terms categorized by the script they are written in (for languages with multiple native scripts).",
	fundamental = "Terms by lexical property subcategories by language",
	parents = {"terms by orthographic property"},
}

table.insert(handlers, function(label)
	local script = label:match("^terms in (.+) script$")
	if script then
		return {
			description = "{{{langname}}} terms written in " .. script .. " script.",
			fundamental = "Terms by script subcategories by language",
			parents = {{
				name = "terms by script",
				sort = script,
			}},
		}
	end
end)

return {LABELS = labels, HANDLERS = handlers}