@plteam/chat-ui
Version:
CUI Kit is a free and open-source library for creating AI assistant chat interfaces, built with React, Material UI, and TypeScript
53 lines (52 loc) • 1.99 kB
JavaScript
export const CHAT_LOCALE = {
yes: 'Yes',
no: 'No',
send: 'Send',
cancel: 'Cancel',
newChat: "New chat",
thinking: 'Thinking',
historyTitle: "History",
historyToday: "Today",
historyYesterday: "Yesterday",
historyPreviousNDays: "Previous {{days}} days",
historyJanuary: "January",
historyFebruary: "February",
historyMarch: "March",
historyApril: "April",
historyMay: "May",
historyJune: "June",
historyJuly: "July",
historyAugust: "August",
historySeptember: "September",
historyOctober: "October",
historyNovember: "November",
historyDecember: "December",
historyLastYear: "Last Year",
messageCopy: 'Copy message',
messageEdit: 'Edit message',
messageCopiedToClipboard: 'Copied to clipboard',
messageCopyHTML: 'Copy HTML',
messageCopyMarkdown: 'Copy Markdown',
codeCopyButton: 'Copy',
codeEditButton: 'Edit',
threadDeleteTitle: 'Confirmation',
threadDeleteContent: 'Are you sure you want to delete thread?',
threadDeletedSuccess: 'Thread successfully deleted',
threadActionDelete: 'Delete',
maxAttachmentWarning: 'Maximum number of attachments exceeded',
maxFileSizeWarning: 'File size cannot exceed {{mb}} MB',
invalidFileTypeWarning: 'File type unsupported',
textFieldPlaceholder: 'Message chat',
attachmentImageShot: 'Camera',
attachmentImageGallery: 'Files',
messageLikeTooltip: 'Like message',
messageDislikeTooltip: 'Dislike message',
messageFeedbackTitle: 'Why did you choose this rating?',
messageFeedbackSecondTitle: '(optional)',
messageFeedbackPlaceholder: 'Provide additional feedback',
messageFeedbackSubmitButton: 'Submit',
messageFeedbackLink: 'Learn more',
messageFeedbackText: 'Opens in a new window about how your feedback is used to improve Chat UI.',
reasonedFor: 'Reasoned for {{time}}',
innerRowExpand: 'Fullscreen'
};