10,731
edits
TheNightAvl (talk | contribs) No edit summary |
TheNightAvl (talk | contribs) No edit summary |
||
Line 20: | Line 20: | ||
["'"] = "ˈ", | ["'"] = "ˈ", | ||
} | } | ||
for from, to in pairs(correspondences) do ipa = mw.ustring.gsub(ipa, from, to) end | for from, to in pairs(correspondences) do | ||
ipa = mw.ustring.gsub(ipa, "'''", "ʹʹ") | |||
ipa = mw.ustring.gsub(ipa, "''", "ʹ") | |||
ipa = mw.ustring.gsub(ipa, from, to) | |||
ipa = mw.ustring.gsub(ipa, "ʹʹ", "'''") | |||
ipa = mw.ustring.gsub(ipa, "ʹ", "''") | |||
end | |||
return ipa | return ipa | ||
end | end |