45,646
edits
(Created page with "local export = {} --[=[ This function checks for things that could plausibly be a language code: two or three lowercase letters, two or three groups of three lowercase le...") |
No edit summary |
||
Line 319: | Line 319: | ||
if not ((module_override or self._rawData.translit_module) and text) then | if not ((module_override or self._rawData.translit_module) and text) then | ||
return nil | return nil | ||
end | end | ||
Line 402: | Line 398: | ||
function export.makeObject(code, data) | function export.makeObject(code, data) | ||
return data and setmetatable({ _rawData = data, _code = code }, Language) or nil | return data and setmetatable({ _rawData = data, _code = code }, Language) or nil |