@progress/kendo-ui
Version:
This package is part of the [Kendo UI for jQuery](http://www.telerik.com/kendo-ui) suite.
1,140 lines (1,052 loc) • 31.6 kB
JavaScript
module.exports =
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId])
/******/ return installedModules[moduleId].exports;
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ exports: {},
/******/ id: moduleId,
/******/ loaded: false
/******/ };
/******/ // Execute the module function
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
/******/ // Flag the module as loaded
/******/ module.loaded = true;
/******/ // Return the exports of the module
/******/ return module.exports;
/******/ }
/******/ // expose the modules object (__webpack_modules__)
/******/ __webpack_require__.m = modules;
/******/ // expose the module cache
/******/ __webpack_require__.c = installedModules;
/******/ // __webpack_public_path__
/******/ __webpack_require__.p = "";
/******/ // Load entry module and return exports
/******/ return __webpack_require__(0);
/******/ })
/************************************************************************/
/******/ ({
/***/ 0:
/***/ (function(module, exports, __webpack_require__) {
__webpack_require__(1403);
module.exports = __webpack_require__(1403);
/***/ }),
/***/ 1403:
/***/ (function(module, exports) {
(function ($, undefined) {
/* FlatColorPicker messages */
if (kendo.ui.FlatColorPicker) {
kendo.ui.FlatColorPicker.prototype.options.messages =
$.extend(true, kendo.ui.FlatColorPicker.prototype.options.messages,{
"apply": "Apply",
"cancel": "Cancel",
"noColor": "no colour",
"clearColor": "Clear colour"
});
}
/* ColorPicker messages */
if (kendo.ui.ColorPicker) {
kendo.ui.ColorPicker.prototype.options.messages =
$.extend(true, kendo.ui.ColorPicker.prototype.options.messages,{
"apply": "Apply",
"cancel": "Cancel",
"noColor": "no colour",
"clearColor": "Clear colour"
});
}
/* ColumnMenu messages */
if (kendo.ui.ColumnMenu) {
kendo.ui.ColumnMenu.prototype.options.messages =
$.extend(true, kendo.ui.ColumnMenu.prototype.options.messages,{
"sortAscending": "Sort Ascending",
"sortDescending": "Sort Descending",
"filter": "Filter",
"column": "Column",
"columns": "Columns",
"columnVisibility": "Column Visibility",
"clear": "Clear",
"cancel": "Cancel",
"done": "Done",
"settings": "Edit Column Settings",
"lock": "Lock",
"unlock": "Unlock"
});
}
/* DateRangePicker messages */
if (kendo.ui.DateRangePicker) {
kendo.ui.DateRangePicker.prototype.options.messages =
$.extend(true, kendo.ui.DateRangePicker.prototype.options.messages,{
"startLabel": "Start",
"endLabel": "End"
});
}
/* Editor messages */
if (kendo.ui.Editor) {
kendo.ui.Editor.prototype.options.messages =
$.extend(true, kendo.ui.Editor.prototype.options.messages,{
"bold": "Bold",
"italic": "Italic",
"underline": "Underline",
"strikethrough": "Strikethrough",
"superscript": "Superscript",
"subscript": "Subscript",
"justifyCenter": "Center text",
"justifyLeft": "Align text left",
"justifyRight": "Align text right",
"justifyFull": "Justify",
"insertUnorderedList": "Insert unordered list",
"insertOrderedList": "Insert ordered list",
"indent": "Indent",
"outdent": "Outdent",
"createLink": "Insert hyperlink",
"unlink": "Remove hyperlink",
"insertImage": "Insert image",
"insertFile": "Insert file",
"insertHtml": "Insert HTML",
"viewHtml": "View HTML",
"fontName": "Select font family",
"fontNameInherit": "(inherited font)",
"fontSize": "Select font size",
"fontSizeInherit": "(inherited size)",
"formatBlock": "Format",
"formatting": "Format",
"foreColor": "Colour",
"backColor": "Background colour",
"style": "Styles",
"emptyFolder": "Empty Folder",
"uploadFile": "Upload",
"overflowAnchor": "More tools",
"orderBy": "Arrange by:",
"orderBySize": "Size",
"orderByName": "Name",
"invalidFileType": "The selected file \"{0}\" is not valid. Supported file types are {1}.",
"deleteFile": 'Are you sure you want to delete "{0}"?',
"overwriteFile": 'A file with name "{0}" already exists in the current directory. Do you want to overwrite it?',
"directoryNotFound": "A directory with this name was not found.",
"imageWebAddress": "Web address",
"imageAltText": "Alternate text",
"imageWidth": "Width (px)",
"imageHeight": "Height (px)",
"fileWebAddress": "Web address",
"fileTitle": "Title",
"linkWebAddress": "Web address",
"linkText": "Text",
"linkToolTip": "ToolTip",
"linkOpenInNewWindow": "Open link in new window",
"dialogUpdate": "Update",
"dialogInsert": "Insert",
"dialogButtonSeparator": "or",
"dialogCancel": "Cancel",
"cleanFormatting": "Clean formatting",
"createTable": "Create table",
"addColumnLeft": "Add column on the left",
"addColumnRight": "Add column on the right",
"addRowAbove": "Add row above",
"addRowBelow": "Add row below",
"deleteRow": "Delete row",
"deleteColumn": "Delete column",
"dialogOk": "Ok",
"tableWizard": "Table Wizard",
"tableTab": "Table",
"cellTab": "Cell",
"accessibilityTab": "Accessibility",
"caption": "Caption",
"summary": "Summary",
"width": "Width",
"height": "Height",
"units": "Units",
"cellSpacing": "Cell Spacing",
"cellPadding": "Cell Padding",
"cellMargin": "Cell Margin",
"alignment": "Alignment",
"background": "Background",
"cssClass": "CSS Class",
"id": "ID",
"border": "Border",
"borderStyle": "Border Style",
"collapseBorders": "Collapse borders",
"wrapText": "Wrap text",
"associateCellsWithHeaders": "Associate cells with headers",
"alignLeft": "Align Left",
"alignCenter": "Align Center",
"alignRight": "Align Right",
"alignLeftTop": "Align Left Top",
"alignCenterTop": "Align Center Top",
"alignRightTop": "Align Right Top",
"alignLeftMiddle": "Align Left Middle",
"alignCenterMiddle": "Align Center Middle",
"alignRightMiddle": "Align Right Middle",
"alignLeftBottom": "Align Left Bottom",
"alignCenterBottom": "Align Center Bottom",
"alignRightBottom": "Align Right Bottom",
"alignRemove": "Remove Alignment",
"columns": "Columns",
"rows": "Rows",
"selectAllCells": "Select All Cells"
});
}
/* FileBrowser messages */
if (kendo.ui.FileBrowser) {
kendo.ui.FileBrowser.prototype.options.messages =
$.extend(true, kendo.ui.FileBrowser.prototype.options.messages,{
"uploadFile": "Upload",
"orderBy": "Arrange by",
"orderByName": "Name",
"orderBySize": "Size",
"directoryNotFound": "A directory with this name was not found.",
"emptyFolder": "Empty Folder",
"deleteFile": 'Are you sure you want to delete "{0}"?',
"invalidFileType": "The selected file \"{0}\" is not valid. Supported file types are {1}.",
"overwriteFile": "A file with name \"{0}\" already exists in the current directory. Do you want to overwrite it?",
"dropFilesHere": "drop file here to upload",
"search": "Search"
});
}
/* FilterCell messages */
if (kendo.ui.FilterCell) {
kendo.ui.FilterCell.prototype.options.messages =
$.extend(true, kendo.ui.FilterCell.prototype.options.messages,{
"isTrue": "is true",
"isFalse": "is false",
"filter": "Filter",
"clear": "Clear",
"operator": "Operator"
});
}
/* FilterCell operators */
if (kendo.ui.FilterCell) {
kendo.ui.FilterCell.prototype.options.operators =
$.extend(true, kendo.ui.FilterCell.prototype.options.operators,{
"string": {
"eq": "Is equal to",
"neq": "Is not equal to",
"startswith": "Starts with",
"contains": "Contains",
"doesnotcontain": "Does not contain",
"endswith": "Ends with",
"isnull": "Is null",
"isnotnull": "Is not null",
"isempty": "Is empty",
"isnotempty": "Is not empty",
"isnullorempty": "Has no value",
"isnotnullorempty": "Has value"
},
"number": {
"eq": "Is equal to",
"neq": "Is not equal to",
"gte": "Is greater than or equal to",
"gt": "Is greater than",
"lte": "Is less than or equal to",
"lt": "Is less than",
"isnull": "Is null",
"isnotnull": "Is not null"
},
"date": {
"eq": "Is equal to",
"neq": "Is not equal to",
"gte": "Is after or equal to",
"gt": "Is after",
"lte": "Is before or equal to",
"lt": "Is before",
"isnull": "Is null",
"isnotnull": "Is not null"
},
"enums": {
"eq": "Is equal to",
"neq": "Is not equal to",
"isnull": "Is null",
"isnotnull": "Is not null"
}
});
}
/* FilterMenu messages */
if (kendo.ui.FilterMenu) {
kendo.ui.FilterMenu.prototype.options.messages =
$.extend(true, kendo.ui.FilterMenu.prototype.options.messages,{
"info": "Show items with value that:",
"title": "Show items with value that",
"isTrue": "is true",
"isFalse": "is false",
"filter": "Filter",
"clear": "Clear",
"and": "And",
"or": "Or",
"selectValue": "-Select value-",
"operator": "Operator",
"value": "Value",
"cancel": "Cancel",
"done": "Done",
"into": "in"
});
}
/* FilterMenu operator messages */
if (kendo.ui.FilterMenu) {
kendo.ui.FilterMenu.prototype.options.operators =
$.extend(true, kendo.ui.FilterMenu.prototype.options.operators,{
"string": {
"eq": "Is equal to",
"neq": "Is not equal to",
"startswith": "Starts with",
"contains": "Contains",
"doesnotcontain": "Does not contain",
"endswith": "Ends with",
"isnull": "Is null",
"isnotnull": "Is not null",
"isempty": "Is empty",
"isnotempty": "Is not empty",
"isnullorempty": "Has no value",
"isnotnullorempty": "Has value"
},
"number": {
"eq": "Is equal to",
"neq": "Is not equal to",
"gte": "Is greater than or equal to",
"gt": "Is greater than",
"lte": "Is less than or equal to",
"lt": "Is less than",
"isnull": "Is null",
"isnotnull": "Is not null"
},
"date": {
"eq": "Is equal to",
"neq": "Is not equal to",
"gte": "Is after or equal to",
"gt": "Is after",
"lte": "Is before or equal to",
"lt": "Is before",
"isnull": "Is null",
"isnotnull": "Is not null"
},
"enums": {
"eq": "Is equal to",
"neq": "Is not equal to",
"isnull": "Is null",
"isnotnull": "Is not null"
}
});
}
/* FilterMultiCheck messages */
if (kendo.ui.FilterMultiCheck) {
kendo.ui.FilterMultiCheck.prototype.options.messages =
$.extend(true, kendo.ui.FilterMultiCheck.prototype.options.messages,{
"checkAll": "Select All",
"clearAll": "Clear All",
"clear": "Clear",
"filter": "Filter",
"search": "Search",
"cancel": "Cancel",
"selectedItemsFormat": "{0} items selected",
"done": "Done",
"into": "in"
});
}
/* Gantt messages */
if (kendo.ui.Gantt) {
kendo.ui.Gantt.prototype.options.messages =
$.extend(true, kendo.ui.Gantt.prototype.options.messages,{
"actions": {
"addChild": "Add Child",
"append": "Add Task",
"insertAfter": "Add Below",
"insertBefore": "Add Above",
"pdf": "Export to PDF"
},
"cancel": "Cancel",
"deleteDependencyWindowTitle": "Delete dependency",
"deleteTaskWindowTitle": "Delete task",
"destroy": "Delete",
"editor": {
"assingButton": "Assign",
"editorTitle": "Task",
"end": "End",
"percentComplete": "Complete",
"resources": "Resources",
"resourcesEditorTitle": "Resources",
"resourcesHeader": "Resources",
"start": "Start",
"title": "Title",
"unitsHeader": "Units"
},
"save": "Save",
"views": {
"day": "Day",
"end": "End",
"month": "Month",
"start": "Start",
"week": "Week",
"year": "Year"
}
});
}
/* Grid messages */
if (kendo.ui.Grid) {
kendo.ui.Grid.prototype.options.messages =
$.extend(true, kendo.ui.Grid.prototype.options.messages,{
"commands": {
"cancel": "Cancel changes",
"canceledit": "Cancel",
"create": "Add new record",
"destroy": "Delete",
"edit": "Edit",
"excel": "Export to Excel",
"pdf": "Export to PDF",
"save": "Save changes",
"select": "Select",
"update": "Update"
},
"editable": {
"cancelDelete": "Cancel",
"confirmation": "Are you sure you want to delete this record?",
"confirmDelete": "Delete"
},
"noRecords": "No records available.",
"groupHeader": "Press ctrl + space to group",
"ungroupHeader": "Press ctrl + space to ungroup"
});
}
/* Groupable messages */
if (kendo.ui.Groupable) {
kendo.ui.Groupable.prototype.options.messages =
$.extend(true, kendo.ui.Groupable.prototype.options.messages,{
"empty": "Drag a column header and drop it here to group by that column"
});
}
/* NumericTextBox messages */
if (kendo.ui.NumericTextBox) {
kendo.ui.NumericTextBox.prototype.options =
$.extend(true, kendo.ui.NumericTextBox.prototype.options,{
"upArrowText": "Increase value",
"downArrowText": "Decrease value"
});
}
/* MediaPlayer messages */
if (kendo.ui.MediaPlayer) {
kendo.ui.MediaPlayer.prototype.options.messages =
$.extend(true, kendo.ui.MediaPlayer.prototype.options.messages,{
"pause": "Pause",
"play": "Play",
"mute": "Mute",
"unmute": "Unmute",
"quality": "Quality",
"fullscreen": "Full Screen"
});
}
/* Pager messages */
if (kendo.ui.Pager) {
kendo.ui.Pager.prototype.options.messages =
$.extend(true, kendo.ui.Pager.prototype.options.messages,{
"allPages": "All",
"display": "{0} - {1} of {2} items",
"empty": "No items to display",
"page": "Page",
"of": "of {0}",
"itemsPerPage": "items per page",
"first": "Go to the first page",
"previous": "Go to the previous page",
"next": "Go to the next page",
"last": "Go to the last page",
"refresh": "Refresh",
"morePages": "More pages"
});
}
/* TreeListPager messages */
if (kendo.ui.TreeListPager) {
kendo.ui.TreeListPager.prototype.options.messages =
$.extend(true, kendo.ui.TreeListPager.prototype.options.messages,{
"allPages": "All",
"display": "{0} - {1} of {2} items",
"empty": "No items to display",
"page": "Page",
"of": "of {0}",
"itemsPerPage": "items per page",
"first": "Go to the first page",
"previous": "Go to the previous page",
"next": "Go to the next page",
"last": "Go to the last page",
"refresh": "Refresh",
"morePages": "More pages"
});
}
/* PivotGrid messages */
if (kendo.ui.PivotGrid) {
kendo.ui.PivotGrid.prototype.options.messages =
$.extend(true, kendo.ui.PivotGrid.prototype.options.messages,{
"measureFields": "Drop Data Fields Here",
"columnFields": "Drop Column Fields Here",
"rowFields": "Drop Rows Fields Here"
});
}
/* PivotFieldMenu messages */
if (kendo.ui.PivotFieldMenu) {
kendo.ui.PivotFieldMenu.prototype.options.messages =
$.extend(true, kendo.ui.PivotFieldMenu.prototype.options.messages,{
"info": "Show items with value that:",
"filterFields": "Fields Filter",
"filter": "Filter",
"include": "Include Fields...",
"title": "Fields to include",
"clear": "Clear",
"ok": "Ok",
"cancel": "Cancel",
"operators": {
"contains": "Contains",
"doesnotcontain": "Does not contain",
"startswith": "Starts with",
"endswith": "Ends with",
"eq": "Is equal to",
"neq": "Is not equal to"
}
});
}
/* RecurrenceEditor messages */
if (kendo.ui.RecurrenceEditor) {
kendo.ui.RecurrenceEditor.prototype.options.messages =
$.extend(true, kendo.ui.RecurrenceEditor.prototype.options.messages,{
"frequencies": {
"never": "Never",
"hourly": "Hourly",
"daily": "Daily",
"weekly": "Weekly",
"monthly": "Monthly",
"yearly": "Yearly"
},
"hourly": {
"repeatEvery": "Repeat every: ",
"interval": " hour(s)"
},
"daily": {
"repeatEvery": "Repeat every: ",
"interval": " day(s)"
},
"weekly": {
"interval": " week(s)",
"repeatEvery": "Repeat every: ",
"repeatOn": "Repeat on: "
},
"monthly": {
"repeatEvery": "Repeat every: ",
"repeatOn": "Repeat on: ",
"interval": " month(s)",
"day": "Day "
},
"yearly": {
"repeatEvery": "Repeat every: ",
"repeatOn": "Repeat on: ",
"interval": " year(s)",
"of": " of "
},
"end": {
"label": "End:",
"mobileLabel": "Ends",
"never": "Never",
"after": "After ",
"occurrence": " occurrence(s)",
"on": "On "
},
"offsetPositions": {
"first": "first",
"second": "second",
"third": "third",
"fourth": "fourth",
"last": "last"
},
"weekdays": {
"day": "day",
"weekday": "weekday",
"weekend": "weekend day"
}
});
}
/* Scheduler messages */
if (kendo.ui.Scheduler) {
kendo.ui.Scheduler.prototype.options.messages =
$.extend(true, kendo.ui.Scheduler.prototype.options.messages,{
"allDay": "all day",
"date": "Date",
"event": "Event",
"time": "Time",
"showFullDay": "Show full day",
"showWorkDay": "Show business hours",
"today": "Today",
"save": "Save",
"cancel": "Cancel",
"destroy": "Delete",
"resetSeries": "Reset Series",
"deleteWindowTitle": "Delete event",
"ariaSlotLabel": "Selected from {0:t} to {1:t}",
"ariaEventLabel": "{0} on {1:D} at {2:t}",
"editable": {
"confirmation": "Are you sure you want to delete this event?"
},
"views": {
"day": "Day",
"week": "Week",
"workWeek": "Work Week",
"agenda": "Agenda",
"month": "Month",
"timeline": "Timeline"
},
"recurrenceMessages": {
"deleteWindowTitle": "Delete Recurring Item",
"resetSeriesWindowTitle": "Reset Series",
"deleteWindowOccurrence": "Delete current occurrence",
"deleteWindowSeries": "Delete the series",
"editWindowTitle": "Edit Recurring Item",
"editWindowOccurrence": "Edit current occurrence",
"editWindowSeries": "Edit the series",
"deleteRecurring": "Do you want to delete only this event occurrence or the whole series?",
"editRecurring": "Do you want to edit only this event occurrence or the whole series?"
},
"editor": {
"title": "Title",
"start": "Start",
"end": "End",
"allDayEvent": "All day event",
"description": "Description",
"repeat": "Repeat",
"timezone": " ",
"startTimezone": "Start timezone",
"endTimezone": "End timezone",
"separateTimezones": "Use separate start and end time zones",
"timezoneEditorTitle": "Timezones",
"timezoneEditorButton": "Time zone",
"timezoneTitle": "Time zones",
"noTimezone": "No timezone",
"editorTitle": "Event"
}
});
}
/* Spreadsheet messages */
if (kendo.spreadsheet && kendo.spreadsheet.messages.borderPalette) {
kendo.spreadsheet.messages.borderPalette =
$.extend(true, kendo.spreadsheet.messages.borderPalette,{
"allBorders": "All borders",
"insideBorders": "Inside borders",
"insideHorizontalBorders": "Inside horizontal borders",
"insideVerticalBorders": "Inside vertical borders",
"outsideBorders": "Outside borders",
"leftBorder": "Left border",
"topBorder": "Top border",
"rightBorder": "Right border",
"bottomBorder": "Bottom border",
"noBorders": "No border",
"reset": "Reset colour",
"customColor": "Custom colour...",
"apply": "Apply",
"cancel": "Cancel"
});
}
if (kendo.spreadsheet && kendo.spreadsheet.messages.dialogs) {
kendo.spreadsheet.messages.dialogs =
$.extend(true, kendo.spreadsheet.messages.dialogs,{
"apply": "Apply",
"save": "Save",
"cancel": "Cancel",
"remove": "Remove",
"retry": "Retry",
"revert": "Revert",
"okText": "OK",
"formatCellsDialog": {
"title": "Format",
"categories": {
"number": "Number",
"currency": "Currency",
"date": "Date"
}
},
"fontFamilyDialog": {
"title": "Font"
},
"fontSizeDialog": {
"title": "Font size"
},
"bordersDialog": {
"title": "Borders"
},
"alignmentDialog": {
"title": "Alignment",
"buttons": {
"justtifyLeft": "Align left",
"justifyCenter": "Center",
"justifyRight": "Align right",
"justifyFull": "Justify",
"alignTop": "Align top",
"alignMiddle": "Align middle",
"alignBottom": "Align bottom"
}
},
"mergeDialog": {
"title": "Merge cells",
"buttons": {
"mergeCells": "Merge all",
"mergeHorizontally": "Merge horizontally",
"mergeVertically": "Merge vertically",
"unmerge": "Unmerge"
}
},
"freezeDialog": {
"title": "Freeze panes",
"buttons": {
"freezePanes": "Freeze panes",
"freezeRows": "Freeze rows",
"freezeColumns": "Freeze columns",
"unfreeze": "Unfreeze panes"
}
},
"validationDialog": {
"title": "Data Validation",
"hintMessage": "Please enter a valid {0} value {1}.",
"hintTitle": "Validation {0}",
"criteria": {
"any": "Any value",
"number": "Number",
"text": "Text",
"date": "Date",
"custom": "Custom Formula",
"list": "List"
},
"comparers": {
"greaterThan": "greater than",
"lessThan": "less than",
"between": "between",
"notBetween": "not between",
"equalTo": "equal to",
"notEqualTo": "not equal to",
"greaterThanOrEqualTo": "greater than or equal to",
"lessThanOrEqualTo": "less than or equal to"
},
"comparerMessages": {
"greaterThan": "greater than {0}",
"lessThan": "less than {0}",
"between": "between {0} and {1}",
"notBetween": "not between {0} and {1}",
"equalTo": "equal to {0}",
"notEqualTo": "not equal to {0}",
"greaterThanOrEqualTo": "greater than or equal to {0}",
"lessThanOrEqualTo": "less than or equal to {0}",
"custom": "that satisfies the formula: {0}"
},
"labels": {
"criteria": "Criteria",
"comparer": "Comparer",
"min": "Min",
"max": "Max",
"value": "Value",
"start": "Start",
"end": "End",
"onInvalidData": "On invalid data",
"rejectInput": "Reject input",
"showWarning": "Show warning",
"showHint": "Show hint",
"hintTitle": "Hint title",
"hintMessage": "Hint message",
"ignoreBlank": "Ignore blank"
},
"placeholders": {
"typeTitle": "Type title",
"typeMessage": "Type message"
}
},
"exportAsDialog": {
"title": "Export...",
"labels": {
"fileName": "File name",
"saveAsType": "Save as type",
"exportArea": "Export",
"paperSize": "Paper size",
"margins": "Margins",
"orientation": "Orientation",
"print": "Print",
"guidelines": "Guidelines",
"center": "Center",
"horizontally": "Horizontally",
"vertically": "Vertically"
}
},
"modifyMergedDialog": {
"errorMessage": "Cannot change part of a merged cell."
},
"useKeyboardDialog": {
"title": "Copying and pasting",
"errorMessage": "These actions cannot be invoked through the menu. Please use the keyboard shortcuts instead:",
"labels": {
"forCopy": "for copy",
"forCut": "for cut",
"forPaste": "for paste"
}
},
"unsupportedSelectionDialog": {
"errorMessage": "That action cannot be performed on multiple selection."
},
"insertCommentDialog": {
"title": "Insert comment",
"labels": {
"comment": "Comment",
"removeComment": "Remove comment"
}
},
"insertImageDialog": {
"title": "Insert image",
"info": "Drag an image here, or click to select",
"typeError": "Please select a JPEG, PNG or GIF image"
}
});
}
if (kendo.spreadsheet && kendo.spreadsheet.messages.filterMenu) {
kendo.spreadsheet.messages.filterMenu =
$.extend(true, kendo.spreadsheet.messages.filterMenu,{
"sortAscending": "Sort range A to Z",
"sortDescending": "Sort range Z to A",
"filterByValue": "Filter by value",
"filterByCondition": "Filter by condition",
"apply": "Apply",
"search": "Search",
"addToCurrent": "Add to current selection",
"clear": "Clear",
"blanks": "(Blanks)",
"operatorNone": "None",
"and": "AND",
"or": "OR",
"operators": {
"string": {
"contains": "Text contains",
"doesnotcontain": "Text does not contain",
"startswith": "Text starts with",
"endswith": "Text ends with"
},
"date": {
"eq": "Date is",
"neq": "Date is not",
"lt": "Date is before",
"gt": "Date is after"
},
"number": {
"eq": "Is equal to",
"neq": "Is not equal to",
"gte": "Is greater than or equal to",
"gt": "Is greater than",
"lte": "Is less than or equal to",
"lt": "Is less than"
}
}
});
}
if (kendo.spreadsheet && kendo.spreadsheet.messages.colorPicker) {
kendo.spreadsheet.messages.colorPicker =
$.extend(true, kendo.spreadsheet.messages.colorPicker,{
"reset": "Reset color",
"customColor": "Custom color...",
"apply": "Apply",
"cancel": "Cancel"
});
}
if (kendo.spreadsheet && kendo.spreadsheet.messages.toolbar) {
kendo.spreadsheet.messages.toolbar =
$.extend(true, kendo.spreadsheet.messages.toolbar,{
"addColumnLeft": "Add column left",
"addColumnRight": "Add column right",
"addRowAbove": "Add row above",
"addRowBelow": "Add row below",
"alignment": "Alignment",
"alignmentButtons": {
"justtifyLeft": "Align left",
"justifyCenter": "Center",
"justifyRight": "Align right",
"justifyFull": "Justify",
"alignTop": "Align top",
"alignMiddle": "Align middle",
"alignBottom": "Align bottom"
},
"backgroundColor": "Background",
"bold": "Bold",
"borders": "Borders",
"colorPicker": {
"reset": "Reset colour",
"customColor": "Custom colour..."
},
"copy": "Copy",
"cut": "Cut",
"deleteColumn": "Delete column",
"deleteRow": "Delete row",
"excelImport": "Import from Excel...",
"filter": "Filter",
"fontFamily": "Font",
"fontSize": "Font size",
"format": "Custom format...",
"formatTypes": {
"automatic": "Automatic",
"number": "Number",
"percent": "Percent",
"financial": "Financial",
"currency": "Currency",
"date": "Date",
"time": "Time",
"dateTime": "Date time",
"duration": "Duration",
"moreFormats": "More formats..."
},
"formatDecreaseDecimal": "Decrease decimal",
"formatIncreaseDecimal": "Increase decimal",
"freeze": "Freeze panes",
"freezeButtons": {
"freezePanes": "Freeze panes",
"freezeRows": "Freeze rows",
"freezeColumns": "Freeze columns",
"unfreeze": "Unfreeze panes"
},
"insertComment": "Insert comment",
"insertImage": "Insert image",
"italic": "Italic",
"merge": "Merge cells",
"mergeButtons": {
"mergeCells": "Merge all",
"mergeHorizontally": "Merge horizontally",
"mergeVertically": "Merge vertically",
"unmerge": "Unmerge"
},
"open": "Open...",
"paste": "Paste",
"quickAccess": {
"redo": "Redo",
"undo": "Undo"
},
"saveAs": "Save As...",
"sort": "Sort",
"sortAsc": "Sort ascending",
"sortDesc": "Sort descending",
"sortButtons": {
"sortSheetAsc": "Sort sheet A to Z",
"sortSheetDesc": "Sort sheet Z to A",
"sortRangeAsc": "Sort range A to Z",
"sortRangeDesc": "Sort range Z to A"
},
"textColor": "Text Colour",
"textWrap": "Wrap text",
"underline": "Underline",
"validation": "Data validation..."
});
}
if (kendo.spreadsheet && kendo.spreadsheet.messages.view) {
kendo.spreadsheet.messages.view =
$.extend(true, kendo.spreadsheet.messages.view,{
"nameBox": "Name Box",
"errors": {
"shiftingNonblankCells": "Cannot insert cells due to data loss possibility. Select another insert location or delete the data from the end of your worksheet.",
"filterRangeContainingMerges": "Cannot create a filter within a range containing merges",
"validationError": "The value that you entered violates the validation rules set on the cell."
},
"tabs": {
"home": "Home",
"insert": "Insert",
"data": "Data"
}
});
}
/* Slider messages */
if (kendo.ui.Slider) {
kendo.ui.Slider.prototype.options =
$.extend(true, kendo.ui.Slider.prototype.options,{
"increaseButtonTitle": "Increase",
"decreaseButtonTitle": "Decrease"
});
}
/* TreeList messages */
if (kendo.ui.TreeList) {
kendo.ui.TreeList.prototype.options.messages =
$.extend(true, kendo.ui.TreeList.prototype.options.messages,{
"noRows": "No records to display",
"loading": "Loading...",
"requestFailed": "Request failed.",
"retry": "Retry",
"commands": {
"edit": "Edit",
"update": "Update",
"canceledit": "Cancel",
"create": "Add new record",
"createchild": "Add child record",
"destroy": "Delete",
"excel": "Export to Excel",
"pdf": "Export to PDF"
}
});
}
/* TreeView messages */
if (kendo.ui.TreeView) {
kendo.ui.TreeView.prototype.options.messages =
$.extend(true, kendo.ui.TreeView.prototype.options.messages,{
"loading": "Loading...",
"requestFailed": "Request failed.",
"retry": "Retry"
});
}
/* Upload messages */
if (kendo.ui.Upload) {
kendo.ui.Upload.prototype.options.localization=
$.extend(true, kendo.ui.Upload.prototype.options.localization,{
"select": "Select files...",
"cancel": "Cancel",
"retry": "Retry",
"remove": "Remove",
"uploadSelectedFiles": "Upload files",
"dropFilesHere": "drop files here to upload",
"statusUploading": "uploading",
"statusUploaded": "uploaded",
"statusWarning": "warning",
"statusFailed": "failed",
"headerStatusUploading": "Uploading...",
"headerStatusUploaded": "Done"
});
}
/* Validator messages */
if (kendo.ui.Validator) {
kendo.ui.Validator.prototype.options.messages =
$.extend(true, kendo.ui.Validator.prototype.options.messages,{
"required": "{0} is required",
"pattern": "{0} is not valid",
"min": "{0} should be greater than or equal to {1}",
"max": "{0} should be smaller than or equal to {1}",
"step": "{0} is not valid",
"email": "{0} is not valid email",
"url": "{0} is not valid URL",
"date": "{0} is not valid date",
"dateCompare": "End date should be greater than or equal to the start date"
});
}
/* Dialog */
if (kendo.ui.Dialog) {
kendo.ui.Dialog.prototype.options.messages =
$.extend(true, kendo.ui.Dialog.prototype.options.localization, {
"close": "Close"
});
}
/* Alert */
if (kendo.ui.Alert) {
kendo.ui.Alert.prototype.options.messages =
$.extend(true, kendo.ui.Alert.prototype.options.localization, {
"okText": "OK"
});
}
/* Confirm */
if (kendo.ui.Confirm) {
kendo.ui.Confirm.prototype.options.messages =
$.extend(true, kendo.ui.Confirm.prototype.options.localization, {
"okText": "OK",
"cancel": "Cancel"
});
}
/* Prompt */
if (kendo.ui.Prompt) {
kendo.ui.Prompt.prototype.options.messages =
$.extend(true, kendo.ui.Prompt.prototype.options.localization, {
"okText": "OK",
"cancel": "Cancel"
});
}
})(window.kendo.jQuery);
/***/ })
/******/ });