/**
 * ValidationTabs Messages
 *
 * Internationalization messages for the ValidationTabs component
 */

import { defineMessages } from 'react-intl';

const scope = 'app.components.HtmlEditor.ValidationTabs';

export default defineMessages({
  // Tab labels (Errors = blocking, Warnings = non-blocking)
  errors: {
    id: `${scope}.errors`,
    defaultMessage: 'Errors',
  },
  warnings: {
    id: `${scope}.warnings`,
    defaultMessage: 'Warnings',
  },

  // Error item labels
  syntaxError: {
    id: `${scope}.syntaxError`,
    defaultMessage: 'Syntax Error',
  },
  lineChar: {
    id: `${scope}.lineChar`,
    defaultMessage: 'Line {line}, Char {char}.',
  },

  // Tooltips
  navigateToError: {
    id: `${scope}.navigateToError`,
    defaultMessage: 'Go to error location',
  },
  collapsePanel: {
    id: `${scope}.collapsePanel`,
    defaultMessage: 'Collapse validation panel',
  },
  expandPanel: {
    id: `${scope}.expandPanel`,
    defaultMessage: 'Expand validation panel',
  },

  // Liquid documentation
  liquidDocumentation: {
    id: `${scope}.liquidDocumentation`,
    defaultMessage: 'Liquid documentation',
  },
});
