Dust and gas in local galaxies in the equatorial H-ATLAS fields