remirror/remirror

View on GitHub
packages/remirror__messages/src/extension-callout-messages.ts

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
import type { MessageDescriptor } from '@lingui/core';
import { defineMessage } from '@lingui/macro';

export const LABEL: MessageDescriptor = defineMessage({
  id: 'extension.command.toggle-callout.label',
  comment: 'Label for callout command with support for callout types.',
  message: `{type, select, info {Information Callout}
                            warning {Warning Callout}
                            error {Error Callout}
                            success {Success Callout}
                            other {Callout}}`,
});

export const DESCRIPTION: MessageDescriptor = defineMessage({
  id: 'extension.command.toggle-callout.description',
  comment: 'Description of the callout command with support for callout types.',
  message: `{type, select, info {Create an information callout block}
                            warning {Create a warning callout block}
                            error {Create an error callout block}
                            success {Create a success callout block}
                            other {Create a callout block}}`,
});