Module:translations: Difference between revisions

ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
No edit summary
No edit summary
Line 15: Line 15:
local title = args[2] or args["title"] or args["t"]
local title = args[2] or args["title"] or args["t"]
if title then title = string.gsub(title, "%s+$", "") end
if title then title = string.gsub(title, "%s+$", "") end
if args[2] == nil then return "[[Category:Translations to update]]" end
for k, v in pairs(args) do
for k, v in pairs(args) do
if type(k) == "string" and type(v) == "string" then
if type(k) == "string" and type(v) == "string" then