Jump to content

မေႃႇၵျူး:category tree/lang/bbl

လုၵ်ႉတီႈ ဝိၵ်ႇသျိၼ်ႇၼရီႇ မႃး

Documentation for this module may be created at မေႃႇၵျူး:category tree/lang/bbl/doc

local labels = {}
local handlers = {}

------- Nominal categories -------

labels["nominals by inflection type"] = {
	description = "{{{langname}}} nouns categorized by their inflection type.",
	breadcrumb = "by inflection type",
	parents = {
		{name = "nouns", sort = "inflection type"},
	},
}

table.insert(handlers, function(data)
	local nomtype = data.label:match("^(.*)%-type nominals$")
	if nomtype then
		return {
			description = ("{{{langname}}} ''%s''-type nominals."):format(nomtype),
			breadcrumb = {name = ("''%s''-type"):format(nomtype), nocap = true},
			parents = {"nominals by inflection type"},
		}
	end
end)

return {LABELS = labels, HANDLERS = handlers}