Modulu:Wikidata/i18n

Wikipedia, Entziklopedia askea
Jump to navigation Jump to search

Documentation for this module may be created at Modulu:Wikidata/i18n/dok

-- Translations, local configuration and local specific functions

-- Please translate to local language
local i18n = {
	["errors"] = {
		["property-not-found"] = "Propietatea ez da aurkitu.",
		["entity-not-found"] = "Wikidata entitatea ez da aurkitu.",
		["unknown-claim-type"] = "Claim mota ezezaguna.",
		["unknown-entity-type"] = "Entitate mota ezezaguna.",
		["qualifier-not-found"] = "Kualifikatzailea ez da aurkitu.",
		["site-not-found"] = "Wikimedia proiektua ez da aurkitu.",
		["unknown-datetime-format"] = "Data formatu ezezaguna.",
		["local-article-not-found"] = "Artikulu hori ez dago oraindik eskuragarri wiki hoentan.",
		['not-from-content-page'] = "Ez inbokatu eduki orrialde batetik. Erabili txantiloi bat edo modulu azpi orrialde bat, edo proba orri bat saiakerak egiteko."
	},
	["datetime"] =
	{
		-- $1 is a placeholder for the actual number
		[0] = "$1 mila milioi urte",	-- precision: billion years
		[1] = "$100 milioi urte",		-- precision: hundred million years
		[2] = "$10 milioi urte",		-- precision: ten million years
		[3] = "$1 milioi urte",			-- precision: million years
		[4] = "$100.000 urte",			-- precision: hundred thousand years
		[5] = "$10.000 urte",			-- precision: ten thousand years
		[8] = "$1(e)ko hamarkada",		-- precision: decade
		-- the following use the format of #time parser function
		[6] = 'xrY". milurtekoa"',		-- precision: millennium
		[7] = 'xrY". mendea"',			-- precision: century
		[9]  = "Y",						-- precision: year
		[10] = "F Y",					-- precision: month
		-- [11] coded in main module for Basque. TODO: localize
		-- require("Module:Date").genitive_year(Y) .. d(' F"k" j')
		[11] = "Y-m-d",					-- precision: day
		[12] = "Y-m-d, ga",				-- precision: hour
		[13] = "Y-m-d g:ia",			-- precision: minute
		[14] = "Y-m-d g:i:sa",			-- precision: second
		["beforenow"] = "duela $1",		-- how to format negative numbers for precisions 0 to 5
		["afternow"] = "$1 barru",		-- how to format positive numbers for precisions 0 to 5
		["bc"] = 'K. a. $1',			-- how print negative years
		["ad"] = "$1",					-- how print positive years
		["bc-addon"] = " K. a.",		-- suffix for negative dates
		["ad-addon"] = "",				-- suffix for 1st century AD dates
	},
	["monolingualtext"] = '<span lang="%language">%text</span>',
	["warnDump"] = "[[Category:Called function 'Dump' from module Wikidata]]",

	["cite"] = {					-- Cite web parameters
		["url"]          = "url",
		["title"]        = "izenburua",
		["website"]      = "lana",
		["access-date"]  = "sarrera-data",
		["archive-url"]  = "artxibo-url",
		["archive-date"] = "artxibo-data",
		["author"]       = "egilea",
		["publisher"]    = "editorea",
		["quote"]        = "aipua",
		["language"]     = "hizkuntza",
		["date"]         = "data",
		["pages"]        = "orrialdea"
	}
}

-- Functions for local grammatical cases
local cases = {
	["infoboxlabel"] = function(word) return require("Module:Wikidata/labels").fixInfoboxLabel(word) end,
	["singularra"] = function(word) return require("Module:Declension").absolutive_singular(word) end,
	["plurala"] = function(word) return require("Module:Declension").absolutive_plural(word) end,
	["ergatiboa"] = function(word) return require("Module:Declension").ergative(word) end,
	["genitiboa"] = function(word) return require("Module:Declension").genitive(word) end,
	["zerekiko"] = function(word) return require("Module:Declension").zerekiko(word) end
}

return {
	i18n = i18n,
	cases = cases
}