local labels = {}
local raw_categories = {}
-----------------------------------------------------------------------------
-- --
-- LABELS --
-- --
-----------------------------------------------------------------------------
labels["符號"] = {
description = "{{{langname}}} written signs.",
umbrella_parents = "分类",
parents = {{name = "{{{langcat}}}", raw = true}},
}
labels["附加符號"] = {
description = "{{{langname}}} glyphs that are added to characters to modify the their sounds or meanings.",
parents = {"符號"},
}
labels["漢字"] = {
description = "{{{langname}}} symbols of the Han logographic script, which can represent sounds or convey meanings directly.",
parents = {"符號"},
}
labels["形意符號"] = {
description = "{{{langname}}}中直接代表物體、想法或概念的符號。",
umbrella_parents = "分類",
parents = {"符號"},
}
labels["疊字符號"] = {
description = "{{{langname}}}中用作重複文本之速記的字形。",
parents = {"縮寫", "符號"},
}
labels["字母"] = {
description = "{{{langname}}} symbols that represent single sounds. Variations of letters, such as letters with diacritics, should also be categorized here.",
parents = {"符號"},
}
labels["合字"] = {
description = "{{{langname}}} letters that have been combined into a single graphical unit.",
parents = {"符號"},
}
labels["語素文字"] = {
description = "代表單個詞語或語素的{{{langname}}}符號。",
umbrella_parents = "分类",
parents = {"符號"},
}
labels["matched pairs"] = {
description = "{{{langname}}} pairs of separate characters that are used together. Example: [[( )]].",
parents = {"符號"},
}
labels["數字符號"] = {
description = "{{{langname}}} symbols that represent numerals.",
parents = {"符號"},
}
labels["標點符號"] = {
description = "{{{langname}}} symbols that indicate structure and organization of writing.",
parents = {"符號"},
}
labels["音節"] = {
description = "{{{langname}}} symbols that represent groups of sounds. Variations of syllables, such as syllables with diacritics, should also be categorized here.",
parents = {"符號"},
}
-- 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}