模組:Category tree/poscatboiler/data/lang-specific/orv
This module handles generating the descriptions and categorization for 古東斯拉夫語 category pages of the format "古東斯拉夫語 LABEL" where LABEL can be any text. Examples are Category:Bulgarian conjugation 2.1 verbs and Category:Russian velar-stem neuter-form nouns. 該模块是 poscatboiler 系統的一部分,該系統是用於生成分類頁面的描述和分類的通用框架。
有關更多資訊,請參閱Module:category tree/poscatboiler/data/lang-specific/doc。
注意:如果您新增了特定語言的模块,請將語言代碼新增至 Module:category tree/poscatboiler/data/lang-specific 頂部的清單中,使程式碼能識別該模块。
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}