Module:translations: Difference between revisions

m
ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
mNo edit summary
mNo edit summary
Line 18: Line 18:
local title = args[2] or args["title"] or args["t"]
local title = args[2] or args["title"] or args["t"]
local nocat = args["nocat"] ~= nil or false
local nocat = args["nocat"] ~= nil or false
args["nocat"] = nil
args["nocat"] = false
if title then title = string.gsub(title, "%s+$", "") end
if title then title = string.gsub(title, "%s+$", "") end
for k, v in pairs(args) do
for k, v in pairs(args) do