Jump to content

Module:category tree/poscatboiler/data/lang-specific/pl

From Wiktionary, the free dictionary

This module handles generating the descriptions and categorization for Polish category pages of the format "Polish 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 = {}

labels["entries with Template:pl-pr without syllabification"] = {
	description = "{{{langname}}} entries using {{tl|pl-pr}} with missing syllabification.",
	additional = "This means that syllabification could not be generated automatically (e.g. due to a respelling) and was not given explicitly.",
	breadcrumb = "pl-pr without syllabification",
	parents = {{name = "entry maintenance", sort = "pl-pr without syllabification"}},
	hidden = true,
	can_be_empty = true,
}

labels["entries with Template:pl-pr with manual syllabification syllable count mismatch"] = {
	description = "{{{langname}}} entries using {{tl|pl-pr}} where the syllable count of the manual syllabification mismatches that of the pronunciation.",
	additional = "You should make sure there's a syllable divider (.) between each syllable, including when a hyphen is present (by convention, the syllable divider goes after the hyphen).",
	breadcrumb = "pl-pr with manual syllabification syllable count mismatch",
	parents = {{name = "entry maintenance", sort = "with manual syllabification syllable count mismatch"}},
	hidden = true,
	can_be_empty = true,
}

labels["entries with Template:pl-pr with automatic syllabification syllable count mismatch"] = {
	description = "{{{langname}}} entries using {{tl|pl-pr}} where the syllable count of the automatic syllabification mismatches that of the pronunciation.",
	additional = "Under normal circumstances, this should never happen. If it happens, it indicates a bug in [[Module:zlw-lch-IPA]].",
	breadcrumb = "pl-pr with automatic syllabification syllable count mismatch",
	parents = {{name = "entry maintenance", sort = "with automatic syllabification syllable count mismatch"}},
	hidden = true,
	can_be_empty = true,
}

--------------------------------- Adjectives --------------------------------

local adj_like_poses = {"adjective", "pronoun", "determiner", "numeral", "suffix"}
for _, pos in ipairs(adj_like_poses) do
	local plpos = require("Module:string utilities").pluralize(pos)
	labels["hard " .. plpos] = {
		description = "{{{langname}}} hard-stem " .. plpos .. ".",
		breadcrumb = "hard",
		parents = {{name = plpos .. " by inflection type", sort = "hard-stem"}},
	}
	labels["soft " .. plpos] = {
		description = "{{{langname}}} soft-stem " .. plpos .. ".",
		breadcrumb = "soft",
		parents = {{name = plpos .. " by inflection type", sort = "soft-stem"}},
	}
	labels["velar " .. plpos] = {
		description = "{{{langname}}} velar-stem " .. plpos .. ".",
		breadcrumb = "velar",
		parents = {{name = plpos .. " by inflection type", sort = "velar-stem"}},
	}
	labels[plpos .. " with short forms"] = {
		description = "{{{langname}}} " .. plpos .. " with short-form inflections.",
		breadcrumb = "with short forms",
		parents = {{name = plpos .. " by inflection type", sort = "short forms"}},
	}
end


return {LABELS = labels}