Pergi ke kandungan

Modul:category tree/symbols

Daripada Wikikamus

Submodul data ini mentakrifkan sebahagian daripada struktur kategori Wikikamus.

Untuk pengenalan kepada sistem poscatboiler dan penerangan tentang cara menambah atau mengubah suai kategori, lihat Modul:category tree/data/doc.

local labels = {}
local raw_categories = {}



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

labels["Simbol"] = {
	description = "Tata tanda tertulis pada bahasa {{{langname}}}.",
	umbrella_parents = "Asas",
	parents = {{name = "{{{langcat}}}", raw = true}},
}

labels["Tanda diakritik"] = {
	description = "{{{langname}}} glyphs that are added to characters to modify the their sounds or meanings.",
	parents = {"Simbol"},
}

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

labels["Huruf"] = {
	description = "{{{langname}}} symbols that represent single sounds. Variations of letters, such as letters with diacritics, should also be categorized here.",
	parents = {"Simbol"},
}

labels["Ligatur"] = {
	description = "{{{langname}}} letters that have been combined into a single graphical unit.",
	parents = {"Simbol"},
}

labels["Logogram"] = {
	description = "{{{langname}}} symbols that represent objects, ideas or concepts directly.",
	parents = {"Simbol"},
}

labels["Pasangan serasi"] = {
	description = "{{{langname}}} pairs of separate characters that are used together. Example: [[( )]].",
	parents = {"Simbol"},
}

labels["Simbol penomboran"] = {
	description = "{{{langname}}} symbols that represent numerals.",
	parents = {"Simbol"},
}

labels["Tanda baca"] = {
	description = "{{{langname}}} symbols that indicate structure and organization of writing.",
	parents = {"Simbol"},
}

labels["Suku kata"] = {
	description = "Simbol bahasa {{{langname}}} yang mewakili kumpulan bunyi pertuturan manusia. Kelainan suku kata seperti suku kata dengan diakritik juga perlu dikategorikan di sini.",
	parents = {"Simbol"},
}

-- Add 'umbrella_parents' key if not already present.
for key, data in pairs(labels) do
	if not data.umbrella_parents then
		data.umbrella_parents = "Subkategori simbol mengikut bahasa"
	end
end


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


raw_categories["Subkategori simbol mengikut bahasa"] = {
	description = "Kategori payung berkaitan simbol.",
	additional = "{{{umbrella_meta_msg}}}",
	parents = {
		"Metakategori payung",
		{name = "Simbol", is_label = true, sort = " "},
	},
}


return {LABELS = labels, RAW_CATEGORIES = raw_categories}