Module:Wikidades/i18n
Documentation for this module may be created at Module:Wikidades/i18n/doc
-- Translate and set up for your language
-- Please contact [[:ca:Module talk:Wikidades]] if you need any help
local i18n = {
["errors"] = {
["property-not-found"] = "Maoin gan aimsiú.",
["qualifier-not-found"] = "Cáilitheoir gan aimsiú.",
},
["datetime"] =
{
-- $1 is a placeholder for the actual number, or use the format of #time parser function
["beforenow"] = "$1 RCh", -- how to format negative numbers for precisions 0 to 5
["afternow"] = "$1 IC", -- how to format positive numbers for precisions 0 to 5
["bc"] = '$1 "RCh"', -- how print negative years
["ad"] = "$1", -- how print 1st century AD dates
[0] = "$1 billiún bliain", -- precision: billion years
[1] = "$100 milliún bliain", -- precision: hundred million years
[2] = "$10 milliún bliain", -- precision: ten million years
[3] = "$1 milliún bliain", -- precision: million years
[4] = "$100000 bliain", -- precision: hundred thousand years; thousand separators added afterwards
[5] = "$10000 bliain", -- precision: ten thousand years; thousand separators added afterwards
[6] = "$1 mílaois", -- precision: millennium
[7] = "$1 haois", -- precision: century
[8] = "$1í", -- precision: decade
[9] = "Y", -- precision: year,
[10] = "F Y", -- precision: month
[11] = "j F Y", -- precision: day
["hms"] = {["uair"] = "h", ["nóiméad"] = "m", ["soicind"] = "s"}, -- duration: xh xm xs
},
["years-old"] = {
["singular"] = "blian d'aois", -- year old, as in {{PLURAL:$1|singular|plural}}
["plural"] = "bliana d'aois", -- years old
["paucal"] = "", -- for languages with 3 plural forms as in {{PLURAL:$1|singular|paucal|plural}}
},
["cite"] = { -- cite parameters of local templates
["title"] = "title",
["author"] = "author",
["date"] = "date",
["pages"] = "pages",
["language"] = "language",
-- cite web parameters
["url"] = "url",
["website"] = "website",
["access-date"] = "access-date",
["archive-url"] = "archive-url",
["archive-date"] = "archive-date",
["publisher"] = "publisher",
["quote"] = "quote",
-- cite journal parameters
["work"] = "obair",
["issue"] = "issue",
["issn"] = "issn",
["doi"] = "doi"
},
-- local wiki settings
["addpencil"] = true, -- adds a pencil icon linked to Wikidata statement, planned to overwrite by Wikidata Bridge
["categorylabels"] = "", -- Category:Pages with Wikidata labels not translated (void for no local category)
["categoryprop"] = "", -- Category:Pages using Wikidata property $1 (void for no local category)
["categoryref"] = "", -- Category:Pages with references from Wikidata (void for no local category)
["addfallback"] = {'en', 'ga', 'fr'}, -- additional fallback language codes
["suppressids"] = {}, -- list of Qid values to suppress, i.e. no linguistic content
["qidlabels"] = false -- show labels as Qid if no fallback translation is available (default true)
}
-- Functions for local grammatical cases (as ordinal) and local fixes (if used)
local cases = {
-- local fixes
["infoboxlabel"] = function(word) return require("Module:Wikidata/labels").fixInfoboxLabel(word) end,
["infoboxdata"] = function(word) return require("Module:Wikidata/labels").infoboxdata[word] or word end,
["location"] = function(label, ...) return require("Module:Location").naming(label, arg[2], arg[3]) end,
["locationcontext"] = function(label, ...) return require("Module:Location").naming(label, arg[2], arg[3], arg[4]) end,
-- fraction notation
["fraction"] = function(value) return require("Module:Wikidata/Units").fraction1(value) end,
-- other local cases
}
return {
i18n = i18n,
cases = cases
}