1function ware_helptext(tribe) 2 local helptext = { 3 -- TRANSLATORS: Helptext for a ware: Honey Bread 4 frisians = pgettext("frisians_ware", "This bread is sweetened with honey. It is consumed by the most experienced miners and in advanced soldier training.") 5 } 6 local result = "" 7 if tribe then 8 result = helptext[tribe] 9 else 10 result = helptext["default"] 11 end 12 if (result == nil) then result = "" end 13 return result 14end 15