1function ware_helptext(tribe) 2 local helptext = { 3 -- TRANSLATORS: Helptext for a ware: Grout 4 barbarians = pgettext("barbarians_ware", "Granite can be processed into grout which provides a solid, non burning building material. Grout is produced in a lime kiln.") 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