rails-i18n 4.0.1 → 4.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -100,6 +100,7 @@ zh-TW:
100
100
  messages:
101
101
  accepted: 必須是可被接受的
102
102
  blank: 不能是空白字元
103
+ present: 必須是空白
103
104
  confirmation: 不符合確認值
104
105
  empty: 不能留空
105
106
  equal_to: 必須等於 %{count}
@@ -115,11 +116,20 @@ zh-TW:
115
116
  not_an_integer: 必須是整數
116
117
  odd: 必須是奇數
117
118
  record_invalid: ! '校驗失敗: %{errors}'
118
- restrict_dependent_destroy: 因還有需要此記錄的其他記錄, 所以無法移除記錄
119
+ restrict_dependent_destroy:
120
+ one: 由於 %{record} 需要此記錄,所以無法移除記錄
121
+ many: 由於 %{record} 需要此記錄,所以無法移除記錄
119
122
  taken: 已經被使用
120
- too_long: 過長(最長是 %{count} 個字)
121
- too_short: 過短(最短是 %{count} 個字)
122
- wrong_length: 字數錯誤(必須是 %{count} 個字)
123
+ too_long:
124
+ one: 過長(最長是一個字)
125
+ other: 過長(最長是 %{count} 個字)
126
+ too_short:
127
+ one: 過短(最短是一個字)
128
+ other: 過短(最短是 %{count} 個字)
129
+ wrong_length:
130
+ one: 字數錯誤 (必須是一個字)
131
+ other: 字數錯誤 (必須是 %{count} 個字)
132
+ other_than: 不可以是 %{count} 個字
123
133
  template:
124
134
  body: 以下欄位發生問題:
125
135
  header:
@@ -166,7 +176,9 @@ zh-TW:
166
176
  storage_units:
167
177
  format: ! '%n %u'
168
178
  units:
169
- byte: 位元組
179
+ byte:
180
+ one: 位元組
181
+ other: 位元組
170
182
  gb: GB
171
183
  kb: KB
172
184
  mb: MB
@@ -0,0 +1,211 @@
1
+ zh-YUE:
2
+ date:
3
+ abbr_day_names:
4
+ - 日
5
+ - 一
6
+ - 二
7
+ - 三
8
+ - 四
9
+ - 五
10
+ - 六
11
+ abbr_month_names:
12
+ -
13
+ - 1月
14
+ - 2月
15
+ - 3月
16
+ - 4月
17
+ - 5月
18
+ - 6月
19
+ - 7月
20
+ - 8月
21
+ - 9月
22
+ - 10月
23
+ - 11月
24
+ - 12月
25
+ day_names:
26
+ - 星期日
27
+ - 星期一
28
+ - 星期二
29
+ - 星期三
30
+ - 星期四
31
+ - 星期五
32
+ - 星期六
33
+ formats:
34
+ default: ! '%Y-%m-%d'
35
+ long: ! '%Y年%b%d日'
36
+ short: ! '%b%d日'
37
+ month_names:
38
+ -
39
+ - 一月
40
+ - 二月
41
+ - 三月
42
+ - 四月
43
+ - 五月
44
+ - 六月
45
+ - 七月
46
+ - 八月
47
+ - 九月
48
+ - 十月
49
+ - 十一月
50
+ - 十二月
51
+ order:
52
+ - :year
53
+ - :month
54
+ - :day
55
+ datetime:
56
+ distance_in_words:
57
+ about_x_hours:
58
+ one: 大概一個鐘
59
+ other: 大概%{count}個鐘
60
+ about_x_months:
61
+ one: 大概一個月
62
+ other: 大概%{count}個月
63
+ about_x_years:
64
+ one: 大概一年
65
+ other: 大概%{count}年
66
+ almost_x_years:
67
+ one: 差唔多一年
68
+ other: 差唔多%{count}年
69
+ half_a_minute: 半分鐘
70
+ less_than_x_minutes:
71
+ one: 唔夠一分鐘
72
+ other: 唔夠%{count}分鐘
73
+ less_than_x_seconds:
74
+ one: 唔夠一秒
75
+ other: 唔夠%{count}秒
76
+ over_x_years:
77
+ one: 超過一年
78
+ other: 超過%{count}年
79
+ x_days:
80
+ one: 一日
81
+ other: ! '%{count}日'
82
+ x_minutes:
83
+ one: 一分鐘
84
+ other: ! '%{count}分鐘'
85
+ x_months:
86
+ one: 一個月
87
+ other: ! '%{count}個月'
88
+ x_seconds:
89
+ one: 一秒
90
+ other: ! '%{count}秒'
91
+ prompts:
92
+ day: 日
93
+ hour: 點
94
+ minute: 分
95
+ month: 月
96
+ second: 秒
97
+ year: 年
98
+ errors: &errors
99
+ format: ! '%{message}'
100
+ messages:
101
+ accepted: 一定要接受%{attribute}
102
+ blank: ! '%{attribute}唔可以空白'
103
+ present: ! '%{attribute}要空白'
104
+ confirmation: ! '%{attribute}唔夾'
105
+ empty: ! '%{attribute}唔可以漏空'
106
+ equal_to: ! '%{attribute}要係%{count}'
107
+ even: ! '%{attribute}要係雙數'
108
+ exclusion: ! '%{attribute}唔用得'
109
+ greater_than: ! '%{attribute}要大過%{count}'
110
+ greater_than_or_equal_to: ! '%{attribute}要大過或者等於%{count}'
111
+ inclusion: ! '%{attribute}唔喺表入面'
112
+ invalid: ! '%{attribute}無效'
113
+ less_than: ! '%{attribute}要細過%{count}'
114
+ less_than_or_equal_to: ! '%{attribute}要細過或者等於%{count}'
115
+ not_a_number: ! '%{attribute}唔係一個數'
116
+ not_an_integer: ! '%{attribute}要係整數'
117
+ odd: ! '%{attribute}要係單數'
118
+ record_invalid: ! '%{attribute}有問題︰%{errors}'
119
+ restrict_dependent_destroy:
120
+ one: 唔可以刪除,因為%{record}要用佢
121
+ many: 唔可以刪除,因為%{record}要用佢
122
+ taken: ! '%{attribute}已經用過'
123
+ too_long:
124
+ one: 太長(最多1個字)
125
+ other: 太長(最多%{count}個字)
126
+ too_short:
127
+ one: 太短(最少1個字)
128
+ other: 太短(最少%{count}個字)
129
+ wrong_length:
130
+ one: 唔啱字數 (要係1個字)
131
+ other: 唔啱字數 (要係%{count}個字)
132
+ other_than: ! '%{attribute}唔可以係%{count}'
133
+ template:
134
+ body: 呢啲有問題︰
135
+ header:
136
+ one: 有一個問題,%{model}儲存唔到。
137
+ other: 有%{count}個問題,%{model}儲存唔到。
138
+ helpers:
139
+ select:
140
+ prompt: 喺度揀
141
+ submit:
142
+ create: 新嘅%{model}
143
+ submit: 儲存%{model}
144
+ update: 更新%{model}
145
+ number:
146
+ currency:
147
+ format:
148
+ delimiter: ! ','
149
+ format: ! '%u %n'
150
+ precision: 2
151
+ separator: .
152
+ significant: false
153
+ strip_insignificant_zeros: false
154
+ unit: HK$
155
+ format:
156
+ delimiter: ! ','
157
+ precision: 3
158
+ separator: .
159
+ significant: false
160
+ strip_insignificant_zeros: false
161
+ human:
162
+ decimal_units:
163
+ format: ! '%n %u'
164
+ units:
165
+ billion: 十億
166
+ million: 百萬
167
+ quadrillion: 千兆
168
+ thousand: 千
169
+ trillion: 兆
170
+ unit: ''
171
+ format:
172
+ delimiter: ''
173
+ precision: 1
174
+ significant: false
175
+ strip_insignificant_zeros: false
176
+ storage_units:
177
+ format: ! '%n %u'
178
+ units:
179
+ byte:
180
+ one: Byte
181
+ other: Bytes
182
+ gb: GB
183
+ kb: KB
184
+ mb: MB
185
+ tb: TB
186
+ percentage:
187
+ format:
188
+ delimiter: ''
189
+ format: '%n%'
190
+ precision:
191
+ format:
192
+ delimiter: ''
193
+ support:
194
+ array:
195
+ last_word_connector: 同
196
+ two_words_connector: 同
197
+ words_connector: 、
198
+ time:
199
+ am: 上晝
200
+ formats:
201
+ default: ! '%Y年%b%d號 %A %H:%M:%S %Z'
202
+ long: ! '%Y年%b%d號 %H:%M'
203
+ short: ! '%b%d號 %H:%M'
204
+ pm: 下晝
205
+ # remove these aliases after 'activemodel' and 'activerecord' namespaces are removed from Rails repository
206
+ activemodel:
207
+ errors:
208
+ <<: *errors
209
+ activerecord:
210
+ errors:
211
+ <<: *errors
@@ -0,0 +1,3 @@
1
+ require 'rails_i18n/common_pluralizations/one_other'
2
+
3
+ ::RailsI18n::Pluralization::OneOther.with_locale(:'es-EC')
@@ -0,0 +1,3 @@
1
+ require 'rails_i18n/common_pluralizations/other'
2
+
3
+ ::RailsI18n::Pluralization::Other.with_locale(:'zh-YUE')
@@ -12,7 +12,7 @@ fr:
12
12
  ë: "e"
13
13
  î: "i"
14
14
  ï: "i"
15
- ô: "oe"
15
+ ô: "o"
16
16
  œ: "oe"
17
17
  ù: "u"
18
18
  û: "u"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails-i18n
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.1
4
+ version: 4.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rails I18n Group
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-12-19 00:00:00.000000000 Z
11
+ date: 2014-03-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: i18n
@@ -28,14 +28,14 @@ dependencies:
28
28
  name: rails
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ~>
31
+ - - '>='
32
32
  - !ruby/object:Gem::Version
33
33
  version: '4.0'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ~>
38
+ - - '>='
39
39
  - !ruby/object:Gem::Version
40
40
  version: '4.0'
41
41
  - !ruby/object:Gem::Dependency
@@ -44,28 +44,28 @@ dependencies:
44
44
  requirements:
45
45
  - - '='
46
46
  - !ruby/object:Gem::Version
47
- version: 4.0.2
47
+ version: 4.0.4
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - '='
53
53
  - !ruby/object:Gem::Version
54
- version: 4.0.2
54
+ version: 4.0.4
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rspec-rails
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - '='
60
60
  - !ruby/object:Gem::Version
61
- version: 2.14.0
61
+ version: 2.14.2
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - '='
67
67
  - !ruby/object:Gem::Version
68
- version: 2.14.0
68
+ version: 2.14.2
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: i18n-spec
71
71
  requirement: !ruby/object:Gem::Requirement
@@ -94,6 +94,20 @@ dependencies:
94
94
  - - '='
95
95
  - !ruby/object:Gem::Version
96
96
  version: 1.0.0rc3
97
+ - !ruby/object:Gem::Dependency
98
+ name: i18n-tasks
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ~>
102
+ - !ruby/object:Gem::Version
103
+ version: 0.3.6
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ~>
109
+ - !ruby/object:Gem::Version
110
+ version: 0.3.6
97
111
  description: A set of common locale data and translations to internationalize and/or
98
112
  localize your Rails applications.
99
113
  email: rails-i18n@googlegroups.com
@@ -116,6 +130,7 @@ files:
116
130
  - rails/locale/en-NZ.yml
117
131
  - rails/locale/wo.yml
118
132
  - rails/locale/ur.yml
133
+ - rails/locale/zh-YUE.yml
119
134
  - rails/locale/cs.yml
120
135
  - rails/locale/ms.yml
121
136
  - rails/locale/sr.yml
@@ -186,6 +201,7 @@ files:
186
201
  - rails/locale/ar.yml
187
202
  - rails/locale/en-IE.yml
188
203
  - rails/locale/fi.yml
204
+ - rails/locale/es-EC.yml
189
205
  - rails/locale/es-CO.yml
190
206
  - rails/locale/zh-CN.yml
191
207
  - rails/locale/nb.yml
@@ -263,6 +279,7 @@ files:
263
279
  - rails/pluralization/ka.rb
264
280
  - rails/pluralization/cs.rb
265
281
  - rails/pluralization/ro.rb
282
+ - rails/pluralization/zh-YUE.rb
266
283
  - rails/pluralization/zh-HK.rb
267
284
  - rails/pluralization/vi.rb
268
285
  - rails/pluralization/kde.rb
@@ -302,6 +319,7 @@ files:
302
319
  - rails/pluralization/de-CH.rb
303
320
  - rails/pluralization/dz.rb
304
321
  - rails/pluralization/de-AT.rb
322
+ - rails/pluralization/es-EC.rb
305
323
  - rails/pluralization/by.rb
306
324
  - rails/pluralization/naq.rb
307
325
  - rails/pluralization/es-PE.rb