Module:anui-pron: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 24: Line 24:
local function oral_to_nasal(s)
local function oral_to_nasal(s)
local switcheroo = {["a"] = "ã", ["i"] = "ĩ", ["o"] = "õ", ["u"] = "ᴍ"}
local switcheroo = {["a"] = "ã", ["i"] = "ĩ", ["o"] = "õ", ["u"] = "ᴍ"}
return switcheroo[s]
return s=="a" and "ã" or s=="i" and "ĩ" or s=="o" and "õ" or s=="u" and "ᴍ"
end
end


Navigation menu