/**
 * ValidationPanel Messages
 * Internationalization messages for the validation panel
 */

import { defineMessages } from 'react-intl';

export default defineMessages({
  errors: {
    id: 'htmlEditor.validation.errors',
    defaultMessage: 'Errors'
  },
  warnings: {
    id: 'htmlEditor.validation.warnings',
    defaultMessage: 'Warnings'
  },
  info: {
    id: 'htmlEditor.validation.info',
    defaultMessage: 'Info'
  },
  securityIssues: {
    id: 'htmlEditor.validation.securityIssues',
    defaultMessage: 'Security Issues'
  },
  noIssues: {
    id: 'htmlEditor.validation.noIssues',
    defaultMessage: 'No validation issues found'
  },
  noIssuesOfType: {
    id: 'htmlEditor.validation.noIssuesOfType',
    defaultMessage: 'No issues of this type'
  },
  validating: {
    id: 'htmlEditor.validation.validating',
    defaultMessage: 'Validating...'
  },
  lineColumn: {
    id: 'htmlEditor.validation.lineColumn',
    defaultMessage: 'Line {line}, Column {column}'
  },
  sanitizationWarnings: {
    id: 'htmlEditor.validation.sanitizationWarnings',
    defaultMessage: 'Content Sanitization Warnings'
  },
  htmlValidation: {
    id: 'htmlEditor.validation.htmlValidation',
    defaultMessage: 'HTML Validation'
  },
  cssValidation: {
    id: 'htmlEditor.validation.cssValidation',
    defaultMessage: 'CSS Validation'
  },
  securityValidation: {
    id: 'htmlEditor.validation.securityValidation',
    defaultMessage: 'Security Validation'
  }
});
