模組:Category tree/poscatboiler/data/lang-specific/ca
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 = {}
-----------------------------------------------------------------------------
-- --
-- VERBS --
-- --
-----------------------------------------------------------------------------
labels["依變位分類的動詞"] = {
description = "{{{langname}}} verbs categorized by conjugation.",
breadcrumb = "依變位分類",
parents = {{name = "依屈折分類的動詞", sort = "conjugation"}},
}
local function replace_angle_brackets(text)
return (text:gsub("<<(.-)>>", "{{m|ca||%1}}"))
end
labels["帶軟腭音中綴的動詞"] = {
description = "{{{langname}}} verbs with an infixed ''g'' (or occasionally ''c'') appearing in several forms.",
additional = replace_angle_brackets(
"Generally, the forms with the velar infix are the first-person singular present indicative, the whole present " ..
"subjunctive, the whole preterite and imperfect subjunctive, and the past participle. An example is " ..
"{{m|ca|vendre||to sell}}, with first person singular present indicative <<venc>> (here, the ''g'' appears as " ..
"''c'' when word-final); present subjunctive <<vengui>>, <<venguis>>, <<vengui>>, <<venguem>>, <<vengueu>>, " ..
"<<venguen>>; preterite <<venguí>>, <<vengueres>>, <<vengué>>, <<venguérem>>, <<venguéreu>>, <<vengueren>>; " ..
"imperfect subjunctive <<vengués>>, <<venguessis>>, <<vengués>>, <<venguéssim>>, <<venguéssiu>>, " ..
"<<venguessin>>; and past participle <<vengut>> (also in this case <<venut>> without the infix). Velar infixes " ..
"are very common in second conjugation verbs (ending in ''-re'' or ''-er''), but occasionally appear in verbs " ..
"of other conjugations, e.g. {{m|ca|estar||to be}} and {{m|ca|venir||to come}}."),
breadcrumb = "軟腭音中綴",
parents = {{name = "依屈折分類的動詞", sort = "velar infix"}},
}
labels["第一變位動詞"] = {
description = "{{{langname}}} first conjugation (''-ar'') verbs.",
breadcrumb = "第一",
additional =
"These verbs are normally derived from Latin verbs whose infinitive ended in {{m|la|-āre}} (see " ..
"[[:Category:Latin first conjugation verbs]]), or are coined by analogy to such verbs. The large majority of " ..
"Catalan verbs are of this class, and nearly all are regular.",
parents = {{name = "依變位分類的動詞", sort = "1st"}},
}
labels["第二變位動詞"] = {
description = "{{{langname}}} second conjugation (''-re'' and ''-er'') verbs.",
breadcrumb = "第二",
additional =
"These verbs are normally derived from Latin verbs whose infinitive ended in long {{m|la|-ēre}} (see " ..
"[[:Category:Latin second conjugation verbs]]) or short {{m|la|-ĕre}} (see " ..
"[[:Category:Latin third conjugation verbs]]). Most such verbs are irregular, and many take a velar infix (see " ..
"[[:Category:Catalan verbs with velar infix]]). Several verbs of this class have alternative infinitives " ..
"(e.g. {{m|ca|doldre}}/{{m|ca|doler}} and {{m|ca|heure}}/{{m|ca|haver}}). A few verbs of this class have an " ..
"infinitive ending in other than ''-re'' or ''-er'' due to contraction, notably {{m|ca|dir||to say}} (from " ..
"{{m+|la|dīcere}}), {{m|ca|dur||to lead}} (from {{m+|la|dūcere}}), and derivatives of these verbs. Note also " ..
"{{m|ca|fer||to do, to make}} of this class, contracted from {{m+|la|facere}}.",
parents = {{name = "依變位分類的動詞", sort = "2nd"}},
}
labels["第三變位動詞"] = {
description = "{{{langname}}} third conjugation (''-ir'') verbs.",
breadcrumb = "第三",
additional =
"These verbs are normally derived from Latin verbs whose infinitive ended in {{m|la|-īre}} (see " ..
"[[:Category:Latin fourth conjugation verbs]]), or are coined by analogy to such verbs. These verbs come in " ..
"two varieties, those with an ''-eix-'' infix in the otherwise root-stressed forms (the great majority of verbs " ..
"of this class and all newly formed third conjugation verbs), and those without an ''-eix-'' infix (a minority " ..
"of verbs, often irregular).",
parents = {{name = "依變位分類的動詞", sort = "3rd"}},
}
labels["帶-eix-的第三變位動詞"] = {
description = "{{{langname}}} third conjugation (''-ir'') verbs with an infixed ''-eix-'' in root-stressed forms.",
displaytitle = "帶 {{m|ca||-eix-}} 的{{{langname}}}第三變位動詞",
breadcrumb = "帶 {{m|ca||-eix-}}",
additional =
"These verbs are technically known as ''inchoatives'' based on the corresponding class in Latin, although they " ..
"no longer have an [[inchoative]] meaning. The forms with ''-eix-'' are those where the stress would otherwise " ..
"fall on the verb root, i.e. the whole singular and the third-person plural of the present indicative and " ..
"subjunctive, as well as the second-person singular imperative. The majority of third conjugation verbs, " ..
"including all newly-coined verbs of this conjugation, take an ''-eix-'' infix. See also " ..
"[[:Category:Catalan third conjugation verbs without -eix-]].",
parents = {{name = "第三變位動詞", sort = "with ''-eix-''"}},
}
labels["不帶-eix-的第三變位動詞"] = {
description = "{{{langname}}} third conjugation (''-ir'') verbs without an infixed ''-eix-'' in root-stressed forms.",
displaytitle = "不帶 {{m|ca||-eix-}} 的{{{langname}}}第三變位動詞",
breadcrumb = "不帶 {{m|ca||-eix-}}",
additional =
"These verbs are technically known as ''pure verbs'' by opposition to the ''inchoatives'' (those that take " ..
"''-eix-''). Only a minority of third conjugation verbs lack the ''-eix-'' infix, although they consist of " ..
"several very common verbs, such as {{m|ca|dormir||to sleep}} and {{m|ca|sentir||to feel}}. Many such verbs " ..
"have additional irregularities, and many verbs have two sets of forms, with and without the ''-eix-'' infix. " ..
"See also [[:Category:Catalan third conjugation verbs with -eix-]].",
parents = {{name = "第三變位動詞", sort = "without ''-eix-''"}},
}
labels["混合變位動詞"] = {
description = "{{{langname}}} verbs that mix endings from different conjugations.",
breadcrumb = "混合",
additional =
"An example is {{m|ca|escriure||to write}}, with a mix of second and third conjugation endings. All verbs of " ..
"this class are irregular.",
parents = {{name = "依變位分類的動詞", sort = "mixed"}},
}
labels["依輔音交替分類的動詞"] = {
description = "{{{langname}}} verbs categorized by type of consonant alternation.",
breadcrumb = "依輔音交替分類",
parents = {{name = "依屈折分類的動詞", sort = "consonant alternation"}},
}
-- Add labels for e.g. [[Category:Catalan verbs with c-qu alternation]].
local consonant_alternations = {
"ç-c",
"c-qu",
"g-gu",
"gu-gü",
"j-g",
"qu-qü",
}
for _, alt in ipairs(consonant_alternations) do
local desc
local back, front = alt:match("^(.*)%-(.*)$")
desc = "{{{langname}}} verbs whose final consonant alternates between ''" .. back .. "'' before back vowels (''a'', ''o'', ''u'' and accented variants) " ..
"and ''" .. front .. "'' before front vowels (''e'', ''i'' and accented variants)."
labels["帶" .. alt .. "交替的動詞"] = {
description = desc,
displaytitle = "帶 {{m|ca||" .. alt .. "}} 交替的{{{langname}}}動詞",
parents = {{name = "依輔音交替分類的動詞", sort = alt}},
breadcrumb = "{{m|ca||" .. alt .. "}}",
}
end
labels["僅第三人稱動詞"] = {
description = "{{{langname}}} verbs with forms that exist only in the third person, and have no imperatives.",
parents = {{name = "不完全變化動詞"}},
breadcrumb = "僅第三人稱",
}
return {LABELS = labels}