Module:mg-spel: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 84: Line 84:
local unchanged = "''unchanged''"
local unchanged = "''unchanged''"
local uc = match(term, "[A-Z]")
local uc = match(term, "[A-Z]")
term = mw.ustring.lower(term)
local spat = {["p"] = "b", ["b"] = "v", ["t"] = "d", ["d"] = "z", ["c"] = "g", ["q"] = "g", ["g"] = "h"}
local spat = {["p"] = "b", ["b"] = "v", ["t"] = "d", ["d"] = "z", ["c"] = "g", ["q"] = "g", ["g"] = "h"}