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 | local full_pronunciations = {} | ||
local IPA_args = {{pron = '[' .. pronunciation .. ']'}} | local IPA_args = {{pron = '[' .. pronunciation .. ']'}} | ||
table.insert( | table.insert(full_pronunciations, format_IPA(IPA_args)) | ||
return "(''" .. table.concat( | return "(''" .. table.concat(dialect, ", ") .. "'')" .. ' ' .. table.concat(full_pronunciations, ' or ') | ||
end | end | ||