Module:translations: Difference between revisions

ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
No edit summary
No edit summary
Line 12: Line 12:
for k, v in pairs(args) do
for k, v in pairs(args) do
if k == 1 then
if k == 1 then
title = v
title = string.gsub(v, "%s+$", "")
elseif type(k) == "string" then
elseif type(k) == "string" then
local language = m_languages.get_by_code(k)
local language = m_languages.get_by_code(k)