messages Object
Defines the text of the localizable UI parts of the FileManager.
Example
<div id="fileManager"></div>
<script>
var baseUrl = "https://demos.telerik.com/kendo-ui/service/filemanager/";
$("#fileManager").kendoFileManager({
messages: {
toolbar: {
createFolder: "New Folder",
upload: "Upload",
sortDirection: "Sort Direction",
sortDirectionAsc: "Sort Direction Ascending",
sortDirectionDesc: "Sort Direction Descending",
sortField: "Sort By",
nameField: "Name",
sizeField: "File Size",
typeField: "Type",
dateModifiedField: "Date Modified",
dateCreatedField: "Date Created",
listView: "List View",
gridView: "Grid View",
search: "Search",
details: "View Details",
detailsChecked: "On",
detailsUnchecked: "Off",
"delete": "Delete",
rename: "Rename"
},
views: {
nameField: "Name",
sizeField: "File Size",
typeField: "Type",
dateModifiedField: "Date Modified",
dateCreatedField: "Date Created",
items: "items"
},
dialogs: {
upload: {
title: "Upload Files",
clear: "Clear List",
done: "Done"
},
moveConfirm: {
title: "Confirm",
content: "<p style='text-align: center;'>Do you want to move or copy?</p>",
okText: "Copy",
cancel: "Move",
close: "close"
},
deleteConfirm: {
title: "Confirm",
content: "<p style='text-align: center;'>Are you sure you want to delete the selected file(s)?</br>You cannot undo this action.</p>",
okText: "Delete",
cancel: "Cancel",
close: "close"
},
renamePrompt: {
title: "Prompt",
content: "<p style='text-align: center;'>Enter new name for the file.</p>",
okText: "Rename",
cancel: "Cancel",
close: "close"
}
},
previewPane: {
noFileSelected: "No File Selected",
extension: "Type",
size: "Size",
created: "Date Created",
createdUtc: "Date Created UTC",
modified: "Date Modified",
modifiedUtc: "Date Modified UTC",
items: "items"
}
},
dataSource: {
transport: {
read: {
type: "post",
url: baseUrl + "Read"
}
}
}
});
</script>
Related Properties
- messages.toolbar
- messages.toolbar.createFolder
- messages.toolbar.upload
- messages.toolbar.sortDirection
- messages.toolbar.sortDirectionAsc
- messages.toolbar.sortDirectionDesc
- messages.toolbar.sortField
- messages.toolbar.nameField
- messages.toolbar.sizeField
- messages.toolbar.typeField
- messages.toolbar.dateModifiedField
- messages.toolbar.dateCreatedField
- messages.toolbar.search
- messages.toolbar.details
- messages.toolbar.detailsChecked
- messages.toolbar.detailsUnchecked
- messages.toolbar.delete
- messages.toolbar.rename
- messages.views
- messages.views.nameField
- messages.views.sizeField
- messages.views.typeField
- messages.views.dateModifiedField
- messages.views.dateCreatedField
- messages.views.items
- messages.views.listViewLabel
- messages.dialogs
- messages.dialogs.upload
- messages.dialogs.upload.title
- messages.dialogs.upload.clear
- messages.dialogs.upload.done
- messages.dialogs.moveConfirm
- messages.dialogs.moveConfirm.title
- messages.dialogs.moveConfirm.content
- messages.dialogs.moveConfirm.okText
- messages.dialogs.moveConfirm.cancel
- messages.dialogs.moveConfirm.close
- messages.dialogs.deleteConfirm
- messages.dialogs.deleteConfirm.title
- messages.dialogs.deleteConfirm.content
- messages.dialogs.deleteConfirm.okText
- messages.dialogs.deleteConfirm.cancel
- messages.dialogs.deleteConfirm.close
- messages.dialogs.renamePrompt
- messages.dialogs.renamePrompt.title
- messages.dialogs.renamePrompt.content
- messages.dialogs.renamePrompt.okText
- messages.dialogs.renamePrompt.cancel
- messages.dialogs.renamePrompt.close
- messages.previewPane
- messages.previewPane.noFileSelected
- messages.previewPane.extension
- messages.previewPane.size
- messages.previewPane.created
- messages.previewPane.modified
- messages.previewPane.items