updated class to use i18n strings defined in all.properties rather than hard-coded strings in the class