Module:IPA: Difference between revisions

ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
No edit summary
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