All resolutions of the board of chosen freeholders, providing a penalty for violation thereof, shall be published at least once in a newspaper circulating in the county before they shall become effective.