claudius-chat-widget
    Preparing search index...

    Interface ClaudiusTranslations

    Every user-facing string the widget renders. Pass a ClaudiusTranslations (or a partial override) to localize the UI. English is the source of truth; see defaultTranslations.

    Strings containing {name} / {max} placeholders are interpolated at render time.

    interface ClaudiusTranslations {
        attachFile: string;
        attachmentsLabel: string;
        attachmentTooLarge: string;
        attachmentTooMany: string;
        attachmentTypeNotAllowed: string;
        chatMessages: string;
        closeChat: string;
        copiedToClipboard: string;
        copyAsMarkdown: string;
        copyFailed: string;
        dismissGreeting: string;
        downloadAsJson: string;
        downloadAsMarkdown: string;
        dropFilesHint: string;
        errorAttachmentQuota: string;
        errorAttachmentRejected: string;
        errorConnection: string;
        errorGeneric: string;
        errorRateLimitHour: string;
        errorRateLimitMinute: string;
        errorRetry: string;
        errorTimeout: string;
        moreOptions: string;
        openChat: string;
        pauseReading: string;
        placeholder: string;
        readAloud: string;
        removeAttachment: string;
        resumeReading: string;
        sendMessage: string;
        stopGenerating: string;
        stopReading: string;
        subtitle: string;
        title: string;
        toolDetails: string;
        toolUsed: string;
        transcriptAssistant: string;
        transcriptAttachments: string;
        transcriptExported: string;
        transcriptSources: string;
        transcriptTitle: string;
        transcriptUser: string;
        typeYourMessage: string;
        typingIndicator: string;
        voiceInput: string;
        voiceInputHold: string;
        voiceListening: string;
        voiceNoMicrophone: string;
        voiceNoSpeech: string;
        voicePermissionDenied: string;
        voiceUnavailable: string;
        welcomeMessage: string;
    }
    Index

    Properties

    attachFile: string

    Accessible label for the attach-file button and file picker.

    attachmentsLabel: string

    Accessible label for the list of pending attachments.

    attachmentTooLarge: string

    Validation message for an oversized file; supports {name} and {max}.

    attachmentTooMany: string

    Validation message when the per-message file limit is hit; supports {max}.

    attachmentTypeNotAllowed: string

    Validation message for a disallowed file type; supports {name}.

    chatMessages: string

    Accessible label for the message list region.

    closeChat: string

    Accessible label for the close button.

    copiedToClipboard: string

    Status shown after the conversation was copied.

    copyAsMarkdown: string

    Menu item that copies the conversation to the clipboard as Markdown.

    copyFailed: string

    Status shown when the conversation could not be copied.

    dismissGreeting: string

    Accessible label for dismissing the greeting bubble.

    downloadAsJson: string

    Menu item that downloads the conversation as a JSON file.

    downloadAsMarkdown: string

    Menu item that downloads the conversation as a Markdown file.

    dropFilesHint: string

    Overlay hint shown while dragging files over the composer.

    errorAttachmentQuota: string

    Error shown when the worker's daily upload quota is exhausted.

    errorAttachmentRejected: string

    Error shown when the worker rejects an attachment (type, size, count, or content).

    errorConnection: string

    Error shown when the network request fails.

    errorGeneric: string

    Generic fallback error message.

    errorRateLimitHour: string

    Error shown when rate-limited (per-hour limit).

    errorRateLimitMinute: string

    Error shown when rate-limited (per-minute limit).

    errorRetry: string

    Label for the retry action on a failed message.

    errorTimeout: string

    Error shown when a request times out.

    moreOptions: string

    Accessible label for the header's overflow menu button.

    openChat: string

    Accessible label for the button that opens the chat.

    pauseReading: string

    Accessible label for pausing read-aloud playback.

    placeholder: string

    Placeholder text for the message input.

    readAloud: string

    Accessible label for the button that reads an assistant message aloud.

    removeAttachment: string

    Accessible label prefix for removing a pending attachment (filename is appended).

    resumeReading: string

    Accessible label for resuming paused read-aloud playback.

    sendMessage: string

    Accessible label for the send button.

    stopGenerating: string

    Accessible label for the stop button shown while a reply streams in.

    stopReading: string

    Accessible label for stopping read-aloud playback.

    subtitle: string

    Chat window header subtitle.

    title: string

    Chat window header title.

    toolDetails: string

    Accessible label for the tool-details disclosure toggle.

    toolUsed: string

    Label prefix for the "used tool" chip on assistant messages.

    transcriptAssistant: string

    Transcript heading for an assistant message.

    transcriptAttachments: string

    Transcript label above a message's attachment list, including its colon.

    transcriptExported: string

    Line under the transcript title; supports {date}.

    transcriptSources: string

    Transcript label above a message's citation list, including its colon.

    transcriptTitle: string

    Title of an exported transcript.

    transcriptUser: string

    Transcript heading for a visitor message.

    typeYourMessage: string

    Accessible label for the message input field.

    typingIndicator: string

    Accessible label for the typing indicator.

    voiceInput: string

    Accessible label for the mic button in toggle mode (state is exposed via aria-pressed).

    voiceInputHold: string

    Accessible label for the mic button in hold mode.

    voiceListening: string

    Placeholder shown in the message input while dictation is listening.

    voiceNoMicrophone: string

    Shown when no microphone is available.

    voiceNoSpeech: string

    Shown when dictation ended without hearing any speech.

    voicePermissionDenied: string

    Shown when the browser or the visitor has blocked microphone access.

    voiceUnavailable: string

    Shown when the browser's speech service cannot be reached or does not support the language.

    welcomeMessage: string

    First assistant message shown when the chat opens.