refinerycms 0.9.7.14 → 0.9.7.15
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +1 -1
- data/changelog.md +8 -0
- data/vendor/plugins/attachment_fu/lib/technoweenie/attachment_fu.rb +4 -4
- data/vendor/plugins/authentication/config/locales/da.yml +10 -10
- data/vendor/plugins/authentication/config/locales/de.yml +10 -10
- data/vendor/plugins/authentication/config/locales/en.yml +11 -11
- data/vendor/plugins/authentication/config/locales/es.yml +10 -10
- data/vendor/plugins/authentication/config/locales/fr.yml +10 -10
- data/vendor/plugins/authentication/config/locales/it.yml +10 -10
- data/vendor/plugins/authentication/config/locales/nb.yml +11 -11
- data/vendor/plugins/authentication/config/locales/nl.yml +11 -11
- data/vendor/plugins/authentication/config/locales/pt-BR.yml +11 -11
- data/vendor/plugins/authentication/config/locales/ru.yml +11 -11
- data/vendor/plugins/authentication/config/locales/sl.yml +10 -10
- data/vendor/plugins/dashboard/config/locales/da.yml +2 -2
- data/vendor/plugins/dashboard/config/locales/de.yml +2 -2
- data/vendor/plugins/dashboard/config/locales/en.yml +3 -3
- data/vendor/plugins/dashboard/config/locales/es.yml +2 -2
- data/vendor/plugins/dashboard/config/locales/fr.yml +2 -2
- data/vendor/plugins/dashboard/config/locales/it.yml +2 -2
- data/vendor/plugins/dashboard/config/locales/nb.yml +3 -3
- data/vendor/plugins/dashboard/config/locales/nl.yml +3 -3
- data/vendor/plugins/dashboard/config/locales/pt-BR.yml +3 -3
- data/vendor/plugins/dashboard/config/locales/ru.yml +3 -3
- data/vendor/plugins/dashboard/config/locales/sl.yml +2 -2
- data/vendor/plugins/i18n-js/lib/i18n-js.rb +1 -1
- data/vendor/plugins/i18n/config/locales/ar.yml +20 -20
- data/vendor/plugins/i18n/config/locales/bg.yml +66 -66
- data/vendor/plugins/i18n/config/locales/bn-IN.yml +20 -20
- data/vendor/plugins/i18n/config/locales/bs.yml +26 -26
- data/vendor/plugins/i18n/config/locales/ca-ES.yml +20 -20
- data/vendor/plugins/i18n/config/locales/da.yml +24 -24
- data/vendor/plugins/i18n/config/locales/de-AT.yml +20 -20
- data/vendor/plugins/i18n/config/locales/de.yml +21 -21
- data/vendor/plugins/i18n/config/locales/dsb.yml +48 -48
- data/vendor/plugins/i18n/config/locales/el.yml +21 -21
- data/vendor/plugins/i18n/config/locales/es-AR.yml +19 -19
- data/vendor/plugins/i18n/config/locales/es-CO.yml +22 -22
- data/vendor/plugins/i18n/config/locales/es-MX.yml +20 -20
- data/vendor/plugins/i18n/config/locales/es.yml +22 -22
- data/vendor/plugins/i18n/config/locales/et.yml +20 -20
- data/vendor/plugins/i18n/config/locales/fa.yml +20 -20
- data/vendor/plugins/i18n/config/locales/fi.yml +22 -22
- data/vendor/plugins/i18n/config/locales/fr-CH.yml +20 -20
- data/vendor/plugins/i18n/config/locales/fr.yml +21 -21
- data/vendor/plugins/i18n/config/locales/fur.yml +20 -20
- data/vendor/plugins/i18n/config/locales/gl-ES.yml +22 -22
- data/vendor/plugins/i18n/config/locales/he.yml +19 -19
- data/vendor/plugins/i18n/config/locales/hr.yml +26 -26
- data/vendor/plugins/i18n/config/locales/hsb.yml +48 -48
- data/vendor/plugins/i18n/config/locales/hu.yml +22 -22
- data/vendor/plugins/i18n/config/locales/id.yml +20 -20
- data/vendor/plugins/i18n/config/locales/is.yml +20 -20
- data/vendor/plugins/i18n/config/locales/it.yml +20 -20
- data/vendor/plugins/i18n/config/locales/ja.yml +24 -24
- data/vendor/plugins/i18n/config/locales/ko.yml +20 -20
- data/vendor/plugins/i18n/config/locales/lo.yml +22 -22
- data/vendor/plugins/i18n/config/locales/lt.yml +20 -20
- data/vendor/plugins/i18n/config/locales/lv.yml +20 -20
- data/vendor/plugins/i18n/config/locales/mk.yml +26 -26
- data/vendor/plugins/i18n/config/locales/nb.yml +19 -19
- data/vendor/plugins/i18n/config/locales/nl.yml +20 -20
- data/vendor/plugins/i18n/config/locales/nn.yml +19 -19
- data/vendor/plugins/i18n/config/locales/pl.yml +26 -26
- data/vendor/plugins/i18n/config/locales/pt-BR.yml +22 -22
- data/vendor/plugins/i18n/config/locales/pt-PT.yml +25 -25
- data/vendor/plugins/i18n/config/locales/rm.yml +20 -20
- data/vendor/plugins/i18n/config/locales/ro.yml +22 -22
- data/vendor/plugins/i18n/config/locales/ru.yml +63 -63
- data/vendor/plugins/i18n/config/locales/sk.yml +20 -20
- data/vendor/plugins/i18n/config/locales/sl.yml +34 -34
- data/vendor/plugins/i18n/config/locales/sr-Latn.yml +26 -26
- data/vendor/plugins/i18n/config/locales/sr.yml +26 -26
- data/vendor/plugins/i18n/config/locales/sv-SE.yml +23 -23
- data/vendor/plugins/i18n/config/locales/sw.yml +20 -20
- data/vendor/plugins/i18n/config/locales/tr.yml +22 -22
- data/vendor/plugins/i18n/config/locales/uk.yml +62 -62
- data/vendor/plugins/i18n/config/locales/vi.yml +21 -21
- data/vendor/plugins/i18n/config/locales/zh-CN.yml +21 -21
- data/vendor/plugins/i18n/config/locales/zh-TW.yml +20 -20
- data/vendor/plugins/i18n/lib/i18n_filter.rb +4 -4
- data/vendor/plugins/i18n/lib/routing_filter/README.markdown +2 -2
- data/vendor/plugins/i18n/lib/routing_filter/routing_filter.rb +2 -2
- data/vendor/plugins/i18n/lib/routing_filter/routing_filter/force_extension.rb +1 -1
- data/vendor/plugins/i18n/lib/routing_filter/routing_filter/pagination.rb +2 -2
- data/vendor/plugins/i18n/lib/routing_filter/routing_filter/uuid_token.rb +2 -2
- data/vendor/plugins/images/config/locales/da.yml +5 -5
- data/vendor/plugins/images/config/locales/de.yml +5 -5
- data/vendor/plugins/images/config/locales/en.yml +5 -5
- data/vendor/plugins/images/config/locales/es.yml +5 -5
- data/vendor/plugins/images/config/locales/fr.yml +5 -5
- data/vendor/plugins/images/config/locales/it.yml +4 -4
- data/vendor/plugins/images/config/locales/nb.yml +5 -5
- data/vendor/plugins/images/config/locales/nl.yml +5 -5
- data/vendor/plugins/images/config/locales/pt-BR.yml +5 -5
- data/vendor/plugins/images/config/locales/ru.yml +5 -5
- data/vendor/plugins/images/config/locales/sl.yml +5 -5
- data/vendor/plugins/inquiries/config/locales/da.yml +5 -5
- data/vendor/plugins/inquiries/config/locales/de.yml +5 -5
- data/vendor/plugins/inquiries/config/locales/en.yml +5 -5
- data/vendor/plugins/inquiries/config/locales/es.yml +5 -5
- data/vendor/plugins/inquiries/config/locales/fr.yml +5 -5
- data/vendor/plugins/inquiries/config/locales/it.yml +4 -4
- data/vendor/plugins/inquiries/config/locales/nb.yml +5 -5
- data/vendor/plugins/inquiries/config/locales/nl.yml +5 -5
- data/vendor/plugins/inquiries/config/locales/pt-BR.yml +5 -5
- data/vendor/plugins/inquiries/config/locales/ru.yml +5 -5
- data/vendor/plugins/inquiries/config/locales/sl.yml +5 -5
- data/vendor/plugins/pages/config/locales/da.yml +1 -1
- data/vendor/plugins/pages/config/locales/de.yml +1 -1
- data/vendor/plugins/pages/config/locales/en.yml +2 -2
- data/vendor/plugins/pages/config/locales/es.yml +1 -1
- data/vendor/plugins/pages/config/locales/it.yml +1 -1
- data/vendor/plugins/pages/config/locales/nb.yml +2 -2
- data/vendor/plugins/pages/config/locales/nl.yml +2 -2
- data/vendor/plugins/pages/config/locales/pt-BR.yml +3 -3
- data/vendor/plugins/pages/config/locales/ru.yml +2 -2
- data/vendor/plugins/pages/config/locales/sl.yml +2 -2
- data/vendor/plugins/refinery/config/locales/da.yml +14 -14
- data/vendor/plugins/refinery/config/locales/de.yml +14 -14
- data/vendor/plugins/refinery/config/locales/en.yml +14 -14
- data/vendor/plugins/refinery/config/locales/es.yml +14 -14
- data/vendor/plugins/refinery/config/locales/fr.yml +13 -13
- data/vendor/plugins/refinery/config/locales/it.yml +14 -14
- data/vendor/plugins/refinery/config/locales/nb.yml +14 -14
- data/vendor/plugins/refinery/config/locales/nl.yml +14 -14
- data/vendor/plugins/refinery/config/locales/pt-BR.yml +14 -14
- data/vendor/plugins/refinery/config/locales/ru.yml +14 -14
- data/vendor/plugins/refinery/config/locales/sl.yml +14 -14
- data/vendor/plugins/refinery/lib/refinery.rb +1 -1
- data/vendor/plugins/refinery_settings/config/locales/da.yml +1 -1
- data/vendor/plugins/refinery_settings/config/locales/de.yml +1 -1
- data/vendor/plugins/refinery_settings/config/locales/en.yml +1 -1
- data/vendor/plugins/refinery_settings/config/locales/es.yml +1 -1
- data/vendor/plugins/refinery_settings/config/locales/fr.yml +1 -1
- data/vendor/plugins/refinery_settings/config/locales/it.yml +1 -1
- data/vendor/plugins/refinery_settings/config/locales/nb.yml +1 -1
- data/vendor/plugins/refinery_settings/config/locales/nl.yml +1 -1
- data/vendor/plugins/refinery_settings/config/locales/pt-BR.yml +1 -1
- data/vendor/plugins/refinery_settings/config/locales/ru.yml +1 -1
- data/vendor/plugins/refinery_settings/config/locales/sl.yml +1 -1
- data/vendor/plugins/resources/config/locales/da.yml +4 -4
- data/vendor/plugins/resources/config/locales/de.yml +4 -4
- data/vendor/plugins/resources/config/locales/en.yml +4 -4
- data/vendor/plugins/resources/config/locales/es.yml +4 -4
- data/vendor/plugins/resources/config/locales/fr.yml +4 -4
- data/vendor/plugins/resources/config/locales/it.yml +4 -4
- data/vendor/plugins/resources/config/locales/nb.yml +4 -4
- data/vendor/plugins/resources/config/locales/nl.yml +4 -4
- data/vendor/plugins/resources/config/locales/pt-BR.yml +4 -4
- data/vendor/plugins/resources/config/locales/ru.yml +4 -4
- data/vendor/plugins/resources/config/locales/sl.yml +4 -4
- metadata +4 -4
@@ -69,55 +69,55 @@ uk:
|
|
69
69
|
distance_in_words:
|
70
70
|
half_a_minute: "півхвилини"
|
71
71
|
less_than_x_seconds:
|
72
|
-
one: "менше {
|
73
|
-
few: "менше {
|
74
|
-
many: "менше {
|
75
|
-
other: "менше {
|
72
|
+
one: "менше %{count} секунди"
|
73
|
+
few: "менше %{count} секунд"
|
74
|
+
many: "менше %{count} секунд"
|
75
|
+
other: "менше %{count} секунди"
|
76
76
|
x_seconds:
|
77
|
-
one: "{
|
78
|
-
few: "{
|
79
|
-
many: "{
|
80
|
-
other: "{
|
77
|
+
one: "%{count} секунда"
|
78
|
+
few: "%{count} секунди"
|
79
|
+
many: "%{count} секунд"
|
80
|
+
other: "%{count} секунди"
|
81
81
|
less_than_x_minutes:
|
82
|
-
one: "менше {
|
83
|
-
few: "менше {
|
84
|
-
many: "менше {
|
85
|
-
other: "менше {
|
82
|
+
one: "менше %{count} хвилини"
|
83
|
+
few: "менше %{count} хвилин"
|
84
|
+
many: "менше %{count} хвилин"
|
85
|
+
other: "менше %{count} хвилини"
|
86
86
|
x_minutes:
|
87
|
-
one: "{
|
88
|
-
few: "{
|
89
|
-
many: "{
|
90
|
-
other: "{
|
87
|
+
one: "%{count} хвилина"
|
88
|
+
few: "%{count} хвилини"
|
89
|
+
many: "%{count} хвилин"
|
90
|
+
other: "%{count} хвилини"
|
91
91
|
about_x_hours:
|
92
|
-
one: "близько {
|
93
|
-
few: "близько {
|
94
|
-
many: "близько {
|
95
|
-
other: "близько {
|
92
|
+
one: "близько %{count} година"
|
93
|
+
few: "близько %{count} години"
|
94
|
+
many: "близько %{count} годин"
|
95
|
+
other: "близько %{count} години"
|
96
96
|
x_days:
|
97
|
-
one: "{
|
98
|
-
few: "{
|
99
|
-
many: "{
|
100
|
-
other: "{
|
97
|
+
one: "%{count} день"
|
98
|
+
few: "%{count} дні"
|
99
|
+
many: "%{count} днів"
|
100
|
+
other: "%{count} дня"
|
101
101
|
about_x_months:
|
102
|
-
one: "близько {
|
103
|
-
few: "близько {
|
104
|
-
many: "близько {
|
105
|
-
other: "близько {
|
102
|
+
one: "близько %{count} місяця"
|
103
|
+
few: "близько %{count} місяців"
|
104
|
+
many: "близько %{count} місяців"
|
105
|
+
other: "близько %{count} місяця"
|
106
106
|
x_months:
|
107
|
-
one: "{
|
108
|
-
few: "{
|
109
|
-
many: "{
|
110
|
-
other: "{
|
107
|
+
one: "%{count} місяць"
|
108
|
+
few: "%{count} місяці"
|
109
|
+
many: "%{count} місяців"
|
110
|
+
other: "%{count} місяця"
|
111
111
|
about_x_years:
|
112
|
-
one: "близько {
|
113
|
-
few: "близько {
|
114
|
-
many: "близько {
|
115
|
-
other: "близько {
|
112
|
+
one: "близько %{count} року"
|
113
|
+
few: "близько %{count} років"
|
114
|
+
many: "близько %{count} років"
|
115
|
+
other: "близько %{count} року"
|
116
116
|
over_x_years:
|
117
|
-
one: "більше {
|
118
|
-
few: "більше {
|
119
|
-
many: "більше {
|
120
|
-
other: "більше {
|
117
|
+
one: "більше %{count} року"
|
118
|
+
few: "більше %{count} років"
|
119
|
+
many: "більше %{count} років"
|
120
|
+
other: "більше %{count} року"
|
121
121
|
prompts:
|
122
122
|
year: "Рік"
|
123
123
|
month: "Місяць"
|
@@ -130,10 +130,10 @@ uk:
|
|
130
130
|
errors:
|
131
131
|
template:
|
132
132
|
header:
|
133
|
-
one: "{
|
134
|
-
few: "{
|
135
|
-
many: "{
|
136
|
-
other: "{
|
133
|
+
one: "%{model} не збережено через %{count} помилку"
|
134
|
+
few: "%{model} не збережено через %{count} помилки"
|
135
|
+
many: "%{model} не збережено через %{count} помилок"
|
136
|
+
other: "%{model} не збережено через %{count} помилки"
|
137
137
|
# The variable :count is also available
|
138
138
|
body: "Помилки виявлено в таких полях:"
|
139
139
|
|
@@ -148,27 +148,27 @@ uk:
|
|
148
148
|
empty: "не може бути порожнім"
|
149
149
|
blank: "не може бути пустим"
|
150
150
|
too_long:
|
151
|
-
one: "занадто довгий (максимум {
|
152
|
-
few: "занадто довгий (максимум {
|
153
|
-
many: "занадто довгий (максимум {
|
154
|
-
other: "занадто довгий (максимум {
|
151
|
+
one: "занадто довгий (максимум %{count} знак)"
|
152
|
+
few: "занадто довгий (максимум %{count} знаки)"
|
153
|
+
many: "занадто довгий (максимум %{count} знаків)"
|
154
|
+
other: "занадто довгий (максимум %{count} знаку)"
|
155
155
|
too_short:
|
156
|
-
one: "занадто короткий (мінімум {
|
157
|
-
few: "занадто короткий (мінімум {
|
158
|
-
many: "занадто короткий (мінімум {
|
159
|
-
other: "занадто короткий (мінімум {
|
156
|
+
one: "занадто короткий (мінімум %{count} знак)"
|
157
|
+
few: "занадто короткий (мінімум %{count} знаки)"
|
158
|
+
many: "занадто короткий (мінімум %{count} знаків)"
|
159
|
+
other: "занадто короткий (мінімум %{count} знаку)"
|
160
160
|
wrong_length:
|
161
|
-
one: "неправильна довжина (має бути {
|
162
|
-
few: "неправильна довжина (має бути {
|
163
|
-
many: "неправильна довжина (має бути {
|
164
|
-
other: "неправильна довжина (має бути {
|
161
|
+
one: "неправильна довжина (має бути %{count} знак)"
|
162
|
+
few: "неправильна довжина (має бути %{count} знаки)"
|
163
|
+
many: "неправильна довжина (має бути %{count} знаків)"
|
164
|
+
other: "неправильна довжина (має бути %{count} знаку)"
|
165
165
|
taken: "вже зайнятий"
|
166
166
|
not_a_number: "не число"
|
167
|
-
greater_than: "має бути більше ніж {
|
168
|
-
greater_than_or_equal_to: "має бути більше ніж або дорівнювати {
|
169
|
-
equal_to: "має дорівнювати {
|
170
|
-
less_than: "має бути менше ніж {
|
171
|
-
less_than_or_equal_to: "має бути менше ніж або дорівнювати {
|
167
|
+
greater_than: "має бути більше ніж %{count}"
|
168
|
+
greater_than_or_equal_to: "має бути більше ніж або дорівнювати %{count}"
|
169
|
+
equal_to: "має дорівнювати %{count}"
|
170
|
+
less_than: "має бути менше ніж %{count}"
|
171
|
+
less_than_or_equal_to: "має бути менше ніж або дорівнювати %{count}"
|
172
172
|
odd: "має бути непарним"
|
173
173
|
even: "має бути парним"
|
174
174
|
# Append your own errors here or at the model/attributes scope.
|
@@ -179,7 +179,7 @@ uk:
|
|
179
179
|
# For example,
|
180
180
|
# models:
|
181
181
|
# user:
|
182
|
-
# blank: "This is a custom blank message for {
|
182
|
+
# blank: "This is a custom blank message for %{model}: %{attribute}"
|
183
183
|
# attributes:
|
184
184
|
# login:
|
185
185
|
# blank: "This is a custom blank message for User login"
|
@@ -68,34 +68,34 @@ vi:
|
|
68
68
|
half_a_minute: "30 giây"
|
69
69
|
less_than_x_seconds:
|
70
70
|
one: "chưa tới 1 giây"
|
71
|
-
other: "chưa tới {
|
71
|
+
other: "chưa tới %{count} giây"
|
72
72
|
x_seconds:
|
73
73
|
one: "1 giây"
|
74
|
-
other: "{
|
74
|
+
other: "%{count} giây"
|
75
75
|
less_than_x_minutes:
|
76
76
|
one: "chưa tới 1 phút"
|
77
|
-
other: "chưa tới {
|
77
|
+
other: "chưa tới %{count} phút"
|
78
78
|
x_minutes:
|
79
79
|
one: "1 phút"
|
80
|
-
other: "{
|
80
|
+
other: "%{count} phút"
|
81
81
|
about_x_hours:
|
82
82
|
one: "khoảng 1 giờ"
|
83
|
-
other: "khoảng {
|
83
|
+
other: "khoảng %{count} giờ"
|
84
84
|
x_days:
|
85
85
|
one: "1 ngày"
|
86
|
-
other: "{
|
86
|
+
other: "%{count} ngày"
|
87
87
|
about_x_months:
|
88
88
|
one: "khoảng 1 tháng"
|
89
|
-
other: "khoảng {
|
89
|
+
other: "khoảng %{count} tháng"
|
90
90
|
x_months:
|
91
91
|
one: "1 tháng"
|
92
|
-
other: "{
|
92
|
+
other: "%{count} tháng"
|
93
93
|
about_x_years:
|
94
94
|
one: "khoảng 1 năm"
|
95
|
-
other: "khoảng {
|
95
|
+
other: "khoảng %{count} năm"
|
96
96
|
over_x_years:
|
97
97
|
one: "hơn 1 năm"
|
98
|
-
other: "hơn {
|
98
|
+
other: "hơn %{count} năm"
|
99
99
|
prompts:
|
100
100
|
year: "Năm"
|
101
101
|
month: "Tháng"
|
@@ -108,8 +108,8 @@ vi:
|
|
108
108
|
errors:
|
109
109
|
template:
|
110
110
|
header:
|
111
|
-
one: "1 lỗi ngăn không cho lưu {
|
112
|
-
other: "{
|
111
|
+
one: "1 lỗi ngăn không cho lưu %{model} này"
|
112
|
+
other: "%{count} lỗi ngăn không cho lưu %{model} này"
|
113
113
|
# The variable :count is also available
|
114
114
|
body: "Có lỗi với các mục sau:"
|
115
115
|
|
@@ -123,16 +123,16 @@ vi:
|
|
123
123
|
accepted: "phải được đồng ý"
|
124
124
|
empty: "không thể rỗng"
|
125
125
|
blank: "không thể để trắng"
|
126
|
-
too_long: "quá dài (tối đa {
|
127
|
-
too_short: "quá ngắn (tối thiểu {
|
128
|
-
wrong_length: "độ dài không đúng (phải là {
|
126
|
+
too_long: "quá dài (tối đa %{count} ký tự)"
|
127
|
+
too_short: "quá ngắn (tối thiểu %{count} ký tự)"
|
128
|
+
wrong_length: "độ dài không đúng (phải là %{count} ký tự)"
|
129
129
|
taken: "đã có"
|
130
130
|
not_a_number: "không phải là số"
|
131
|
-
greater_than: "phải lớn hơn {
|
132
|
-
greater_than_or_equal_to: "phải lớn hơn hoặc bằng {
|
133
|
-
equal_to: "phải bằng {
|
134
|
-
less_than: "phải nhỏ hơn {
|
135
|
-
less_than_or_equal_to: "phải nhỏ hơn hoặc bằng {
|
131
|
+
greater_than: "phải lớn hơn %{count}"
|
132
|
+
greater_than_or_equal_to: "phải lớn hơn hoặc bằng %{count}"
|
133
|
+
equal_to: "phải bằng %{count}"
|
134
|
+
less_than: "phải nhỏ hơn %{count}"
|
135
|
+
less_than_or_equal_to: "phải nhỏ hơn hoặc bằng %{count}"
|
136
136
|
odd: "phải là số chẵn"
|
137
137
|
even: "phải là số lẻ"
|
138
138
|
# Append your own errors here or at the model/attributes scope.
|
@@ -143,7 +143,7 @@ vi:
|
|
143
143
|
# For example,
|
144
144
|
# models:
|
145
145
|
# user:
|
146
|
-
# blank: "This is a custom blank message for {
|
146
|
+
# blank: "This is a custom blank message for %{model}: %{attribute}"
|
147
147
|
# attributes:
|
148
148
|
# login:
|
149
149
|
# blank: "This is a custom blank message for User login"
|
@@ -26,34 +26,34 @@
|
|
26
26
|
half_a_minute: "半分钟"
|
27
27
|
less_than_x_seconds:
|
28
28
|
one: "不到一秒"
|
29
|
-
other: "不到 {
|
29
|
+
other: "不到 %{count} 秒"
|
30
30
|
x_seconds:
|
31
31
|
one: "一秒"
|
32
|
-
other: "{
|
32
|
+
other: "%{count} 秒"
|
33
33
|
less_than_x_minutes:
|
34
34
|
one: "不到一分钟"
|
35
|
-
other: "不到 {
|
35
|
+
other: "不到 %{count} 分钟"
|
36
36
|
x_minutes:
|
37
37
|
one: "一分钟"
|
38
|
-
other: "{
|
38
|
+
other: "%{count} 分钟"
|
39
39
|
about_x_hours:
|
40
40
|
one: "大约一小时"
|
41
|
-
other: "大约 {
|
41
|
+
other: "大约 %{count} 小时"
|
42
42
|
x_days:
|
43
43
|
one: "一天"
|
44
|
-
other: "{
|
44
|
+
other: "%{count} 天"
|
45
45
|
about_x_months:
|
46
46
|
one: "大约一个月"
|
47
|
-
other: "大约 {
|
47
|
+
other: "大约 %{count} 个月"
|
48
48
|
x_months:
|
49
49
|
one: "一个月"
|
50
|
-
other: "{
|
50
|
+
other: "%{count} 个月"
|
51
51
|
about_x_years:
|
52
52
|
one: "大约一年"
|
53
|
-
other: "大约 {
|
53
|
+
other: "大约 %{count} 年"
|
54
54
|
over_x_years:
|
55
55
|
one: "一年多"
|
56
|
-
other: "{
|
56
|
+
other: "%{count} 年多"
|
57
57
|
prompts:
|
58
58
|
year: "年"
|
59
59
|
month: "月"
|
@@ -105,11 +105,11 @@
|
|
105
105
|
errors:
|
106
106
|
template:
|
107
107
|
header:
|
108
|
-
one: "有 1
|
109
|
-
other: "有 {
|
108
|
+
one: "有 1 个错误发生导致「%{model}」无法被保存。"
|
109
|
+
other: "有 %{count} 个错误发生导致「%{model}」无法被保存。"
|
110
110
|
body: "如下字段出现错误:"
|
111
111
|
messages:
|
112
|
-
record_invalid: "校验失败: {
|
112
|
+
record_invalid: "校验失败: %{errors}"
|
113
113
|
inclusion: "不包含于列表中"
|
114
114
|
exclusion: "是保留关键字"
|
115
115
|
invalid: "是无效的"
|
@@ -117,15 +117,15 @@
|
|
117
117
|
accepted: "必须是可被接受的"
|
118
118
|
empty: "不能留空"
|
119
119
|
blank: "不能为空字符"
|
120
|
-
too_long: "过长(最长为 {
|
121
|
-
too_short: "过短(最短为 {
|
122
|
-
wrong_length: "长度非法(必须为 {
|
120
|
+
too_long: "过长(最长为 %{count} 个字符)"
|
121
|
+
too_short: "过短(最短为 %{count} 个字符)"
|
122
|
+
wrong_length: "长度非法(必须为 %{count} 个字符)"
|
123
123
|
taken: "已经被使用"
|
124
124
|
not_a_number: "不是数字"
|
125
|
-
greater_than: "必须大于 {
|
126
|
-
greater_than_or_equal_to: "必须大于或等于 {
|
127
|
-
equal_to: "必须等于 {
|
128
|
-
less_than: "必须小于 {
|
129
|
-
less_than_or_equal_to: "必须小于或等于 {
|
125
|
+
greater_than: "必须大于 %{count}"
|
126
|
+
greater_than_or_equal_to: "必须大于或等于 %{count}"
|
127
|
+
equal_to: "必须等于 %{count}"
|
128
|
+
less_than: "必须小于 %{count}"
|
129
|
+
less_than_or_equal_to: "必须小于或等于 %{count}"
|
130
130
|
odd: "必须为单数"
|
131
131
|
even: "必须为双数"
|
@@ -26,34 +26,34 @@
|
|
26
26
|
half_a_minute: "半分鐘"
|
27
27
|
less_than_x_seconds:
|
28
28
|
one: "不到一秒"
|
29
|
-
other: "不到 {
|
29
|
+
other: "不到 %{count} 秒"
|
30
30
|
x_seconds:
|
31
31
|
one: "一秒"
|
32
|
-
other: "{
|
32
|
+
other: "%{count} 秒"
|
33
33
|
less_than_x_minutes:
|
34
34
|
one: "不到一分鐘"
|
35
|
-
other: "不到 {
|
35
|
+
other: "不到 %{count} 分鐘"
|
36
36
|
x_minutes:
|
37
37
|
one: "一分鐘"
|
38
|
-
other: "{
|
38
|
+
other: "%{count} 分鐘"
|
39
39
|
about_x_hours:
|
40
40
|
one: "大約一小時"
|
41
|
-
other: "大約 {
|
41
|
+
other: "大約 %{count} 小時"
|
42
42
|
x_days:
|
43
43
|
one: "一天"
|
44
|
-
other: "{
|
44
|
+
other: "%{count} 天"
|
45
45
|
about_x_months:
|
46
46
|
one: "大約一個月"
|
47
|
-
other: "大約 {
|
47
|
+
other: "大約 %{count} 個月"
|
48
48
|
x_months:
|
49
49
|
one: "一個月"
|
50
|
-
other: "{
|
50
|
+
other: "%{count} 個月"
|
51
51
|
about_x_years:
|
52
52
|
one: "大約一年"
|
53
|
-
other: "大約 {
|
53
|
+
other: "大約 %{count} 年"
|
54
54
|
over_x_years:
|
55
55
|
one: "一年多"
|
56
|
-
other: "{
|
56
|
+
other: "%{count} 年多"
|
57
57
|
prompts:
|
58
58
|
year: "年"
|
59
59
|
month: "月"
|
@@ -105,8 +105,8 @@
|
|
105
105
|
errors:
|
106
106
|
template:
|
107
107
|
header:
|
108
|
-
one: "有 1
|
109
|
-
other: "有 {
|
108
|
+
one: "有 1 個錯誤發生使得「%{model}」無法被儲存。"
|
109
|
+
other: "有 %{count} 個錯誤發生使得「%{model}」無法被儲存。"
|
110
110
|
body: "下面欄位有問題:"
|
111
111
|
messages:
|
112
112
|
inclusion: "沒有包含在列表中"
|
@@ -116,16 +116,16 @@
|
|
116
116
|
accepted: "必須是可被接受的"
|
117
117
|
empty: "不能留空"
|
118
118
|
blank: "不能是空白字元"
|
119
|
-
too_long: "過長(最長是 {
|
120
|
-
too_short: "過短(最短是 {
|
121
|
-
wrong_length: "字數錯誤(必須是 {
|
119
|
+
too_long: "過長(最長是 %{count} 個字)"
|
120
|
+
too_short: "過短(最短是 %{count} 個字)"
|
121
|
+
wrong_length: "字數錯誤(必須是 %{count} 個字)"
|
122
122
|
taken: "已經被使用"
|
123
123
|
not_a_number: "不是數字"
|
124
|
-
greater_than: "必須大於 {
|
125
|
-
greater_than_or_equal_to: "必須大於或等於 {
|
126
|
-
equal_to: "必須等於 {
|
127
|
-
less_than: "必須小於 {
|
128
|
-
less_than_or_equal_to: "必須小於或等於 {
|
124
|
+
greater_than: "必須大於 %{count}"
|
125
|
+
greater_than_or_equal_to: "必須大於或等於 %{count}"
|
126
|
+
equal_to: "必須等於 %{count}"
|
127
|
+
less_than: "必須小於 %{count}"
|
128
|
+
less_than_or_equal_to: "必須小於或等於 %{count}"
|
129
129
|
odd: "必須是奇數"
|
130
130
|
even: "必須是偶數"
|
131
131
|
|
@@ -16,13 +16,13 @@ module RoutingFilter
|
|
16
16
|
::I18n.locale = ::Refinery::I18n.default_frontend_locale
|
17
17
|
end
|
18
18
|
|
19
|
-
|
19
|
+
yield.tap do |params|
|
20
20
|
unless path =~ %r{^/(admin|refinery|wymiframe)} or ::I18n.locale == ::Refinery::I18n.default_frontend_locale
|
21
21
|
params[:locale] = (locale.presence || ::Refinery::I18n.current_frontend_locale)
|
22
22
|
end
|
23
23
|
end
|
24
24
|
else
|
25
|
-
|
25
|
+
yield.tap do |result|
|
26
26
|
result
|
27
27
|
end
|
28
28
|
end
|
@@ -31,14 +31,14 @@ module RoutingFilter
|
|
31
31
|
def around_generate(*args, &block)
|
32
32
|
if ::Refinery::I18n.enabled?
|
33
33
|
locale = args.extract_options!.delete(:locale) || ::I18n.locale
|
34
|
-
|
34
|
+
yield.tap do |result|
|
35
35
|
if (locale != ::Refinery::I18n.default_frontend_locale and result !~ %r{^/(refinery|wymiframe)})
|
36
36
|
result.sub!(%r(^(http.?://[^/]*)?(.*))){ "#{$1}/#{locale}#{$2}" }
|
37
37
|
end
|
38
38
|
result
|
39
39
|
end
|
40
40
|
else
|
41
|
-
|
41
|
+
yield.tap do |result|
|
42
42
|
result
|
43
43
|
end
|
44
44
|
end
|