Modul:category tree/poscatboiler/data/lang-specific/ca

This module handles generating the descriptions and categorization for Catalonia category pages of the format "Catalonia LABEL" where LABEL can be any text. Examples are Category:Bulgarian conjugation 2.1 verbs and Category:Russian velar-stem neuter-form nouns. This module is part of the poscatboiler system, which is a general framework for generating the descriptions and categorization of category pages.

For more information, see Module:category tree/poscatboiler/data/lang-specific/documentation.

NOTE: If you add a new language-specific module, you must add the language code to the list at the top of Module:category tree/poscatboiler/data/lang-specific in order for the module to be recognized.


local labels = {}



-----------------------------------------------------------------------------
--                                                                         --
--                                  VERBS                                  --
--                                                                         --
-----------------------------------------------------------------------------

labels["kata kerja mengikut konjugasi"] = {
	description = "Kata kerja bahasa {{{langname}}} mengikut konjugasi.",
	breadcrumb = "mengikut konjugasi",
	parents = {{name = "kata kerja mengikut jenis infleksi", sort = "konjugasi"}},
}

local function replace_angle_brackets(text)
	return (text:gsub("<<(.-)>>", "{{m|ca||%1}}"))
end

labels["kata kerja dengan sisipan velar"] = {
	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 = "velar infix",
	parents = {{name = "kata kerja mengikut jenis infleksi", sort = "sisipan velar"}},
}

labels["kata kerja konjugasi pertama"] = {
	description = "{{{langname}}} first conjugation (''-ar'') verbs.",
	breadcrumb = "pertama",
	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 = "kata kerja mengikut konjugasi", sort = "pertama"}},
}

labels["kata kerja konjugasi kedua"] = {
	description = "{{{langname}}} second conjugation (''-re'' and ''-er'') verbs.",
	breadcrumb = "kedua",
	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 = "kata kerja mengikut konjugasi", sort = "kedua"}},
}

labels["kata kerja konjugasi ketiga"] = {
	description = "{{{langname}}} third conjugation (''-ir'') verbs.",
	breadcrumb = "ketiga",
	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 = "kata kerja mengikut konjugasi", sort = "ketiga"}},
}

labels["kata kerja konjugasi ketiga dengan -eix-"] = {
	description = "{{{langname}}} third conjugation (''-ir'') verbs with an infixed ''-eix-'' in root-stressed forms.",
	displaytitle = "{{{langname}}} third conjugation verbs with {{m|ca||-eix-}}",
	breadcrumb = "with {{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 = "kata kerja konjugasi ketiga", sort = "dengan ''-eix-''"}},
}

labels["kata kerja konjugasi ketiga tanpa -eix-"] = {
	description = "{{{langname}}} third conjugation (''-ir'') verbs without an infixed ''-eix-'' in root-stressed forms.",
	displaytitle = "{{{langname}}} third conjugation verbs without {{m|ca||-eix-}}",
	breadcrumb = "without {{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 = "kata kerja konjugasi ketiga", sort = "tanpa ''-eix-''"}},
}

labels["kata kerja konjugasi campuran"] = {
	description = "{{{langname}}} verbs that mix endings from different conjugations.",
	breadcrumb = "mixed",
	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 = "kata kerja mengikut konjugasi", sort = "campuran"}},
}

labels["kata kerja mengikut perubahan konsonan"] = {
	description = "{{{langname}}} verbs categorized by type of consonant alternation.",
	breadcrumb = "by consonant alternation",
	parents = {{name = "verbs by inflection type", 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["verbs with " .. alt .. " alternation"] = {
		description = desc,
		displaytitle = "{{{langname}}} verbs with {{m|ca||" .. alt .. "}} alternation",
		parents = {{name = "verbs by consonant alternation", sort = alt}},
		breadcrumb = "{{m|ca||" .. alt .. "}}",
	}
end

labels["kata kerja orang ketiga sahaja"] = {
	description = "{{{langname}}} verbs with forms that exist only in the third person, and have no imperatives.",
	parents = {{name = "defective verbs"}},
	breadcrumb = "orang ketiga sahaja",
}

return {LABELS = labels}