มอดูล:category tree/poscatboiler/data/ภาพพจน์

local labels = {}
local raw_categories = {}



-----------------------------------------------------------------------------
--                                                                         --
--                                  LABELS                                 --
--                                                                         --
-----------------------------------------------------------------------------


labels["ภาพพจน์"] = {
	description = "{{{langname}}} terms whose interpretation is not strictly literal, but are used in figurative ways or for special effect.",
	umbrella_parents = "มูลฐาน",
	parents = {{name = "{{{langcat}}}", raw = true}},
}
labels["figures of speech"] = labels["ภาพพจน์"]

labels["คำพังเพย"] = {
	description = "{{{langname}}} phrases that convey basic concepts in a manner short and easily memorable. Typically conveying a concise statement of a scientific principle or truth.",
	parents = {"ภาพพจน์"},
}
labels["aphorisms"] = labels["คำพังเพย"]

labels["วลีติดปาก"] = {
	description = "{{{langname}}} phrases that are popularized through repeated use.",
	parents = {"ภาพพจน์"},
}
labels["catchphrases"] = labels["วลีติดปาก"]

labels["เฉิงยฺหวี่"] = {
	description = "{{{langname}}} phrases originating in Classical Chinese, typically four characters in length.",
	parents = {"สำนวน"},
}
labels["chengyu"] = labels["เฉิงยฺหวี่"]

labels["dysphemisms"] = {
	description = "{{{langname}}} [[dysphemism]]s (offensive, vulgar or otherwise negative terms used in place of a neutral alternative).",
	parents = {"ภาพพจน์"},
}

labels["euphemisms"] = {
	description = "{{{langname}}} terms that indirectly refer to something unpleasant or controversial.",
	parents = {"ภาพพจน์"},
}

labels["อติพจน์"] = {
	description = "{{{langname}}} terms used as exaggerations for emphasis, rather than being taken literally.",
	parents = {"ภาพพจน์"},
}
labels["hyperboles"] = labels["อติพจน์"]

labels["สำนวน"] = {
	description = "{{{langname}}} phrases understood by subjective, as opposed to literal meanings.",
	parents = {"ภาพพจน์"},
}
labels["idioms"] = labels["สำนวน"]

labels["อุปนิเสธ"] = {
	description = "{{{langname}}} litotical expressions or terms commonly used in [[litotes]] (stating something by denying its opposite).",
	parents = {"ภาพพจน์"},
}
labels["litotes"] = labels["อุปนิเสธ"]

labels["อวพจน์"] = {
	description = "{{{langname}}} meiotic expressions or terms commonly used in [[meiosis]] (downplaying the focal point of a statement for effect).",
	parents = {"ภาพพจน์"},
}
labels["meioses"] = labels["อวพจน์"]

labels["อุปลักษณ์"] = {
	description = "{{{langname}}} phrases that invoke a similarity with something else.",
	parents = {"ภาพพจน์"},
}
labels["metaphors"] = labels["อุปลักษณ์"]

labels["minced oaths"] = {
	description = "{{{langname}}} euphemisms for profane, blasphemous, or taboo terms.",
	parents = {"euphemisms"},
}

labels["สุภาษิต"] = {
	description = "{{{langname}}} phrases popularly known as representations of common sense.",
	parents = {"ภาพพจน์"},
}
labels["proverbs"] = labels["สุภาษิต"]

labels["sarcastic terms"] = {
	description = "{{{langname}}} terms that are used sarcastically.",
	parents = {"ภาพพจน์"},
}

labels["อุปมา"] = {
	description = "{{{langname}}} figures of speech in which one thing is compared to another.",
	parents = {"ภาพพจน์"},
}
labels["similes"] = labels["อุปมา"]

labels["สำนวนแปลง"] = {
	description = "{{{langname}}} clichés using old idioms with varying words in new contexts.",
	parents = {"สำนวน"},
}
labels["snowclones"] = labels["สำนวนแปลง"]


-- Add 'umbrella_parents' key if not already present.
for key, data in pairs(labels) do
	if not data.umbrella_parents then
		data.umbrella_parents = "หมวดหมู่ย่อยของภาพพจน์แบ่งตามภาษา"
	end
end



-----------------------------------------------------------------------------
--                                                                         --
--                              RAW CATEGORIES                             --
--                                                                         --
-----------------------------------------------------------------------------


raw_categories["หมวดหมู่ย่อยของภาพพจน์แบ่งตามภาษา"] = {
	description = "Umbrella categories covering topics related to figures of speech.",
	additional = "{{{umbrella_meta_msg}}}",
	parents = {
		"หมวดหมู่ใหญ่รวมหัวข้อ",
		{name = "ภาพพจน์", is_label = true, sort = " "},
	},
}


return {LABELS = labels, RAW_CATEGORIES = raw_categories}