Module:siwa-pron: Difference between revisions

No edit summary
No edit summary
Line 269: Line 269:


function line_format(pronunciation, dialect)
function line_format(pronunciation, dialect)
local full_pronuns = {}
local full_pronunciations = {}
local IPA_args = {{pron = '[' .. pronunciation .. ']'}}
local IPA_args = {{pron = '[' .. pronunciation .. ']'}}
table.insert(full_pronuns, format_IPA(IPA_args))
table.insert(full_pronunciations, format_IPA(IPA_args))
return "(''" .. table.concat(dials, ", ") .. "'')" .. ' ' .. table.concat(full_pronuns, ' or ')
return "(''" .. table.concat(dialect, ", ") .. "'')" .. ' ' .. table.concat(full_pronunciations, ' or ')
end
end