import { defineMessages } from 'react-intl';

export default defineMessages({
  title: {
    id: 'Component.CardTopicInfo.Title',
    defaultMessage: 'Topics info:',
  },
  tabConfigs: {
    id: 'Component.CardTopicInfo.Tab.Configs',
    defaultMessage: 'Configs',
  },
  tabInfo: {
    id: 'Component.CardTopicInfo.Tab.Info',
    defaultMessage: 'Info',
  },
  tabMessages: {
    id: 'Component.CardTopicInfo.Tab.Messages',
    defaultMessage: 'Messages',
  },
  offsetFrom: {
    id: 'Component.CardTopicInfo.Tab.OffsetFrom',
    defaultMessage: 'From:',
  },
  offsetTo: {
    id: 'Component.CardTopicInfo.Tab.OffsetTo',
    defaultMessage: 'To:',
  },
  partitionsSelect: {
    id: 'Component.CardTopicInfo.Tab.PartitionsSelect',
    defaultMessage: 'Partitions:',
  },
  name: {
    id: 'Component.CardTopicInfo.Tab.Name',
    defaultMessage: 'Name',
  },
  numberSelect: {
    id: 'Component.CardTopicInfo.Tab.NumberSelect',
    defaultMessage: 'Number:',
  },
  key: {
    id: 'Component.CardTopicInfo.Table.Key',
    defaultMessage: 'Key',
  },
  offset: {
    id: 'Component.CardTopicInfo.Table.Offset',
    defaultMessage: 'Offset',
  },
  timestamp: {
    id: 'Component.CardTopicInfo.Table.Timestamp',
    defaultMessage: 'Timestamp',
  },
  value: {
    id: 'Component.CardTopicInfo.Table.Value',
    defaultMessage: 'Value',
  },
  default: {
    id: 'Component.CardTopicInfo.Table.Default',
    defaultMessage: 'Default',
  },
  configUpdatedSuccess: {
    id: 'Component.CardTopicInfo.Config.Success',
    defaultMessage: 'Configuration updated.',
  },
  configUpdatedFailed: {
    id: 'Component.CardTopicInfo.Config.Failed',
    defaultMessage: 'Bad Request.',
  },
});
