Module:form of: Difference between revisions

m
ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
mNo edit summary
mNo edit summary
Line 9: Line 9:
if m_data.aliases[inflection] then inflection = m_data.aliases[inflection] end
if m_data.aliases[inflection] then inflection = m_data.aliases[inflection] end
local l = m_data.labels[inflection]
local l = m_data.labels[inflection]
if i > 1 then
table.insert(out, inflection == "/" and "" or " ")
end
if l then
if l then
local text = l.label or inflection
local text = l.label or inflection
Line 22: Line 19:
table.insert(out, inflection)
table.insert(out, inflection)
end
end
if inflections[i+1] and inflection ~= "/" then
if i > 1 and inflections[i+1] and inflection ~= "/" then
table.insert(out, inflection == "/" and "" or " ")
table.insert(out, inflections[i+1] == "/" and "" or " ")
end
end
end
end