rails-i18n 0.7.3 → 0.7.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,17 @@
1
+ ## 0.7.4 (2013-07-04)
2
+ - Add Odiya language (or)
3
+ - Revert several translations for Spanish/Colombia (es-CO)
4
+ - Add Swiss-German (iso-639-2/gsw-CH)
5
+ - Add Chinese/Hong Kong (zh-HK)
6
+ - Fix some translations for Mongolian (mn)
7
+ - Fix some translations for Hebrew (he)
8
+ - Fix date and time formats for English/Austraria (en-AU)
9
+ - Add English/New Zealand (en-NZ)
10
+ - Fix some translations for Finnish (fi)
11
+ - Fix the case in x_seconds for Russian (ru)
12
+ - Add :many pluralization value for Polish (pl)
13
+ - Change the value of strip_insignificant_zeros to false for Norwegian (nb)
14
+
1
15
  ## 0.7.3 (2013-03-19)
2
16
  - Fix number delimiter and separator for Italian (it)
3
17
  - Fix currency delimiter and separator for Romanian (ro)
data/README.md CHANGED
@@ -46,21 +46,22 @@ Locale data whose structure is compatible with Rails 2.3 are available on the se
46
46
 
47
47
  Available locales are:
48
48
 
49
- > ar, az, bg, bn-IN, bs, ca, cs, csb, cy, da, de, de-AT, de-CH, dsb, el, en-AU, en-CA, en-GB, en-IN, en-US, eo,
50
- > es, es-AR, es-CL, es-CO, es-419, es-MX, es-PE, es-VE, et, eu, fa, fi, fr, fr-CA, fr-CH, fur, gl-ES,
51
- > gsw-CH, he, hi, hi-IN, hr, hsb, hu, id, is, it, ja, kn, ko, lo, lt, lv, mk, mn, nb,
52
- > ne, nl, nn, pl, pt-BR, pt-PT, rm, ro, ru, sk, sl, sr, scr, sv-SE, sw, th,
49
+ > af, ar, az, bg, bn, bs, ca, cs, cy, da, de, de-AT, de-CH, el, en, en-AU, en-CA, en-GB, en-IN, en-NZ, eo,
50
+ > es, es-419, es-AR, es-CL, es-CO, es-MX, es-PE, es-VE, et, eu, fa, fi, fr, fr-CA, fr-CH, gl,
51
+ > he, hi, hi-IN, hr, hu, id, is, it, it-CH, ja, kn, ko, lo, lt, lv, mk, mn, nb,or
52
+ > ne, nl, nn, pl, pt, pt-BR, rm, ro, ru, sk, sl, sr, sv, sw, th,
53
53
  > tl, tr, uk, uz, vi, wo, zh-CN, zh-TW
54
54
 
55
55
  Following locales are complete:
56
56
 
57
- > az, bg, bs, ca, csb, da, de, de-AT, de-CH, el, en-AU, en-CA, en-GB, en-IN, en-US, eo, es, es-AR, es-CL, es-CO, es-419, es-MX, es-VE, et,
58
- > eu, fa, fi, fr, fr-CA, fr-CH, fur, gsw-CH, he, hi, hi-IN, hr, hu, is, it, ja, kn, ko, lv, mk, mn, nb, ne
59
- > nl, pt-BR, pt-PT, ru, sk, sr, scr, sv-SE, sw, th, tl, uk, vi, wo, zh-CN, zh-TW
57
+ > af, ar, az, bg, bs, ca, cs, cy, da, de, de-AT, de-CH, el, en, en-AU, en-CA, en-GB, en-IN, eo,
58
+ > es, es-419, es-AR, es-CL, es-CO, es-MX, es-VE, et, eu, fa, fi, fr, fr-CA, fr-CH, he, hi, hi-IN,
59
+ > hr, hu, is, it, it-CH, ja, kn, ko, lv, mk, mn, nb, ne, nl, or, pl, pt, pt-BR, ro, ru, sk, sr, sv, sw,
60
+ > th, tl, tr, uk, uz, vi, wo, zh-CN, zh-TW
60
61
 
61
62
  Following locales have some missing translations or pluralizations:
62
63
 
63
- > ar, bn-IN, cs, cy, dsb, es-PE, gl-ES, hsb, id, lo, lt, nn, pl, rm, ro, sl
64
+ > bn, es-PE, gl, id, lo, lt, nn, rm, sl
64
65
 
65
66
  We always welcome your contributions!
66
67
 
@@ -32,8 +32,8 @@ en-AU:
32
32
  - Saturday
33
33
  formats:
34
34
  default: ! '%d-%m-%Y'
35
- long: ! '%B %d, %Y'
36
- short: ! '%b %d'
35
+ long: ! '%d %B, %Y'
36
+ short: ! '%d %b'
37
37
  month_names:
38
38
  -
39
39
  - January
@@ -193,7 +193,7 @@ en-AU:
193
193
  am: am
194
194
  formats:
195
195
  default: ! '%a, %d %b %Y %H:%M:%S %z'
196
- long: ! '%B %d, %Y %H:%M'
196
+ long: ! '%d %B, %Y %H:%M'
197
197
  short: ! '%d %b %H:%M'
198
198
  pm: pm
199
199
  # remove these aliases after 'activemodel' and 'activerecord' namespaces are removed from Rails repository
@@ -0,0 +1,205 @@
1
+ en-NZ:
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
33
+ formats:
34
+ default: ! '%d-%m-%Y'
35
+ long: ! '%d %B, %Y'
36
+ short: ! '%d %b'
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}
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: $
150
+ format:
151
+ delimiter: ! ','
152
+ precision: 3
153
+ separator: .
154
+ significant: false
155
+ strip_insignificant_zeros: false
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: ''
166
+ format:
167
+ delimiter: ''
168
+ precision: 3
169
+ significant: true
170
+ strip_insignificant_zeros: true
171
+ storage_units:
172
+ format: ! '%n %u'
173
+ units:
174
+ byte:
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: ! '%d %B, %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
203
+ activerecord:
204
+ errors:
205
+ <<: *errors
@@ -55,14 +55,14 @@ es-CO:
55
55
  datetime:
56
56
  distance_in_words:
57
57
  about_x_hours:
58
- one: hace 1 hora
59
- other: hace %{count} horas
58
+ one: cerca de 1 hora
59
+ other: cerca de %{count} horas
60
60
  about_x_months:
61
- one: hace 1 mes
62
- other: hace %{count} meses
61
+ one: cerca de 1 mes
62
+ other: cerca de %{count} meses
63
63
  about_x_years:
64
- one: hace 1 año
65
- other: hace %{count} años
64
+ one: cerca de 1 año
65
+ other: cerca de %{count} años
66
66
  almost_x_years:
67
67
  one: casi 1 año
68
68
  other: casi %{count} años
@@ -9,7 +9,7 @@ fi:
9
9
  - pe
10
10
  - la
11
11
  abbr_month_names:
12
- -
12
+ -
13
13
  - tammi
14
14
  - helmi
15
15
  - maalis
@@ -35,7 +35,7 @@ fi:
35
35
  long: ! '%A %e. %Bta %Y'
36
36
  short: ! '%e.%m.%Y'
37
37
  month_names:
38
- -
38
+ -
39
39
  - tammikuu
40
40
  - helmikuu
41
41
  - maaliskuu
@@ -89,12 +89,12 @@ fi:
89
89
  one: sekunti
90
90
  other: ! '%{count} sekuntia'
91
91
  prompts:
92
- day: Päivä
93
- hour: Tunti
94
- minute: Minuutti
95
- month: Kuukausi
96
- second: Sekunti
97
- year: Vuosi
92
+ day: päivä
93
+ hour: tunti
94
+ minute: minuutti
95
+ month: kuukausi
96
+ second: sekunti
97
+ year: vuosi
98
98
  errors: &errors
99
99
  format: ! '%{attribute} %{message}'
100
100
  messages:
@@ -112,7 +112,7 @@ fi:
112
112
  less_than: täytyy olla pienempi kuin %{count}
113
113
  less_than_or_equal_to: täytyy olla pienempi tai yhtä suuri kuin %{count}
114
114
  not_a_number: ei ole luku
115
- not_an_integer: on kokonaisluku
115
+ not_an_integer: ei ole kokonaisluku
116
116
  odd: täytyy olla pariton
117
117
  record_invalid: ! 'Validointi epäonnistui: %{errors}'
118
118
  taken: on jo käytössä
@@ -151,11 +151,11 @@ fi:
151
151
  decimal_units:
152
152
  format: ! '%n %u'
153
153
  units:
154
- billion: Miljardia
155
- million: Euroa
156
- quadrillion: Kvadriljoona
157
- thousand: Tuhatta
158
- trillion: Biljoona
154
+ thousand: tuhatta
155
+ million: miljoonaa
156
+ billion: miljardia
157
+ trillion: biljoonaa
158
+ quadrillion: tuhatta biljoonaa
159
159
  unit: ''
160
160
  format:
161
161
  delimiter: ''
@@ -118,9 +118,9 @@ he:
118
118
  odd: חייב להיות אי זוגי
119
119
  record_invalid: ! 'האימות נכשל: %{errors}'
120
120
  taken: כבר בשימוש
121
- too_long: יותר מדי ארוך (לא יותר מ- %{count} תוים)
122
- too_short: יותר מדי קצר (לא יותר מ- %{count} תוים)
123
- wrong_length: לא באורך הנכון (חייב להיות %{count} תוים)
121
+ too_long: "יותר מדי ארוך (לא יותר מ- %{count} תווים)"
122
+ too_short: "יותר מדי קצר (לא פחות מ- %{count} תווים)"
123
+ wrong_length: "לא באורך הנכון (חייב להיות %{count} תווים)"
124
124
  template:
125
125
  body: ! 'אנא בדוק את השדות הבאים:'
126
126
  header:
@@ -117,11 +117,11 @@ mn:
117
117
  record_invalid: ! 'Шалгалт амжилтгүй: %{errors}'
118
118
  taken: аль хэдийн авчихсан байна
119
119
  too_long:
120
- one: хэт урт байна (хамгийн уртдаа 1 тэмдэгт)
121
- other: хэт урт байна (хамгийн уртдаа %{count} тэмдэгт)
120
+ one: урт байна (хамгийн уртдаа 1 тэмдэгт)
121
+ other: урт байна (хамгийн уртдаа %{count} тэмдэгт)
122
122
  too_short:
123
- one: хэт богино байна (хамгийн багадаа 1 тэмдэгт)
124
- other: хэт богино байна (хамгийн багадаа %{count} тэмдэгт)
123
+ one: богино байна (хамгийн багадаа 1 тэмдэгт)
124
+ other: богино байна (хамгийн багадаа %{count} тэмдэгт)
125
125
  wrong_length:
126
126
  one: урт нь буруу байна (1 тэмдэгт байх ёстой)
127
127
  other: урт нь буруу байна (%{count} тэмдэгт байх ёстой)
@@ -134,9 +134,9 @@ mn:
134
134
  select:
135
135
  prompt: Сонгоно уу
136
136
  submit:
137
- create: ! '%{model}-г үүсгэх'
138
- submit: ! '%{model}-г хадгалах'
139
- update: ! '%{model}-г шинэчлэх'
137
+ create: ! 'Үүсгэх'
138
+ submit: ! 'Хадгалах'
139
+ update: ! 'Шинэчлэх'
140
140
  number:
141
141
  currency:
142
142
  format:
@@ -139,7 +139,7 @@ nb:
139
139
  precision: 2
140
140
  separator: ! ','
141
141
  significant: false
142
- strip_insignificant_zeros: true
142
+ strip_insignificant_zeros: false
143
143
  unit: kr
144
144
  format:
145
145
  delimiter: ! ' '
@@ -0,0 +1,199 @@
1
+ or:
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: ! '%Y-%m-%d'
35
+ long: ! '%B %d, %Y'
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: ପାଖାପାଖି 1 ଘଣ୍ତ
59
+ other: ପାଖାପାଖି %{count} ଘଣ୍ତ
60
+ about_x_months:
61
+ one: ପାଖାପାଖି 1 ମାସ
62
+ other: ପାଖାପାଖି %{count} ମାସ
63
+ about_x_years:
64
+ one: ପାଖାପାଖି 1 year
65
+ other: ପାଖାପାଖି %{count} years
66
+ almost_x_years:
67
+ one: ଅଳ୍ପ ଉଣ 1 ବର୍ଷ
68
+ other: ଅଳ୍ପ ଉଣ %{count} ବର୍ଷ
69
+ half_a_minute: ଦେଢ ମିନଟ୍
70
+ less_than_x_minutes:
71
+ one: 1 ମିନଟ ବାକ
72
+ other: ! '%{count} ମିନଟ ବାକ'
73
+ less_than_x_seconds:
74
+ one: 1 ସେକଣ୍ଢ ବାକ
75
+ other: ! '%{count} ସେକଣ୍ଢ ବାକ'
76
+ over_x_years:
77
+ one: 1 ବର୍ଷରୁ ଅଧିକ
78
+ other: ! '%{count} ବର୍ଷରୁ ଅଧିକ'
79
+ x_days:
80
+ one: 1 ଦିନ
81
+ other: ! '%{count} ଦିନ'
82
+ x_minutes:
83
+ one: 1 ମିନଟ
84
+ other: ! '%{count} ମିନଟ'
85
+ x_months:
86
+ one: 1 ମାସ
87
+ other: ! '%{count} ମାସ'
88
+ x_seconds:
89
+ one: 1 ସେକଣ୍ଢ
90
+ other: ! '%{count} ସେକଣ୍ଢ'
91
+ prompts:
92
+ day: ଦିନ
93
+ hour: ଘଣ୍ତ
94
+ minute: ମିନଟ
95
+ month: ମାସ
96
+ second: ସେକଣ୍ଢ
97
+ year: ବର୍ଷ
98
+ errors: &errors
99
+ format: ! '%{attribute} %{message}'
100
+ messages:
101
+ accepted: ଗ୍ରହଣ କରିବାର ଅଛି
102
+ blank: ଖାଲି ହେଇ ପାରୀବନ
103
+ confirmation: ପ୍ରମାଣ ହେଇନି
104
+ empty: ଖାଲି ହେଇପାରିବନି
105
+ equal_to: ! '%{count} କୁ ସମାନ'
106
+ even: ଯୁଗ୍ମ ହେବାର ଅଛି
107
+ exclusion: ସୁରଖିତ ଅଟେ
108
+ greater_than: ! '%{count} ରୁ ବଡ ହେବାର ଅଛି'
109
+ greater_than_or_equal_to: ! '%{count} ରୁ ବଡ କିମ୍ବା ସମାନ ହେବାର ଅଛି'
110
+ inclusion: ସୁଚୀ ରେ ଅନ୍ତର୍ଭୁକ୍ତ ନୁହେଁ
111
+ invalid: ଠିକ୍ ନୁହେଁ
112
+ less_than: ! '%{count} ରୁ ଛୋଟ'
113
+ less_than_or_equal_to: ! '%{count} ରୁ ଛୋଟ କିମ୍ବା ସମାନ ହେବାର ଅଛି'
114
+ not_a_number: ସଂଖ୍ଯ ନୁହେଁ
115
+ not_an_integer: ଗଣନ ସଂଖ୍ଯା ହେବାର ଅଛି
116
+ odd: ଅଯୁଗ୍ମ ହେବାର ଅଛି
117
+ record_invalid: ! 'ସଠିକ୍ ନୁହ: %{errors}'
118
+ taken: ଗ୍ରହଣ କରା ଯାଇଛି
119
+ too_long: ଦିର୍ଘତମ ଅଟେ(ଅତ୍ୟଧୀକ %{count} ଅଖ୍ଯର)
120
+ too_short: ଅତି ସଂଖିପ୍ତ ଅଟେ (ଅତ୍ଯଳ୍ପ %{count} ଅଖ୍ଯର ଅଟେ)
121
+ wrong_length: ଲମ୍ବା ଭୁଲ ଅଟେ (%{count} ଅଖ୍ଯର ହେବା ଉଚିତ୍)
122
+ template:
123
+ body: ! 'ନିମ୍ନ ଜାଗା ରେ ଅସୁବିଧା ହେଇଛି:'
124
+ header:
125
+ one: ! '1 ଭୁଲ ଯଗୁଁ ନିମ୍ନ %{model} ସୁରଖିତ ହେଇପାରି ନଥିଲା'
126
+ other: ! '%{count} ଭୁଲ ଯଗୁଁ ଏହି %{model} ସୁରଖିତ ହେଇପାରି ନଥିଲା'
127
+ helpers:
128
+ select:
129
+ prompt: ପସନ୍ଦ କର
130
+ submit:
131
+ create: ! '%{model} ବନାଅ'
132
+ submit: ! '%{model} ସୁରଖିତ କର'
133
+ update: ! '%{model} ଅାଧୂନିକରଣ କର'
134
+ number:
135
+ currency:
136
+ format:
137
+ delimiter: ! ','
138
+ format: ! '%u%n'
139
+ precision: 2
140
+ separator: .
141
+ significant: false
142
+ strip_insignificant_zeros: false
143
+ unit: ₹
144
+ format:
145
+ delimiter: ! ','
146
+ precision: 3
147
+ separator: .
148
+ significant: ମିଥ୍ଯା
149
+ strip_insignificant_zeros: ମିଥ୍ଯା
150
+ human:
151
+ decimal_units:
152
+ format: ! '%n %u'
153
+ units:
154
+ billion: ବିଲିୟନ୍
155
+ million: ମିଲିୟନ୍
156
+ quadrillion: ହଜାର ବିଲିୟନ୍
157
+ thousand: ହଜାର
158
+ trillion: ଟ୍ରିଲିୟନ୍
159
+ unit: ''
160
+ format:
161
+ delimiter: ''
162
+ precision: 3
163
+ significant: true
164
+ strip_insignificant_zeros: true
165
+ storage_units:
166
+ format: ! '%n %u'
167
+ units:
168
+ byte:
169
+ one: Byte
170
+ other: Bytes
171
+ gb: GB
172
+ kb: KB
173
+ mb: MB
174
+ tb: TB
175
+ percentage:
176
+ format:
177
+ delimiter: ''
178
+ precision:
179
+ format:
180
+ delimiter: ''
181
+ support:
182
+ array:
183
+ last_word_connector: ! ', ଏବଂ '
184
+ two_words_connector: ! ' ଏବଂ '
185
+ words_connector: ! ', '
186
+ time:
187
+ am: ପୁର୍ଵାହ୍ନ
188
+ formats:
189
+ default: ! '%a, %d %b %Y %H:%M:%S %z'
190
+ long: ! '%B %d, %Y %H:%M'
191
+ short: ! '%d %b %H:%M'
192
+ pm: ଅପରାହ୍ନ
193
+ # remove these aliases after 'activemodel' and 'activerecord' namespaces are removed from Rails repository
194
+ activemodel:
195
+ errors:
196
+ <<: *errors
197
+ activerecord:
198
+ errors:
199
+ <<: *errors
@@ -147,6 +147,7 @@ pl:
147
147
  one: ! '%{model} nie został zachowany z powodu jednego błędu'
148
148
  few: ! '%{model} nie został zachowany z powodu %{count} błędów'
149
149
  other: ! '%{model} nie został zachowany z powodu %{count} błędów'
150
+ many: ! '%{model} nie został zachowany z powodu %{count} błędów'
150
151
  helpers:
151
152
  select:
152
153
  prompt: Proszę wybrać
@@ -108,7 +108,7 @@ ru:
108
108
  x_seconds:
109
109
  few: ! '%{count} секунды'
110
110
  many: ! '%{count} секунд'
111
- one: ! '%{count} секунда'
111
+ one: ! '%{count} секундy'
112
112
  other: ! '%{count} секунды'
113
113
  prompts:
114
114
  day: День
@@ -0,0 +1,199 @@
1
+ zh-HK:
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
+ confirmation: ! '%{attribute}唔夾'
104
+ empty: ! '%{attribute}唔可以漏空'
105
+ equal_to: ! '%{attribute}要係%{count}'
106
+ even: ! '%{attribute}要係雙數'
107
+ exclusion: ! '%{attribute}唔用得'
108
+ greater_than: ! '%{attribute}要大過%{count}'
109
+ greater_than_or_equal_to: ! '%{attribute}要大過或者等於%{count}'
110
+ inclusion: ! '%{attribute}唔喺表入面'
111
+ invalid: ! '%{attribute}無效'
112
+ less_than: ! '%{attribute}要細過%{count}'
113
+ less_than_or_equal_to: ! '%{attribute}要細過或者等於%{count}'
114
+ not_a_number: ! '%{attribute}唔係一個數'
115
+ not_an_integer: ! '%{attribute}要係整數'
116
+ odd: ! '%{attribute}要係單數'
117
+ record_invalid: ! '%{attribute}有問題︰%{errors}'
118
+ taken: ! '%{attribute}已經用過'
119
+ too_long: ! '%{attribute}太長(最多%{count}個字)'
120
+ too_short: ! '%{attribute}太短(最少%{count}個字)'
121
+ wrong_length: ! '%{attribute}唔啱字數(要係%{count}個字)'
122
+ template:
123
+ body: 呢啲有問題︰
124
+ header:
125
+ one: 有一個問題,%{model}儲存唔到。
126
+ other: 有%{count}個問題,%{model}儲存唔到。
127
+ helpers:
128
+ select:
129
+ prompt: 喺度揀
130
+ submit:
131
+ create: 新嘅%{model}
132
+ submit: 儲存%{model}
133
+ update: 更新%{model}
134
+ number:
135
+ currency:
136
+ format:
137
+ delimiter: ! ','
138
+ format: ! '%u %n'
139
+ precision: 2
140
+ separator: .
141
+ significant: false
142
+ strip_insignificant_zeros: false
143
+ unit: HK$
144
+ format:
145
+ delimiter: ! ','
146
+ precision: 3
147
+ separator: .
148
+ significant: false
149
+ strip_insignificant_zeros: false
150
+ human:
151
+ decimal_units:
152
+ format: ! '%n %u'
153
+ units:
154
+ billion: 十億
155
+ million: 百萬
156
+ quadrillion: 千兆
157
+ thousand: 千
158
+ trillion: 兆
159
+ unit: ''
160
+ format:
161
+ delimiter: ''
162
+ precision: 1
163
+ significant: false
164
+ strip_insignificant_zeros: false
165
+ storage_units:
166
+ format: ! '%n %u'
167
+ units:
168
+ byte:
169
+ one: Byte
170
+ other: Bytes
171
+ gb: GB
172
+ kb: KB
173
+ mb: MB
174
+ tb: TB
175
+ percentage:
176
+ format:
177
+ delimiter: ''
178
+ precision:
179
+ format:
180
+ delimiter: ''
181
+ support:
182
+ array:
183
+ last_word_connector: 同
184
+ two_words_connector: 同
185
+ words_connector: 、
186
+ time:
187
+ am: 上晝
188
+ formats:
189
+ default: ! '%Y年%b%d號 %A %H:%M:%S %Z'
190
+ long: ! '%Y年%b%d號 %H:%M'
191
+ short: ! '%b%d號 %H:%M'
192
+ pm: 下晝
193
+ # remove these aliases after 'activemodel' and 'activerecord' namespaces are removed from Rails repository
194
+ activemodel:
195
+ errors:
196
+ <<: *errors
197
+ activerecord:
198
+ errors:
199
+ <<: *errors
@@ -0,0 +1,3 @@
1
+ require 'rails_i18n/common_pluralizations/one_other'
2
+
3
+ ::RailsI18n::Pluralization::OneOther.with_locale(:'en-NZ')
@@ -0,0 +1,3 @@
1
+ require 'rails_i18n/common_pluralizations/one_with_zero_other'
2
+
3
+ ::RailsI18n::Pluralization::OneWithZeroOther.with_locale(:or)
@@ -0,0 +1,3 @@
1
+ require 'rails_i18n/common_pluralizations/other'
2
+
3
+ ::RailsI18n::Pluralization::Other.with_locale(:'zh-HK')
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails-i18n
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.3
4
+ version: 0.7.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-03-19 00:00:00.000000000 Z
12
+ date: 2013-07-04 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: i18n
@@ -110,6 +110,7 @@ files:
110
110
  - lib/rails_i18n/common_pluralizations/other.rb
111
111
  - lib/rails_i18n.rb
112
112
  - lib/rails-i18n.rb
113
+ - rails/locale/en-NZ.yml
113
114
  - rails/locale/wo.yml
114
115
  - rails/locale/cs.yml
115
116
  - rails/locale/sr.yml
@@ -148,6 +149,7 @@ files:
148
149
  - rails/locale/lv.yml
149
150
  - rails/locale/mk.yml
150
151
  - rails/locale/es-PE.yml
152
+ - rails/locale/or.yml
151
153
  - rails/locale/ja.yml
152
154
  - rails/locale/es.yml
153
155
  - rails/locale/bg.yml
@@ -160,6 +162,7 @@ files:
160
162
  - rails/locale/sv.yml
161
163
  - rails/locale/sk.yml
162
164
  - rails/locale/af.yml
165
+ - rails/locale/zh-HK.yml
163
166
  - rails/locale/et.yml
164
167
  - rails/locale/fr.yml
165
168
  - rails/locale/de.yml
@@ -221,6 +224,7 @@ files:
221
224
  - rails/pluralization/pl.rb
222
225
  - rails/pluralization/ar.rb
223
226
  - rails/pluralization/ii.rb
227
+ - rails/pluralization/or.rb
224
228
  - rails/pluralization/root.rb
225
229
  - rails/pluralization/nb.rb
226
230
  - rails/pluralization/mn.rb
@@ -240,6 +244,7 @@ files:
240
244
  - rails/pluralization/zh-TW.rb
241
245
  - rails/pluralization/kea.rb
242
246
  - rails/pluralization/iu.rb
247
+ - rails/pluralization/en-NZ.rb
243
248
  - rails/pluralization/sl.rb
244
249
  - rails/pluralization/sh.rb
245
250
  - rails/pluralization/mt.rb
@@ -248,6 +253,7 @@ files:
248
253
  - rails/pluralization/ka.rb
249
254
  - rails/pluralization/cs.rb
250
255
  - rails/pluralization/ro.rb
256
+ - rails/pluralization/zh-HK.rb
251
257
  - rails/pluralization/vi.rb
252
258
  - rails/pluralization/kde.rb
253
259
  - rails/pluralization/uk.rb