1function ware_helptext(tribe) 2 local helptext = { 3 -- TRANSLATORS: Helptext for a ware: Cornmeal 4 atlanteans = pgettext("atlanteans_ware", "Cornmeal is produced in a mill out of corn and is one of three parts of the Atlantean bread produced in bakeries.") 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