Module:category tree/lang/pl


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/lang/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/lang in order for the module to be recognized.


local labels = {}

local en_utilities_module = "Module:en-utilities"

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", "adjective form"}
for _, pos in ipairs(adj_like_poses) do
	local plpos = require(en_utilities_module).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"}},
	}
	labels["short " .. plpos] = {
		description = "{{{langname}}} " .. plpos .. " which are used in predicates.",
		parents = "adjective forms",
	}
end


return {LABELS = labels}
Category:Category tree data modules/poscatboiler Category:Polish data modules Category:Polish modules