Module:languages-oow: Difference between revisions

ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
No edit summary
No edit summary
 
Line 57: Line 57:
end
end
elseif data[args[i]] and (args[i-1] == "" or args[i-1] == nil) and args[i+1] then
elseif data[args[i]] and (args[i-1] == "" or args[i-1] == nil) and args[i+1] then
if not args["nocat"] then out = out .. "[[Category:Terms with " .. language.name .. " translations]]" end
if not args["nocat"] then out = out .. "[[Category:Terms with " .. language.name .. " translations]] " end
language = data[args[i]]
language = data[args[i]]
out = out .. export.get_flag(language.code) .. " "
out = out .. export.get_flag(language.code) .. " "