Module:languages/names/generate: Difference between revisions

Jump to navigation Jump to search
ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
No edit summary
No edit summary
Line 5: Line 5:
local ret = "return {"
local ret = "return {"
ret = ret .. '["num"] = ' .. #languages .. ","
ret = ret .. '["num"] = ' .. #languages .. ","
ret = ret .. '["test"] = ' .. languages .. ","
--ret = ret .. '["test"] = ' .. languages .. ","
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 .. '",'

Navigation menu