2,788
edits
No edit summary |
No edit summary |
||
Line 23: | Line 23: | ||
l_id = l_data.aliases[l_id] or l_id | l_id = l_data.aliases[l_id] or l_id | ||
local label = l_data.labels[l_id] | local label = l_data.labels[l_id] | ||
if i > 1 then | |||
ret = ret .. (skip_comma and " " or ", ") | |||
end | |||
if label == null then | if label == null then | ||
ret = ret | ret = ret .. l_id | ||
skip_comma = false | skip_comma = false | ||
else | else | ||
ret = ret | ret = ret .. make_label(l_id, label) | ||
skip_comma = label["omit_comma"] or false | skip_comma = label["omit_comma"] or false | ||
end | end |