Interface LocalePack

Shape of a translation pack.

interface LocalePack {
    applyButton: string;
    calloutLabelText: string;
    cancelButton: string;
    emptyStateSubtitle: string;
    emptyStateTitle: string;
    filter: {
        cool: string;
        grayscale: string;
        invert: string;
        none: string;
        sepia: string;
        vintage: string;
        warm: string;
    };
    fit: string;
    fullscreen: string;
    headerSubtitle: string;
    headerTitle: string;
    multi?: {
        discard: string;
        discardBody: string;
        discardTitleOne: string;
        discardTitleOther: string;
        edited: string;
        image: string;
        images: string;
        keepEditing: string;
        loadFailed: string;
        next: string;
        previous: string;
        saving: string;
    };
    props: {
        applyCrop: string;
        aspectRatio: string;
        blur: string;
        brightness: string;
        brushSize: string;
        cancel: string;
        colors: string;
        contrast: string;
        customColor: string;
        deleteSelected: string;
        eraserSize: string;
        fontSize: string;
        hintEraser: string;
        hintMove: string;
        opacity: string;
        preset: string;
        quickActions: string;
        recent: string;
        resetAdjustments: string;
        resetEffects: string;
        saturation: string;
        shape: string;
        strokeWidth: string;
        title: {
            adjust: string;
            callout: string;
            crop: string;
            draw: string;
            eraser: string;
            filters: string;
            move: string;
            shapes: string;
            text: string;
        };
        transform?: string;
    };
    redo: string;
    shape: {
        arrow: string;
        circle: string;
        ellipse: string;
        polyline: string;
        rectangle: string;
        square: string;
    };
    tool: {
        adjust: string;
        callout: string;
        crop: string;
        draw: string;
        eraser: string;
        filters: string;
        flipH: string;
        flipV: string;
        move: string;
        pen: string;
        reset: string;
        rotateLeft: string;
        rotateRight: string;
        select: string;
        shapes: string;
        text: string;
        zoom: string;
        zoomIn: string;
        zoomOut: string;
    };
    undo: string;
    zoomTooltip: string;
}

Properties

applyButton: string
calloutLabelText: string
cancelButton: string
emptyStateSubtitle: string
emptyStateTitle: string
filter: {
    cool: string;
    grayscale: string;
    invert: string;
    none: string;
    sepia: string;
    vintage: string;
    warm: string;
}

Type declaration

  • cool: string
  • grayscale: string
  • invert: string
  • none: string
  • sepia: string
  • vintage: string
  • warm: string
fit: string
fullscreen: string
headerSubtitle: string
headerTitle: string
multi?: {
    discard: string;
    discardBody: string;
    discardTitleOne: string;
    discardTitleOther: string;
    edited: string;
    image: string;
    images: string;
    keepEditing: string;
    loadFailed: string;
    next: string;
    previous: string;
    saving: string;
}

Strings for openMultiEditorModal (thumbnail strip, discard prompt). Optional so hand-built packs from older versions still type-check; falls back to English. {index}, {total} and {count} are replaced.

Type declaration

  • discard: string
  • discardBody: string
  • discardTitleOne: string
  • discardTitleOther: string
  • edited: string
  • image: string
  • images: string
  • keepEditing: string
  • loadFailed: string
  • next: string
  • previous: string
  • saving: string
props: {
    applyCrop: string;
    aspectRatio: string;
    blur: string;
    brightness: string;
    brushSize: string;
    cancel: string;
    colors: string;
    contrast: string;
    customColor: string;
    deleteSelected: string;
    eraserSize: string;
    fontSize: string;
    hintEraser: string;
    hintMove: string;
    opacity: string;
    preset: string;
    quickActions: string;
    recent: string;
    resetAdjustments: string;
    resetEffects: string;
    saturation: string;
    shape: string;
    strokeWidth: string;
    title: {
        adjust: string;
        callout: string;
        crop: string;
        draw: string;
        eraser: string;
        filters: string;
        move: string;
        shapes: string;
        text: string;
    };
    transform?: string;
}

Type declaration

  • applyCrop: string
  • aspectRatio: string
  • blur: string
  • brightness: string
  • brushSize: string
  • cancel: string
  • colors: string
  • contrast: string
  • customColor: string
  • deleteSelected: string
  • eraserSize: string
  • fontSize: string
  • hintEraser: string
  • hintMove: string
  • opacity: string
  • preset: string
  • quickActions: string
  • recent: string
  • resetAdjustments: string
  • resetEffects: string
  • saturation: string
  • shape: string
  • strokeWidth: string
  • title: {
        adjust: string;
        callout: string;
        crop: string;
        draw: string;
        eraser: string;
        filters: string;
        move: string;
        shapes: string;
        text: string;
    }

    Header labels for the contextual props panel.

    • adjust: string
    • callout: string
    • crop: string
    • draw: string
    • eraser: string
    • filters: string
    • move: string
    • shapes: string
    • text: string
  • Optional transform?: string

    Heading for the rotate / flip buttons in the Crop panel. Optional so hand-built LocalePack objects from older versions still type-check; falls back to English.

redo: string
shape: {
    arrow: string;
    circle: string;
    ellipse: string;
    polyline: string;
    rectangle: string;
    square: string;
}

Type declaration

  • arrow: string
  • circle: string
  • ellipse: string
  • polyline: string
  • rectangle: string
  • square: string
tool: {
    adjust: string;
    callout: string;
    crop: string;
    draw: string;
    eraser: string;
    filters: string;
    flipH: string;
    flipV: string;
    move: string;
    pen: string;
    reset: string;
    rotateLeft: string;
    rotateRight: string;
    select: string;
    shapes: string;
    text: string;
    zoom: string;
    zoomIn: string;
    zoomOut: string;
}

Type declaration

  • adjust: string
  • callout: string
  • crop: string
  • draw: string
  • eraser: string
  • filters: string
  • flipH: string
  • flipV: string
  • move: string
  • pen: string
  • reset: string
  • rotateLeft: string
  • rotateRight: string
  • select: string
  • shapes: string
  • text: string
  • zoom: string
  • zoomIn: string
  • zoomOut: string
undo: string
zoomTooltip: string