45,646
edits
No edit summary |
No edit summary |
||
Line 52: | Line 52: | ||
function export.tr(text, lang, sc) | function export.tr(text, lang, sc) | ||
text = mw.ustring.gsub(text, | for pat, repl in pairs(tt) do | ||
text = mw.ustring.gsub(text, pat, repl) | |||
end | |||
return text | return text | ||
end | end | ||
return export | return export |