Module:kilta-pron: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 154: Line 154:
local IPA_args = {{pron = '[' .. phonetic .. ']'}}
local IPA_args = {{pron = '[' .. phonetic .. ']'}}
if phonemic ~= phonetic then table.insert(IPA_args, {pron = '/' .. phonemic .. '/'}, 1) end
if phonemic ~= phonetic then table.insert(IPA_args, 1, {pron = '/' .. phonemic .. '/'}) end


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