1function ware_helptext(tribe) 2 local helptext = { 3 -- TRANSLATORS: Helptext for a ware: Broad Ax 4 barbarians = pgettext("barbarians_ware", "The broad ax is produced by the ax workshop and the war mill. It is used in the training camp – together with food – to train soldiers with a fundamental fighting knowledge from attack level 1 to attack level 2.") 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