Mòdul:Wikidata/i18n: diferència entre les revisions
Contingut suprimit Contingut afegit
actualització |
trec missatges d'error no usats |
||
Línia 2:
["errors"] = {
["property-not-found"] = "Propietat no trobada.",
["qualifier-not-found"] = "Qualificador no trobat.",
['not-from-content-page'] = "No invoqueu Wikidata directament en un article. Useu una plantilla o bé Wikidata/proves."
},
Linha 18 ⟶ 12:
[2] = "$10 milions d'anys", -- precision: ten million years
[3] = "$1 milions d'anys", -- precision: million years
[4] = "$
[5] = "$
[8] = "dècada del $1", -- precision: decade
-- the following use the format of #time parser function
Linha 38 ⟶ 32:
},
["monolingualtext"] = '<span lang="%language">%text</span>',
["cite"] = { -- Cite web parameters
Linha 55 ⟶ 48:
}
}
-- Functions for local grammatical cases
local cases = {
["smallcaps"] = function(word) return '<span style="font-variant: small-caps;">' .. word .. '</span>' end,▼
-- local fixes
["infoboxlabel"] = function(word) return require("Module:Wikidata/labels").fixInfoboxLabel(word) end,
["infoboxdata"] = function(word) return require("Module:Wikidata/labels").fixInfoboxData(word) end,
▲ ["smallcaps"] = function(word) return '<span style="font-variant: small-caps;">' .. word .. '</span>' end,
}
|