Difference between revisions of "Module:Int"
Jump to navigation
Jump to search
preprocess
>Shirayuki |
>Shirayuki (preprocess) |
||
Line 17: | Line 17: | ||
local lang = templateTranslation.getLanguage() | local lang = templateTranslation.getLanguage() | ||
if (msg:exists() and not msg:isDisabled()) then | if (msg:exists() and not msg:isDisabled()) then | ||
local msgstr = msg:inLanguage(lang):plain() | |||
return frame:preprocess(msgstr) | |||
else | else | ||
return '⧼' .. args[1] .. '⧽' | return '⧼' .. args[1] .. '⧽' |