Content deleted Content added
mNo edit summary |
hide aliases in keys |
||
Line 144:
local function organizeKeys(t, lects, parent, parentCode)
for code, lect in pairs(lects) do
if not lect.aliasOf then
local origCode = lect.isVariant and code:lower() or code local key = lect.key or parent and parent.key▼
local name, link = getNameAndLink(code)
end▼
table.insert(t, {▼
▲ local key = lect.key or parent and parent.key
code = parent and parentCode .. '-' .. origCode or origCode
▲ table.insert(t, {
▲ end
organizeKeys(t, lect.dialects, lect, code)▼
▲ code = parent and parentCode .. '-' .. origCode or origCode
▲ organizeKeys(t, lect.dialects, lect, code)
end
end
|