45,646
edits
No edit summary |
No edit summary |
||
Line 157: | Line 157: | ||
local IPA_args = {} | local IPA_args = {} | ||
local phonetic = separate_word(term) | local phonetic = separate_word(term) | ||
local western = phonetic | local western = phonetic | ||
Line 163: | Line 162: | ||
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, | local ipa1 = (western ~= phonetic) and "\n** " .. m_IPA.format_IPA_multiple({lang=lang, items={pron='[' .. western .. ']', q="Western"}}) or "" | ||
local surgut = phonetic | local surgut = phonetic | ||
Line 169: | Line 168: | ||
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, | local ipa2 = (surgut ~= phonetic) and "\n** " .. m_IPA.format_IPA_multiple({lang=lang,items={pron='[' .. surgut .. ']', q="Surgut"}}) or "" | ||
return "* " .. m_IPA.format_IPA_full(lang, | return "* " .. m_IPA.format_IPA_full({lang=lang,items={pron='[' .. phonetic .. ']'}}) .. ipa1 .. ipa2 | ||
end | end | ||
return export | return export |