Skip to content

Commit bebdace

Browse files
committed
Change PivotGrid filter menu messages.
1 parent 8d3c398 commit bebdace

1 file changed

Lines changed: 11 additions & 17 deletions

File tree

src/messages/kendo.messages.en-US.js

Lines changed: 11 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -266,33 +266,27 @@ $.extend(true, kendo.ui.PivotGrid.prototype.options.messages,{
266266
});
267267
}
268268

269-
/* PivotFieldMenu operators */
270-
271-
if (kendo.ui.PivotFieldMenu) {
272-
kendo.ui.PivotGrid.prototype.options.operators =
273-
$.extend(true, kendo.ui.PivotGrid.prototype.options.operators,{
274-
"contains": "Contains",
275-
"doesnotcontain": "Does not contain",
276-
"startswith": "Starts with",
277-
"endswith": "Ends with",
278-
"eq": "Is equal to",
279-
"neq": "Is not equal to"
280-
});
281-
}
282-
283269
/* PivotFieldMenu messages */
284270

285271
if (kendo.ui.PivotFieldMenu) {
286-
kendo.ui.PivotGrid.prototype.options.messages =
287-
$.extend(true, kendo.ui.PivotGrid.prototype.options.messages,{
272+
kendo.ui.PivotFieldMenu.prototype.options.messages =
273+
$.extend(true, kendo.ui.PivotFieldMenu.prototype.options.messages,{
288274
"info": "Show items with value that:",
289275
"filterFields": "Fields Filter",
290276
"filter": "Filter",
291277
"include": "Include Fields...",
292278
"title": "Fields to include",
293279
"clear": "Clear",
294280
"ok": "Ok",
295-
"cancel": "Cancel"
281+
"cancel": "Cancel",
282+
"operators": {
283+
"contains": "Contains",
284+
"doesnotcontain": "Does not contain",
285+
"startswith": "Starts with",
286+
"endswith": "Ends with",
287+
"eq": "Is equal to",
288+
"neq": "Is not equal to"
289+
}
296290
});
297291
}
298292

0 commit comments

Comments
 (0)