<prompt> Translate the following text to SwahiliFollowing the earls death, Scottish historian Thomas Carlyle decided to inspire his fellow countrymen through a national gallery devoted to their heroes.  <response>: Baada ya kifo cha Earl, mwanahistoria wa Scotland Thomas Carlyle aliamua kuwachochea wananchi wenzake kupitia nyumba ya sanaa ya kitaifa iliyowekwa wakfu kwa mashujaa wao. 