Module:qlu-pron: Difference between revisions
No edit summary |
No edit summary |
||
| Line 315: | Line 315: | ||
local ret = separate_word(term) | local ret = separate_word(term) | ||
local IPA_args = {{pron = '/' .. ret.phonemic .. '/', a = "Standard Ravennese"}, {pron = '[' .. ret.phonetic .. ']'}} | local IPA_args = {{pron = '/' .. ret.phonemic or "test" .. '/', a = "Standard Ravennese"}, {pron = '[' .. ret.phonetic or "test" .. ']'}} | ||
for key, value in pairs(ret.dialectal) do | for key, value in pairs(ret.dialectal) do | ||
if value ~= ret.phonemic then | if value ~= ret.phonemic then | ||
table.insert(IPA_args, {pron = '[' .. value .. ']', a = sub(key, 1, 1), separator = "\n** "}) | table.insert(IPA_args, {pron = '[' .. value or "test" .. ']', a = sub(key, 1, 1), separator = "\n** "}) | ||
end | end | ||
end | end | ||