rails-i18n 4.0.3 → 4.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +21 -0
- data/README.md +2 -1
- data/lib/rails_i18n/common_pluralizations/east_slavic.rb +5 -4
- data/lib/rails_i18n/common_pluralizations/one_upto_two_other.rb +1 -1
- data/lib/rails_i18n/common_pluralizations/romanian.rb +1 -0
- data/rails/locale/af.yml +27 -29
- data/rails/locale/ar.yml +92 -91
- data/rails/locale/az.yml +37 -36
- data/rails/locale/be.yml +205 -0
- data/rails/locale/bg.yml +28 -27
- data/rails/locale/bn.yml +36 -35
- data/rails/locale/bs.yml +42 -41
- data/rails/locale/ca.yml +27 -26
- data/rails/locale/cs.yml +33 -32
- data/rails/locale/cy.yml +43 -42
- data/rails/locale/da.yml +30 -29
- data/rails/locale/de-AT.yml +40 -32
- data/rails/locale/de-CH.yml +38 -33
- data/rails/locale/de.yml +40 -35
- data/rails/locale/el.yml +28 -27
- data/rails/locale/en-AU.yml +29 -28
- data/rails/locale/en-CA.yml +29 -37
- data/rails/locale/en-GB.yml +29 -28
- data/rails/locale/en-IE.yml +29 -28
- data/rails/locale/en-IN.yml +29 -28
- data/rails/locale/en-NZ.yml +29 -28
- data/rails/locale/en-US.yml +32 -31
- data/rails/locale/en-ZA.yml +31 -30
- data/rails/locale/en.yml +32 -31
- data/rails/locale/eo.yml +29 -28
- data/rails/locale/es-419.yml +33 -41
- data/rails/locale/es-AR.yml +33 -32
- data/rails/locale/es-CL.yml +28 -27
- data/rails/locale/es-CO.yml +33 -32
- data/rails/locale/es-CR.yml +33 -32
- data/rails/locale/es-EC.yml +31 -30
- data/rails/locale/es-MX.yml +36 -35
- data/rails/locale/es-PA.yml +30 -29
- data/rails/locale/es-PE.yml +29 -28
- data/rails/locale/es-US.yml +33 -32
- data/rails/locale/es-VE.yml +33 -32
- data/rails/locale/es.yml +28 -27
- data/rails/locale/et.yml +32 -31
- data/rails/locale/eu.yml +42 -41
- data/rails/locale/fa.yml +30 -29
- data/rails/locale/fi.yml +28 -27
- data/rails/locale/fr-CA.yml +29 -28
- data/rails/locale/fr-CH.yml +28 -27
- data/rails/locale/fr.yml +128 -135
- data/rails/locale/gl.yml +33 -32
- data/rails/locale/he.yml +35 -34
- data/rails/locale/hi-IN.yml +36 -35
- data/rails/locale/hi.yml +38 -37
- data/rails/locale/hr.yml +45 -44
- data/rails/locale/hu.yml +28 -27
- data/rails/locale/id.yml +28 -27
- data/rails/locale/is.yml +29 -28
- data/rails/locale/it-CH.yml +28 -27
- data/rails/locale/it.yml +40 -39
- data/rails/locale/ja.yml +29 -28
- data/rails/locale/km.yml +46 -5
- data/rails/locale/kn.yml +39 -38
- data/rails/locale/ko.yml +30 -29
- data/rails/locale/lo.yml +70 -69
- data/rails/locale/lt.yml +44 -43
- data/rails/locale/lv.yml +35 -34
- data/rails/locale/mk.yml +33 -32
- data/rails/locale/mn.yml +51 -50
- data/rails/locale/ms.yml +25 -26
- data/rails/locale/nb.yml +30 -29
- data/rails/locale/ne.yml +39 -38
- data/rails/locale/nl.yml +39 -38
- data/rails/locale/nn.yml +29 -28
- data/rails/locale/or.yml +40 -39
- data/rails/locale/pl.yml +69 -50
- data/rails/locale/pt-BR.yml +37 -34
- data/rails/locale/pt.yml +29 -28
- data/rails/locale/rm.yml +47 -46
- data/rails/locale/ro.yml +34 -33
- data/rails/locale/ru.yml +47 -46
- data/rails/locale/sk.yml +36 -34
- data/rails/locale/sl.yml +32 -31
- data/rails/locale/sr.yml +45 -44
- data/rails/locale/sv.yml +28 -27
- data/rails/locale/sw.yml +25 -24
- data/rails/locale/ta.yml +43 -42
- data/rails/locale/th.yml +26 -25
- data/rails/locale/tl.yml +90 -115
- data/rails/locale/tr.yml +44 -43
- data/rails/locale/tt.yml +215 -0
- data/rails/locale/uk.yml +43 -42
- data/rails/locale/ur.yml +48 -46
- data/rails/locale/uz.yml +60 -59
- data/rails/locale/vi.yml +30 -29
- data/rails/locale/wo.yml +29 -28
- data/rails/locale/zh-CN.yml +37 -36
- data/rails/locale/zh-HK.yml +51 -50
- data/rails/locale/zh-TW.yml +39 -38
- data/rails/locale/zh-YUE.yml +49 -48
- data/rails/pluralization/ar.rb +1 -0
- data/rails/pluralization/br.rb +1 -0
- data/rails/pluralization/gv.rb +1 -0
- data/rails/pluralization/hsb.rb +1 -0
- data/rails/pluralization/lag.rb +1 -0
- data/rails/pluralization/lt.rb +1 -0
- data/rails/pluralization/lv.rb +1 -0
- data/rails/pluralization/mk.rb +1 -0
- data/rails/pluralization/mt.rb +1 -0
- data/rails/pluralization/pl.rb +1 -0
- data/rails/pluralization/sl.rb +1 -0
- data/rails/transliteration/ru.rb +2 -0
- data/rails/transliteration/uk.rb +3 -1
- metadata +5 -9
data/rails/locale/zh-YUE.yml
CHANGED
@@ -1,15 +1,16 @@
|
|
1
|
+
---
|
1
2
|
zh-YUE:
|
2
3
|
date:
|
3
4
|
abbr_day_names:
|
4
|
-
-
|
5
|
-
-
|
6
|
-
-
|
7
|
-
-
|
8
|
-
-
|
9
|
-
-
|
10
|
-
-
|
5
|
+
- 周日
|
6
|
+
- 周一
|
7
|
+
- 周二
|
8
|
+
- 周三
|
9
|
+
- 周四
|
10
|
+
- 周五
|
11
|
+
- 周六
|
11
12
|
abbr_month_names:
|
12
|
-
-
|
13
|
+
-
|
13
14
|
- 1月
|
14
15
|
- 2月
|
15
16
|
- 3月
|
@@ -31,11 +32,11 @@ zh-YUE:
|
|
31
32
|
- 星期五
|
32
33
|
- 星期六
|
33
34
|
formats:
|
34
|
-
default:
|
35
|
-
long:
|
36
|
-
short:
|
35
|
+
default: "%Y-%m-%d"
|
36
|
+
long: "%Y年%b%d日"
|
37
|
+
short: "%b%d日"
|
37
38
|
month_names:
|
38
|
-
-
|
39
|
+
-
|
39
40
|
- 一月
|
40
41
|
- 二月
|
41
42
|
- 三月
|
@@ -78,16 +79,16 @@ zh-YUE:
|
|
78
79
|
other: 超過%{count}年
|
79
80
|
x_days:
|
80
81
|
one: 一日
|
81
|
-
other:
|
82
|
+
other: "%{count}日"
|
82
83
|
x_minutes:
|
83
84
|
one: 一分鐘
|
84
|
-
other:
|
85
|
+
other: "%{count}分鐘"
|
85
86
|
x_months:
|
86
87
|
one: 一個月
|
87
|
-
other:
|
88
|
+
other: "%{count}個月"
|
88
89
|
x_seconds:
|
89
90
|
one: 一秒
|
90
|
-
other:
|
91
|
+
other: "%{count}秒"
|
91
92
|
prompts:
|
92
93
|
day: 日
|
93
94
|
hour: 點
|
@@ -96,30 +97,30 @@ zh-YUE:
|
|
96
97
|
second: 秒
|
97
98
|
year: 年
|
98
99
|
errors:
|
99
|
-
format:
|
100
|
+
format: "%{message}"
|
100
101
|
messages:
|
101
102
|
accepted: 一定要接受%{attribute}
|
102
|
-
blank:
|
103
|
-
present:
|
104
|
-
confirmation:
|
105
|
-
empty:
|
106
|
-
equal_to:
|
107
|
-
even:
|
108
|
-
exclusion:
|
109
|
-
greater_than:
|
110
|
-
greater_than_or_equal_to:
|
111
|
-
inclusion:
|
112
|
-
invalid:
|
113
|
-
less_than:
|
114
|
-
less_than_or_equal_to:
|
115
|
-
not_a_number:
|
116
|
-
not_an_integer:
|
117
|
-
odd:
|
118
|
-
record_invalid:
|
103
|
+
blank: "%{attribute}唔可以空白"
|
104
|
+
present: "%{attribute}要空白"
|
105
|
+
confirmation: "%{attribute}唔夾"
|
106
|
+
empty: "%{attribute}唔可以漏空"
|
107
|
+
equal_to: "%{attribute}要係%{count}"
|
108
|
+
even: "%{attribute}要係雙數"
|
109
|
+
exclusion: "%{attribute}唔用得"
|
110
|
+
greater_than: "%{attribute}要大過%{count}"
|
111
|
+
greater_than_or_equal_to: "%{attribute}要大過或者等於%{count}"
|
112
|
+
inclusion: "%{attribute}唔喺表入面"
|
113
|
+
invalid: "%{attribute}無效"
|
114
|
+
less_than: "%{attribute}要細過%{count}"
|
115
|
+
less_than_or_equal_to: "%{attribute}要細過或者等於%{count}"
|
116
|
+
not_a_number: "%{attribute}唔係一個數"
|
117
|
+
not_an_integer: "%{attribute}要係整數"
|
118
|
+
odd: "%{attribute}要係單數"
|
119
|
+
record_invalid: "%{attribute}有問題︰%{errors}"
|
119
120
|
restrict_dependent_destroy:
|
120
121
|
one: 唔可以刪除,因為%{record}要用佢
|
121
122
|
many: 唔可以刪除,因為%{record}要用佢
|
122
|
-
taken:
|
123
|
+
taken: "%{attribute}已經用過"
|
123
124
|
too_long:
|
124
125
|
one: 太長(最多1個字)
|
125
126
|
other: 太長(最多%{count}個字)
|
@@ -129,7 +130,7 @@ zh-YUE:
|
|
129
130
|
wrong_length:
|
130
131
|
one: 唔啱字數 (要係1個字)
|
131
132
|
other: 唔啱字數 (要係%{count}個字)
|
132
|
-
other_than:
|
133
|
+
other_than: "%{attribute}唔可以係%{count}"
|
133
134
|
template:
|
134
135
|
body: 呢啲有問題︰
|
135
136
|
header:
|
@@ -145,22 +146,22 @@ zh-YUE:
|
|
145
146
|
number:
|
146
147
|
currency:
|
147
148
|
format:
|
148
|
-
delimiter:
|
149
|
-
format:
|
149
|
+
delimiter: ","
|
150
|
+
format: "%u %n"
|
150
151
|
precision: 2
|
151
|
-
separator: .
|
152
|
+
separator: "."
|
152
153
|
significant: false
|
153
154
|
strip_insignificant_zeros: false
|
154
155
|
unit: HK$
|
155
156
|
format:
|
156
|
-
delimiter:
|
157
|
+
delimiter: ","
|
157
158
|
precision: 3
|
158
|
-
separator: .
|
159
|
+
separator: "."
|
159
160
|
significant: false
|
160
161
|
strip_insignificant_zeros: false
|
161
162
|
human:
|
162
163
|
decimal_units:
|
163
|
-
format:
|
164
|
+
format: "%n %u"
|
164
165
|
units:
|
165
166
|
billion: 十億
|
166
167
|
million: 百萬
|
@@ -174,7 +175,7 @@ zh-YUE:
|
|
174
175
|
significant: false
|
175
176
|
strip_insignificant_zeros: false
|
176
177
|
storage_units:
|
177
|
-
format:
|
178
|
+
format: "%n %u"
|
178
179
|
units:
|
179
180
|
byte:
|
180
181
|
one: Byte
|
@@ -186,7 +187,7 @@ zh-YUE:
|
|
186
187
|
percentage:
|
187
188
|
format:
|
188
189
|
delimiter: ''
|
189
|
-
format:
|
190
|
+
format: "%n%"
|
190
191
|
precision:
|
191
192
|
format:
|
192
193
|
delimiter: ''
|
@@ -194,11 +195,11 @@ zh-YUE:
|
|
194
195
|
array:
|
195
196
|
last_word_connector: 同
|
196
197
|
two_words_connector: 同
|
197
|
-
words_connector: 、
|
198
|
+
words_connector: "、"
|
198
199
|
time:
|
199
200
|
am: 上晝
|
200
201
|
formats:
|
201
|
-
default:
|
202
|
-
long:
|
203
|
-
short:
|
202
|
+
default: "%Y年%b%d號 %A %H:%M:%S %Z"
|
203
|
+
long: "%Y年%b%d號 %H:%M"
|
204
|
+
short: "%b%d號 %H:%M"
|
204
205
|
pm: 下晝
|
data/rails/pluralization/ar.rb
CHANGED
data/rails/pluralization/br.rb
CHANGED
data/rails/pluralization/gv.rb
CHANGED
data/rails/pluralization/hsb.rb
CHANGED
data/rails/pluralization/lag.rb
CHANGED
data/rails/pluralization/lt.rb
CHANGED
data/rails/pluralization/lv.rb
CHANGED
data/rails/pluralization/mk.rb
CHANGED
data/rails/pluralization/mt.rb
CHANGED
data/rails/pluralization/pl.rb
CHANGED
data/rails/pluralization/sl.rb
CHANGED
data/rails/transliteration/ru.rb
CHANGED
data/rails/transliteration/uk.rb
CHANGED
@@ -6,6 +6,8 @@ module RailsI18n
|
|
6
6
|
class << self
|
7
7
|
def rule
|
8
8
|
lambda do |string|
|
9
|
+
next '' unless string
|
10
|
+
|
9
11
|
string.gsub(/./) do |char|
|
10
12
|
# Regexp.last_match is local to the thread and method scope
|
11
13
|
# of the method that did the pattern match.
|
@@ -91,7 +93,7 @@ module RailsI18n
|
|
91
93
|
def downcased_regexp
|
92
94
|
@downcased_regexp ||= /[а-яґєії]/
|
93
95
|
end
|
94
|
-
|
96
|
+
|
95
97
|
# apostrophe can be inside a word
|
96
98
|
def letter?(symbol)
|
97
99
|
symbol =~ letter_regexp
|
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.
|
4
|
+
version: 4.0.4
|
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:
|
11
|
+
date: 2015-02-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: i18n
|
@@ -84,9 +84,6 @@ dependencies:
|
|
84
84
|
name: i18n-tasks
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
|
-
- - "~>"
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
version: '0.3'
|
90
87
|
- - "~>"
|
91
88
|
- !ruby/object:Gem::Version
|
92
89
|
version: 0.3.6
|
@@ -94,9 +91,6 @@ dependencies:
|
|
94
91
|
prerelease: false
|
95
92
|
version_requirements: !ruby/object:Gem::Requirement
|
96
93
|
requirements:
|
97
|
-
- - "~>"
|
98
|
-
- !ruby/object:Gem::Version
|
99
|
-
version: '0.3'
|
100
94
|
- - "~>"
|
101
95
|
- !ruby/object:Gem::Version
|
102
96
|
version: 0.3.6
|
@@ -125,6 +119,7 @@ files:
|
|
125
119
|
- rails/locale/af.yml
|
126
120
|
- rails/locale/ar.yml
|
127
121
|
- rails/locale/az.yml
|
122
|
+
- rails/locale/be.yml
|
128
123
|
- rails/locale/bg.yml
|
129
124
|
- rails/locale/bn.yml
|
130
125
|
- rails/locale/bs.yml
|
@@ -205,6 +200,7 @@ files:
|
|
205
200
|
- rails/locale/th.yml
|
206
201
|
- rails/locale/tl.yml
|
207
202
|
- rails/locale/tr.yml
|
203
|
+
- rails/locale/tt.yml
|
208
204
|
- rails/locale/uk.yml
|
209
205
|
- rails/locale/ur.yml
|
210
206
|
- rails/locale/uz.yml
|
@@ -375,7 +371,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
375
371
|
version: 1.3.5
|
376
372
|
requirements: []
|
377
373
|
rubyforge_project: "[none]"
|
378
|
-
rubygems_version: 2.
|
374
|
+
rubygems_version: 2.4.1
|
379
375
|
signing_key:
|
380
376
|
specification_version: 4
|
381
377
|
summary: Common locale data and translations for Rails i18n.
|