Module:siwa-pron: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 275: Line 275:
end]]
end]]


function make_row(phoneticizations, dials)
function make_row(phonetic, dials)
local full_pronuns = {}
local full_pronuns = {}
for _, phoneticization in ipairs(phoneticizations) do
local IPA_args = {{pron = '[' .. phonetic .. ']'}}
local phonetic = phoneticization[1]
table.insert(full_pronuns, m_IPA.format_IPA_full(lang, IPA_args))
local IPA_args = {{pron = '[' .. phonemic .. ']'}}
return "(''" .. dials .. "'')" .. ' ' .. table.concat(full_pronuns, ' or ')
table.insert(full_pronuns, m_IPA.format_IPA_full(lang, IPA_args))
end
return "(''"..dials.."'')" .. ' ' .. table.concat(full_pronuns, ' or ')
end
end