Module:IPA/data/export: Difference between revisions

Content deleted Content added
No edit summary
rm diaCode
 
(2 intermediate revisions by 2 users not shown)
Line 45:
for diaCode, dialect in pairs(lang.dialects) do
if not dialect.aliasOf then
aliaseslocal diaAliases = aliases[diaCode],
if dialect.isVariant then
diaCode = diaCode:lower()
Line 50 ⟶ 51:
local diaData = {
code = code .. '-' .. diaCode,
diaCodealiases = diaCodediaAliases,
aliases = aliases[diaCode],
name = dialect.name,
text = dialect.text,
Line 60:
augmentData(diaData)
table.insert(data, diaData)
langData.dialects = langData.dialects or {}
table.insert(langData.dialects, diaCode)
end
end