Module:zm-pron: Difference between revisions

m
no edit summary
No edit summary
mNo edit summary
Line 77: Line 77:
-- Dialects
-- Dialects
for _, dia_rule in ipairs(d == "c" and c_rules or d == "n" and n_rules or d == "s" and s_rules) do
for _, dia_rule in ipairs(d == "c" and c_rules or d == "n" and n_rules or d == "s" and s_rules or nil) do
term = gsub(term, dia_rule[1], dia_rule[2])
term = gsub(term, dia_rule[1], dia_rule[2])
end
end