Module:Sandbox/CXuesong/Translations: Difference between revisions

Content deleted Content added
CXuesong (talk | contribs)
No edit summary
CXuesong (talk | contribs)
No edit summary
Line 152:
-- with the provided language tag,
-- or nil, if no such translation is found.
function p.translate(keyterm, language)
-- Bypass English.
if language == ENGLISH_TAG then return key end
Line 206:
:attr("class", "wikitable")
local transKeys = orderedKeys(trans)
odybody:tag("tr")
:tag("th")
:wikitext(ENGLISH)
Line 222:
:done()
end
return tostring(body)
end
--print(p.glossary())