View as Markdown

API reference: @salmonui/editors/image-editor

ImageEditorLocaleTextinterface

import type { ImageEditorLocaleText } from '@salmonui/editors/image-editor';
interface ImageEditorLocaleText {
    readonly toolbar: string;
    readonly canvas: string;
    readonly empty: string;
    readonly loading: string;
    readonly loadError: string;
    readonly keyboardHint: string;
    readonly quickToolbar: string;
    readonly open: string;
    readonly undo: string;
    readonly redo: string;
    readonly reset: string;
    readonly zoomIn: string;
    readonly zoomOut: string;
    readonly pan: string;
    readonly select: string;
    readonly crop: string;
    readonly rotateLeft: string;
    readonly rotateRight: string;
    readonly flipHorizontal: string;
    readonly flipVertical: string;
    readonly straighten: string;
    readonly resize: string;
    readonly adjust: string;
    readonly filter: string;
    readonly frame: string;
    readonly rectangle: string;
    readonly ellipse: string;
    readonly line: string;
    readonly arrow: string;
    readonly path: string;
    readonly text: string;
    readonly freehand: string;
    readonly image: string;
    readonly redact: string;
    readonly save: string;
    readonly edit: string;
    readonly clone: string;
    readonly delete: string;
    readonly bringForward: string;
    readonly sendBackward: string;
    readonly bringToFront: string;
    readonly sendToBack: string;
    readonly applyCrop: string;
    readonly cancelCrop: string;
    readonly apply: string;
    readonly width: string;
    readonly height: string;
    readonly keepAspectRatio: string;
    readonly brightness: string;
    readonly contrast: string;
    readonly hue: string;
    readonly saturation: string;
    readonly exposure: string;
    readonly opacity: string;
    readonly blur: string;
    readonly ratioFree: string;
    readonly ratioSquare: string;
    readonly ratioCircle: string;
    readonly filterDefault: string;
    readonly filterChrome: string;
    readonly filterCold: string;
    readonly filterWarm: string;
    readonly filterGrayscale: string;
    readonly filterSepia: string;
    readonly filterInvert: string;
    readonly frameNone: string;
    readonly frameMat: string;
    readonly frameBevel: string;
    readonly frameLine: string;
    readonly frameInset: string;
    readonly frameHook: string;
    readonly frameColor: string;
    readonly frameSize: string;
    readonly strokeColor: string;
    readonly fillColor: string;
    readonly strokeWidth: string;
    readonly fontSize: string;
    readonly redactBlur: string;
    readonly redactPixelate: string;
    readonly strength: string;
    readonly textEditor: string;
    readonly announce: (operation: ImageEditorOperation, detail?: string) => string;
}

User-visible strings.

ImageEditorLocaleText members (82)
NameSignatureDescription
toolbarreadonly toolbar: string;
canvasreadonly canvas: string;
emptyreadonly empty: string;
loadingreadonly loading: string;
loadErrorreadonly loadError: string;
keyboardHintreadonly keyboardHint: string;
quickToolbarreadonly quickToolbar: string;
openreadonly open: string;
undoreadonly undo: string;
redoreadonly redo: string;
resetreadonly reset: string;
zoomInreadonly zoomIn: string;
zoomOutreadonly zoomOut: string;
panreadonly pan: string;
selectreadonly select: string;
cropreadonly crop: string;
rotateLeftreadonly rotateLeft: string;
rotateRightreadonly rotateRight: string;
flipHorizontalreadonly flipHorizontal: string;
flipVerticalreadonly flipVertical: string;
straightenreadonly straighten: string;
resizereadonly resize: string;
adjustreadonly adjust: string;
filterreadonly filter: string;
framereadonly frame: string;
rectanglereadonly rectangle: string;
ellipsereadonly ellipse: string;
linereadonly line: string;
arrowreadonly arrow: string;
pathreadonly path: string;
textreadonly text: string;
freehandreadonly freehand: string;
imagereadonly image: string;
redactreadonly redact: string;
savereadonly save: string;
editreadonly edit: string;
clonereadonly clone: string;
deletereadonly delete: string;
bringForwardreadonly bringForward: string;
sendBackwardreadonly sendBackward: string;
bringToFrontreadonly bringToFront: string;
sendToBackreadonly sendToBack: string;
applyCropreadonly applyCrop: string;
cancelCropreadonly cancelCrop: string;
applyreadonly apply: string;
widthreadonly width: string;
heightreadonly height: string;
keepAspectRatioreadonly keepAspectRatio: string;
brightnessreadonly brightness: string;
contrastreadonly contrast: string;
huereadonly hue: string;
saturationreadonly saturation: string;
exposurereadonly exposure: string;
opacityreadonly opacity: string;
blurreadonly blur: string;
ratioFreereadonly ratioFree: string;
ratioSquarereadonly ratioSquare: string;
ratioCirclereadonly ratioCircle: string;
filterDefaultreadonly filterDefault: string;
filterChromereadonly filterChrome: string;
filterColdreadonly filterCold: string;
filterWarmreadonly filterWarm: string;
filterGrayscalereadonly filterGrayscale: string;
filterSepiareadonly filterSepia: string;
filterInvertreadonly filterInvert: string;
frameNonereadonly frameNone: string;
frameMatreadonly frameMat: string;
frameBevelreadonly frameBevel: string;
frameLinereadonly frameLine: string;
frameInsetreadonly frameInset: string;
frameHookreadonly frameHook: string;
frameColorreadonly frameColor: string;
frameSizereadonly frameSize: string;
strokeColorreadonly strokeColor: string;
fillColorreadonly fillColor: string;
strokeWidthreadonly strokeWidth: string;
fontSizereadonly fontSize: string;
redactBlurreadonly redactBlur: string;
redactPixelatereadonly redactPixelate: string;
strengthreadonly strength: string;
textEditorreadonly textEditor: string;
announcereadonly announce: (operation: ImageEditorOperation, detail?: string) => string;

Live-region text for a committed operation.