Module:gloss grid: Difference between revisions

ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
No edit summary
No edit summary
Line 35: Line 35:
local ipa_temp = data.IPAs[i]
local ipa_temp = data.IPAs[i]
if i == 1 then
if i == 1 then
ipa_temp = (data.phonemic and "/" or "[") .. ipa_temp
ipa_temp = (data.phonemic and "/ " or "[ ") .. ipa_temp
elseif i == term_count then
elseif i == term_count then
ipa_temp = ipa_temp .. (data.phonemic and "/" or "]")
ipa_temp = ipa_temp .. (data.phonemic and " /" or " ]")
end
end
build('<td style="' .. cell_style .. '" class="IPA nolarge">' .. ipa_temp .. '</td>')
build('<td style="' .. cell_style .. '" class="IPA nolarge">' .. ipa_temp .. '</td>')