1function ware_helptext(tribe) 2 local helptext = { 3 -- TRANSLATORS: Helptext for a ware: Long Trident 4 atlanteans = pgettext("atlanteans_ware", "The long trident is the first trident in the training of soldiers. It is produced in the weapon smithy and used in the dungeon – together with food – to train soldiers from attack level 0 to level 1.") 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