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"] = "Tro gyn cronney.",
		["qualifier-not-found"] = "Qualleeaghteyr gyn cronney.",
	},
	["datetime"] =
	{
		-- $1 is a placeholder for the actual number, or use the format of #time parser function
		["beforenow"] = "$1 RC",	-- how to format negative numbers for precisions 0 to 5
		["afternow"] = "$1 BNJ",		-- how to format positive numbers for precisions 0 to 5
		["bc"] = '$1 "RC"',		-- how print negative years
		["ad"] = "$1",				-- how print 1st century AD dates
		
		[0] = "$1 billoon dy vleeantyn",	-- precision: billion years
		[1] = "$100 millioon dy vleeantyn",	-- precision: hundred million years
		[2] = "$10 millioon dy vleeantyn",	-- precision: ten million years
		[3] = "$1 millioon dy vleeantyn",	-- precision: million years
		[4] = "$100000 bleeaney",		-- precision: hundred thousand years; thousand separators added afterwards
		[5] = "$10000 bleeaney",		-- precision: ten thousand years; thousand separators added afterwards
		[6] = "$1 milley bleeaney",			-- precision: millennium
		[7] = "$1 eash",			-- precision: century
		[8] = "$1yn",				-- precision: decade
		[9] = "Y",					-- precision: year, 
		[10] = "F Y",				-- precision: month
		[11] = "j F Y",			-- precision: day
		
		["hms"] = {["oor"] = "h", ["minnid"] = "m", ["tootçhey"] = "s"},	-- duration: xh xm xs
	},
	
	["years-old"] = {
		["singular"] = "vlein d'eash",	-- year old, as in {{PLURAL:$1|singular|plural}}
		["plural"] = "bleeaney d'eash",	-- years old
		["paucal"] = "",			-- for languages with 3 plural forms as in {{PLURAL:$1|singular|paucal|plural}}
	},
	
	["cite"] = {					-- cite parameters of local templates
		["title"] = "enmys",
		["author"] = "ughtar",
		["date"] = "date",
		["pages"] = "duillagyn",
		["language"] = "çhengey",
		-- cite web parameters
		["url"] = "url",
		["website"] = "ynnyd-eggey",
		["access-date"] = "access-date",
		["archive-url"] = "archive-url",
		["archive-date"] = "archive-date",
		["publisher"] = "soilsheyder",
		["quote"] = "aaraa",
		-- cite journal parameters
		["work"] = "obbyr",
		["issue"] = "cur magh",
		["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)
	["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:Wikidata/labels").fixInfoboxLabel(word) end,
	["infoboxdata"] = function(word) return require("Module:Wikidata/labels").infoboxdata[word] or word end,
	-- other local cases
}

return {
	i18n = i18n,
	cases = cases
}