Модул:category tree/poscatboiler/data/lang-specific/orv

Документацију овог модула можете да направите на страници Модул:category tree/poscatboiler/data/lang-specific/orv/док

local labels = {}
local handlers = {}


--------------------------------- Nouns/Pronouns/Numerals --------------------------------

local noun_decls = {
	["hard a-stem"] = {
		singular = "-а",
		plural = "-ꙑ",
		gender = "feminine",
		sortkey = "a-stem",
	},
	["soft a-stem"] = {
		singular = "-ꙗ",
		plural = "-ѣ",
		gender = "feminine",
		sortkey = "a-stem",
	},
	["i-stem"] = {
		singular = "-ь",
		plural = "-и (usually -ие or -ье when masculine)",
		gender = "feminine (sometimes masculine)",
	},
	["ī-stem"] = {
		singular = "-ии or -ьи",
		plural = "-иѭ or -ьѩ",
		gender = "feminine (masculine when referring to a person)",
		parent = "soft a-stem",
	},
	["hard masculine o-stem"] = {
		singular = "-ъ",
		plural = "-и",
		gender = "masculine",
		sortkey = "o-stem",
	},
	["soft masculine o-stem"] = {
		singular = "-ь",
		plural = "-и",
		gender = "masculine",
		sortkey = "o-stem",
	},
	["hard neuter o-stem"] = {
		singular = "-о",
		plural = "-а",
		gender = "neuter",
		sortkey = "o-stem",
	},
	["soft neuter o-stem"] = {
		singular = "-е",
		plural = "-ꙗ",
		gender = "neuter",
		sortkey = "o-stem",
	},
	["u-stem"] = {
		singular = "-ъ",
		plural = "-ове",
		gender = "masculine",
	},
	["n-stem"] = {
		singular = "-ꙑ, -нь, or -мѧ",
		plural = "-не (or -мена if ending in -мѧ)",
		gender = "masculine (nouns in -мѧ are neuter)",
		parent = "consonant-stem",
	},
	["r-stem"] = {
		singular = "-и",
		plural = "-ере",
		gender = "feminine",
		parent = "consonant-stem",
	},
	["s-stem"] = {
		singular = "-о (-е after a palatal consonant)",
		plural = "-еса",
		gender = "neuter",
		parent = "consonant-stem",
	},
	["t-stem"] = {
		singular = "-ѧ",
		plural = "-ѧта",
		gender = "neuter",
		parent = "consonant-stem",
	},
	["v-stem"] = {
		singular = "-ꙑ",
		plural = "-ъви",
		gender = "feminine",
		parent = "consonant-stem",
	}
}

for _, pos in ipairs({"nouns"}) do
	local sgpos = pos:gsub("s$", "")
	labels["consonant-stem " .. pos] = {
		description = "Old East Slavic consonant-stem " .. pos .. ".",
		additional = "This is not a single declension class, but a set of related declension classes, with endings that are"
			.. " largely identical outside of the nominative, accusative and vocative.",
		breadcrumb = "consonant-stem",
		parents = pos .. " by inflection type",
	}
	for decl, spec in pairs(noun_decls) do
		labels[decl .. " " .. pos] = {
			description = "Old East Slavic " .. decl .. " " .. pos .. ".",
			additional = "These " .. pos .. " normally end in " .. spec.singular .. " in the singular and " .. spec.plural .. " in the"
				.. " plural, and are most commonly " .. spec.gender .. ".",
			breadcrumb = decl,
			parents = {{
				name = spec.parent and spec.parent .. " " .. pos or pos .. " by inflection type",
				sort = spec.sortkey or decl,
			}},
		}
	end
end


return {LABELS = labels, HANDLERS = handlers}