Module:Translations: Difference between revisions
From Cassette Beasts
implement error handling |
attempt 2?? |
||
| Line 4: | Line 4: | ||
function p.get_tl(frame) | function p.get_tl(frame) | ||
if translations[frame.args[1]][frame.args[2]] ~= nil then | |||
return translations[frame.args[1]][frame.args[2]] | |||
else | |||
return '???' | |||
end | end | ||
end | end | ||
return p | return p | ||
Revision as of 21:21, 14 July 2025
Documentation for this module may be created at Module:Translations/doc
