Module:kilta-pron: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 105: Line 105:
local IPA_args = {}
local IPA_args = {}
local phonemic, phonetic = separate_word(term)
local phonemic, phonetic = separate_word(term)
table.insert(IPA_args, {{pron = '/' .. phonemic .. '/'}, {pron = '[' .. phonetic .. ']'}})
table.insert(IPA_args, {pron = '/' .. phonemic .. '/'})
table.insert(IPA_args, {pron = '[' .. phonetic .. ']'})


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