import { defineMessages } from 'react-intl';

export default defineMessages({
  pageDashboard: {
    id: 'Page.Dashboard.Title',
    defaultMessage: 'Dashboard',
  },
  pageNotFound: {
    id: 'Page.NotFound.Title',
    defaultMessage: '404 not found',
  },
  pageBroker: {
    id: 'Page.Broker.Title',
    defaultMessage: 'Broker',
  },
  pageBrokers: {
    id: 'Page.Brokers.Title',
    defaultMessage: 'Brokers',
  },
  pageCluster: {
    id: 'Page.Cluster.Title',
    defaultMessage: 'Cluster',
  },
  pageKafkaInfo: {
    id: 'Page.CardKafkaInfo.Title',
    defaultMessage: 'Kafka Info',
  },
  pageKafkaConnect: {
    id: 'Page.KafkaConnect.Title',
    defaultMessage: 'Kafka Connect',
  },
  pageProducer: {
    id: 'Page.Producer.Title',
    defaultMessage: 'Producer',
  },
  pageTopics: {
    id: 'Page.Topics.Title',
    defaultMessage: 'Topics',
  },
  pageStreams: {
    id: 'Page.Streams.Title',
    defaultMessage: 'Streams',
  },
  pageVersion: {
    id: 'Page.Version.Title',
    defaultMessage: 'Version',
  },
  cancel: {
    id: 'Button.Cancel',
    defaultMessage: 'Cancel',
  },
  create: {
    id: 'Button.Create',
    defaultMessage: 'Create',
  },
  delete: {
    id: 'Button.Delete',
    defaultMessage: 'Delete',
  },
  no: {
    id: 'Button.No',
    defaultMessage: 'No',
  },
  refresh: {
    id: 'Button.Refresh',
    defaultMessage: 'Refresh',
  },
  showDetail: {
    id: 'Button.ShowDetail',
    defaultMessage: 'Show Detail',
  },
  show: {
    id: 'Button.Show',
    defaultMessage: 'Show',
  },
  send: {
    id: 'Button.Send',
    defaultMessage: 'Send',
  },
  yes: {
    id: 'Button.Yes',
    defaultMessage: 'Yes',
  },
  msgInputSearch: {
    id: 'Message.Input.Search',
    defaultMessage: 'input search text',
  },
  badRequest: {
    id: 'Message.Response.BadRequest',
    defaultMessage: 'Bad Request.',
  },
  sendSuccess: {
    id: 'Message.Response.SendSuccess',
    defaultMessage: 'Message send success.',
  },
  approved: {
    id: 'Message.Dashboards.Approved',
    defaultMessage: 'Approved',
  },
  reject: {
    id: 'Message.Dashboards.Reject',
    defaultMessage: 'Reject',
  },
  unknown: {
    id: 'Message.Dashboards.Unknown',
    defaultMessage: 'unknown',
  },
  empty: {
    id: 'Message.Dashboards.Empty',
    defaultMessage: 'empty',
  },
  defaultMessage: {
    id: 'Message.Default',
    defaultMessage: 'default',
  },
  formatYear: {
    id: 'Format.Year',
    defaultMessage: '{value, plural, =NaN {default} one {# year} other {# years}}',
  },
  formatDay: {
    id: 'Format.Day',
    defaultMessage: '{value, plural, =NaN {default} one {# day} other {# days}}',
  },
  formatHour: {
    id: 'Format.Hour',
    defaultMessage: '{value, plural, =NaN {default} one {# hour} other {# hours}}',
  },
  formatMinute: {
    id: 'Format.Minute',
    defaultMessage: '{value, plural, =NaN {default} one {# minute} other {# minutes}}',
  },
  formatSecond: {
    id: 'Format.Second',
    defaultMessage: '{value, plural, =NaN {default} one {# second} other {# seconds}}',
  },
  formatMillisecond: {
    id: 'Format.Millisecond',
    defaultMessage: '{value, plural, =NaN {default} one {# millisecond} other {# milliseconds}}',
  },
  formatBytes: {
    id: 'Format.Bytes',
    defaultMessage: '{value, plural, =NaN {default} other {# B}}',
  },
  formatKilobytes: {
    id: 'Format.Kilobytes',
    defaultMessage: '{value, plural, =NaN {default} other {# KB}}',
  },
  formatMegabytes: {
    id: 'Format.Megabytes',
    defaultMessage: '{value, plural, =NaN {default} other {# MB}}',
  },
  formatGigabytes: {
    id: 'Format.Gigabytes',
    defaultMessage: '{value, plural, =NaN {default} other {# GB}}',
  },
  formatTerabytes: {
    id: 'Format.Terabytes',
    defaultMessage: '{value, plural, =NaN {default} other {# TB}}',
  },
});
