Content deleted Content added
might work if I used the correct variable name |
keep track of {} in a consistent manner; add internationalisation for ordinals |
||
Line 15:
-- internationalisation
local i18n =
{ ["errors"] =
{
["property-not-found"] = "Property not found.",
["entity-not-found"] = "Wikidata entity not found.",
Line 68 ⟶ 70:
},
["monolingualtext"] = '<span lang="%language">%text</span>',
["warnDump"] = "[[Category:Called function 'Dump' from module Wikidata]]",
["ordinal"] =
{
[1] = "st",
[2] = "nd",
[3] = "rd",
["default"] = "th"
}
}
|