Skip to content

Commit

Permalink
Conditions can now be configured
Browse files Browse the repository at this point in the history
  • Loading branch information
romanchyla committed Jul 9, 2014
1 parent 0ee9957 commit dbf6922
Show file tree
Hide file tree
Showing 7 changed files with 159 additions and 90 deletions.
56 changes: 29 additions & 27 deletions dist/i18n/en.js
Original file line number Diff line number Diff line change
@@ -1,30 +1,32 @@
QueryBuilder.setDefaults({ lang: {
"add_rule": "Add rule",
"add_group": "Add group",
"delete_rule": "Delete",
"delete_group": "Delete",
(function($){
$.fn.queryBuilder.defaults.set({ lang: {
"add_rule": "Add rule",
"add_group": "Add group",
"delete_rule": "Delete",
"delete_group": "Delete",

"and_condition": "AND",
"or_condition": "OR",
"and_condition": "AND",
"or_condition": "OR",

"filter_select_placeholder": "------",
"filter_select_placeholder": "------",

"operator_equal": "equal",
"operator_not_equal": "not equal",
"operator_in": "in",
"operator_not_in": "not in",
"operator_less": "less",
"operator_less_or_equal": "less or equal",
"operator_greater": "greater",
"operator_greater_or_equal": "greater or equal",
"operator_begins_with": "begins with",
"operator_not_begins_with": "doesn't begin with",
"operator_contains": "contains",
"operator_not_contains": "doesn't contain",
"operator_ends_with": "ends with",
"operator_not_ends_with": "doesn't end with",
"operator_is_empty": "is empty",
"operator_is_not_empty": "is not empty",
"operator_is_null": "is null",
"operator_is_not_null": "is not null"
}});
"operator_equal": "equal",
"operator_not_equal": "not equal",
"operator_in": "in",
"operator_not_in": "not in",
"operator_less": "less",
"operator_less_or_equal": "less or equal",
"operator_greater": "greater",
"operator_greater_or_equal": "greater or equal",
"operator_begins_with": "begins with",
"operator_not_begins_with": "doesn't begin with",
"operator_contains": "contains",
"operator_not_contains": "doesn't contain",
"operator_ends_with": "ends with",
"operator_not_ends_with": "doesn't end with",
"operator_is_empty": "is empty",
"operator_is_not_empty": "is not empty",
"operator_is_null": "is null",
"operator_is_not_null": "is not null"
}});
}(jQuery));
56 changes: 29 additions & 27 deletions dist/i18n/fr.js
Original file line number Diff line number Diff line change
@@ -1,30 +1,32 @@
QueryBuilder.setDefaults({ lang: {
"add_rule": "Ajouter une règle",
"add_group": "Ajouter un groupe",
"delete_rule": "Supprimer",
"delete_group": "Supprimer",
(function($){
$.fn.queryBuilder.defaults.set({ lang: {
"add_rule": "Ajouter une règle",
"add_group": "Ajouter un groupe",
"delete_rule": "Supprimer",
"delete_group": "Supprimer",

"and_condition": "ET",
"or_condition": "OU",
"and_condition": "ET",
"or_condition": "OU",

"filter_select_placeholder": "------",
"filter_select_placeholder": "------",

"operator_equal": "égal",
"operator_not_equal": "non égal",
"operator_in": "dans",
"operator_not_in": "pas dans",
"operator_less": "inférieur",
"operator_less_or_equal": "inférieur ou égal",
"operator_greater": "supérieur",
"operator_greater_or_equal": "supérieur ou égal",
"operator_begins_with": "commence par",
"operator_not_begins_with": "ne commence pas par",
"operator_contains": "contient",
"operator_not_contains": "ne contient pas",
"operator_ends_with": "finit par",
"operator_not_ends_with": "ne finit pas par",
"operator_is_empty": "est vide",
"operator_is_not_empty": "n'est pas vide",
"operator_is_null": "est nul",
"operator_is_not_null": "n'est pas nul"
}});
"operator_equal": "égal",
"operator_not_equal": "non égal",
"operator_in": "dans",
"operator_not_in": "pas dans",
"operator_less": "inférieur",
"operator_less_or_equal": "inférieur ou égal",
"operator_greater": "supérieur",
"operator_greater_or_equal": "supérieur ou égal",
"operator_begins_with": "commence par",
"operator_not_begins_with": "ne commence pas par",
"operator_contains": "contient",
"operator_not_contains": "ne contient pas",
"operator_ends_with": "finit par",
"operator_not_ends_with": "ne finit pas par",
"operator_is_empty": "est vide",
"operator_is_not_empty": "n'est pas vide",
"operator_is_null": "est nul",
"operator_is_not_null": "n'est pas nul"
}});
}(jQuery));
56 changes: 29 additions & 27 deletions dist/i18n/ro.js
Original file line number Diff line number Diff line change
@@ -1,30 +1,32 @@
QueryBuilder.setDefaults({ lang: {
"add_rule": "Adaugă regulă",
"add_group": "Adaugă grup",
"delete_rule": "Şterge",
"delete_group": "Şterge",
(function ($) {
$.fn.queryBuilder.defaults.set({ lang: {
"add_rule": "Adaugă regulă",
"add_group": "Adaugă grup",
"delete_rule": "Şterge",
"delete_group": "Şterge",

"and_condition": "ŞI",
"or_condition": "SAU",
"and_condition": "ŞI",
"or_condition": "SAU",

"filter_select_placeholder": "------",
"filter_select_placeholder": "------",

"operator_equal": "egal",
"operator_not_equal": "diferit",
"operator_in": "în",
"operator_not_in": "nu în",
"operator_less": "mai puţin",
"operator_less_or_equal": "mai puţin sau egal",
"operator_greater": "mai mare",
"operator_greater_or_equal": "mai mare sau egal",
"operator_begins_with": "începe cu",
"operator_not_begins_with": "nu începe cu",
"operator_contains": "conţine",
"operator_not_contains": "nu conţine",
"operator_ends_with": "se termină cu",
"operator_not_ends_with": "nu se termină cu",
"operator_is_empty": "este gol",
"operator_is_not_empty": "nu este gol",
"operator_is_null": "e nul",
"operator_is_not_null": "nu e nul"
}});
"operator_equal": "egal",
"operator_not_equal": "diferit",
"operator_in": "în",
"operator_not_in": "nu în",
"operator_less": "mai puţin",
"operator_less_or_equal": "mai puţin sau egal",
"operator_greater": "mai mare",
"operator_greater_or_equal": "mai mare sau egal",
"operator_begins_with": "începe cu",
"operator_not_begins_with": "nu începe cu",
"operator_contains": "conţine",
"operator_not_contains": "nu conţine",
"operator_ends_with": "se termină cu",
"operator_not_ends_with": "nu se termină cu",
"operator_is_empty": "este gol",
"operator_is_not_empty": "nu este gol",
"operator_is_null": "e nul",
"operator_is_not_null": "nu e nul"
}});
}(jQuery));
Loading

0 comments on commit dbf6922

Please sign in to comment.