Module:translations: Difference between revisions

Jump to navigation Jump to search
Created page with "local export = {} local m_languages = require("Module:languages") function export.show(frame) local function sort_function(a, b) return a.name < b.name end local translations = {} local title local args = frame:getParent(args) for k, v in pairs(args) do if k == 1 then title = v elseif type(k) == "string" then local language = m_languages.get_by_code(k) table.insert(translations, {name = language.name, display = language.name .. ": " .. v}) end e..."
(Created page with "local export = {} local m_languages = require("Module:languages") function export.show(frame) local function sort_function(a, b) return a.name < b.name end local translations = {} local title local args = frame:getParent(args) for k, v in pairs(args) do if k == 1 then title = v elseif type(k) == "string" then local language = m_languages.get_by_code(k) table.insert(translations, {name = language.name, display = language.name .. ": " .. v}) end e...")
(No difference)

Navigation menu