1,124
edits
Line 111: | Line 111: | ||
if productData then | if productData then | ||
for k, v in ipairs(productData) do | for k, v in ipairs(productData) do | ||
products = products .. i.icon(v, nil, nil, | products = products .. i.icon(v, nil, nil, string.gsub(v, | ||
string.sub(v,1,1), string.upper(string.sub(v,1,1)), 1), | |||
'en') | |||
if k ~= #productData then | if k ~= #productData then | ||
products = products .. '<br />' | products = products .. '<br />' |