Messages
configurationDefines the text of the localizable UI parts of the FileManager.
messages
Object<div id="imageEditor"></div>
<script>
$("#imageEditor").kendoImageEditor({
messages: {
toolbar: {
open: "Open Image",
save: "Save Image",
undo: "Undo",
redo: "Redo",
crop: "Crop",
resize: "Resize",
zoomIn: "Zoom In",
zoomOut: "Zoom Out",
zoomDropdown: "Zoom options",
zoomActualSize: "Show actual size",
zoomFitToScreen: "Fit to screen"
},
panes: {
crop: {
title: "Crop Image",
aspectRatio: "Aspect Ratio:",
aspectRatioItems: {
"originalRatio": "Original ratio",
"1:1": "1:1 (Square)",
"4:5": "4:5 (8:10)",
"5:7": "5:7",
"2:3": "2:3 (4:6)",
"16:9": "16:9"
},
orientation: "Orientation:",
portrait: "Portrait",
landscape: "Landscape"
},
resize: {
title: "Resize image",
pixels: "Pixels",
percents: "Percents"
}
},
common: {
width: "Width:",
height: "Height:",
cancel: "Cancel",
confirm: "Confirm",
lockAspectRatio: "Lock aspect ratio"
}
}
});
</script>
messages.common
ObjectDefines the localization for the common fields.
<div id="imageEditor"></div>
<script>
$("#imageEditor").kendoImageEditor({
messages: {
common: {
width: "Breite:",
height: "Höhe:",
cancel: "Abbrechen",
confirm: "Bestätigen",
lockAspectRatio: "Seitenverhältnis sperren"
}
}
});
</script>
messages.panes
ObjectDefines the localization Pane tools.
<div id="imageEditor"></div>
<script>
$("#imageEditor").kendoImageEditor({
messages: {
panes: {
crop: {
title: "Bild zuschneiden"
},
resize: {
title: "Bildgröße ändern"
}
}
}
});
</script>
messages.toolbar
ObjectDefines the localization messages for the toolbar.
<div id="imageEditor"></div>
<script>
$("#imageEditor").kendoImageEditor({
messages: {
toolbar: {
open: "Öppna bild",
save: "Spara bild",
undo: "Ångra",
redo: "Gör om"
}
}
});
</script>
Related Members
- messages.toolbar - Defines the localization messages for the toolbar.
- messages.panes - Defines the localization Pane tools.
- messages.panes.crop - Defines the localization for the crop pane.
- messages.panes.crop.aspectRatioItems - Defines the localization for the crop pane field.
- messages.panes.resize - Defines the localization for the resize pane.
- messages.common - Defines the localization for the common fields.