kopia lustrzana https://github.com/magicbug/Cloudlog
83 wiersze
2.6 KiB
JavaScript
83 wiersze
2.6 KiB
JavaScript
|
/*!
|
||
|
* jQuery QueryBuilder 2.5.2
|
||
|
* Locale: English (en)
|
||
|
* Author: Damien "Mistic" Sorel, http://www.strangeplanet.fr
|
||
|
* Licensed under MIT (https://opensource.org/licenses/MIT)
|
||
|
*/
|
||
|
|
||
|
(function(root, factory) {
|
||
|
if (typeof define == 'function' && define.amd) {
|
||
|
define(['jquery', 'query-builder'], factory);
|
||
|
}
|
||
|
else {
|
||
|
factory(root.jQuery);
|
||
|
}
|
||
|
}(this, function($) {
|
||
|
"use strict";
|
||
|
|
||
|
var QueryBuilder = $.fn.queryBuilder;
|
||
|
|
||
|
QueryBuilder.regional['en'] = {
|
||
|
"__locale": "English (en)",
|
||
|
"__author": "Damien \"Mistic\" Sorel, http://www.strangeplanet.fr",
|
||
|
"add_rule": "Add rule",
|
||
|
"add_group": "Add group",
|
||
|
"delete_rule": "Delete",
|
||
|
"delete_group": "Delete",
|
||
|
"conditions": {
|
||
|
"AND": "AND",
|
||
|
"OR": "OR"
|
||
|
},
|
||
|
"operators": {
|
||
|
"equal": "equal",
|
||
|
"not_equal": "not equal",
|
||
|
"in": "in",
|
||
|
"not_in": "not in",
|
||
|
"less": "less",
|
||
|
"less_or_equal": "less or equal",
|
||
|
"greater": "greater",
|
||
|
"greater_or_equal": "greater or equal",
|
||
|
"between": "between",
|
||
|
"not_between": "not between",
|
||
|
"begins_with": "begins with",
|
||
|
"not_begins_with": "doesn't begin with",
|
||
|
"contains": "contains",
|
||
|
"not_contains": "doesn't contain",
|
||
|
"ends_with": "ends with",
|
||
|
"not_ends_with": "doesn't end with",
|
||
|
"is_empty": "is empty",
|
||
|
"is_not_empty": "is not empty",
|
||
|
"is_null": "is null",
|
||
|
"is_not_null": "is not null"
|
||
|
},
|
||
|
"errors": {
|
||
|
"no_filter": "No filter selected",
|
||
|
"empty_group": "The group is empty",
|
||
|
"radio_empty": "No value selected",
|
||
|
"checkbox_empty": "No value selected",
|
||
|
"select_empty": "No value selected",
|
||
|
"string_empty": "Empty value",
|
||
|
"string_exceed_min_length": "Must contain at least {0} characters",
|
||
|
"string_exceed_max_length": "Must not contain more than {0} characters",
|
||
|
"string_invalid_format": "Invalid format ({0})",
|
||
|
"number_nan": "Not a number",
|
||
|
"number_not_integer": "Not an integer",
|
||
|
"number_not_double": "Not a real number",
|
||
|
"number_exceed_min": "Must be greater than {0}",
|
||
|
"number_exceed_max": "Must be lower than {0}",
|
||
|
"number_wrong_step": "Must be a multiple of {0}",
|
||
|
"number_between_invalid": "Invalid values, {0} is greater than {1}",
|
||
|
"datetime_empty": "Empty value",
|
||
|
"datetime_invalid": "Invalid date format ({0})",
|
||
|
"datetime_exceed_min": "Must be after {0}",
|
||
|
"datetime_exceed_max": "Must be before {0}",
|
||
|
"datetime_between_invalid": "Invalid values, {0} is greater than {1}",
|
||
|
"boolean_not_valid": "Not a boolean",
|
||
|
"operator_not_multiple": "Operator \"{1}\" cannot accept multiple values"
|
||
|
},
|
||
|
"invert": "Invert",
|
||
|
"NOT": "NOT"
|
||
|
};
|
||
|
|
||
|
QueryBuilder.defaults({ lang_code: 'en' });
|
||
|
}));
|