मॉड्यूल:category tree/poscatboiler/data/transliterations
दिखावट
"इस मॉड्यूल हेतु प्रलेख मॉड्यूल:category tree/poscatboiler/data/transliterations/doc पर बनाया जा सकता है"
local labels = {}
local raw_categories = {}
local handlers = {}
local raw_handlers = {}
-----------------------------------------------------------------------------
-- --
-- LABELS --
-- --
-----------------------------------------------------------------------------
labels["रोमनइजेशन"] = {
description = "{{{langname}}} के टर्म जिन्हें लातीनी वर्णमाला में लिप्यंतरण करके प्रदर्शित किया गया है।",
parents = {"ग़ैर-लेमा रूप"},
umbrella_parents = "लिप्यंतरण उपश्रेणियाँ भाषा अनुसार",
-- Special romanization-specific table-of-contents bars are used on romanization pages
-- (e.g. [[Template:got-rom-categoryTOC]]) because they hold Latin-script terms in a
-- language-specific romanization scheme, rather than terms in the language's normal script.
-- For the same reason, we specify catfix = false to disable script-specific font
-- formatting.
toc_template = {"{{{langcode}}}-rom-categoryTOC", "en-categoryTOC"},
toc_template_full = {"{{{langcode}}}-rom-categoryTOC/full", "{{{langcode}}}-rom-categoryTOC", "en-categoryTOC/full"},
catfix = false,
}
labels["बिना मुख्य प्रविष्टि के रोमनइजेशन"] = {
description = "{{{langname}}} romanizations where the corresponding entry in the language's normal script does not exist. Automatically added by <code>{{[[Template:romanization of|romanization of]]}}</code> when applicable.",
parents = {"प्रविष्टि रखरखाव", {name = "रोमनइजेशन", sort = " "}},
umbrella_parents = "प्रविष्टि रखरखाव उपश्रेणियाँ भाषा अनुसार",
--See 'romanizations' above.
toc_template = {"{{{langcode}}}-rom-categoryTOC", "en-categoryTOC"},
toc_template_full = {"{{{langcode}}}-rom-categoryTOC/full", "{{{langcode}}}-rom-categoryTOC", "en-categoryTOC/full"},
catfix = false,
can_be_empty = true,
hidden = true,
}
labels["अन्य भाषाओं से लिप्यंतरित टर्म"] = {
description = "{{{langname}}} terms that have been transliterated from other languages.",
parents = {{name = "आगत शब्द ", sort = " "}},
umbrella_parents = "Transliterations subcategories by language",
}
-----------------------------------------------------------------------------
-- --
-- RAW CATEGORIES --
-- --
-----------------------------------------------------------------------------
raw_categories["Transliterations subcategories by language"] = {
description = "Umbrella categories covering topics related to transliterations.",
additional = "{{{umbrella_meta_msg}}}",
parents = {
"Umbrella metacategories",
{name = "Terms by etymology subcategories by language", sort = " "},
},
}
raw_categories["Terms with manual transliterations different from the automated ones"] = {
intro = "{{also|:श्रेणी:स्वचालित लिप्यंतरण वाली भाषाएँ}}",
description = "Categories with terms with manual transliterations different from the automated ones, by language.",
hidden = true,
parents = "श्रेणी:साँचा निगरानी",
}
raw_categories["अनावश्यक लिप्यंतरण वाले टर्म"] = {
intro = "{{also|:श्रेणी:स्वचालित लिप्यंतरण वाली भाषाएँ}}",
description = "Categories with terms with redundant transliteration, by language.",
hidden = true,
parents = "श्रेणी:साँचा निगरानी",
}
-----------------------------------------------------------------------------
-- --
-- HANDLERS --
-- --
-----------------------------------------------------------------------------
table.insert(handlers, function(data)
local source_name = data.label:match("^transliterations of (.+) terms$")
if source_name then
local source = require("Module:languages").getByCanonicalName(source_name, true,
"allow etym langs")
local source_desc = source:makeCategoryLink()
return {
description = "{{{langname}}} terms that have been transliterated from " .. source_desc .. ".",
breadcrumb = source_name,
parents = {
{ name = "terms transliterated from other languages", sort = source_name },
{ name = "terms borrowed from " .. source_name, sort = " "},
},
umbrella = {
no_by_language = true,
parents = {
{ name = "terms borrowed from " .. source_name, is_label = true, sort = " " }
}
},
}
end
end)
-----------------------------------------------------------------------------
-- --
-- RAW HANDLERS --
-- --
-----------------------------------------------------------------------------
table.insert(raw_handlers, function(data)
local langcode = data.category:match("^स्वचालित लिप्यंतरण से भिन्न मैनुअल लिप्यंतरण वाले टर्म/(.+)$")
if langcode then
return {
description = "{{{langname}}} टर्म जहाँ स्वचालित लिप्यंतरण से भिन्न मैनुअल लिप्यंतरण है।",
lang = langcode,
breadcrumb = "{{{langname}}}",
parents = {
{ name = "स्वचालित लिप्यंतरण से भिन्न मैनुअल लिप्यंतरण वाले टर्म", sort = langcode },
{ name = "प्रविष्टि रखरखाव", is_label = true, lang = langcode },
},
-- Set catfix = false because the page will have a mixture of native-language and
-- non-native-language pages, but include the normal native-language table of contents headers
-- because most pages are in the native language.
catfix = false,
toc_template = "{{{langcode}}}-श्रेणी विषयसूची",
toc_template_full = "{{{langcode}}}-श्रेणी विषयसूची/विस्तृत",
can_be_empty = true,
hidden = true,
}
end
end)
table.insert(raw_handlers, function(data)
local langcode = data.category:match("^अनावश्यक लिप्यंतरण वाले टर्म/(.+)$")
if langcode then
return {
description = "अनावश्यक लिप्यंतरण वाले {{{langname}}} टर्म।",
lang = langcode,
breadcrumb = "{{{langname}}}",
parents = {
{ name = "अनावश्यक लिप्यंतरण वाले टर्म", sort = langcode },
{ name = "प्रविष्टि रखरखाव", is_label = true, lang = langcode },
},
-- Set catfix = false because the page will have a mixture of native-language and
-- non-native-language pages, but include the normal native-language table of contents headers
-- because most pages are in the native language.
catfix = false,
toc_template = "{{{langcode}}}-श्रेणी विषयसूची",
toc_template_full = "{{{langcode}}}-श्रेणी विषयसूची/विस्तृत",
can_be_empty = true,
hidden = true,
}
end
end)
return {LABELS = labels, RAW_CATEGORIES = raw_categories, HANDLERS = handlers, RAW_HANDLERS = raw_handlers}