sunrise-core 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.rdoc +5 -5
- data/config/locales/defaults/en.yml +192 -136
- data/config/locales/defaults/ru.yml +242 -155
- data/config/locales/defaults/uk.yml +244 -225
- data/lib/sunrise/version.rb +1 -1
- metadata +5 -7
data/README.rdoc
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
=== Include gems:
|
6
6
|
|
7
|
-
gem "rails", "~> 3.0.
|
7
|
+
gem "rails", "~> 3.0.11"
|
8
8
|
gem "mysql2", "~> 0.2.13"
|
9
9
|
|
10
10
|
gem 'inherited_resources'
|
@@ -15,17 +15,17 @@
|
|
15
15
|
gem 'kaminari'
|
16
16
|
gem 'cancan'
|
17
17
|
gem 'cancan_namespace'
|
18
|
-
gem 'devise'
|
18
|
+
gem 'devise', '~> 1.4.2'
|
19
19
|
gem 'simple_form'
|
20
|
-
gem 'awesome_nested_set'
|
20
|
+
gem 'awesome_nested_set', '~> 2.0.1'
|
21
21
|
gem 'fastercsv'
|
22
22
|
gem 'ckeditor'
|
23
23
|
|
24
24
|
gem 'galetahub-enum_field', '~> 0.1.4', :require => 'enum_field'
|
25
25
|
gem 'galetahub-salty_slugs', '~> 1.0.0', :require => 'salty_slugs'
|
26
26
|
|
27
|
-
gem "sunrise-cms"
|
28
|
-
gem "sunrise-file-upload"
|
27
|
+
gem "sunrise-cms", '~> 0.2.0'
|
28
|
+
gem "sunrise-file-upload", "~> 0.1.2"
|
29
29
|
|
30
30
|
group :test, :development do
|
31
31
|
gem "rspec-rails", "~> 2.6.1"
|
@@ -1,149 +1,205 @@
|
|
1
|
-
# Sample localization file for English. Add more files in this directory for other locales.
|
2
|
-
# See http://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points.
|
3
1
|
en:
|
4
2
|
date:
|
3
|
+
abbr_day_names:
|
4
|
+
- Sun
|
5
|
+
- Mon
|
6
|
+
- Tue
|
7
|
+
- Wed
|
8
|
+
- Thu
|
9
|
+
- Fri
|
10
|
+
- Sat
|
11
|
+
abbr_month_names:
|
12
|
+
-
|
13
|
+
- Jan
|
14
|
+
- Feb
|
15
|
+
- Mar
|
16
|
+
- Apr
|
17
|
+
- May
|
18
|
+
- Jun
|
19
|
+
- Jul
|
20
|
+
- Aug
|
21
|
+
- Sep
|
22
|
+
- Oct
|
23
|
+
- Nov
|
24
|
+
- Dec
|
25
|
+
day_names:
|
26
|
+
- Sunday
|
27
|
+
- Monday
|
28
|
+
- Tuesday
|
29
|
+
- Wednesday
|
30
|
+
- Thursday
|
31
|
+
- Friday
|
32
|
+
- Saturday
|
5
33
|
formats:
|
6
|
-
default:
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
34
|
+
default: ! '%Y-%m-%d'
|
35
|
+
long: ! '%B %d, %Y'
|
36
|
+
short: ! '%b %d'
|
37
|
+
month_names:
|
38
|
+
-
|
39
|
+
- January
|
40
|
+
- February
|
41
|
+
- March
|
42
|
+
- April
|
43
|
+
- May
|
44
|
+
- June
|
45
|
+
- July
|
46
|
+
- August
|
47
|
+
- September
|
48
|
+
- October
|
49
|
+
- November
|
50
|
+
- December
|
51
|
+
order:
|
52
|
+
- :year
|
53
|
+
- :month
|
54
|
+
- :day
|
55
|
+
datetime:
|
56
|
+
distance_in_words:
|
57
|
+
about_x_hours:
|
58
|
+
one: about 1 hour
|
59
|
+
other: about %{count} hours
|
60
|
+
about_x_months:
|
61
|
+
one: about 1 month
|
62
|
+
other: about %{count} months
|
63
|
+
about_x_years:
|
64
|
+
one: about 1 year
|
65
|
+
other: about %{count} years
|
66
|
+
almost_x_years:
|
67
|
+
one: almost 1 year
|
68
|
+
other: almost %{count} years
|
69
|
+
half_a_minute: half a minute
|
70
|
+
less_than_x_minutes:
|
71
|
+
one: less than a minute
|
72
|
+
other: less than %{count} minutes
|
73
|
+
less_than_x_seconds:
|
74
|
+
one: less than 1 second
|
75
|
+
other: less than %{count} seconds
|
76
|
+
over_x_years:
|
77
|
+
one: over 1 year
|
78
|
+
other: over %{count} years
|
79
|
+
x_days:
|
80
|
+
one: 1 day
|
81
|
+
other: ! '%{count} days'
|
82
|
+
x_minutes:
|
83
|
+
one: 1 minute
|
84
|
+
other: ! '%{count} minutes'
|
85
|
+
x_months:
|
86
|
+
one: 1 month
|
87
|
+
other: ! '%{count} months'
|
88
|
+
x_seconds:
|
89
|
+
one: 1 second
|
90
|
+
other: ! '%{count} seconds'
|
91
|
+
prompts:
|
92
|
+
day: Day
|
93
|
+
hour: Hour
|
94
|
+
minute: Minute
|
95
|
+
month: Month
|
96
|
+
second: Seconds
|
97
|
+
year: Year
|
98
|
+
errors: &errors
|
99
|
+
format: ! '%{attribute} %{message}'
|
100
|
+
messages:
|
101
|
+
accepted: must be accepted
|
102
|
+
blank: can't be blank
|
103
|
+
confirmation: doesn't match confirmation
|
104
|
+
empty: can't be empty
|
105
|
+
equal_to: must be equal to %{count}
|
106
|
+
even: must be even
|
107
|
+
exclusion: is reserved
|
108
|
+
greater_than: must be greater than %{count}
|
109
|
+
greater_than_or_equal_to: must be greater than or equal to %{count}
|
110
|
+
inclusion: is not included in the list
|
111
|
+
invalid: is invalid
|
112
|
+
less_than: must be less than %{count}
|
113
|
+
less_than_or_equal_to: must be less than or equal to %{count}
|
114
|
+
not_a_number: is not a number
|
115
|
+
not_an_integer: must be an integer
|
116
|
+
odd: must be odd
|
117
|
+
record_invalid: ! 'Validation failed: %{errors}'
|
118
|
+
taken: has already been taken
|
119
|
+
too_long:
|
120
|
+
one: is too long (maximum is 1 character)
|
121
|
+
other: is too long (maximum is %{count} characters)
|
122
|
+
too_short:
|
123
|
+
one: is too short (minimum is 1 character)
|
124
|
+
other: is too short (minimum is %{count} characters)
|
125
|
+
wrong_length:
|
126
|
+
one: is the wrong length (should be 1 character)
|
127
|
+
other: is the wrong length (should be %{count} characters)
|
128
|
+
template:
|
129
|
+
body: ! 'There were problems with the following fields:'
|
130
|
+
header:
|
131
|
+
one: 1 error prohibited this %{model} from being saved
|
132
|
+
other: ! '%{count} errors prohibited this %{model} from being saved'
|
133
|
+
helpers:
|
134
|
+
select:
|
135
|
+
prompt: Please select
|
136
|
+
submit:
|
137
|
+
create: Create %{model}
|
138
|
+
submit: Save %{model}
|
139
|
+
update: Update %{model}
|
31
140
|
number:
|
141
|
+
currency:
|
142
|
+
format:
|
143
|
+
delimiter: ! ','
|
144
|
+
format: ! '%u%n'
|
145
|
+
precision: 2
|
146
|
+
separator: .
|
147
|
+
significant: false
|
148
|
+
strip_insignificant_zeros: false
|
149
|
+
unit: $
|
32
150
|
format:
|
33
|
-
|
34
|
-
delimiter: " "
|
151
|
+
delimiter: ! ','
|
35
152
|
precision: 3
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
format: "%n %u"
|
40
|
-
unit: "UAH"
|
41
|
-
separator: "."
|
42
|
-
delimiter: " "
|
43
|
-
precision: 2
|
44
|
-
|
45
|
-
percentage:
|
46
|
-
format:
|
47
|
-
delimiter: ""
|
48
|
-
|
49
|
-
precision:
|
50
|
-
format:
|
51
|
-
delimiter: ""
|
52
|
-
|
153
|
+
separator: .
|
154
|
+
significant: false
|
155
|
+
strip_insignificant_zeros: false
|
53
156
|
human:
|
157
|
+
decimal_units:
|
158
|
+
format: ! '%n %u'
|
159
|
+
units:
|
160
|
+
billion: Billion
|
161
|
+
million: Million
|
162
|
+
quadrillion: Quadrillion
|
163
|
+
thousand: Thousand
|
164
|
+
trillion: Trillion
|
165
|
+
unit: ''
|
54
166
|
format:
|
55
|
-
delimiter:
|
56
|
-
precision:
|
167
|
+
delimiter: ''
|
168
|
+
precision: 3
|
169
|
+
significant: true
|
170
|
+
strip_insignificant_zeros: true
|
57
171
|
storage_units:
|
58
|
-
|
59
|
-
# %u is the storage unit, %n is the number (default: 2 MB)
|
60
|
-
format: "%n %u"
|
172
|
+
format: ! '%n %u'
|
61
173
|
units:
|
62
174
|
byte:
|
63
|
-
one:
|
64
|
-
other:
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
tb:
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
many: "%{count} minutes"
|
92
|
-
other: "%{count} minutes"
|
93
|
-
about_x_hours:
|
94
|
-
one: "about %{count} hour"
|
95
|
-
few: "about %{count} hours"
|
96
|
-
many: "about %{count} hours"
|
97
|
-
other: "about %{count} hours"
|
98
|
-
x_days:
|
99
|
-
one: "%{count} day"
|
100
|
-
few: "%{count} days"
|
101
|
-
many: "%{count} days"
|
102
|
-
other: "%{count} days"
|
103
|
-
about_x_months:
|
104
|
-
one: "about %{count} month"
|
105
|
-
few: "about %{count} months"
|
106
|
-
many: "about %{count} months"
|
107
|
-
other: "about %{count} months"
|
108
|
-
x_months:
|
109
|
-
one: "%{count} month"
|
110
|
-
few: "%{count} months"
|
111
|
-
many: "%{count} months"
|
112
|
-
other: "%{count} months"
|
113
|
-
about_x_years:
|
114
|
-
one: "about %{count} year"
|
115
|
-
few: "about %{count} years"
|
116
|
-
many: "about %{count} years"
|
117
|
-
other: "about %{count} years"
|
118
|
-
over_x_years:
|
119
|
-
one: "over %{count} year"
|
120
|
-
few: "over%{count} years"
|
121
|
-
many: "over %{count} years"
|
122
|
-
other: "over %{count} years"
|
123
|
-
|
175
|
+
one: Byte
|
176
|
+
other: Bytes
|
177
|
+
gb: GB
|
178
|
+
kb: KB
|
179
|
+
mb: MB
|
180
|
+
tb: TB
|
181
|
+
percentage:
|
182
|
+
format:
|
183
|
+
delimiter: ''
|
184
|
+
precision:
|
185
|
+
format:
|
186
|
+
delimiter: ''
|
187
|
+
support:
|
188
|
+
array:
|
189
|
+
last_word_connector: ! ', and '
|
190
|
+
two_words_connector: ! ' and '
|
191
|
+
words_connector: ! ', '
|
192
|
+
time:
|
193
|
+
am: am
|
194
|
+
formats:
|
195
|
+
default: ! '%a, %d %b %Y %H:%M:%S %z'
|
196
|
+
long: ! '%B %d, %Y %H:%M'
|
197
|
+
short: ! '%d %b %H:%M'
|
198
|
+
pm: pm
|
199
|
+
# remove these aliases after 'activemodel' and 'activerecord' namespaces are removed from Rails repository
|
200
|
+
activemodel:
|
201
|
+
errors:
|
202
|
+
<<: *errors
|
124
203
|
activerecord:
|
125
204
|
errors:
|
126
|
-
|
127
|
-
# The value :count is available when applicable. Can be used for pluralization.
|
128
|
-
messages:
|
129
|
-
inclusion: "is not included in the list"
|
130
|
-
exclusion: "is reserved"
|
131
|
-
invalid: "is invalid"
|
132
|
-
confirmation: "doesn't match confirmation"
|
133
|
-
accepted: "must be accepted"
|
134
|
-
empty: "can't be empty"
|
135
|
-
blank: "can't be blank"
|
136
|
-
too_long: "is too long (maximum is %{count} characters)"
|
137
|
-
too_short: "is too short (minimum is %{count} characters)"
|
138
|
-
wrong_length: "is the wrong length (should be %{count} characters)"
|
139
|
-
taken: "has already been taken"
|
140
|
-
not_a_number: "is not a number"
|
141
|
-
greater_than: "must be greater than %{count}"
|
142
|
-
greater_than_or_equal_to: "must be greater than or equal to %{count}"
|
143
|
-
equal_to: "must be equal to %{count}"
|
144
|
-
less_than: "must be less than %{count}"
|
145
|
-
less_than_or_equal_to: "must be less than or equal to %{count}"
|
146
|
-
odd: "must be odd"
|
147
|
-
even: "must be even"
|
148
|
-
record_invalid: "Validation failed: %{errors}"
|
149
|
-
# Append your own errors here or at the model/attributes scope.
|
205
|
+
<<: *errors
|
@@ -1,170 +1,257 @@
|
|
1
|
-
# Sample localization file for English. Add more files in this directory for other locales.
|
2
|
-
# See http://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points.
|
3
1
|
ru:
|
4
2
|
date:
|
3
|
+
abbr_day_names:
|
4
|
+
- Вс
|
5
|
+
- Пн
|
6
|
+
- Вт
|
7
|
+
- Ср
|
8
|
+
- Чт
|
9
|
+
- Пт
|
10
|
+
- Сб
|
11
|
+
abbr_month_names:
|
12
|
+
-
|
13
|
+
- янв.
|
14
|
+
- февр.
|
15
|
+
- марта
|
16
|
+
- апр.
|
17
|
+
- мая
|
18
|
+
- июня
|
19
|
+
- июля
|
20
|
+
- авг.
|
21
|
+
- сент.
|
22
|
+
- окт.
|
23
|
+
- нояб.
|
24
|
+
- дек.
|
25
|
+
day_names:
|
26
|
+
- воскресенье
|
27
|
+
- понедельник
|
28
|
+
- вторник
|
29
|
+
- среда
|
30
|
+
- четверг
|
31
|
+
- пятница
|
32
|
+
- суббота
|
5
33
|
formats:
|
6
|
-
default:
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
34
|
+
default: ! '%d.%m.%Y'
|
35
|
+
long: ! '%d %B %Y'
|
36
|
+
short: ! '%d %b'
|
37
|
+
month_names:
|
38
|
+
-
|
39
|
+
- января
|
40
|
+
- февраля
|
41
|
+
- марта
|
42
|
+
- апреля
|
43
|
+
- мая
|
44
|
+
- июня
|
45
|
+
- июля
|
46
|
+
- августа
|
47
|
+
- сентября
|
48
|
+
- октября
|
49
|
+
- ноября
|
50
|
+
- декабря
|
51
|
+
order:
|
52
|
+
- :day
|
53
|
+
- :month
|
54
|
+
- :year
|
55
|
+
datetime:
|
56
|
+
distance_in_words:
|
57
|
+
about_x_hours:
|
58
|
+
few: около %{count} часов
|
59
|
+
many: около %{count} часов
|
60
|
+
one: около %{count} часа
|
61
|
+
other: около %{count} часа
|
62
|
+
about_x_months:
|
63
|
+
few: около %{count} месяцев
|
64
|
+
many: около %{count} месяцев
|
65
|
+
one: около %{count} месяца
|
66
|
+
other: около %{count} месяца
|
67
|
+
about_x_years:
|
68
|
+
few: около %{count} лет
|
69
|
+
many: около %{count} лет
|
70
|
+
one: около %{count} года
|
71
|
+
other: около %{count} лет
|
72
|
+
almost_x_years:
|
73
|
+
one: почти 1 год
|
74
|
+
few: почти %{count} года
|
75
|
+
many: почти %{count} лет
|
76
|
+
other: почти %{count} лет
|
77
|
+
half_a_minute: меньше минуты
|
78
|
+
less_than_x_minutes:
|
79
|
+
few: меньше %{count} минут
|
80
|
+
many: меньше %{count} минут
|
81
|
+
one: меньше %{count} минуты
|
82
|
+
other: меньше %{count} минуты
|
83
|
+
less_than_x_seconds:
|
84
|
+
few: меньше %{count} секунд
|
85
|
+
many: меньше %{count} секунд
|
86
|
+
one: меньше %{count} секунды
|
87
|
+
other: меньше %{count} секунды
|
88
|
+
over_x_years:
|
89
|
+
few: больше %{count} лет
|
90
|
+
many: больше %{count} лет
|
91
|
+
one: больше %{count} года
|
92
|
+
other: больше %{count} лет
|
93
|
+
x_days:
|
94
|
+
few: ! '%{count} дня'
|
95
|
+
many: ! '%{count} дней'
|
96
|
+
one: ! '%{count} день'
|
97
|
+
other: ! '%{count} дня'
|
98
|
+
x_minutes:
|
99
|
+
few: ! '%{count} минуты'
|
100
|
+
many: ! '%{count} минут'
|
101
|
+
one: ! '%{count} минуту'
|
102
|
+
other: ! '%{count} минуты'
|
103
|
+
x_months:
|
104
|
+
few: ! '%{count} месяца'
|
105
|
+
many: ! '%{count} месяцев'
|
106
|
+
one: ! '%{count} месяц'
|
107
|
+
other: ! '%{count} месяца'
|
108
|
+
x_seconds:
|
109
|
+
few: ! '%{count} секунды'
|
110
|
+
many: ! '%{count} секунд'
|
111
|
+
one: ! '%{count} секунда'
|
112
|
+
other: ! '%{count} секунды'
|
113
|
+
prompts:
|
114
|
+
day: День
|
115
|
+
hour: Часов
|
116
|
+
minute: Минут
|
117
|
+
month: Месяц
|
118
|
+
second: Секунд
|
119
|
+
year: Год
|
120
|
+
errors: &errors
|
121
|
+
format: ! '%{attribute} %{message}'
|
122
|
+
messages:
|
123
|
+
accepted: нужно подтвердить
|
124
|
+
blank: не может быть пустым
|
125
|
+
confirmation: не совпадает с подтверждением
|
126
|
+
empty: не может быть пустым
|
127
|
+
equal_to: может иметь лишь значение, равное %{count}
|
128
|
+
even: может иметь лишь нечетное значение
|
129
|
+
exclusion: имеет зарезервированное значение
|
130
|
+
greater_than: может иметь значение большее %{count}
|
131
|
+
greater_than_or_equal_to: может иметь значение большее или равное %{count}
|
132
|
+
inclusion: имеет непредусмотренное значение
|
133
|
+
invalid: имеет неверное значение
|
134
|
+
less_than: может иметь значение меньшее чем %{count}
|
135
|
+
less_than_or_equal_to: может иметь значение меньшее или равное %{count}
|
136
|
+
not_a_number: не является числом
|
137
|
+
not_an_integer: не является целым числом
|
138
|
+
odd: может иметь лишь четное значение
|
139
|
+
record_invalid: ! 'Возникли ошибки: %{errors}'
|
140
|
+
taken: уже существует
|
141
|
+
too_long:
|
142
|
+
few: слишком большой длины (не может быть больше чем %{count} символа)
|
143
|
+
many: слишком большой длины (не может быть больше чем %{count} символов)
|
144
|
+
one: слишком большой длины (не может быть больше чем %{count} символ)
|
145
|
+
other: слишком большой длины (не может быть больше чем %{count} символа)
|
146
|
+
too_short:
|
147
|
+
few: недостаточной длины (не может быть меньше %{count} символов)
|
148
|
+
many: недостаточной длины (не может быть меньше %{count} символов)
|
149
|
+
one: недостаточной длины (не может быть меньше %{count} символа)
|
150
|
+
other: недостаточной длины (не может быть меньше %{count} символа)
|
151
|
+
wrong_length:
|
152
|
+
few: неверной длины (может быть длиной ровно %{count} символа)
|
153
|
+
many: неверной длины (может быть длиной ровно %{count} символов)
|
154
|
+
one: неверной длины (может быть длиной ровно %{count} символ)
|
155
|
+
other: неверной длины (может быть длиной ровно %{count} символа)
|
156
|
+
template:
|
157
|
+
body: ! 'Проблемы возникли со следующими полями:'
|
158
|
+
header:
|
159
|
+
few: ! '%{model}: сохранение не удалось из-за %{count} ошибок'
|
160
|
+
many: ! '%{model}: сохранение не удалось из-за %{count} ошибок'
|
161
|
+
one: ! '%{model}: сохранение не удалось из-за %{count} ошибки'
|
162
|
+
other: ! '%{model}: сохранение не удалось из-за %{count} ошибки'
|
163
|
+
helpers:
|
164
|
+
select:
|
165
|
+
prompt: ! 'Выберите: '
|
166
|
+
submit:
|
167
|
+
create: Создать %{model}
|
168
|
+
submit: Сохранить %{model}
|
169
|
+
update: Сохранить %{model}
|
31
170
|
number:
|
32
|
-
format:
|
33
|
-
separator: "."
|
34
|
-
delimiter: " "
|
35
|
-
precision: 3
|
36
|
-
|
37
171
|
currency:
|
38
172
|
format:
|
39
|
-
|
40
|
-
|
41
|
-
separator: "."
|
42
|
-
delimiter: " "
|
173
|
+
delimiter: ! ' '
|
174
|
+
format: ! '%n %u'
|
43
175
|
precision: 2
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
176
|
+
separator: .
|
177
|
+
significant: false
|
178
|
+
strip_insignificant_zeros: false
|
179
|
+
unit: руб.
|
180
|
+
format:
|
181
|
+
delimiter: ! ' '
|
182
|
+
precision: 3
|
183
|
+
separator: .
|
184
|
+
significant: false
|
185
|
+
strip_insignificant_zeros: false
|
53
186
|
human:
|
187
|
+
decimal_units:
|
188
|
+
format: ! '%n %u'
|
189
|
+
units:
|
190
|
+
billion:
|
191
|
+
few: миллиардов
|
192
|
+
many: миллиардов
|
193
|
+
one: миллиард
|
194
|
+
other: миллиардов
|
195
|
+
million:
|
196
|
+
few: миллионов
|
197
|
+
many: миллионов
|
198
|
+
one: миллион
|
199
|
+
other: миллионов
|
200
|
+
quadrillion:
|
201
|
+
few: квадриллионов
|
202
|
+
many: квадриллионов
|
203
|
+
one: квадриллион
|
204
|
+
other: квадриллионов
|
205
|
+
thousand:
|
206
|
+
few: тысяч
|
207
|
+
many: тысяч
|
208
|
+
one: тысяча
|
209
|
+
other: тысяч
|
210
|
+
trillion:
|
211
|
+
few: триллионов
|
212
|
+
many: триллионов
|
213
|
+
one: триллион
|
214
|
+
other: триллионов
|
215
|
+
unit: ''
|
54
216
|
format:
|
55
|
-
delimiter:
|
217
|
+
delimiter: ''
|
56
218
|
precision: 1
|
57
|
-
|
219
|
+
significant: false
|
220
|
+
strip_insignificant_zeros: false
|
58
221
|
storage_units:
|
59
|
-
|
60
|
-
# %u is the storage unit, %n is the number (default: 2 MB)
|
61
|
-
format: "%n %u"
|
222
|
+
format: ! '%n %u'
|
62
223
|
units:
|
63
224
|
byte:
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
other:
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
tb:
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
many: "%{count} минут"
|
95
|
-
other: "%{count} минуты"
|
96
|
-
about_x_hours:
|
97
|
-
one: "около %{count} часа"
|
98
|
-
few: "около %{count} часов"
|
99
|
-
many: "около %{count} часов"
|
100
|
-
other: "около %{count} часа"
|
101
|
-
x_days:
|
102
|
-
one: "%{count} день"
|
103
|
-
few: "%{count} дня"
|
104
|
-
many: "%{count} дней"
|
105
|
-
other: "%{count} дня"
|
106
|
-
about_x_months:
|
107
|
-
one: "около %{count} месяца"
|
108
|
-
few: "около %{count} месяцев"
|
109
|
-
many: "около %{count} месяцев"
|
110
|
-
other: "около %{count} месяца"
|
111
|
-
x_months:
|
112
|
-
one: "%{count} месяц"
|
113
|
-
few: "%{count} месяца"
|
114
|
-
many: "%{count} месяцев"
|
115
|
-
other: "%{count} месяца"
|
116
|
-
about_x_years:
|
117
|
-
one: "около %{count} года"
|
118
|
-
few: "около %{count} лет"
|
119
|
-
many: "около %{count} лет"
|
120
|
-
other: "около %{count} лет"
|
121
|
-
over_x_years:
|
122
|
-
one: "больше %{count} года"
|
123
|
-
few: "больше %{count} лет"
|
124
|
-
many: "больше %{count} лет"
|
125
|
-
other: "больше %{count} лет"
|
126
|
-
|
225
|
+
few: байта
|
226
|
+
many: байт
|
227
|
+
one: байт
|
228
|
+
other: байта
|
229
|
+
gb: ГБ
|
230
|
+
kb: КБ
|
231
|
+
mb: МБ
|
232
|
+
tb: ТБ
|
233
|
+
percentage:
|
234
|
+
format:
|
235
|
+
delimiter: ''
|
236
|
+
precision:
|
237
|
+
format:
|
238
|
+
delimiter: ''
|
239
|
+
support:
|
240
|
+
array:
|
241
|
+
last_word_connector: ! ' и '
|
242
|
+
two_words_connector: ! ' и '
|
243
|
+
words_connector: ! ', '
|
244
|
+
time:
|
245
|
+
am: утра
|
246
|
+
formats:
|
247
|
+
default: ! '%a, %d %b %Y, %H:%M:%S %z'
|
248
|
+
long: ! '%d %B %Y, %H:%M'
|
249
|
+
short: ! '%d %b, %H:%M'
|
250
|
+
pm: вечера
|
251
|
+
# remove these aliases after 'activemodel' and 'activerecord' namespaces are removed from Rails repository
|
252
|
+
activemodel:
|
253
|
+
errors:
|
254
|
+
<<: *errors
|
127
255
|
activerecord:
|
128
256
|
errors:
|
129
|
-
|
130
|
-
header:
|
131
|
-
one: "%{model}: сохранение не удалось из-за %{count} ошибки"
|
132
|
-
few: "%{model}: сохранение не удалось из-за %{count} ошибок"
|
133
|
-
many: "%{model}: сохранение не удалось из-за %{count} ошибок"
|
134
|
-
other: "%{model}: сохранение не удалось из-за %{count} ошибки"
|
135
|
-
|
136
|
-
body: "Проблемы возникли со следующими полями:"
|
137
|
-
|
138
|
-
messages:
|
139
|
-
inclusion: "имеет непредусмотренное значение"
|
140
|
-
exclusion: "имеет зарезервированное значение"
|
141
|
-
invalid: "имеет неверное значение"
|
142
|
-
confirmation: "не совпадает с подтверждением"
|
143
|
-
accepted: "нужно подтвердить"
|
144
|
-
empty: "не может быть пустым"
|
145
|
-
blank: "не может быть пустым"
|
146
|
-
captcha_invalid: "cимволы введены неверно"
|
147
|
-
too_long:
|
148
|
-
one: "слишком большой длины (не может быть больше чем %{count} символ)"
|
149
|
-
few: "слишком большой длины (не может быть больше чем %{count} символа)"
|
150
|
-
many: "слишком большой длины (не может быть больше чем %{count} символов)"
|
151
|
-
other: "слишком большой длины (не может быть больше чем %{count} символа)"
|
152
|
-
too_short:
|
153
|
-
one: "недостаточной длины (не может быть меньше %{count} символа)"
|
154
|
-
few: "недостаточной длины (не может быть меньше %{count} символов)"
|
155
|
-
many: "недостаточной длины (не может быть меньше %{count} символов)"
|
156
|
-
other: "недостаточной длины (не может быть меньше %{count} символа)"
|
157
|
-
wrong_length:
|
158
|
-
one: "неверной длины (может быть длиной ровно %{count} символ)"
|
159
|
-
few: "неверной длины (может быть длиной ровно %{count} символа)"
|
160
|
-
many: "неверной длины (может быть длиной ровно %{count} символов)"
|
161
|
-
other: "неверной длины (может быть длиной ровно %{count} символа)"
|
162
|
-
taken: "уже существует"
|
163
|
-
not_a_number: "не является числом"
|
164
|
-
greater_than: "может иметь значение большее %{count}"
|
165
|
-
greater_than_or_equal_to: "может иметь значение большее или равное %{count}"
|
166
|
-
equal_to: "может иметь лишь значение, равное %{count}"
|
167
|
-
less_than: "может иметь значение меньшее чем %{count}"
|
168
|
-
less_than_or_equal_to: "может иметь значение меньшее или равное %{count}"
|
169
|
-
odd: "может иметь лишь четное значение"
|
170
|
-
even: "может иметь лишь нечетное значение"
|
257
|
+
<<: *errors
|
@@ -1,238 +1,257 @@
|
|
1
|
-
# Ukrainian translations for Ruby on Rails
|
2
|
-
# by Andrii Ponomarov (http://github.com/andrii)
|
3
|
-
# improved (I hope) by Iwakura Taro
|
4
|
-
# it is recomended to use russian rubygem to make i18n of your app
|
5
|
-
|
6
1
|
uk:
|
2
|
+
date:
|
3
|
+
abbr_day_names:
|
4
|
+
- нд.
|
5
|
+
- пн.
|
6
|
+
- вт.
|
7
|
+
- ср.
|
8
|
+
- чт.
|
9
|
+
- пт.
|
10
|
+
- сб.
|
11
|
+
abbr_month_names:
|
12
|
+
-
|
13
|
+
- січ.
|
14
|
+
- лют.
|
15
|
+
- бер.
|
16
|
+
- квіт.
|
17
|
+
- трав.
|
18
|
+
- черв.
|
19
|
+
- лип.
|
20
|
+
- серп.
|
21
|
+
- вер.
|
22
|
+
- жовт.
|
23
|
+
- лист.
|
24
|
+
- груд.
|
25
|
+
day_names:
|
26
|
+
- неділя
|
27
|
+
- понеділок
|
28
|
+
- вівторок
|
29
|
+
- середа
|
30
|
+
- четвер
|
31
|
+
- п'ятниця
|
32
|
+
- субота
|
33
|
+
formats:
|
34
|
+
default: ! '%d.%m.%Y'
|
35
|
+
long: ! '%d %B %Y'
|
36
|
+
short: ! '%d %b'
|
37
|
+
month_names:
|
38
|
+
-
|
39
|
+
- Січень
|
40
|
+
- Лютий
|
41
|
+
- Березень
|
42
|
+
- Квітень
|
43
|
+
- Травень
|
44
|
+
- Червень
|
45
|
+
- Липень
|
46
|
+
- Серпень
|
47
|
+
- Вересень
|
48
|
+
- Жовтень
|
49
|
+
- Листопад
|
50
|
+
- Грудень
|
51
|
+
order:
|
52
|
+
- :day
|
53
|
+
- :month
|
54
|
+
- :year
|
55
|
+
datetime:
|
56
|
+
distance_in_words:
|
57
|
+
about_x_hours:
|
58
|
+
few: близько %{count} години
|
59
|
+
many: близько %{count} годин
|
60
|
+
one: близько %{count} година
|
61
|
+
other: близько %{count} години
|
62
|
+
about_x_months:
|
63
|
+
few: близько %{count} місяців
|
64
|
+
many: близько %{count} місяців
|
65
|
+
one: близько %{count} місяця
|
66
|
+
other: близько %{count} місяця
|
67
|
+
about_x_years:
|
68
|
+
few: близько %{count} років
|
69
|
+
many: близько %{count} років
|
70
|
+
one: близько %{count} року
|
71
|
+
other: близько %{count} року
|
72
|
+
almost_x_years:
|
73
|
+
few: майже %{count} років
|
74
|
+
many: майже %{count} років
|
75
|
+
one: майже %{count} роки
|
76
|
+
other: майже %{count} років
|
77
|
+
half_a_minute: півхвилини
|
78
|
+
less_than_x_minutes:
|
79
|
+
few: менше %{count} хвилин
|
80
|
+
many: менше %{count} хвилин
|
81
|
+
one: менше %{count} хвилини
|
82
|
+
other: менше %{count} хвилини
|
83
|
+
less_than_x_seconds:
|
84
|
+
few: менше %{count} секунд
|
85
|
+
many: менше %{count} секунд
|
86
|
+
one: менше %{count} секунди
|
87
|
+
other: менше %{count} секунди
|
88
|
+
over_x_years:
|
89
|
+
few: більше %{count} років
|
90
|
+
many: більше %{count} років
|
91
|
+
one: більше %{count} року
|
92
|
+
other: більше %{count} року
|
93
|
+
x_days:
|
94
|
+
few: ! '%{count} дні'
|
95
|
+
many: ! '%{count} днів'
|
96
|
+
one: ! '%{count} день'
|
97
|
+
other: ! '%{count} дня'
|
98
|
+
x_minutes:
|
99
|
+
few: ! '%{count} хвилини'
|
100
|
+
many: ! '%{count} хвилин'
|
101
|
+
one: ! '%{count} хвилина'
|
102
|
+
other: ! '%{count} хвилини'
|
103
|
+
x_months:
|
104
|
+
few: ! '%{count} місяці'
|
105
|
+
many: ! '%{count} місяців'
|
106
|
+
one: ! '%{count} місяць'
|
107
|
+
other: ! '%{count} місяця'
|
108
|
+
x_seconds:
|
109
|
+
few: ! '%{count} секунди'
|
110
|
+
many: ! '%{count} секунд'
|
111
|
+
one: ! '%{count} секунда'
|
112
|
+
other: ! '%{count} секунди'
|
113
|
+
prompts:
|
114
|
+
day: День
|
115
|
+
hour: Година
|
116
|
+
minute: Хвилина
|
117
|
+
month: Місяць
|
118
|
+
second: Секунда
|
119
|
+
year: Рік
|
120
|
+
errors: &errors
|
121
|
+
format: ! '%{attribute} %{message}'
|
122
|
+
messages:
|
123
|
+
accepted: має бути прийнятий
|
124
|
+
blank: не може бути пустим
|
125
|
+
confirmation: не збігається з підтвердженням
|
126
|
+
empty: не може бути порожнім
|
127
|
+
equal_to: має дорівнювати %{count}
|
128
|
+
even: має бути парним
|
129
|
+
exclusion: зарезервовано
|
130
|
+
greater_than: має бути більше ніж %{count}
|
131
|
+
greater_than_or_equal_to: має бути більше ніж або дорівнювати %{count}
|
132
|
+
inclusion: не включено до переліку
|
133
|
+
invalid: недійсний
|
134
|
+
less_than: має бути менше ніж %{count}
|
135
|
+
less_than_or_equal_to: має бути менше ніж або дорівнювати %{count}
|
136
|
+
not_a_number: не число
|
137
|
+
not_an_integer: не э цілим числом
|
138
|
+
odd: має бути непарним
|
139
|
+
record_invalid: ! 'Виникли помилки: %{errors}'
|
140
|
+
taken: вже зайнятий
|
141
|
+
too_long:
|
142
|
+
few: занадто довгий (максимум %{count} знаки)
|
143
|
+
many: занадто довгий (максимум %{count} знаків)
|
144
|
+
one: занадто довгий (максимум %{count} знак)
|
145
|
+
other: занадто довгий (максимум %{count} знаку)
|
146
|
+
too_short:
|
147
|
+
few: занадто короткий (мінімум %{count} знаки)
|
148
|
+
many: занадто короткий (мінімум %{count} знаків)
|
149
|
+
one: занадто короткий (мінімум %{count} знак)
|
150
|
+
other: занадто короткий (мінімум %{count} знаку)
|
151
|
+
wrong_length:
|
152
|
+
few: неправильна довжина (має бути %{count} знаки)
|
153
|
+
many: неправильна довжина (має бути %{count} знаків)
|
154
|
+
one: неправильна довжина (має бути %{count} знак)
|
155
|
+
other: неправильна довжина (має бути %{count} знаку)
|
156
|
+
template:
|
157
|
+
body: ! 'Помилки виявлено в таких полях:'
|
158
|
+
header:
|
159
|
+
few: ! '%{model} не збережено через %{count} помилки'
|
160
|
+
many: ! '%{model} не збережено через %{count} помилок'
|
161
|
+
one: ! '%{model} не збережено через %{count} помилку'
|
162
|
+
other: ! '%{model} не збережено через %{count} помилки'
|
163
|
+
helpers:
|
164
|
+
select:
|
165
|
+
prompt: ! 'Оберіть: '
|
166
|
+
submit:
|
167
|
+
create: Створити %{model}
|
168
|
+
submit: Зберегти %{model}
|
169
|
+
update: Зберегти %{model}
|
7
170
|
number:
|
8
|
-
# Used in number_with_delimiter()
|
9
|
-
# These are also the defaults for 'currency', 'percentage', 'precision', and 'human'
|
10
|
-
format:
|
11
|
-
# Sets the separator between the units, for more precision (e.g. 1.0 / 2.0 == 0.5)
|
12
|
-
separator: ","
|
13
|
-
# Delimets thousands (e.g. 1,000,000 is a million) (always in groups of three)
|
14
|
-
delimiter: " "
|
15
|
-
# Number of decimals, behind the separator (the number 1 with a precision of 2 gives: 1.00)
|
16
|
-
precision: 3
|
17
|
-
|
18
|
-
# Used in number_to_currency()
|
19
171
|
currency:
|
20
172
|
format:
|
21
|
-
|
22
|
-
format:
|
23
|
-
unit: "грн."
|
24
|
-
# These three are to override number.format and are optional
|
25
|
-
separator: ","
|
26
|
-
delimiter: " "
|
173
|
+
delimiter: ! ' '
|
174
|
+
format: ! '%n %u'
|
27
175
|
precision: 2
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
precision:
|
39
|
-
format:
|
40
|
-
# These three are to override number.format and are optional
|
41
|
-
# separator:
|
42
|
-
delimiter: ""
|
43
|
-
# precision:
|
44
|
-
|
45
|
-
# Used in number_to_human_size()
|
176
|
+
separator: ! ','
|
177
|
+
significant: false
|
178
|
+
strip_insignificant_zeros: false
|
179
|
+
unit: грн.
|
180
|
+
format:
|
181
|
+
delimiter: ! ' '
|
182
|
+
precision: 3
|
183
|
+
separator: ! ','
|
184
|
+
significant: false
|
185
|
+
strip_insignificant_zeros: false
|
46
186
|
human:
|
187
|
+
decimal_units:
|
188
|
+
format: ! '%n %u'
|
189
|
+
units:
|
190
|
+
billion:
|
191
|
+
few: Мільярдів
|
192
|
+
many: Мільярдів
|
193
|
+
one: Мільярд
|
194
|
+
other: Мільярдів
|
195
|
+
million:
|
196
|
+
few: Мільйонів
|
197
|
+
many: Мільйонів
|
198
|
+
one: Мільйон
|
199
|
+
other: Мільйонів
|
200
|
+
quadrillion:
|
201
|
+
few: Квадрильйонів
|
202
|
+
many: Квадрильйонів
|
203
|
+
one: Кквадрильйон
|
204
|
+
other: Квадрильйонів
|
205
|
+
thousand:
|
206
|
+
few: Тисяч
|
207
|
+
many: Тисяч
|
208
|
+
one: Тисяча
|
209
|
+
other: Тисяч
|
210
|
+
trillion:
|
211
|
+
few: Трильйонів
|
212
|
+
many: Трильйонів
|
213
|
+
one: Трильйон
|
214
|
+
other: Трильйонів
|
215
|
+
unit: ''
|
47
216
|
format:
|
48
|
-
|
49
|
-
# separator:
|
50
|
-
delimiter: ""
|
217
|
+
delimiter: ''
|
51
218
|
precision: 1
|
219
|
+
significant: false
|
220
|
+
strip_insignificant_zeros: false
|
52
221
|
storage_units:
|
53
|
-
|
54
|
-
# %u is the storage unit, %n is the number (default: 2 MB)
|
55
|
-
format: "%n %u"
|
222
|
+
format: ! '%n %u'
|
56
223
|
units:
|
57
224
|
byte:
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
other:
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
tb:
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
one: "менше %{count} секунди"
|
73
|
-
few: "менше %{count} секунд"
|
74
|
-
many: "менше %{count} секунд"
|
75
|
-
other: "менше %{count} секунди"
|
76
|
-
x_seconds:
|
77
|
-
one: "%{count} секунда"
|
78
|
-
few: "%{count} секунди"
|
79
|
-
many: "%{count} секунд"
|
80
|
-
other: "%{count} секунди"
|
81
|
-
less_than_x_minutes:
|
82
|
-
one: "менше %{count} хвилини"
|
83
|
-
few: "менше %{count} хвилин"
|
84
|
-
many: "менше %{count} хвилин"
|
85
|
-
other: "менше %{count} хвилини"
|
86
|
-
x_minutes:
|
87
|
-
one: "%{count} хвилина"
|
88
|
-
few: "%{count} хвилини"
|
89
|
-
many: "%{count} хвилин"
|
90
|
-
other: "%{count} хвилини"
|
91
|
-
about_x_hours:
|
92
|
-
one: "близько %{count} година"
|
93
|
-
few: "близько %{count} години"
|
94
|
-
many: "близько %{count} годин"
|
95
|
-
other: "близько %{count} години"
|
96
|
-
x_days:
|
97
|
-
one: "%{count} день"
|
98
|
-
few: "%{count} дні"
|
99
|
-
many: "%{count} днів"
|
100
|
-
other: "%{count} дня"
|
101
|
-
about_x_months:
|
102
|
-
one: "близько %{count} місяця"
|
103
|
-
few: "близько %{count} місяців"
|
104
|
-
many: "близько %{count} місяців"
|
105
|
-
other: "близько %{count} місяця"
|
106
|
-
x_months:
|
107
|
-
one: "%{count} місяць"
|
108
|
-
few: "%{count} місяці"
|
109
|
-
many: "%{count} місяців"
|
110
|
-
other: "%{count} місяця"
|
111
|
-
about_x_years:
|
112
|
-
one: "близько %{count} року"
|
113
|
-
few: "близько %{count} років"
|
114
|
-
many: "близько %{count} років"
|
115
|
-
other: "близько %{count} року"
|
116
|
-
over_x_years:
|
117
|
-
one: "більше %{count} року"
|
118
|
-
few: "більше %{count} років"
|
119
|
-
many: "більше %{count} років"
|
120
|
-
other: "більше %{count} року"
|
121
|
-
prompts:
|
122
|
-
year: "Рік"
|
123
|
-
month: "Місяць"
|
124
|
-
day: "День"
|
125
|
-
hour: "Година"
|
126
|
-
minute: "Хвилина"
|
127
|
-
second: "Секунда"
|
128
|
-
|
129
|
-
activerecord:
|
130
|
-
errors:
|
131
|
-
template:
|
132
|
-
header:
|
133
|
-
one: "%{model} не збережено через %{count} помилку"
|
134
|
-
few: "%{model} не збережено через %{count} помилки"
|
135
|
-
many: "%{model} не збережено через %{count} помилок"
|
136
|
-
other: "%{model} не збережено через %{count} помилки"
|
137
|
-
# The variable :count is also available
|
138
|
-
body: "Помилки виявлено в таких полях:"
|
139
|
-
|
140
|
-
# The values :model, :attribute and :value are always available for interpolation
|
141
|
-
# The value :count is available when applicable. Can be used for pluralization.
|
142
|
-
messages:
|
143
|
-
inclusion: "не включено до переліку"
|
144
|
-
exclusion: "зарезервовано"
|
145
|
-
invalid: "недійсний"
|
146
|
-
confirmation: "не збігається з підтвердженням"
|
147
|
-
accepted: "має бути прийнятий"
|
148
|
-
empty: "не може бути порожнім"
|
149
|
-
blank: "не може бути пустим"
|
150
|
-
too_long:
|
151
|
-
one: "занадто довгий (максимум %{count} знак)"
|
152
|
-
few: "занадто довгий (максимум %{count} знаки)"
|
153
|
-
many: "занадто довгий (максимум %{count} знаків)"
|
154
|
-
other: "занадто довгий (максимум %{count} знаку)"
|
155
|
-
too_short:
|
156
|
-
one: "занадто короткий (мінімум %{count} знак)"
|
157
|
-
few: "занадто короткий (мінімум %{count} знаки)"
|
158
|
-
many: "занадто короткий (мінімум %{count} знаків)"
|
159
|
-
other: "занадто короткий (мінімум %{count} знаку)"
|
160
|
-
wrong_length:
|
161
|
-
one: "неправильна довжина (має бути %{count} знак)"
|
162
|
-
few: "неправильна довжина (має бути %{count} знаки)"
|
163
|
-
many: "неправильна довжина (має бути %{count} знаків)"
|
164
|
-
other: "неправильна довжина (має бути %{count} знаку)"
|
165
|
-
taken: "вже зайнятий"
|
166
|
-
not_a_number: "не число"
|
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
|
-
odd: "має бути непарним"
|
173
|
-
even: "має бути парним"
|
174
|
-
# Append your own errors here or at the model/attributes scope.
|
175
|
-
|
176
|
-
# You can define own errors for models or model attributes.
|
177
|
-
# The values :model, :attribute and :value are always available for interpolation.
|
178
|
-
#
|
179
|
-
# For example,
|
180
|
-
# models:
|
181
|
-
# user:
|
182
|
-
# blank: "This is a custom blank message for %{model}: {{attribute}}"
|
183
|
-
# attributes:
|
184
|
-
# login:
|
185
|
-
# blank: "This is a custom blank message for User login"
|
186
|
-
# Will define custom blank validation message for User model and
|
187
|
-
# custom blank validation message for login attribute of User model.
|
188
|
-
#models:
|
189
|
-
|
190
|
-
# Translate model names. Used in Model.human_name().
|
191
|
-
#models:
|
192
|
-
# For example,
|
193
|
-
# user: "Dude"
|
194
|
-
# will translate User model name to "Dude"
|
195
|
-
|
196
|
-
# Translate model attribute names. Used in Model.human_attribute_name(attribute).
|
197
|
-
#attributes:
|
198
|
-
# For example,
|
199
|
-
# user:
|
200
|
-
# login: "Handle"
|
201
|
-
# will translate User attribute "login" as "Handle"
|
202
|
-
|
203
|
-
date:
|
204
|
-
formats:
|
205
|
-
# Use the strftime parameters for formats.
|
206
|
-
# When no format has been given, it uses default.
|
207
|
-
# You can provide other formats here if you like!
|
208
|
-
default: "%d.%m.%Y"
|
209
|
-
short: "%d %b"
|
210
|
-
long: "%d %B %Y"
|
211
|
-
|
212
|
-
day_names: [неділя, понеділок, вівторок, середа, четвер, "п'ятниця", субота]
|
213
|
-
abbr_day_names: [нд., пн., вт., ср., чт., пт., сб.]
|
214
|
-
|
215
|
-
# Don't forget the nil at the beginning; there's no such thing as a 0th month
|
216
|
-
month_names: [~, cічня, лютого, березня, квітня, травня, червня, липня, серпня, вересня, жовтня, листопада, грудня]
|
217
|
-
standalone_month_names: [~, Січень, Лютий, Березень, Квітень, Травень, Червень, Липень, Серпень, Вересень, Жовтень, Листопад, Грудень]
|
218
|
-
|
219
|
-
abbr_month_names: [~, січ., лют., бер., квіт., трав., черв., лип., серп., вер., жовт., лист., груд.]
|
220
|
-
# Used in date_select and datime_select.
|
221
|
-
order: [ :day, :month, :year ]
|
222
|
-
|
223
|
-
time:
|
224
|
-
formats:
|
225
|
-
default: "%a, %d %b %Y, %H:%M:%S %z"
|
226
|
-
short: "%d %b, %H:%M"
|
227
|
-
long: "%d %B %Y, %H:%M"
|
228
|
-
am: "до полудня"
|
229
|
-
pm: "по полудні"
|
230
|
-
|
231
|
-
# Used in array.to_sentence.
|
225
|
+
few: байти
|
226
|
+
many: байтів
|
227
|
+
one: байт
|
228
|
+
other: байту
|
229
|
+
gb: ГБ
|
230
|
+
kb: кБ
|
231
|
+
mb: МБ
|
232
|
+
tb: ТБ
|
233
|
+
percentage:
|
234
|
+
format:
|
235
|
+
delimiter: ''
|
236
|
+
precision:
|
237
|
+
format:
|
238
|
+
delimiter: ''
|
232
239
|
support:
|
233
240
|
array:
|
234
|
-
|
235
|
-
|
236
|
-
words_connector:
|
237
|
-
|
238
|
-
|
241
|
+
last_word_connector: ! ' та '
|
242
|
+
two_words_connector: ! ' і '
|
243
|
+
words_connector: ! ', '
|
244
|
+
time:
|
245
|
+
am: до полудня
|
246
|
+
formats:
|
247
|
+
default: ! '%a, %d %b %Y, %H:%M:%S %z'
|
248
|
+
long: ! '%d %B %Y, %H:%M'
|
249
|
+
short: ! '%d %b, %H:%M'
|
250
|
+
pm: по полудні
|
251
|
+
# remove these aliases after 'activemodel' and 'activerecord' namespaces are removed from Rails repository
|
252
|
+
activemodel:
|
253
|
+
errors:
|
254
|
+
<<: *errors
|
255
|
+
activerecord:
|
256
|
+
errors:
|
257
|
+
<<: *errors
|
data/lib/sunrise/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sunrise-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 21
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 2
|
9
|
-
-
|
10
|
-
version: 0.2.
|
9
|
+
- 1
|
10
|
+
version: 0.2.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Igor Galeta
|
@@ -16,8 +16,7 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date:
|
20
|
-
default_executable:
|
19
|
+
date: 2012-04-09 00:00:00 Z
|
21
20
|
dependencies:
|
22
21
|
- !ruby/object:Gem::Dependency
|
23
22
|
name: rails
|
@@ -1124,7 +1123,6 @@ files:
|
|
1124
1123
|
- spec/controllers/pages_controller_spec.rb
|
1125
1124
|
- spec/spec_helper.rb
|
1126
1125
|
- spec/sunrise_spec.rb
|
1127
|
-
has_rdoc: true
|
1128
1126
|
homepage: https://github.com/galetahub/sunrise-core
|
1129
1127
|
licenses: []
|
1130
1128
|
|
@@ -1154,7 +1152,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
1154
1152
|
requirements: []
|
1155
1153
|
|
1156
1154
|
rubyforge_project: sunrise-core
|
1157
|
-
rubygems_version: 1.
|
1155
|
+
rubygems_version: 1.8.10
|
1158
1156
|
signing_key:
|
1159
1157
|
specification_version: 3
|
1160
1158
|
summary: Rails CMS
|