มอดูล:category tree/poscatboiler/data/สัญลักษณ์

จาก วิกิพจนานุกรม พจนานุกรมเสรี
local labels = {}
local raw_categories = {}



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


labels["สัญลักษณ์"] = {
	description = "สัญลักษณ์ที่เขียนขึ้นใน{{{langcat}}}",
	umbrella_parents = "มูลฐาน",
	parents = {{name = "{{{langcat}}}", raw = true}},
}
labels["symbols"] = labels["สัญลักษณ์"]

-- ไม่ใช้ เครื่องหมายเสริมสัทอักษร เพราะไม่ครอบคลุม
labels["เครื่องหมายเสริมตัวอักษร"] = {
	description = "{{{langname}}} glyphs that are added to characters to modify the their sounds or meanings.",
	parents = {"สัญลักษณ์"},
}
labels["diacritical marks"] = labels["เครื่องหมายเสริมตัวอักษร"]

labels["Han characters"] = {
	description = "{{{langname}}} symbols of the Han logographic script, which can represent sounds or convey meanings directly.",
	parents = {"logograms"},
}

labels["ideograms"] = {
	description = "{{{langname}}} symbols that represent objects, ideas or concepts directly.",
	umbrella_parents = "มูลฐาน",
	parents = {"สัญลักษณ์"},
}

labels["iteration marks"] = {
	description = "{{{langname}}} glyphs that act as a shorthand for repeated text.",
	parents = {"การย่อ", "สัญลักษณ์"},
}

labels["ตัวอักษร"] = {
	description = "{{{langname}}} symbols that represent single sounds. Variations of letters, such as letters with diacritics, should also be categorized here.",
	parents = {"สัญลักษณ์"},
}
labels["letters"] = labels["ตัวอักษร"]

labels["ตัวอักษรเชื่อม"] = {
	description = "{{{langname}}} letters that have been combined into a single graphical unit.",
	parents = {"สัญลักษณ์"},
}
labels["ligatures"] = labels["ตัวอักษรเชื่อม"]

labels["logograms"] = {
	description = "{{{langname}}} symbols that represent single words or morphemes.",
	parents = {"สัญลักษณ์"},
}

labels["สัญลักษณ์คู่"] = {
	description = "สัญลักษณ์{{{langcat}}} ที่ต้องใช้คู่กัน ตัวอย่างเช่น [[( )]]",
	parents = {"สัญลักษณ์"},
}
labels["matched pairs"] = labels["สัญลักษณ์คู่"]

-- number = จำนวน; numeral = เลข; numeral symbol = ตัวเลข
labels["ตัวเลข"] = {
	description = "สัญลักษณ์{{{langcat}}} ที่ใช้แทนเลขหรือจำนวน",
	parents = {"สัญลักษณ์"},
}
labels["numeral symbols"] = labels["ตัวเลข"]

labels["เครื่องหมายวรรคตอน"] = {
	description = "สัญลักษณ์{{{langcat}}} ที่แสดงถึงโครงสร้างและการจัดระบบการเขียน",
	parents = {"สัญลักษณ์"},
}
labels["punctuation marks"] = labels["เครื่องหมายวรรคตอน"]

labels["พยางค์"] = {
	description = "{{{langname}}} symbols that represent groups of sounds. Variations of syllables, such as syllables with diacritics, should also be categorized here.",
	parents = {"สัญลักษณ์"},
}
labels["syllables"] = 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 symbols.",
	additional = "{{{umbrella_meta_msg}}}",
	parents = {
		"หมวดหมู่ใหญ่รวมหัวข้อ",
		{name = "สัญลักษณ์", is_label = true, sort = " "},
	},
}


return {LABELS = labels, RAW_CATEGORIES = raw_categories}