ransack 1.6.6 → 2.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.gitignore +3 -0
- data/.travis.yml +35 -53
- data/CHANGELOG.md +530 -9
- data/CONTRIBUTING.md +63 -26
- data/Gemfile +24 -24
- data/README.md +371 -96
- data/Rakefile +6 -29
- data/lib/polyamorous/activerecord_5.2_ruby_2/join_association.rb +24 -0
- data/lib/polyamorous/activerecord_5.2_ruby_2/join_dependency.rb +79 -0
- data/lib/polyamorous/activerecord_5.2_ruby_2/reflection.rb +11 -0
- data/lib/polyamorous/activerecord_6.0_ruby_2/join_association.rb +1 -0
- data/lib/polyamorous/activerecord_6.0_ruby_2/join_dependency.rb +80 -0
- data/lib/polyamorous/activerecord_6.0_ruby_2/reflection.rb +1 -0
- data/lib/polyamorous/activerecord_6.1_ruby_2/join_association.rb +74 -0
- data/lib/polyamorous/activerecord_6.1_ruby_2/join_dependency.rb +93 -0
- data/lib/polyamorous/activerecord_6.1_ruby_2/reflection.rb +1 -0
- data/lib/polyamorous/join.rb +70 -0
- data/lib/polyamorous/polyamorous.rb +24 -0
- data/lib/polyamorous/swapping_reflection_class.rb +11 -0
- data/lib/polyamorous/tree_node.rb +7 -0
- data/lib/ransack/adapters/active_record/base.rb +23 -2
- data/lib/ransack/adapters/active_record/context.rb +206 -139
- data/lib/ransack/adapters/active_record/ransack/constants.rb +70 -55
- data/lib/ransack/adapters/active_record/ransack/context.rb +10 -18
- data/lib/ransack/adapters/active_record/ransack/nodes/condition.rb +43 -36
- data/lib/ransack/adapters/active_record/ransack/translate.rb +1 -5
- data/lib/ransack/adapters/active_record/ransack/visitor.rb +23 -0
- data/lib/ransack/adapters/active_record.rb +11 -10
- data/lib/ransack/adapters.rb +64 -0
- data/lib/ransack/configuration.rb +91 -4
- data/lib/ransack/constants.rb +13 -26
- data/lib/ransack/context.rb +45 -40
- data/lib/ransack/helpers/form_builder.rb +21 -12
- data/lib/ransack/helpers/form_helper.rb +99 -69
- data/lib/ransack/locale/ar.yml +70 -0
- data/lib/ransack/locale/az.yml +70 -0
- data/lib/ransack/locale/bg.yml +70 -0
- data/lib/ransack/locale/ca.yml +70 -0
- data/lib/ransack/locale/da.yml +70 -0
- data/lib/ransack/locale/de.yml +70 -0
- data/lib/ransack/locale/el.yml +70 -0
- data/lib/ransack/locale/es.yml +22 -22
- data/lib/ransack/locale/fa.yml +70 -0
- data/lib/ransack/locale/fi.yml +71 -0
- data/lib/ransack/locale/id.yml +70 -0
- data/lib/ransack/locale/it.yml +70 -0
- data/lib/ransack/locale/ja.yml +70 -0
- data/lib/ransack/locale/nl.yml +4 -4
- data/lib/ransack/locale/pt-BR.yml +70 -0
- data/lib/ransack/locale/ru.yml +70 -0
- data/lib/ransack/locale/sk.yml +70 -0
- data/lib/ransack/locale/tr.yml +70 -0
- data/lib/ransack/locale/{zh.yml → zh-CN.yml} +13 -13
- data/lib/ransack/locale/zh-TW.yml +70 -0
- data/lib/ransack/nodes/attribute.rb +6 -3
- data/lib/ransack/nodes/bindable.rb +18 -6
- data/lib/ransack/nodes/condition.rb +85 -24
- data/lib/ransack/nodes/grouping.rb +17 -11
- data/lib/ransack/nodes/sort.rb +9 -5
- data/lib/ransack/nodes/value.rb +74 -68
- data/lib/ransack/nodes.rb +2 -3
- data/lib/ransack/predicate.rb +17 -20
- data/lib/ransack/search.rb +15 -15
- data/lib/ransack/translate.rb +115 -115
- data/lib/ransack/version.rb +1 -1
- data/lib/ransack/visitor.rb +1 -12
- data/lib/ransack.rb +11 -17
- data/logo/ransack-h.png +0 -0
- data/logo/ransack-h.svg +34 -0
- data/logo/ransack-v.png +0 -0
- data/logo/ransack-v.svg +34 -0
- data/logo/ransack.png +0 -0
- data/logo/ransack.svg +21 -0
- data/ransack.gemspec +9 -27
- data/spec/console.rb +4 -0
- data/spec/helpers/polyamorous_helper.rb +19 -0
- data/spec/polyamorous/join_association_spec.rb +35 -0
- data/spec/polyamorous/join_dependency_spec.rb +97 -0
- data/spec/polyamorous/join_spec.rb +19 -0
- data/spec/ransack/adapters/active_record/base_spec.rb +380 -91
- data/spec/ransack/adapters/active_record/context_spec.rb +72 -33
- data/spec/ransack/configuration_spec.rb +87 -14
- data/spec/ransack/helpers/form_builder_spec.rb +2 -11
- data/spec/ransack/helpers/form_helper_spec.rb +481 -113
- data/spec/ransack/nodes/condition_spec.rb +25 -1
- data/spec/ransack/nodes/grouping_spec.rb +62 -6
- data/spec/ransack/predicate_spec.rb +79 -5
- data/spec/ransack/search_spec.rb +159 -79
- data/spec/spec_helper.rb +8 -0
- data/spec/support/schema.rb +99 -37
- metadata +57 -184
- data/lib/ransack/adapters/active_record/3.0/compat.rb +0 -179
- data/lib/ransack/adapters/active_record/3.0/context.rb +0 -205
- data/lib/ransack/adapters/active_record/3.1/context.rb +0 -219
- data/lib/ransack/adapters/active_record/3.2/context.rb +0 -44
- data/lib/ransack/adapters/active_record/compat.rb +0 -14
- data/lib/ransack/adapters/mongoid/3.2/.gitkeep +0 -0
- data/lib/ransack/adapters/mongoid/attributes/attribute.rb +0 -37
- data/lib/ransack/adapters/mongoid/attributes/order_predications.rb +0 -17
- data/lib/ransack/adapters/mongoid/attributes/predications.rb +0 -141
- data/lib/ransack/adapters/mongoid/base.rb +0 -126
- data/lib/ransack/adapters/mongoid/context.rb +0 -208
- data/lib/ransack/adapters/mongoid/inquiry_hash.rb +0 -23
- data/lib/ransack/adapters/mongoid/ransack/constants.rb +0 -88
- data/lib/ransack/adapters/mongoid/ransack/context.rb +0 -60
- data/lib/ransack/adapters/mongoid/ransack/nodes/condition.rb +0 -27
- data/lib/ransack/adapters/mongoid/ransack/translate.rb +0 -13
- data/lib/ransack/adapters/mongoid/ransack/visitor.rb +0 -24
- data/lib/ransack/adapters/mongoid/table.rb +0 -35
- data/lib/ransack/adapters/mongoid.rb +0 -13
- data/spec/mongoid/adapters/mongoid/base_spec.rb +0 -276
- data/spec/mongoid/adapters/mongoid/context_spec.rb +0 -56
- data/spec/mongoid/configuration_spec.rb +0 -102
- data/spec/mongoid/dependencies_spec.rb +0 -8
- data/spec/mongoid/helpers/ransack_helper.rb +0 -11
- data/spec/mongoid/nodes/condition_spec.rb +0 -34
- data/spec/mongoid/nodes/grouping_spec.rb +0 -13
- data/spec/mongoid/predicate_spec.rb +0 -155
- data/spec/mongoid/search_spec.rb +0 -446
- data/spec/mongoid/support/mongoid.yml +0 -6
- data/spec/mongoid/support/schema.rb +0 -128
- data/spec/mongoid/translate_spec.rb +0 -14
- data/spec/mongoid_spec_helper.rb +0 -59
- data/spec/ransack/dependencies_spec.rb +0 -10
@@ -0,0 +1,70 @@
|
|
1
|
+
de:
|
2
|
+
ransack:
|
3
|
+
search: "suchen"
|
4
|
+
predicate: "Eigenschaft"
|
5
|
+
and: "und"
|
6
|
+
or: "oder"
|
7
|
+
any: "beliebige"
|
8
|
+
all: "alle"
|
9
|
+
combinator: "Kombinator"
|
10
|
+
attribute: "Attribut"
|
11
|
+
value: "Wert"
|
12
|
+
condition: "Bedingung"
|
13
|
+
sort: "sortieren"
|
14
|
+
asc: "aufsteigend"
|
15
|
+
desc: "absteigend"
|
16
|
+
predicates:
|
17
|
+
eq: "gleicht"
|
18
|
+
eq_any: "gleicht beliebigen"
|
19
|
+
eq_all: "gleicht allen"
|
20
|
+
not_eq: "ungleich"
|
21
|
+
not_eq_any: "ungleich beliebigen"
|
22
|
+
not_eq_all: "ungleich allen"
|
23
|
+
matches: "entspricht"
|
24
|
+
matches_any: "stimmt überein mit einem beliebigen"
|
25
|
+
matches_all: "stimmt mit allen überein"
|
26
|
+
does_not_match: "stimmt nicht überein"
|
27
|
+
does_not_match_any: "erfüllt ein beliebiger/s nicht"
|
28
|
+
does_not_match_all: "stimmt nicht mit allen überein"
|
29
|
+
lt: "kleiner als"
|
30
|
+
lt_any: "kleiner als ein beliebiger/s"
|
31
|
+
lt_all: "kleiner als alle als alle"
|
32
|
+
lteq: "kleiner oder gleich"
|
33
|
+
lteq_any: "kleiner oder gleich beliebige"
|
34
|
+
lteq_all: "kleiner oder gleich allen"
|
35
|
+
gt: "größer als"
|
36
|
+
gt_any: "größer als ein beliebiger/s"
|
37
|
+
gt_all: "größer als alle"
|
38
|
+
gteq: "größer oder gleich"
|
39
|
+
gteq_any: "größer oder gleich als ein beliebiger/s"
|
40
|
+
gteq_all: "größer oder gleich alle"
|
41
|
+
in: "in"
|
42
|
+
in_any: "ist nicht in einem beliebigen"
|
43
|
+
in_all: "in allen"
|
44
|
+
not_in: "nicht in"
|
45
|
+
not_in_any: "nicht in beliebige"
|
46
|
+
not_in_all: "nicht in allen"
|
47
|
+
cont: "enthält"
|
48
|
+
cont_any: "enthält beliebige"
|
49
|
+
cont_all: "enthält alle"
|
50
|
+
not_cont: "enthält nicht"
|
51
|
+
not_cont_any: "enthält ein beliebiger/s nicht"
|
52
|
+
not_cont_all: "enthält keine/s"
|
53
|
+
start: "beginnt mit"
|
54
|
+
start_any: "beginnt mit beliebigen"
|
55
|
+
start_all: "beginnt mit allen"
|
56
|
+
not_start: "beginnt nicht mit"
|
57
|
+
not_start_any: "beginnt nicht mit beliebigen"
|
58
|
+
not_start_all: "beginnt nicht mit allen"
|
59
|
+
end: "endet mit"
|
60
|
+
end_any: "endet mit beliebigen"
|
61
|
+
end_all: "endet mit allen"
|
62
|
+
not_end: "endet nicht mit"
|
63
|
+
not_end_any: "endet nicht mit beliebigen"
|
64
|
+
not_end_all: "endet nicht mit allen"
|
65
|
+
'true': "ist wahr"
|
66
|
+
'false': "ist falsch"
|
67
|
+
present: "ist vorhanden"
|
68
|
+
blank: "ist leer"
|
69
|
+
'null': "ist null"
|
70
|
+
not_null: "ist nicht null"
|
@@ -0,0 +1,70 @@
|
|
1
|
+
el:
|
2
|
+
ransack:
|
3
|
+
search: "αναζήτηση"
|
4
|
+
predicate: "κατηγορούμενο"
|
5
|
+
and: "και"
|
6
|
+
or: "ή"
|
7
|
+
any: "οποιοδήποτε"
|
8
|
+
all: "όλα"
|
9
|
+
combinator: "συνδυαστής"
|
10
|
+
attribute: "ιδιότητα"
|
11
|
+
value: "τιμή"
|
12
|
+
condition: "συνθήκη"
|
13
|
+
sort: "ταξινόμηση"
|
14
|
+
asc: "αύξουσα"
|
15
|
+
desc: "φθίνουσα"
|
16
|
+
predicates:
|
17
|
+
eq: "ίσον"
|
18
|
+
eq_any: "ισούται με οποιοδήποτε"
|
19
|
+
eq_all: "ισούται με όλα"
|
20
|
+
not_eq: "άνισο"
|
21
|
+
not_eq_any: "άνισο με οποιοδήποτε"
|
22
|
+
not_eq_all: "άνισο με όλα"
|
23
|
+
matches: "αντιστοιχεί"
|
24
|
+
matches_any: "αντιστοιχεί με οποιοδήποτε"
|
25
|
+
matches_all: "αντιστοιχεί με όλα"
|
26
|
+
does_not_match: "δεν αντιστοιχεί"
|
27
|
+
does_not_match_any: "δεν αντιστοιχεί με οποιοδήποτε"
|
28
|
+
does_not_match_all: "δεν αντιστοιχεί με όλα"
|
29
|
+
lt: "μικρότερο από"
|
30
|
+
lt_any: "μικρότερο από οποιοδήποτε"
|
31
|
+
lt_all: "μικρότερο από όλα"
|
32
|
+
lteq: "μικρότερο ή ίσον"
|
33
|
+
lteq_any: "μικρότερο ή ίσον από οποιοδήποτε"
|
34
|
+
lteq_all: "μικρότερο ή ίσον από όλα"
|
35
|
+
gt: "μεγαλύτερο από"
|
36
|
+
gt_any: "μεγαλύτερο από οποιοδήποτε"
|
37
|
+
gt_all: μεγαλύτερο από όλα"
|
38
|
+
gteq: "μεγαλύτερο ή ίσον από"
|
39
|
+
gteq_any: "μεγαλύτερο ή ίσον από οποιοδήποτε"
|
40
|
+
gteq_all: "μεγαλύτερο ή ίσον από όλα"
|
41
|
+
in: "περιέχεται"
|
42
|
+
in_any: "περιέχεται σε οποιοδήποτε"
|
43
|
+
in_all: "περιέχεται σε όλα"
|
44
|
+
not_in: "δεν περιέχεται"
|
45
|
+
not_in_any: "δεν περιέχεται σε οποιοδήποτε"
|
46
|
+
not_in_all: "δεν περιέχεται σε όλα"
|
47
|
+
cont: "περιέχει"
|
48
|
+
cont_any: "περιέχει οποιοδήποτε"
|
49
|
+
cont_all: "περιέχει όλα"
|
50
|
+
not_cont: "δεν περιέχει"
|
51
|
+
not_cont_any: "δεν περιέχει οποιοδήποτε"
|
52
|
+
not_cont_all: "δεν περιέχει όλα"
|
53
|
+
start: "αρχίζει με"
|
54
|
+
start_any: "αρχίζει με οποιοδήποτε"
|
55
|
+
start_all: "αρχίζει με όλα"
|
56
|
+
not_start: "δεν αρχίζει με"
|
57
|
+
not_start_any: "δεν αρχίζει με οποιοδήποτε"
|
58
|
+
not_start_all: "δεν αρχίζει με όλα"
|
59
|
+
end: "τελειώνει με"
|
60
|
+
end_any: "τελειώνει οποιοδήποτε"
|
61
|
+
end_all: "τελειώνει με όλα"
|
62
|
+
not_end: "δεν τελειώνει με"
|
63
|
+
not_end_any: "δεν τελειώνει οποιοδήποτε"
|
64
|
+
not_end_all: "δεν τελειώνει με όλα"
|
65
|
+
'true': "αληθές"
|
66
|
+
'false': "ψευδές"
|
67
|
+
present: "υπάρχει"
|
68
|
+
blank: "είναι κενό"
|
69
|
+
'null': "άκυρο"
|
70
|
+
not_null: "δεν είναι άκυρο"
|
data/lib/ransack/locale/es.yml
CHANGED
@@ -6,11 +6,11 @@ es:
|
|
6
6
|
or: "o"
|
7
7
|
any: "cualquier"
|
8
8
|
all: "todos"
|
9
|
-
combinator: "
|
9
|
+
combinator: "combinador"
|
10
10
|
attribute: "atributo"
|
11
11
|
value: "valor"
|
12
12
|
condition: "condición"
|
13
|
-
sort: "
|
13
|
+
sort: "ordenar"
|
14
14
|
asc: "ascendente"
|
15
15
|
desc: "descendente"
|
16
16
|
predicates:
|
@@ -19,12 +19,12 @@ es:
|
|
19
19
|
eq_all: "es igual a todos"
|
20
20
|
not_eq: "no es igual a"
|
21
21
|
not_eq_any: "no es igual a cualquier"
|
22
|
-
not_eq_all: "no es
|
23
|
-
matches: "
|
24
|
-
matches_any: "
|
25
|
-
matches_all: "
|
26
|
-
does_not_match: "no coincide"
|
27
|
-
does_not_match_any: "no coincide con
|
22
|
+
not_eq_all: "no es igual a todos"
|
23
|
+
matches: "coincide con"
|
24
|
+
matches_any: "coincide con cualquier"
|
25
|
+
matches_all: "coincide con todos"
|
26
|
+
does_not_match: "no coincide con"
|
27
|
+
does_not_match_any: "no coincide con ninguno"
|
28
28
|
does_not_match_all: "no coincide con todos"
|
29
29
|
lt: "menor que"
|
30
30
|
lt_any: "menor que cualquier"
|
@@ -48,23 +48,23 @@ es:
|
|
48
48
|
cont_any: "contiene cualquier"
|
49
49
|
cont_all: "contiene todos"
|
50
50
|
not_cont: "no contiene"
|
51
|
-
not_cont_any: "no contiene
|
52
|
-
not_cont_all: "no contiene
|
51
|
+
not_cont_any: "no contiene ninguno"
|
52
|
+
not_cont_all: "no contiene todos"
|
53
53
|
start: "comienza con"
|
54
54
|
start_any: "comienza con cualquier"
|
55
|
-
start_all: "comienza con
|
56
|
-
not_start: "no
|
55
|
+
start_all: "comienza con todos"
|
56
|
+
not_start: "no comienza con"
|
57
57
|
not_start_any: "no comienza con cualquier"
|
58
|
-
not_start_all: "no
|
59
|
-
end: "termina
|
60
|
-
end_any: "termina
|
61
|
-
end_all: "termina
|
62
|
-
not_end: "no termina
|
63
|
-
not_end_any: "no termina
|
64
|
-
not_end_all: "no termina
|
58
|
+
not_start_all: "no comienza con todos"
|
59
|
+
end: "termina en"
|
60
|
+
end_any: "termina en cualquier"
|
61
|
+
end_all: "termina en todos"
|
62
|
+
not_end: "no termina en"
|
63
|
+
not_end_any: "no termina en cualquier"
|
64
|
+
not_end_all: "no termina en todos"
|
65
65
|
'true': "es verdadero"
|
66
66
|
'false': "es falso"
|
67
|
-
present: "
|
67
|
+
present: "está presente"
|
68
68
|
blank: "está en blanco"
|
69
|
-
'null': "es
|
70
|
-
not_null: "no es
|
69
|
+
'null': "es nulo"
|
70
|
+
not_null: "no es nulo"
|
@@ -0,0 +1,70 @@
|
|
1
|
+
fa:
|
2
|
+
ransack:
|
3
|
+
search: "جستجو"
|
4
|
+
predicate: "پیش فرض"
|
5
|
+
and: "و"
|
6
|
+
or: "یا"
|
7
|
+
any: "هر کدام"
|
8
|
+
all: "همه"
|
9
|
+
combinator: "ترکیب کننده"
|
10
|
+
attribute: "ویژگی"
|
11
|
+
value: "مقدار"
|
12
|
+
condition: "شرایط"
|
13
|
+
sort: "مرتب سازی"
|
14
|
+
asc: "صعودی"
|
15
|
+
desc: "نزولی"
|
16
|
+
predicates:
|
17
|
+
eq: "مساوی با"
|
18
|
+
eq_any: "مساوی با حداقل یکی"
|
19
|
+
eq_all: "مساوی با همه"
|
20
|
+
not_eq: "غیر مساوی با"
|
21
|
+
not_eq_any: "غیر مساوی با هیچ کدام"
|
22
|
+
not_eq_all: "غیر مساوی با همه"
|
23
|
+
matches: "مشابهات"
|
24
|
+
matches_any: "شبیه حداقل یکی"
|
25
|
+
matches_all: "شبیه همه"
|
26
|
+
does_not_match: "بدون شباهت"
|
27
|
+
does_not_match_any: "شبیه یکی هم نیست"
|
28
|
+
does_not_match_all: "شبیه هیچ کدام نیست"
|
29
|
+
lt: "کمتر از"
|
30
|
+
lt_any: "کمتر از حداقل یکی"
|
31
|
+
lt_all: "کمتر از همه"
|
32
|
+
lteq: "کمتر یا مساوی با"
|
33
|
+
lteq_any: "کمتر یا مساوی با حداقل یکی"
|
34
|
+
lteq_all: "کمتر یا مساوی با همه"
|
35
|
+
gt: "بیشتر از"
|
36
|
+
gt_any: "بیشتر از حداقل یکی"
|
37
|
+
gt_all: "بیشتر از همه"
|
38
|
+
gteq: "بیشتر یا مساوی با"
|
39
|
+
gteq_any: "بیشتر یا مساوی با حداقل یکی"
|
40
|
+
gteq_all: "بیشتر یا مساوی با همه"
|
41
|
+
in: "در"
|
42
|
+
in_any: "در حداقل یکی"
|
43
|
+
in_all: "در همه"
|
44
|
+
not_in: "نه در"
|
45
|
+
not_in_any: "نه حتی در یکی"
|
46
|
+
not_in_all: "در هیچ کدام"
|
47
|
+
cont: "حاوی"
|
48
|
+
cont_any: "حاوی حداقل یکی"
|
49
|
+
cont_all: "حاوی همه"
|
50
|
+
not_cont: "حاوی این نمیشود"
|
51
|
+
not_cont_any: "حاوی حتی یکی هم نمیشود"
|
52
|
+
not_cont_all: "حاوی هیچ کدام نمیشود"
|
53
|
+
start: "شروع می شود با"
|
54
|
+
start_any: "شروع می شود با حداقل یکی"
|
55
|
+
start_all: "شروع می شود با همه"
|
56
|
+
not_start: "شروع نمی شود با"
|
57
|
+
not_start_any: "شروع نمی شود با حتی یکی"
|
58
|
+
not_start_all: "شروع نمی شود با هیچ کدام"
|
59
|
+
end: "به پایان می رسد با"
|
60
|
+
end_any: "به پایان می رسد با حداقل یکی"
|
61
|
+
end_all: "به پایان می رسد با همه"
|
62
|
+
not_end: "پایان نمی یابد با"
|
63
|
+
not_end_any: "پایان نمی یابد با حتی یکی"
|
64
|
+
not_end_all: "پایان نمی یابد با هیچ کدام"
|
65
|
+
'true': "درست است"
|
66
|
+
'false': "نادرست است"
|
67
|
+
present: "موجود است"
|
68
|
+
blank: "خالی است"
|
69
|
+
'null': "صفر است"
|
70
|
+
not_null: "صفر نیست"
|
@@ -0,0 +1,71 @@
|
|
1
|
+
fi:
|
2
|
+
ransack:
|
3
|
+
search: "haku"
|
4
|
+
predicate: "predikaatti"
|
5
|
+
and: "ja"
|
6
|
+
or: "tai"
|
7
|
+
any: "jokin"
|
8
|
+
all: "kaikki"
|
9
|
+
combinator: "kombinaattori"
|
10
|
+
attribute: "attribuutti"
|
11
|
+
value: "arvo"
|
12
|
+
condition: "ehto"
|
13
|
+
sort: "järjestys"
|
14
|
+
asc: "nouseva"
|
15
|
+
desc: "laskeva"
|
16
|
+
predicates:
|
17
|
+
eq: "sama kuin"
|
18
|
+
eq_any: "sama kuin jokin"
|
19
|
+
eq_all: "sama kuin kaikki"
|
20
|
+
not_eq: "eri kuin"
|
21
|
+
not_eq_any: "eri kuin jokin"
|
22
|
+
not_eq_all: "eri kuin kaikki"
|
23
|
+
matches: "täsmää"
|
24
|
+
matches_any: "täsmää jonkun kanssa"
|
25
|
+
matches_all: "täsmää kaikkien kanssa"
|
26
|
+
does_not_match: "ei täsmää"
|
27
|
+
does_not_match_any: "ei täsmää minkään kanssa"
|
28
|
+
does_not_match_all: "ei täsmää kaikkien kanssa"
|
29
|
+
lt: "vähemmän kuin"
|
30
|
+
lt_any: "vähemmän kuin jokin"
|
31
|
+
lt_all: "vähemmän kuin mikään"
|
32
|
+
lteq: "vähemmän tai sama kuin"
|
33
|
+
lteq_any: "vähemmän tai sama kuin jokin"
|
34
|
+
lteq_all: "vähemmän tai sama kuin mikään"
|
35
|
+
gt: "suurempi kuin"
|
36
|
+
gt_any: "suurempi kuin jokin"
|
37
|
+
gt_all: "suurempi kuin mikään"
|
38
|
+
gteq: "suurempi tai yhtä suuri kuin"
|
39
|
+
gteq_any: "suurempi tai yhtä suuri kuin jokin"
|
40
|
+
gteq_all: "suurempi tai yhtä suuri kuin mikään"
|
41
|
+
in: "kohteessa"
|
42
|
+
in_any: "jossakin kohteessa"
|
43
|
+
in_all: "kaikissa kohteissa"
|
44
|
+
not_in: "ei kohteessa"
|
45
|
+
not_in_any: "ei jossakin kohteista"
|
46
|
+
not_in_all: "ei missään kohteista"
|
47
|
+
cont: "sisältää"
|
48
|
+
cont_any: "sisältää jonkin"
|
49
|
+
cont_all: "sisältää kaikki"
|
50
|
+
not_cont: "ei sisällä"
|
51
|
+
not_cont_any: "ei sisällä jotakin"
|
52
|
+
not_cont_all: "ei sisällä mitään"
|
53
|
+
start: "alkaa"
|
54
|
+
start_any: "alkaa jollakin"
|
55
|
+
start_all: "alkaa kaikilla"
|
56
|
+
not_start: "ei ala"
|
57
|
+
not_start_any: "ei ala jollakin"
|
58
|
+
not_start_all: "ei ala millään"
|
59
|
+
end: "päättyy"
|
60
|
+
end_any: "päättyy jollakin"
|
61
|
+
end_all: "päättyy millään"
|
62
|
+
not_end: "ei pääty"
|
63
|
+
not_end_any: "ei pääty jollakin"
|
64
|
+
not_end_all: "ei pääty millään"
|
65
|
+
'true': "on tosi"
|
66
|
+
'false': "ei ole tosi"
|
67
|
+
present: "on läsnä"
|
68
|
+
blank: "on tyhjä"
|
69
|
+
'null': "on määrittämätön"
|
70
|
+
not_null: "on määritetty"
|
71
|
+
|
@@ -0,0 +1,70 @@
|
|
1
|
+
id:
|
2
|
+
ransack:
|
3
|
+
search: "cari"
|
4
|
+
predicate: "predikat"
|
5
|
+
and: "dan"
|
6
|
+
or: "atau"
|
7
|
+
any: "apapun"
|
8
|
+
all: "semua"
|
9
|
+
combinator: "kombinasi"
|
10
|
+
attribute: "atribut"
|
11
|
+
value: "data"
|
12
|
+
condition: "kondisi"
|
13
|
+
sort: "urutan"
|
14
|
+
asc: "ascending"
|
15
|
+
desc: "descending"
|
16
|
+
predicates:
|
17
|
+
eq: "sama dengan"
|
18
|
+
eq_any: "sama beberapa dengan"
|
19
|
+
eq_all: "sama seluruhnya dengan"
|
20
|
+
not_eq: "tidak sama dengan"
|
21
|
+
not_eq_any: "tidak sama beberapa dengan"
|
22
|
+
not_eq_all: "tidak semua seluruhnya dengan"
|
23
|
+
matches: "mirip"
|
24
|
+
matches_any: "mirip beberapa dengan"
|
25
|
+
matches_all: "mirip semua dengan"
|
26
|
+
does_not_match: "tidak mirip dengan"
|
27
|
+
does_not_match_any: "tidak mirip beberapa dengan"
|
28
|
+
does_not_match_all: "tidak mirip semua dengan"
|
29
|
+
lt: "kurang dari"
|
30
|
+
lt_any: "kurang beberapa dengan"
|
31
|
+
lt_all: "kurang seluruhnya dengan"
|
32
|
+
lteq: "kurang lebih"
|
33
|
+
lteq_any: "kurang lebih beberapa dengan"
|
34
|
+
lteq_all: "kurang lebih semua dengan"
|
35
|
+
gt: "lebih besar daripada"
|
36
|
+
gt_any: "lebih besar beberapa dengan"
|
37
|
+
gt_all: "lebih besar semua dengan"
|
38
|
+
gteq: "lebih besar atau sama dengan"
|
39
|
+
gteq_any: "beberapa lebih besar atau sama dengan"
|
40
|
+
gteq_all: "semua lebih besar atau sama dengan"
|
41
|
+
in: "di"
|
42
|
+
in_any: "di beberapa"
|
43
|
+
in_all: "di semua"
|
44
|
+
not_in: "tidak di"
|
45
|
+
not_in_any: "tidak di beberapa"
|
46
|
+
not_in_all: "tidak semua di"
|
47
|
+
cont: "mengandung"
|
48
|
+
cont_any: "mengandung beberapa"
|
49
|
+
cont_all: "mengandung semua"
|
50
|
+
not_cont: "tidak mengandung"
|
51
|
+
not_cont_any: "tidak mengandung beberapa"
|
52
|
+
not_cont_all: "tidak mengandung semua"
|
53
|
+
start: "diawali dengan"
|
54
|
+
start_any: "diawali beberapa dengan"
|
55
|
+
start_all: "diawali semua dengan"
|
56
|
+
not_start: "tidak diawali dengan"
|
57
|
+
not_start_any: "tidak diawali beberapa dengan"
|
58
|
+
not_start_all: "tidak diawali semua dengan"
|
59
|
+
end: "diakhiri dengan"
|
60
|
+
end_any: "diakhiri beberapa dengan"
|
61
|
+
end_all: "diakhiri semua dengan"
|
62
|
+
not_end: "tidak diakhiri dengan"
|
63
|
+
not_end_any: "tidak diakhiri dengan beberapa"
|
64
|
+
not_end_all: "tidak diakhiri dengan semua"
|
65
|
+
'true': "bernilai benar"
|
66
|
+
'false': "bernilai salah"
|
67
|
+
present: "ada"
|
68
|
+
blank: "kosong"
|
69
|
+
'null': "null"
|
70
|
+
not_null: "tidak null"
|
@@ -0,0 +1,70 @@
|
|
1
|
+
it:
|
2
|
+
ransack:
|
3
|
+
search: "cerca"
|
4
|
+
predicate: "predicato"
|
5
|
+
and: "e"
|
6
|
+
or: "o"
|
7
|
+
any: "qualsiasi"
|
8
|
+
all: "tutti"
|
9
|
+
combinator: "combinatore"
|
10
|
+
attribute: "attributo"
|
11
|
+
value: "valore"
|
12
|
+
condition: "condizione"
|
13
|
+
sort: "ordinamento"
|
14
|
+
asc: "crescente"
|
15
|
+
desc: "decrescente"
|
16
|
+
predicates:
|
17
|
+
eq: "uguale a"
|
18
|
+
eq_any: "uguale ad almeno un"
|
19
|
+
eq_all: "uguale ad ognuno"
|
20
|
+
not_eq: "diverso da"
|
21
|
+
not_eq_any: "diverso da uno qualsiasi"
|
22
|
+
not_eq_all: "diverso da tutti"
|
23
|
+
matches: "combacia con"
|
24
|
+
matches_any: "combacia con almeno un"
|
25
|
+
matches_all: "combacia con tutti"
|
26
|
+
does_not_match: "non corrisponde"
|
27
|
+
does_not_match_any: "non corrisponde ad uno qualsiasi"
|
28
|
+
does_not_match_all: "non corrisponde con nessuno"
|
29
|
+
lt: "minore di"
|
30
|
+
lt_any: "minore di almeno un"
|
31
|
+
lt_all: "minore di tutti"
|
32
|
+
lteq: "minore o uguale a"
|
33
|
+
lteq_any: "minore o uguale ad almeno un"
|
34
|
+
lteq_all: "minore o uguale a tutti"
|
35
|
+
gt: "maggiore di"
|
36
|
+
gt_any: "maggiore di almeno un"
|
37
|
+
gt_all: "maggiore di tutti"
|
38
|
+
gteq: "maggiore o uguale a"
|
39
|
+
gteq_any: "maggiore o uguale ad almeno un"
|
40
|
+
gteq_all: "maggiore o uguale a tutti"
|
41
|
+
in: "in"
|
42
|
+
in_any: "in almeno un"
|
43
|
+
in_all: "in tutti"
|
44
|
+
not_in: "non in"
|
45
|
+
not_in_any: "non in almeno un"
|
46
|
+
not_in_all: "non in tutti"
|
47
|
+
cont: "contiene"
|
48
|
+
cont_any: "contiene almeno un"
|
49
|
+
cont_all: "contiene tutti"
|
50
|
+
not_cont: "non contiene"
|
51
|
+
not_cont_any: "non contiene un qualsiasi"
|
52
|
+
not_cont_all: "non contiene nessuno"
|
53
|
+
start: "inizia con"
|
54
|
+
start_any: "inizia con almeno un"
|
55
|
+
start_all: "inizia con tutti"
|
56
|
+
not_start: "non inizia con"
|
57
|
+
not_start_any: "non inizia con uno qualsiasi"
|
58
|
+
not_start_all: "non inizia con nessuno"
|
59
|
+
end: "finisce con"
|
60
|
+
end_any: "finisce con almeno un"
|
61
|
+
end_all: "finisce con tutti"
|
62
|
+
not_end: "non finisce con"
|
63
|
+
not_end_any: "non finisce con uno qualsiasi"
|
64
|
+
not_end_all: "non finisce con nessuno"
|
65
|
+
'true': "è vero"
|
66
|
+
'false': "è falso"
|
67
|
+
present: "è presente"
|
68
|
+
blank: "è vuoto"
|
69
|
+
'null': "è nullo"
|
70
|
+
not_null: "non è nullo"
|
@@ -0,0 +1,70 @@
|
|
1
|
+
ja:
|
2
|
+
ransack:
|
3
|
+
search: "検索"
|
4
|
+
predicate: "は以下である"
|
5
|
+
and: "と"
|
6
|
+
or: "あるいは"
|
7
|
+
any: "いずれか"
|
8
|
+
all: "全て"
|
9
|
+
combinator: "組み合わせ"
|
10
|
+
attribute: "属性"
|
11
|
+
value: "値"
|
12
|
+
condition: "状態"
|
13
|
+
sort: "分類"
|
14
|
+
asc: "昇順"
|
15
|
+
desc: "降順"
|
16
|
+
predicates:
|
17
|
+
eq: "は以下と等しい"
|
18
|
+
eq_any: "は以下のいずれかに等しい"
|
19
|
+
eq_all: "は以下の全てに等しい"
|
20
|
+
not_eq: "は以下と等しくない"
|
21
|
+
not_eq_any: "は以下のいずれかに等しくない"
|
22
|
+
not_eq_all: "は以下の全てと等しくない"
|
23
|
+
matches: "は以下と合致している"
|
24
|
+
matches_any: "は以下のいずれかと合致している"
|
25
|
+
matches_all: "は以下の全てと合致している"
|
26
|
+
does_not_match: "は以下と合致していない"
|
27
|
+
does_not_match_any: "は以下のいずれかに合致していない"
|
28
|
+
does_not_match_all: "は以下の全てに合致していない"
|
29
|
+
lt: "は以下よりも小さい"
|
30
|
+
lt_any: "は以下のいずれかより小さい"
|
31
|
+
lt_all: "は以下の全てよりも小さい"
|
32
|
+
lteq: "は以下より小さいか等しい"
|
33
|
+
lteq_any: "は以下のいずれかより小さいか等しい"
|
34
|
+
lteq_all: "は以下の全てより小さいか等しい"
|
35
|
+
gt: "は以下より大きい"
|
36
|
+
gt_any: "は以下のいずれかより大きい"
|
37
|
+
gt_all: "は以下の全てより大きい"
|
38
|
+
gteq: "は以下より大きいか等しい"
|
39
|
+
gteq_any: "は以下のいずれかより大きいか等しい"
|
40
|
+
gteq_all: "は以下の全てより大きいか等しい"
|
41
|
+
in: "は以下の範囲内である"
|
42
|
+
in_any: "は以下のいずれかの範囲内である"
|
43
|
+
in_all: "は以下の全ての範囲内である"
|
44
|
+
not_in: "は以下の範囲内でない"
|
45
|
+
not_in_any: "は以下のいずれかの範囲内でない"
|
46
|
+
not_in_all: "は以下の全ての範囲内"
|
47
|
+
cont: "は以下を含む"
|
48
|
+
cont_any: "はいずれかを含む"
|
49
|
+
cont_all: "は以下の全てを含む"
|
50
|
+
not_cont: "は含まない"
|
51
|
+
not_cont_any: "は以下のいずれかを含まない"
|
52
|
+
not_cont_all: "は以下の全てを含まない"
|
53
|
+
start: "は以下で始まる"
|
54
|
+
start_any: "は以下のどれかで始まる"
|
55
|
+
start_all: "は以下の全てで始まる"
|
56
|
+
not_start: "は以下で始まらない"
|
57
|
+
not_start_any: "は以下のいずれかで始まらない"
|
58
|
+
not_start_all: "は以下の全てで始まらない"
|
59
|
+
end: "は以下で終わる"
|
60
|
+
end_any: "は以下のいずれかで終わる"
|
61
|
+
end_all: "は以下の全てで終わる"
|
62
|
+
not_end: "は以下のどれでも終わらない"
|
63
|
+
not_end_any: "は以下のいずれかで終わらない"
|
64
|
+
not_end_all: "は以下の全てで終わらない"
|
65
|
+
'true': "真"
|
66
|
+
'false': "偽"
|
67
|
+
present: "は存在する"
|
68
|
+
blank: "は空である"
|
69
|
+
'null': "無効"
|
70
|
+
not_null: "は無効ではない"
|
data/lib/ransack/locale/nl.yml
CHANGED
@@ -35,9 +35,9 @@ nl:
|
|
35
35
|
gt: "groter dan"
|
36
36
|
gt_any: "groter dan enig"
|
37
37
|
gt_all: "groter dan alle"
|
38
|
-
gteq: "groter dan
|
39
|
-
gteq_any: "groter dan
|
40
|
-
gteq_all: "groter dan
|
38
|
+
gteq: "groter dan of gelijk aan"
|
39
|
+
gteq_any: "groter dan of gelijk aan enig"
|
40
|
+
gteq_all: "groter dan of gelijk aan alle"
|
41
41
|
in: "in"
|
42
42
|
in_any: "in enig"
|
43
43
|
in_all: "in alle"
|
@@ -64,7 +64,7 @@ nl:
|
|
64
64
|
not_end_all: "eindigt niet met alle"
|
65
65
|
'true': "is waar"
|
66
66
|
'false': "is niet waar"
|
67
|
-
present: "is
|
67
|
+
present: "is aanwezig"
|
68
68
|
blank: "is afwezig"
|
69
69
|
'null': "is null"
|
70
70
|
not_null: "is niet null"
|
@@ -0,0 +1,70 @@
|
|
1
|
+
pt-BR:
|
2
|
+
ransack:
|
3
|
+
search: "pesquisar"
|
4
|
+
predicate: "predicado"
|
5
|
+
and: "e"
|
6
|
+
or: "ou"
|
7
|
+
any: "algum"
|
8
|
+
all: "todos"
|
9
|
+
combinator: "combinador"
|
10
|
+
attribute: "atributo"
|
11
|
+
value: "valor"
|
12
|
+
condition: "condição"
|
13
|
+
sort: "classificar"
|
14
|
+
asc: "ascendente"
|
15
|
+
desc: "descendente"
|
16
|
+
predicates:
|
17
|
+
eq: "igual"
|
18
|
+
eq_any: "igual a algum"
|
19
|
+
eq_all: "igual a todos"
|
20
|
+
not_eq: "não é igual a"
|
21
|
+
not_eq_any: "não é igual a algum"
|
22
|
+
not_eq_all: "não é igual a todos"
|
23
|
+
matches: "corresponde"
|
24
|
+
matches_any: "corresponde a algum"
|
25
|
+
matches_all: "corresponde a todos"
|
26
|
+
does_not_match: "não corresponde"
|
27
|
+
does_not_match_any: "não corresponde a algum"
|
28
|
+
does_not_match_all: "não corresponde a todos"
|
29
|
+
lt: "menor que"
|
30
|
+
lt_any: "menor que algum"
|
31
|
+
lt_all: "menor que todos"
|
32
|
+
lteq: "menor ou igual a"
|
33
|
+
lteq_any: "menor ou igual a algum"
|
34
|
+
lteq_all: "menor ou igual a todos"
|
35
|
+
gt: "maior que"
|
36
|
+
gt_any: "maior que algum"
|
37
|
+
gt_all: "maior que todos"
|
38
|
+
gteq: "maior que ou igual a"
|
39
|
+
gteq_any: "maior que ou igual a algum"
|
40
|
+
gteq_all: "maior que ou igual a todos"
|
41
|
+
in: "em"
|
42
|
+
in_any: "em algum"
|
43
|
+
in_all: "em todos"
|
44
|
+
not_in: "não em"
|
45
|
+
not_in_any: "não em algum"
|
46
|
+
not_in_all: "não em todos"
|
47
|
+
cont: "contém"
|
48
|
+
cont_any: "contém algum"
|
49
|
+
cont_all: "contém todos"
|
50
|
+
not_cont: "não contém"
|
51
|
+
not_cont_any: "não contém algum"
|
52
|
+
not_cont_all: "não contém todos"
|
53
|
+
start: "começa com"
|
54
|
+
start_any: "começa com algum"
|
55
|
+
start_all: "começa com todos"
|
56
|
+
not_start: "não começa com"
|
57
|
+
not_start_any: "não começa com algum"
|
58
|
+
not_start_all: "não começa com algum"
|
59
|
+
end: "termina com"
|
60
|
+
end_any: "termina com algum"
|
61
|
+
end_all: "termina com todos"
|
62
|
+
not_end: "não termina com"
|
63
|
+
not_end_any: "não termina com algum"
|
64
|
+
not_end_all: "não termina com todos"
|
65
|
+
'true': "é verdadeiro"
|
66
|
+
'false': "é falso"
|
67
|
+
present: "está presente"
|
68
|
+
blank: "está em branco"
|
69
|
+
'null': "é nulo"
|
70
|
+
not_null: "não é nulo"
|