rails-i18n 3.0.1 → 4.0.0.pre
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +0 -33
- data/README.md +17 -15
- 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 +0 -2
- 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 +4 -8
- data/rails/locale/de.yml +4 -4
- 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.yml +8 -3
- data/rails/locale/eo.yml +2 -2
- data/rails/locale/es-AR.yml +4 -4
- data/rails/locale/es-CL.yml +2 -2
- data/rails/locale/es-CO.yml +2 -2
- 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/fi.yml +2 -2
- data/rails/locale/fr-CA.yml +2 -2
- data/rails/locale/fr-CH.yml +3 -3
- data/rails/locale/fr.yml +136 -129
- 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 +10 -5
- 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-BR.yml +7 -2
- data/rails/locale/pt.yml +2 -2
- data/rails/locale/rm.yml +2 -2
- data/rails/locale/ro.yml +6 -6
- data/rails/locale/ru.yml +8 -8
- 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 +4 -4
- 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 +3 -9
- data/rails/locale/zh-TW.yml +5 -3
- metadata +28 -29
- checksums.yaml +0 -7
- data/rails/locale/en-IE.yml +0 -205
- data/rails/locale/en-US.yml +0 -205
- data/rails/locale/es-CR.yml +0 -205
- data/rails/transliteration/de.yml +0 -11
- data/rails/transliteration/fr.yml +0 -36
- data/rails/transliteration/ro.yml +0 -14
data/CHANGELOG.md
CHANGED
@@ -1,36 +1,3 @@
|
|
1
|
-
## 3.0.1 (2014-03-23)
|
2
|
-
- Fix Russian translation (ru)
|
3
|
-
|
4
|
-
## 3.0.0 (2013-10-05)
|
5
|
-
- Fix currency separator and delimiters for es-AR, fi, ro and sv
|
6
|
-
- Fix 'errors.messages.too_(long|short)' for German (de)
|
7
|
-
- Add transliteration rules for German (de)
|
8
|
-
- Add English/Ireland (en-IE)
|
9
|
-
- Add missing keys to Icelandic (is)
|
10
|
-
- Add missing keys to Danish (da)
|
11
|
-
- Fix a grammar error for Bulgarian (bg)
|
12
|
-
- Order keys of French (fr) locale alphabetically
|
13
|
-
- Singularize Millionen, Billionen for German/Switzerland (de-CH)
|
14
|
-
- Fix date format for Italian (it)
|
15
|
-
- Add transliteration rules for French (fr)
|
16
|
-
- Add Spanish/Costa Rica (es-CR)
|
17
|
-
- Remove trailing spaces for many languages
|
18
|
-
- Fix abbr_month_names and month_names for Catalan (ca)
|
19
|
-
- Reintroduce English/US (en-US)
|
20
|
-
- Add transliteration rules for Romanian (ro)
|
21
|
-
- Fix abbr_day_names and abbr_month_names for French (fr)
|
22
|
-
- Fix 'storage_units.units.byte' key for Chinese/Taiwan (zh-TW)
|
23
|
-
- Use 12-hour clock for :en-US and :en-CA
|
24
|
-
- Fix 'date.formats.default' key in en-US locale
|
25
|
-
- Fix some translations for Chinese/Hong Kong (zh-HK)
|
26
|
-
- Fix translations for less_than_x_{minutes,seconds} for Japanese (ja)
|
27
|
-
- Fix 'datetime.distance_in_words' keys for Hungarian (hu)
|
28
|
-
- Fix the currency unit for Polish (pl)
|
29
|
-
- Fix the currency unit for French/Switzerland (fr-CH)
|
30
|
-
|
31
|
-
## 3.0.0-pre (2013-07-04)
|
32
|
-
- Create separate gems for Rails 3.x
|
33
|
-
|
34
1
|
## 0.7.4 (2013-07-04)
|
35
2
|
- Add Odiya language (or)
|
36
3
|
- Revert several translations for Spanish/Colombia (es-CO)
|
data/README.md
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
Rails Locale Data Repository
|
2
|
+
============================
|
3
3
|
|
4
4
|
[![Build Status](https://secure.travis-ci.org/svenfuchs/rails-i18n.png)](http://travis-ci.org/svenfuchs/rails-i18n)
|
5
5
|
|
@@ -9,15 +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'
|
12
|
+
gem 'rails-i18n'
|
13
13
|
|
14
14
|
or run this command:
|
15
15
|
|
16
|
-
gem install rails-i18n
|
16
|
+
gem install rails-i18n
|
17
17
|
|
18
|
-
Note that your rails version must be 3.
|
19
|
-
If your Rails is version 4.0 or above, visit the [master](https://github.com/svenfuchs/rails-i18n) branch.
|
20
|
-
Developers on Rails 2.x should go to the [rails-2-3](https://github.com/svenfuchs/rails-i18n/tree/rails-2-3) branch.
|
18
|
+
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
19
|
|
22
20
|
## Configuration
|
23
21
|
|
@@ -34,28 +32,32 @@ or
|
|
34
32
|
|
35
33
|
## Manual installation
|
36
34
|
|
37
|
-
Download the locale files that are found in the directory [rails/locale](http://github.com/svenfuchs/rails-i18n/tree/
|
35
|
+
Download the locale files that are found in the directory [rails/locale](http://github.com/svenfuchs/rails-i18n/tree/master/rails/locale/) and put them into the `config/locales` directory of your Rails application.
|
38
36
|
|
39
37
|
If any translation doesn't suit well to the requirements of your application, edit them or add your own locale files.
|
40
38
|
|
41
39
|
For more information, visit [Rails Internationalization (I18n) API](http://guides.rubyonrails.org/i18n.html) on the _RailsGuides._
|
42
40
|
|
41
|
+
## Usage on Rails 2.3
|
42
|
+
|
43
|
+
Locale data whose structure is compatible with Rails 2.3 are available on the separate branch [rails-2-3](https://github.com/svenfuchs/rails-i18n/tree/rails-2-3).
|
44
|
+
|
43
45
|
## Available Locales
|
44
46
|
|
45
47
|
Available locales are:
|
46
48
|
|
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-
|
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,
|
48
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,
|
49
|
-
> he, hi, hi-IN, hr, hu, id, is, it, it-CH, ja, kn, ko, lo, lt, lv, mk, mn, nb,
|
50
|
-
> ne, nl, nn, pl, pt, pt-BR, rm, ro, ru, sk, sl, sr, sv, sw, th,
|
51
|
-
> tl, tr, uk, uz, vi, wo, zh-CN, zh-TW
|
51
|
+
> he, hi, hi-IN, hr, hu, id, is, it, it-CH, ja, kn, ko, lo, lt, lv, mk, mn, nb,
|
52
|
+
> ne, nl, nn, or, pl, pt, pt-BR, rm, ro, ru, sk, sl, sr, sv, sw, th,
|
53
|
+
> tl, tr, uk, uz, vi, wo, zh-CN, zh-HK, zh-TW
|
52
54
|
|
53
55
|
Following locales are complete:
|
54
56
|
|
55
|
-
> af, ar, az, bg, bs, ca, cs, cy, da, de, de-AT, de-CH, el, en, en-AU, en-CA, en-GB, en-
|
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, en-NZ, eo,
|
56
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,
|
57
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,
|
58
|
-
> th, tl, tr, uk, uz, vi, wo, zh-CN, zh-TW
|
60
|
+
> th, tl, tr, uk, uz, vi, wo, zh-CN, zh-HK, zh-TW
|
59
61
|
|
60
62
|
Following locales have some missing translations or pluralizations:
|
61
63
|
|
@@ -81,7 +83,7 @@ If you are not,
|
|
81
83
|
|
82
84
|
### Create or edit your locale file
|
83
85
|
|
84
|
-
* Have a look in `rails/locale/en.yml`, which
|
86
|
+
* Have a look in `rails/locale/en-US.yml`, which can be used as the base of your translation.
|
85
87
|
Note that we use `&errors_messages` and `<<: *errors_messages` to anchor and merge a part of translation data.
|
86
88
|
* Create or edit your locale file.
|
87
89
|
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,16 +154,12 @@ de-CH:
|
|
154
154
|
billion:
|
155
155
|
one: Milliarde
|
156
156
|
other: Milliarden
|
157
|
-
million:
|
158
|
-
one: Million
|
159
|
-
other: Millionen
|
157
|
+
million: Millionen
|
160
158
|
quadrillion:
|
161
159
|
one: Billiarde
|
162
160
|
other: Billiarden
|
163
161
|
thousand: Tausend
|
164
|
-
trillion:
|
165
|
-
one: Billion
|
166
|
-
other: Billionen
|
162
|
+
trillion: Billionen
|
167
163
|
unit: ''
|
168
164
|
format:
|
169
165
|
delimiter: ''
|
data/rails/locale/de.yml
CHANGED
@@ -9,7 +9,7 @@ de:
|
|
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:
|
|
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
|
@@ -116,8 +116,8 @@ de:
|
|
116
116
|
odd: muss ungerade sein
|
117
117
|
record_invalid: ! 'Gültigkeitsprüfung ist fehlgeschlagen: %{errors}'
|
118
118
|
taken: ist bereits vergeben
|
119
|
-
too_long: ist zu lang (mehr als %{count} Zeichen)
|
120
|
-
too_short: ist zu kurz (weniger als %{count} Zeichen)
|
119
|
+
too_long: ist zu lang (nicht mehr als %{count} Zeichen)
|
120
|
+
too_short: ist zu kurz (nicht weniger als %{count} Zeichen)
|
121
121
|
wrong_length: hat die falsche Länge (muss genau %{count} Zeichen haben)
|
122
122
|
template:
|
123
123
|
body: ! 'Bitte überprüfen Sie die folgenden Felder:'
|
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 %H:%M:%S %z'
|
205
|
+
long: ! '%B %d, %Y %H:%M'
|
206
|
+
short: ! '%d %b %H:%M'
|
207
207
|
pm: pm
|
208
208
|
# remove these aliases after 'activemodel' and 'activerecord' namespaces are removed from Rails repository
|
209
209
|
activemodel:
|