2,788
edits
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
local export = {} | local export = {} | ||
function export.show() | function export.show() | ||
local ret = "return {" | -- local ret = "return {" | ||
ret = ret .. '\n["num"] = ' .. #languages .. "," | -- local languages = require("Module:languages/data") | ||
for k, v in ipairs(languages) do | -- ret = ret .. '\n\t["num"] = ' .. #languages .. "," | ||
-- for k, v in ipairs(languages) do | |||
end | -- ret = ret .. '\n\t["' .. v.name .. '"] = "' .. v.code .. '",' | ||
ret = ret .. "\n}" | -- end | ||
return ret | -- ret = ret .. "\n}" | ||
-- return ret | |||
return require("Module:languages/data")["ryn"].name | |||
end | end | ||
return export | return export |