Module:languages/names/generate: Difference between revisions

Jump to navigation Jump to search
ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
No edit summary
Tag: Manual revert
No edit summary
Line 5: Line 5:
local ret = "return {"
local ret = "return {"
for k, v in ipairs(languages) do
for k, v in ipairs(languages) do
ret = ret + '\n\t["' .. v.name .. '"] = "' .. v.code .. '",'
ret = ret .. '\n\t["' .. v.name .. '"] = "' .. v.code .. '",'
end
end
ret = ret .. "\n}"
ret = ret .. "\n}"

Navigation menu