Module:Lang: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
(promote code to ISO 639-1 if synonymous;)
m (and)
Line 192: Line 192:
if synonym_table[code] then -- if 639-2/639-2T code has a 639-1 synonym
if synonym_table[code] then -- if 639-2/639-2T code has a 639-1 synonym
table.insert (maint_cats, {'Lang or lang-xx code promoted to ISO 639-1', code});
table.insert (maint_cats, {'Lang and lang-xx code promoted to ISO 639-1', code});
code = synonym_table[code][1]; -- use the synonym
code = synonym_table[code][1]; -- use the synonym
end
end