rails-i18n 4.0.0.pre2 → 4.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +9 -9
- data/rails/locale/af.yml +2 -2
- data/rails/locale/ar.yml +2 -2
- data/rails/locale/az.yml +2 -2
- data/rails/locale/bg.yml +2 -2
- data/rails/locale/bn.yml +2 -2
- data/rails/locale/bs.yml +2 -0
- data/rails/locale/ca.yml +2 -2
- data/rails/locale/cs.yml +2 -2
- data/rails/locale/cy.yml +2 -2
- data/rails/locale/da.yml +2 -2
- data/rails/locale/de-AT.yml +2 -2
- data/rails/locale/de-CH.yml +8 -4
- data/rails/locale/de.yml +2 -2
- data/rails/locale/el.yml +2 -2
- data/rails/locale/en-AU.yml +2 -2
- data/rails/locale/en-CA.yml +6 -6
- data/rails/locale/en-GB.yml +2 -2
- data/rails/locale/en-IN.yml +2 -2
- data/rails/locale/en-NZ.yml +2 -2
- data/rails/locale/en-US.yml +211 -0
- data/rails/locale/en.yml +2 -2
- data/rails/locale/eo.yml +2 -2
- data/rails/locale/es-AR.yml +2 -2
- data/rails/locale/es-CL.yml +2 -2
- data/rails/locale/es-CO.yml +2 -2
- data/rails/locale/es-CR.yml +205 -0
- data/rails/locale/es-MX.yml +2 -2
- data/rails/locale/es-PE.yml +2 -2
- data/rails/locale/es.yml +2 -2
- data/rails/locale/et.yml +2 -2
- data/rails/locale/eu.yml +2 -2
- data/rails/locale/fa.yml +2 -2
- data/rails/locale/fr-CA.yml +2 -2
- data/rails/locale/fr-CH.yml +3 -3
- data/rails/locale/fr.yml +4 -1
- data/rails/locale/gl.yml +2 -2
- data/rails/locale/he.yml +2 -2
- data/rails/locale/hi-IN.yml +2 -2
- data/rails/locale/hi.yml +2 -2
- data/rails/locale/hr.yml +2 -2
- data/rails/locale/hu.yml +25 -25
- data/rails/locale/id.yml +2 -2
- data/rails/locale/it-CH.yml +2 -2
- data/rails/locale/it.yml +3 -3
- data/rails/locale/ja.yml +4 -4
- data/rails/locale/kn.yml +2 -2
- data/rails/locale/ko.yml +2 -2
- data/rails/locale/lo.yml +2 -2
- data/rails/locale/lt.yml +2 -2
- data/rails/locale/lv.yml +2 -2
- data/rails/locale/mk.yml +2 -2
- data/rails/locale/ms.yml +207 -0
- data/rails/locale/nb.yml +2 -2
- data/rails/locale/ne.yml +3 -3
- data/rails/locale/nl.yml +2 -2
- data/rails/locale/nn.yml +2 -2
- data/rails/locale/pl.yml +3 -3
- data/rails/locale/pt.yml +2 -2
- data/rails/locale/rm.yml +2 -2
- data/rails/locale/ro.yml +2 -2
- data/rails/locale/ru.yml +3 -3
- data/rails/locale/sk.yml +2 -2
- data/rails/locale/sl.yml +2 -2
- data/rails/locale/sr.yml +2 -2
- data/rails/locale/sv.yml +2 -2
- data/rails/locale/sw.yml +2 -2
- data/rails/locale/th.yml +2 -2
- data/rails/locale/uk.yml +2 -2
- data/rails/locale/uz.yml +2 -2
- data/rails/locale/vi.yml +3 -3
- data/rails/locale/zh-CN.yml +2 -2
- data/rails/locale/zh-HK.yml +11 -8
- data/rails/locale/zh-TW.yml +4 -5
- data/rails/transliteration/fr.yml +36 -0
- data/rails/transliteration/ro.yml +14 -0
- metadata +10 -5
data/README.md
CHANGED
@@ -9,13 +9,13 @@ Central point to collect locale data for use in Ruby on Rails.
|
|
9
9
|
|
10
10
|
Add to your Gemfile:
|
11
11
|
|
12
|
-
gem 'rails-i18n', '~> 4.0.0
|
13
|
-
gem 'rails-i18n', '~> 3.0.0
|
12
|
+
gem 'rails-i18n', '~> 4.0.0' # For 4.0.x
|
13
|
+
gem 'rails-i18n', '~> 3.0.0' # For 3.x
|
14
14
|
|
15
15
|
or run this command:
|
16
16
|
|
17
|
-
gem install rails-i18n -v '~> 4.0.0
|
18
|
-
gem install rails-i18n -v '~> 3.0.0
|
17
|
+
gem install rails-i18n -v '~> 4.0.0' # For 4.0.x
|
18
|
+
gem install rails-i18n -v '~> 3.0.0' # For 3.x
|
19
19
|
|
20
20
|
Note that your rails version must be 3.0 or higher if you want to install `rails-i18n` as a gem. For rails 2.x, install it manually as described below.
|
21
21
|
|
@@ -56,15 +56,15 @@ Available locales are:
|
|
56
56
|
|
57
57
|
Following locales are complete:
|
58
58
|
|
59
|
-
> bs, da, en, hr, is, ja, sr
|
59
|
+
> bs, da, en, hr, is, ja, sr, zh-HK
|
60
60
|
|
61
61
|
Following locales have some missing translations or pluralizations:
|
62
62
|
|
63
|
-
> af, ar, az, bg, bn, ca, cs, cy,
|
64
|
-
> es, es-419, es-AR, es-CL, es-CO, es-MX, es-PE, es-VE, et, eu, fa, fi, fr, fr-CA, fr-CH,
|
65
|
-
> he, hi, hi-IN, hu, id,
|
63
|
+
> af, ar, az, bg, bn, ca, cs, cy, de, de-AT, de-CH, el, en-AU, en-CA, en-GB, en-IE, en-IN, en-NZ, eo,
|
64
|
+
> es, es-419, es-AR, es-CL, es-CO, es-CR, es-MX, es-PE, es-VE, et, eu, fa, fi, fr, fr-CA, fr-CH,
|
65
|
+
> gl, he, hi, hi-IN, hu, id, it, it-CH, kn, ko, lo, lt, lv, mk, mn, ms, nb,
|
66
66
|
> ne, nl, nn, or, pl, pt, pt-BR, rm, ro, ru, sk, sl, sv, sw, th,
|
67
|
-
> tl, tr, uk, uz, vi, wo, zh-CN, zh-
|
67
|
+
> tl, tr, uk, uz, vi, wo, zh-CN, zh-TW
|
68
68
|
|
69
69
|
We always welcome your contributions!
|
70
70
|
|
data/rails/locale/af.yml
CHANGED
data/rails/locale/ar.yml
CHANGED
data/rails/locale/az.yml
CHANGED
data/rails/locale/bg.yml
CHANGED
data/rails/locale/bn.yml
CHANGED
@@ -9,7 +9,7 @@ bn:
|
|
9
9
|
- শুক্রবার
|
10
10
|
- শনিবার
|
11
11
|
abbr_month_names:
|
12
|
-
-
|
12
|
+
-
|
13
13
|
- জানুয়ারি
|
14
14
|
- ফেব্রুয়ারি
|
15
15
|
- মার্চ
|
@@ -35,7 +35,7 @@ bn:
|
|
35
35
|
long: ! '%e de %B de %Y'
|
36
36
|
short: ! '%e de %b'
|
37
37
|
month_names:
|
38
|
-
-
|
38
|
+
-
|
39
39
|
- জানুয়ারি
|
40
40
|
- ফেব্রুয়ারি
|
41
41
|
- মার্চ
|
data/rails/locale/bs.yml
CHANGED
data/rails/locale/ca.yml
CHANGED
data/rails/locale/cs.yml
CHANGED
data/rails/locale/cy.yml
CHANGED
data/rails/locale/da.yml
CHANGED
data/rails/locale/de-AT.yml
CHANGED
data/rails/locale/de-CH.yml
CHANGED
@@ -9,7 +9,7 @@ de-CH:
|
|
9
9
|
- Fr
|
10
10
|
- Sa
|
11
11
|
abbr_month_names:
|
12
|
-
-
|
12
|
+
-
|
13
13
|
- Jan
|
14
14
|
- Feb
|
15
15
|
- Mär
|
@@ -35,7 +35,7 @@ de-CH:
|
|
35
35
|
long: ! '%e. %B %Y'
|
36
36
|
short: ! '%e. %b'
|
37
37
|
month_names:
|
38
|
-
-
|
38
|
+
-
|
39
39
|
- Januar
|
40
40
|
- Februar
|
41
41
|
- März
|
@@ -154,12 +154,16 @@ de-CH:
|
|
154
154
|
billion:
|
155
155
|
one: Milliarde
|
156
156
|
other: Milliarden
|
157
|
-
million:
|
157
|
+
million:
|
158
|
+
one: Million
|
159
|
+
other: Millionen
|
158
160
|
quadrillion:
|
159
161
|
one: Billiarde
|
160
162
|
other: Billiarden
|
161
163
|
thousand: Tausend
|
162
|
-
trillion:
|
164
|
+
trillion:
|
165
|
+
one: Billion
|
166
|
+
other: Billionen
|
163
167
|
unit: ''
|
164
168
|
format:
|
165
169
|
delimiter: ''
|
data/rails/locale/de.yml
CHANGED
data/rails/locale/el.yml
CHANGED
data/rails/locale/en-AU.yml
CHANGED
data/rails/locale/en-CA.yml
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
# - Patrick CHEW - https://github.com/pchew-change (pchew@change.org)
|
5
5
|
# date/time notations based primarily on :
|
6
6
|
# http://en.wikipedia.org/wiki/Date_and_time_notation_in_Canada
|
7
|
-
# basing on the assumption that Anglophone Canada patterns after en-US
|
7
|
+
# basing on the assumption that Anglophone Canada patterns after en-US
|
8
8
|
# Corrected by [name] : [references]
|
9
9
|
|
10
10
|
en-CA:
|
@@ -18,7 +18,7 @@ en-CA:
|
|
18
18
|
- Fri
|
19
19
|
- Sat
|
20
20
|
abbr_month_names:
|
21
|
-
-
|
21
|
+
-
|
22
22
|
- Jan
|
23
23
|
- Feb
|
24
24
|
- Mar
|
@@ -44,7 +44,7 @@ en-CA:
|
|
44
44
|
long: ! '%B %d, %Y'
|
45
45
|
short: ! '%d %b'
|
46
46
|
month_names:
|
47
|
-
-
|
47
|
+
-
|
48
48
|
- January
|
49
49
|
- February
|
50
50
|
- March
|
@@ -201,9 +201,9 @@ en-CA:
|
|
201
201
|
time:
|
202
202
|
am: am
|
203
203
|
formats:
|
204
|
-
default: ! '%a, %d %b %Y %
|
205
|
-
long: ! '%B %d, %Y %
|
206
|
-
short: ! '%d %b %
|
204
|
+
default: ! '%a, %d %b %Y %I:%M:%S %p %Z'
|
205
|
+
long: ! '%B %d, %Y %I:%M %p'
|
206
|
+
short: ! '%d %b %I:%M %p'
|
207
207
|
pm: pm
|
208
208
|
# remove these aliases after 'activemodel' and 'activerecord' namespaces are removed from Rails repository
|
209
209
|
activemodel:
|
data/rails/locale/en-GB.yml
CHANGED
data/rails/locale/en-IN.yml
CHANGED
data/rails/locale/en-NZ.yml
CHANGED
@@ -0,0 +1,211 @@
|
|
1
|
+
en-US:
|
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: ! '%m-%d-%Y'
|
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
|
+
- :month
|
53
|
+
- :day
|
54
|
+
- :year
|
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
|
+
present: must be blank
|
104
|
+
confirmation: ! "doesn't match %{attribute}"
|
105
|
+
empty: can't be empty
|
106
|
+
equal_to: must be equal to %{count}
|
107
|
+
even: must be even
|
108
|
+
exclusion: is reserved
|
109
|
+
greater_than: must be greater than %{count}
|
110
|
+
greater_than_or_equal_to: must be greater than or equal to %{count}
|
111
|
+
inclusion: is not included in the list
|
112
|
+
invalid: is invalid
|
113
|
+
less_than: must be less than %{count}
|
114
|
+
less_than_or_equal_to: must be less than or equal to %{count}
|
115
|
+
not_a_number: is not a number
|
116
|
+
not_an_integer: must be an integer
|
117
|
+
odd: must be odd
|
118
|
+
record_invalid: ! 'Validation failed: %{errors}'
|
119
|
+
restrict_dependent_destroy:
|
120
|
+
one: "Cannot delete record because a dependent %{record} exists"
|
121
|
+
many: "Cannot delete record because dependent %{record} exist"
|
122
|
+
taken: has already been taken
|
123
|
+
too_long:
|
124
|
+
one: is too long (maximum is 1 character)
|
125
|
+
other: is too long (maximum is %{count} characters)
|
126
|
+
too_short:
|
127
|
+
one: is too short (minimum is 1 character)
|
128
|
+
other: is too short (minimum is %{count} characters)
|
129
|
+
wrong_length:
|
130
|
+
one: is the wrong length (should be 1 character)
|
131
|
+
other: is the wrong length (should be %{count} characters)
|
132
|
+
other_than: "must be other than %{count}"
|
133
|
+
template:
|
134
|
+
body: ! 'There were problems with the following fields:'
|
135
|
+
header:
|
136
|
+
one: 1 error prohibited this %{model} from being saved
|
137
|
+
other: ! '%{count} errors prohibited this %{model} from being saved'
|
138
|
+
helpers:
|
139
|
+
select:
|
140
|
+
prompt: Please select
|
141
|
+
submit:
|
142
|
+
create: Create %{model}
|
143
|
+
submit: Save %{model}
|
144
|
+
update: 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: $
|
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: Billion
|
166
|
+
million: Million
|
167
|
+
quadrillion: Quadrillion
|
168
|
+
thousand: Thousand
|
169
|
+
trillion: Trillion
|
170
|
+
unit: ''
|
171
|
+
format:
|
172
|
+
delimiter: ''
|
173
|
+
precision: 3
|
174
|
+
significant: true
|
175
|
+
strip_insignificant_zeros: true
|
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: ! ', and '
|
196
|
+
two_words_connector: ! ' and '
|
197
|
+
words_connector: ! ', '
|
198
|
+
time:
|
199
|
+
am: am
|
200
|
+
formats:
|
201
|
+
default: ! '%a, %d %b %Y %I:%M:%S %p %Z'
|
202
|
+
long: ! '%B %d, %Y %I:%M %p'
|
203
|
+
short: ! '%d %b %I:%M %p'
|
204
|
+
pm: 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
|