import { i18n } from '@kbn/i18n' ; /** An error message to be used when the user rejects a confirm overwrite. */ export const OVERWRITE_REJECTED = i18n . translate ( 'visualizations.overwriteRejectedDescription' , { defaultMessage : 'Overwrite confirmation was rejected' , } ) ; /** An error message to be used when the user rejects a confirm save with duplicate title. */ export const SAVE_DUPLICATE_REJECTED = i18n . translate ( 'visualizations.saveDuplicateRejectedDescription' , { defaultMessage : 'Save with duplicate title confirmation was rejected' , } ) ;