Module:ISO 639 name/ISO 639 name to code/make: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 23:
 
lang = mw.ustring.lower (lang); -- convert to lowercase for use as table index
if not code then
error ('nil code')
end
if not part then
error ('nil part')
end
if not temp[lang] then -- when no entry for this language
Line 38 ⟶ 31:
'[', -- open the key
part, -- add the index
']=\"', -- close key, add assignment operator and open quote beause these are strings
code, -- add the code
'\"' -- close the string quote
}));
end