Fixed i18n deprecation warning.