import { marker as _ } from '@biesbjerg/ngx-translate-extract-marker';

export interface DialogOption {
    label: string;
    labelBulk?: string;
    description: string;
    descriptionBulk?: string;
    extraOptionLabel?: string;
}

export const redactTextTranslations: Record<'onlyHere' | 'inDossier', DialogOption> = {
    onlyHere: {
        label: _('redact-text.dialog.content.options.only-here.label'),
        description: _('redact-text.dialog.content.options.only-here.description'),
    },
    inDossier: {
        label: _('redact-text.dialog.content.options.in-dossier.label'),
        description: _('redact-text.dialog.content.options.in-dossier.description'),
        extraOptionLabel: _('redact-text.dialog.content.options.in-dossier.extraOptionLabel'),
    },
} as const;

export const editRedactionTranslations: Record<'onlyHere' | 'inDossier', DialogOption> = {
    onlyHere: {
        label: _('edit-redaction.dialog.content.options.only-here.label'),
        description: _('edit-redaction.dialog.content.options.only-here.description'),
    },
    inDossier: {
        label: _('edit-redaction.dialog.content.options.in-dossier.label'),
        description: _('edit-redaction.dialog.content.options.in-dossier.description'),
        extraOptionLabel: _('edit-redaction.dialog.content.options.in-dossier.extraOptionLabel'),
    },
} as const;
