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