Modul:Wikidata/i18n

Saking Wikisource

Dokuméntasi antuk modul puniki prasida kakardi ring Modul:Wikidata/i18n/doc

-- Translate and set up for your language
-- Please contact [[:ca:Module talk:Wikidata]] if you need any help

local i18n = {
	["errors"] = {
		["property-not-found"] = "Property tusing bakat.",
		["qualifier-not-found"] = "Qualifier tusing bakat.",
	},
	["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 milyar warsa",	-- precision: billion years
		[1] = "$100 yuta warsa",	-- precision: hundred million years
		[2] = "$10 yuta warsa",	-- precision: ten million years
		[3] = "$1 yuta warsa",	-- precision: million years
		[4] = "$100000 warsa",		-- precision: hundred thousand years; thousand separators added afterwards
		[5] = "$10000 warsa",		-- precision: ten thousand years; thousand separators added afterwards
		[6] = "$1 milenium",		-- precision: millennium
		[7] = "$1 abad",			-- precision: century
		[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"] = {
		["singular"] = "warsa sadurungnyane",	-- year old, as in {{PLURAL:$1|singular|plural}}
		["plural"] = "warsa sadurungnyane",		-- years old
		["paucal"] = "",						-- for languages with 3 plural forms as in {{PLURAL:$1|singular|paucal|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"]		= "pangawi",
		["publisher"]	= "penerbit",
		["quote"]		= "quote",
		["language"]	= "basa",
		["date"]		= "pinanggal",
		["pages"]		= "kaca"
	},
	
	["addpencil"] = 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").fixInfoboxData(word) end,
	-- other local cases
}

return {
	i18n = i18n,
	cases = cases
}