rails-i18n 3.0.0.pre2 → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +27 -0
- data/README.md +3 -3
- 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 +3 -3
- 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-IE.yml +205 -0
- data/rails/locale/en-IN.yml +2 -2
- data/rails/locale/en-NZ.yml +2 -2
- data/rails/locale/en-US.yml +205 -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 +129 -136
- 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/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 +4 -4
- 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 +4 -4
- 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 +9 -3
- data/rails/locale/zh-TW.yml +3 -5
- data/rails/transliteration/de.yml +11 -0
- data/rails/transliteration/fr.yml +36 -0
- data/rails/transliteration/ro.yml +14 -0
- metadata +11 -5
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,30 @@
|
|
1
|
+
## 3.0.0 (2013-10-05)
|
2
|
+
- Fix currency separator and delimiters for es-AR, fi, ro and sv
|
3
|
+
- Fix 'errors.messages.too_(long|short)' for German (de)
|
4
|
+
- Add transliteration rules for German (de)
|
5
|
+
- Add English/Ireland (en-IE)
|
6
|
+
- Add missing keys to Icelandic (is)
|
7
|
+
- Add missing keys to Danish (da)
|
8
|
+
- Fix a grammar error for Bulgarian (bg)
|
9
|
+
- Order keys of French (fr) locale alphabetically
|
10
|
+
- Singularize Millionen, Billionen for German/Switzerland (de-CH)
|
11
|
+
- Fix date format for Italian (it)
|
12
|
+
- Add transliteration rules for French (fr)
|
13
|
+
- Add Spanish/Costa Rica (es-CR)
|
14
|
+
- Remove trailing spaces for many languages
|
15
|
+
- Fix abbr_month_names and month_names for Catalan (ca)
|
16
|
+
- Reintroduce English/US (en-US)
|
17
|
+
- Add transliteration rules for Romanian (ro)
|
18
|
+
- Fix abbr_day_names and abbr_month_names for French (fr)
|
19
|
+
- Fix 'storage_units.units.byte' key for Chinese/Taiwan (zh-TW)
|
20
|
+
- Use 12-hour clock for :en-US and :en-CA
|
21
|
+
- Fix 'date.formats.default' key in en-US locale
|
22
|
+
- Fix some translations for Chinese/Hong Kong (zh-HK)
|
23
|
+
- Fix translations for less_than_x_{minutes,seconds} for Japanese (ja)
|
24
|
+
- Fix 'datetime.distance_in_words' keys for Hungarian (hu)
|
25
|
+
- Fix the currency unit for Polish (pl)
|
26
|
+
- Fix the currency unit for French/Switzerland (fr-CH)
|
27
|
+
|
1
28
|
## 3.0.0-pre (2013-07-04)
|
2
29
|
- Create separate gems for Rails 3.x
|
3
30
|
|
data/README.md
CHANGED
@@ -44,7 +44,7 @@ For more information, visit [Rails Internationalization (I18n) API](http://guide
|
|
44
44
|
|
45
45
|
Available locales are:
|
46
46
|
|
47
|
-
> 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,
|
47
|
+
> af, ar, az, bg, bn, bs, ca, cs, cy, da, de, de-AT, de-CH, el, en, en-AU, en-CA, en-GB, en-IE, en-IN, en-NZ, eo,
|
48
48
|
> 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,
|
49
49
|
> he, hi, hi-IN, hr, hu, id, is, it, it-CH, ja, kn, ko, lo, lt, lv, mk, mn, nb,or
|
50
50
|
> ne, nl, nn, pl, pt, pt-BR, rm, ro, ru, sk, sl, sr, sv, sw, th,
|
@@ -52,7 +52,7 @@ Available locales are:
|
|
52
52
|
|
53
53
|
Following locales are complete:
|
54
54
|
|
55
|
-
> 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,
|
55
|
+
> af, ar, az, bg, bs, ca, cs, cy, da, de, de-AT, de-CH, el, en, en-AU, en-CA, en-GB, en-IE, en-IN, eo,
|
56
56
|
> 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,
|
57
57
|
> 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,
|
58
58
|
> th, tl, tr, uk, uz, vi, wo, zh-CN, zh-TW
|
@@ -81,7 +81,7 @@ If you are not,
|
|
81
81
|
|
82
82
|
### Create or edit your locale file
|
83
83
|
|
84
|
-
* Have a look in `rails/locale/en
|
84
|
+
* Have a look in `rails/locale/en.yml`, which should be used as the base of your translation.
|
85
85
|
Note that we use `&errors_messages` and `<<: *errors_messages` to anchor and merge a part of translation data.
|
86
86
|
* Create or edit your locale file.
|
87
87
|
Please pay attention to save your files as UTF-8.
|
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
@@ -0,0 +1,205 @@
|
|
1
|
+
en-IE:
|
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
|
+
- :day
|
53
|
+
- :month
|
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
|
+
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
|