Modul:Wikidata/i18n
Loncat ke navigasi
Loncat ke pencarian
Dokumentasi untuk modul ini dapat dibuat di Modul:Wikidata/i18n/doc
-- Translate and set up for your language
local i18n = {
["errors"] = {
["property-not-found"] = "Property tidak ditemukan.",
["qualifier-not-found"] = "Qualifier tidak ditemukan.",
},
["datetime"] = {
-- $1 is a placeholder for the actual number
["beforenow"] = "$1 SM", -- how to format negative numbers for precisions 0 to 5
["afternow"] = "$1 M", -- how to format positive numbers for precisions 0 to 5
["bc"] = '$1 SM', -- how print negative years
["ad"] = "$1", -- how print 1st century AD dates
[0] = "$1 miliar tahun", -- precision: billion years
[1] = "$100 juta tahun", -- precision: hundred million years
[2] = "$10 juta tahun", -- precision: ten million years
[3] = "$1 juta tahun", -- precision: million years
[4] = "$100000 tahun", -- precision: hundred thousand years; thousand separators added afterwards
[5] = "$10000 tahun", -- precision: ten thousand years; thousand separators added afterwards
[6] = "$1 milenium", -- precision: milenium
[7] = "$1 abad", -- precision: abad
[8] = "$1s", -- precision: decade
-- the following use the format of #time parser function
[9] = "Y", -- precision: year,
[10] = "F Y", -- precision: month
[11] = "F j, Y", -- precision: day
},
["years-old"] = {"tahun sebelumnya", "tahun sebelumnya"}, -- year(s) old, as in {{PLURAL:$1|singular|plural}}
["cite"] = { -- parameters of local version of Template:Cite web
["url"] = "url",
["title"] = "judul",
["website"] = "situs web",
["access-date"] = "access-date",
["archive-url"] = "archive-url",
["archive-date"]= "archive-date",
["author"] = "penulis",
["publisher"] = "penerbit",
["quote"] = "quote",
["language"] = "bahasa",
["date"] = "tanggal",
["pages"] = "halaman"
},
["addpencil"] = false, -- 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"] = {} -- additional fallback language codes, i.e. {'sv', 'de'}
}
-- Functions for local grammatical cases (as ordinal) and local fixes (if used)
local cases = {
-- local fixes
-- ["infoboxlabel"] = function(word) return require("Module:Wikidades/labels").fixInfoboxLabel(word) end,
-- ["infoboxdata"] = function(word) return require("Module:Wikidades/labels").fixInfoboxData(word) end,
-- other local cases
}
return {
i18n = i18n,
cases = cases
}