Mòdul:Wikidades/i18n i Mòdul:Wikidades/proves/i18n: Diferència entre les pàgines
Aparença
(Diferència entre pàgines)
Contingut suprimit Contingut afegit
Faig la modificació demanada per en Vriullop a "Mòdul Discussió:Wikidades" |
infoboxlabelplain |
||
Línia 24: | Línia 24: | ||
[9] = "$1", -- precision: year |
[9] = "$1", -- precision: year |
||
[10] = "F Y", -- precision: month |
[10] = "F Y", -- precision: month |
||
[11] = function(ts) return mw.ustring.match(ts, " |
[11] = function(ts) return mw.ustring.match(ts, "-(%d+)T") == "01" and 'j"r" F Y' or "j F Y" end, -- precision: day |
||
["hms"] = {["hours"] = "h", ["minutes"] = "m", ["seconds"] = "s"}, -- duration: xh xm xs |
["hms"] = {["hours"] = "h", ["minutes"] = "m", ["seconds"] = "s"}, -- duration: xh xm xs |
||
Línia 65: | Línia 65: | ||
local cases = { |
local cases = { |
||
-- local fixes |
-- local fixes |
||
["infoboxlabel"] = function(word) return require("Module:Wikidades/labels").fixInfoboxLabel(word) end, |
["infoboxlabel"] = function(word) return require("Module:Wikidades/labels").fixInfoboxLabel(word, "adm") end, |
||
["infoboxlabelplain"] = function(word) return require("Module:Wikidades/labels").fixInfoboxLabel(word, "plain") end, |
|||
["infoboxdata"] = function(word) return require("Module:Wikidades/labels").fixInfoboxData(word) end, |
["infoboxdata"] = function(word) return require("Module:Wikidades/labels").fixInfoboxData(word) end, |
||
-- plurals with rules in Catalan |
-- plurals with rules in Catalan |