Module:languages: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 397: Line 397:
return require((mw.ustring.match(m, "^wikt:") and "wikt:" or "") .. "Module:"
return require((mw.ustring.match(m, "^wikt:") and "wikt:" or "") .. "Module:"
.. (module_override or mw.ustring.sub(m, "6"))).tr(text, self:getCode(), sc and sc:getCode() or nil)
.. (module_override or mw.ustring.sub(m, 6))).tr(text, self:getCode(), sc and sc:getCode() or nil)
end
end