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.
| Name | Signature | Description |
|---|---|---|
toolbar | readonly toolbar: string; | |
canvas | readonly canvas: string; | |
empty | readonly empty: string; | |
loading | readonly loading: string; | |
loadError | readonly loadError: string; | |
keyboardHint | readonly keyboardHint: string; | |
quickToolbar | readonly quickToolbar: string; | |
open | readonly open: string; | |
undo | readonly undo: string; | |
redo | readonly redo: string; | |
reset | readonly reset: string; | |
zoomIn | readonly zoomIn: string; | |
zoomOut | readonly zoomOut: string; | |
pan | readonly pan: string; | |
select | readonly select: string; | |
crop | readonly crop: string; | |
rotateLeft | readonly rotateLeft: string; | |
rotateRight | readonly rotateRight: string; | |
flipHorizontal | readonly flipHorizontal: string; | |
flipVertical | readonly flipVertical: string; | |
straighten | readonly straighten: string; | |
resize | readonly resize: string; | |
adjust | readonly adjust: string; | |
filter | readonly filter: string; | |
frame | readonly frame: string; | |
rectangle | readonly rectangle: string; | |
ellipse | readonly ellipse: string; | |
line | readonly line: string; | |
arrow | readonly arrow: string; | |
path | readonly path: string; | |
text | readonly text: string; | |
freehand | readonly freehand: string; | |
image | readonly image: string; | |
redact | readonly redact: string; | |
save | readonly save: string; | |
edit | readonly edit: string; | |
clone | readonly clone: string; | |
delete | readonly delete: string; | |
bringForward | readonly bringForward: string; | |
sendBackward | readonly sendBackward: string; | |
bringToFront | readonly bringToFront: string; | |
sendToBack | readonly sendToBack: string; | |
applyCrop | readonly applyCrop: string; | |
cancelCrop | readonly cancelCrop: string; | |
apply | readonly apply: string; | |
width | readonly width: string; | |
height | readonly height: string; | |
keepAspectRatio | readonly keepAspectRatio: string; | |
brightness | readonly brightness: string; | |
contrast | readonly contrast: string; | |
hue | readonly hue: string; | |
saturation | readonly saturation: string; | |
exposure | readonly exposure: string; | |
opacity | readonly opacity: string; | |
blur | readonly blur: string; | |
ratioFree | readonly ratioFree: string; | |
ratioSquare | readonly ratioSquare: string; | |
ratioCircle | readonly ratioCircle: string; | |
filterDefault | readonly filterDefault: string; | |
filterChrome | readonly filterChrome: string; | |
filterCold | readonly filterCold: string; | |
filterWarm | readonly filterWarm: string; | |
filterGrayscale | readonly filterGrayscale: string; | |
filterSepia | readonly filterSepia: string; | |
filterInvert | readonly filterInvert: string; | |
frameNone | readonly frameNone: string; | |
frameMat | readonly frameMat: string; | |
frameBevel | readonly frameBevel: string; | |
frameLine | readonly frameLine: string; | |
frameInset | readonly frameInset: string; | |
frameHook | readonly frameHook: string; | |
frameColor | readonly frameColor: string; | |
frameSize | readonly frameSize: string; | |
strokeColor | readonly strokeColor: string; | |
fillColor | readonly fillColor: string; | |
strokeWidth | readonly strokeWidth: string; | |
fontSize | readonly fontSize: string; | |
redactBlur | readonly redactBlur: string; | |
redactPixelate | readonly redactPixelate: string; | |
strength | readonly strength: string; | |
textEditor | readonly textEditor: string; | |
announce | readonly announce: (operation: ImageEditorOperation, detail?: string) => string; | Live-region text for a committed operation. |