Module:xchc-pron: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 163: Line 163:
western = gsub(western, rule[1], rule[2])
western = gsub(western, rule[1], rule[2])
end
end
local ipa1 = (western ~= phonetic) and "\n** " .. m_IPA.format_IPA_multiple(lang, {pron='[' .. western .. ']', q="Western"}) or ""
local ipa1 = (western ~= phonetic) and "\n** " .. m_IPA.format_IPA_multiple(lang, {{pron='[' .. western .. ']', q="Western"}}) or ""
local surgut = phonetic
local surgut = phonetic
Line 169: Line 169:
surgut = gsub(surgut, rule[1], rule[2])
surgut = gsub(surgut, rule[1], rule[2])
end
end
local ipa2 = (surgut ~= phonetic) and "\n** " .. m_IPA.format_IPA_multiple(lang, {pron='[' .. surgut .. ']', q="Surgut"}) or ""
local ipa2 = (surgut ~= phonetic) and "\n** " .. m_IPA.format_IPA_multiple(lang, {{pron='[' .. surgut .. ']', q="Surgut"}}) or ""


return "* " .. m_IPA.format_IPA_full(lang, IPA_args) .. ipa1 .. ipa2
return "* " .. m_IPA.format_IPA_full(lang, IPA_args) .. ipa1 .. ipa2

Navigation menu