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.
Files changed (82) hide show
  1. data/CHANGELOG.md +0 -33
  2. data/README.md +17 -15
  3. data/rails/locale/af.yml +2 -2
  4. data/rails/locale/ar.yml +2 -2
  5. data/rails/locale/az.yml +2 -2
  6. data/rails/locale/bg.yml +3 -3
  7. data/rails/locale/bn.yml +2 -2
  8. data/rails/locale/bs.yml +0 -2
  9. data/rails/locale/ca.yml +2 -2
  10. data/rails/locale/cs.yml +2 -2
  11. data/rails/locale/cy.yml +2 -2
  12. data/rails/locale/da.yml +2 -2
  13. data/rails/locale/de-AT.yml +2 -2
  14. data/rails/locale/de-CH.yml +4 -8
  15. data/rails/locale/de.yml +4 -4
  16. data/rails/locale/el.yml +2 -2
  17. data/rails/locale/en-AU.yml +2 -2
  18. data/rails/locale/en-CA.yml +6 -6
  19. data/rails/locale/en-GB.yml +2 -2
  20. data/rails/locale/en-IN.yml +2 -2
  21. data/rails/locale/en-NZ.yml +2 -2
  22. data/rails/locale/en.yml +8 -3
  23. data/rails/locale/eo.yml +2 -2
  24. data/rails/locale/es-AR.yml +4 -4
  25. data/rails/locale/es-CL.yml +2 -2
  26. data/rails/locale/es-CO.yml +2 -2
  27. data/rails/locale/es-MX.yml +2 -2
  28. data/rails/locale/es-PE.yml +2 -2
  29. data/rails/locale/es.yml +2 -2
  30. data/rails/locale/et.yml +2 -2
  31. data/rails/locale/eu.yml +2 -2
  32. data/rails/locale/fa.yml +2 -2
  33. data/rails/locale/fi.yml +2 -2
  34. data/rails/locale/fr-CA.yml +2 -2
  35. data/rails/locale/fr-CH.yml +3 -3
  36. data/rails/locale/fr.yml +136 -129
  37. data/rails/locale/gl.yml +2 -2
  38. data/rails/locale/he.yml +2 -2
  39. data/rails/locale/hi-IN.yml +2 -2
  40. data/rails/locale/hi.yml +2 -2
  41. data/rails/locale/hr.yml +2 -2
  42. data/rails/locale/hu.yml +25 -25
  43. data/rails/locale/id.yml +2 -2
  44. data/rails/locale/it-CH.yml +2 -2
  45. data/rails/locale/it.yml +3 -3
  46. data/rails/locale/ja.yml +10 -5
  47. data/rails/locale/kn.yml +2 -2
  48. data/rails/locale/ko.yml +2 -2
  49. data/rails/locale/lo.yml +2 -2
  50. data/rails/locale/lt.yml +2 -2
  51. data/rails/locale/lv.yml +2 -2
  52. data/rails/locale/mk.yml +2 -2
  53. data/rails/locale/nb.yml +2 -2
  54. data/rails/locale/ne.yml +3 -3
  55. data/rails/locale/nl.yml +2 -2
  56. data/rails/locale/nn.yml +2 -2
  57. data/rails/locale/pl.yml +3 -3
  58. data/rails/locale/pt-BR.yml +7 -2
  59. data/rails/locale/pt.yml +2 -2
  60. data/rails/locale/rm.yml +2 -2
  61. data/rails/locale/ro.yml +6 -6
  62. data/rails/locale/ru.yml +8 -8
  63. data/rails/locale/sk.yml +2 -2
  64. data/rails/locale/sl.yml +2 -2
  65. data/rails/locale/sr.yml +2 -2
  66. data/rails/locale/sv.yml +4 -4
  67. data/rails/locale/sw.yml +2 -2
  68. data/rails/locale/th.yml +2 -2
  69. data/rails/locale/uk.yml +4 -4
  70. data/rails/locale/uz.yml +2 -2
  71. data/rails/locale/vi.yml +3 -3
  72. data/rails/locale/zh-CN.yml +2 -2
  73. data/rails/locale/zh-HK.yml +3 -9
  74. data/rails/locale/zh-TW.yml +5 -3
  75. metadata +28 -29
  76. checksums.yaml +0 -7
  77. data/rails/locale/en-IE.yml +0 -205
  78. data/rails/locale/en-US.yml +0 -205
  79. data/rails/locale/es-CR.yml +0 -205
  80. data/rails/transliteration/de.yml +0 -11
  81. data/rails/transliteration/fr.yml +0 -36
  82. data/rails/transliteration/ro.yml +0 -14
@@ -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
- I18n Data Repository for Rails 3.x
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', '~> 3.0.0'
12
+ gem 'rails-i18n'
13
13
 
14
14
  or run this command:
15
15
 
16
- gem install rails-i18n --version '~> 3.0.0'
16
+ gem install rails-i18n
17
17
 
18
- Note that your rails version must be 3.x if you want to install `rails-i18n` this way.
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/rails-3-x/rails/locale/) and put them into the `config/locales` directory of your Rails application.
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-IE, en-IN, en-NZ, eo,
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,or
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-IE, en-IN, eo,
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 should be used as the base of your translation.
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.
@@ -12,7 +12,7 @@ af:
12
12
  - Vry
13
13
  - Sat
14
14
  abbr_month_names:
15
- -
15
+ -
16
16
  - Jan
17
17
  - Feb
18
18
  - Mar
@@ -38,7 +38,7 @@ af:
38
38
  long: ! '%B %d, %Y'
39
39
  short: ! '%b %d'
40
40
  month_names:
41
- -
41
+ -
42
42
  - Januarie
43
43
  - Februarie
44
44
  - Maart
@@ -9,7 +9,7 @@ ar:
9
9
  - الجمعة
10
10
  - السبت
11
11
  abbr_month_names:
12
- -
12
+ -
13
13
  - يناير
14
14
  - فبراير
15
15
  - مارس
@@ -35,7 +35,7 @@ ar:
35
35
  long: ! '%B %e, %Y'
36
36
  short: ! '%e %b'
37
37
  month_names:
38
- -
38
+ -
39
39
  - يناير
40
40
  - فبراير
41
41
  - مارس
@@ -9,7 +9,7 @@ az:
9
9
  - C.
10
10
  - Ş.
11
11
  abbr_month_names:
12
- -
12
+ -
13
13
  - Yan
14
14
  - Fev
15
15
  - Mar
@@ -35,7 +35,7 @@ az:
35
35
  long: ! '%d %B %Y'
36
36
  short: ! '%d %b'
37
37
  month_names:
38
- -
38
+ -
39
39
  - Yanvar
40
40
  - Fevral
41
41
  - Mart
@@ -9,8 +9,8 @@ bg:
9
9
  - пет
10
10
  - съб
11
11
  abbr_month_names:
12
- -
13
- - ян.
12
+ -
13
+ - яну.
14
14
  - фев.
15
15
  - март
16
16
  - апр.
@@ -35,7 +35,7 @@ bg:
35
35
  long: ! '%d %B %Y'
36
36
  short: ! '%d %b'
37
37
  month_names:
38
- -
38
+ -
39
39
  - януари
40
40
  - февруари
41
41
  - март
@@ -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
  - মার্চ
@@ -9,7 +9,6 @@ bs:
9
9
  - pet
10
10
  - sub
11
11
  abbr_month_names:
12
- -
13
12
  - jan
14
13
  - feb
15
14
  - mar
@@ -34,7 +33,6 @@ bs:
34
33
  long: ! '%e. %B %Y.'
35
34
  short: ! '%e. %b. %Y.'
36
35
  month_names:
37
- -
38
36
  - januar
39
37
  - februar
40
38
  - mart
@@ -9,7 +9,7 @@ ca:
9
9
  - Dv
10
10
  - Ds
11
11
  abbr_month_names:
12
- -
12
+ - ~,
13
13
  - Gen
14
14
  - Feb
15
15
  - Mar
@@ -35,7 +35,7 @@ ca:
35
35
  long: ! '%d de %B de %Y'
36
36
  short: ! '%d de %b'
37
37
  month_names:
38
- -
38
+ -
39
39
  - Gener
40
40
  - Febrer
41
41
  - Març
@@ -9,7 +9,7 @@ cs:
9
9
  - Pá
10
10
  - So
11
11
  abbr_month_names:
12
- -
12
+ -
13
13
  - Led
14
14
  - Úno
15
15
  - Bře
@@ -35,7 +35,7 @@ cs:
35
35
  long: ! '%d. %B %Y'
36
36
  short: ! '%d %b'
37
37
  month_names:
38
- -
38
+ -
39
39
  - Leden
40
40
  - Únor
41
41
  - Březen
@@ -9,7 +9,7 @@ cy:
9
9
  - Gwe
10
10
  - Sad
11
11
  abbr_month_names:
12
- -
12
+ -
13
13
  - Ion
14
14
  - Chw
15
15
  - Maw
@@ -35,7 +35,7 @@ cy:
35
35
  long: ! '%B %d, %Y'
36
36
  short: ! '%b %d'
37
37
  month_names:
38
- -
38
+ -
39
39
  - Ionawr
40
40
  - Chwefror
41
41
  - Mawrth
@@ -9,7 +9,7 @@ da:
9
9
  - fre
10
10
  - lør
11
11
  abbr_month_names:
12
- -
12
+ -
13
13
  - jan
14
14
  - feb
15
15
  - mar
@@ -35,7 +35,7 @@ da:
35
35
  long: ! '%e. %B %Y'
36
36
  short: ! '%e. %b %Y'
37
37
  month_names:
38
- -
38
+ -
39
39
  - januar
40
40
  - februar
41
41
  - marts
@@ -9,7 +9,7 @@ de-AT:
9
9
  - Fr
10
10
  - Sa
11
11
  abbr_month_names:
12
- -
12
+ -
13
13
  - Jän
14
14
  - Feb
15
15
  - Mär
@@ -35,7 +35,7 @@ de-AT:
35
35
  long: ! '%e. %B %Y'
36
36
  short: ! '%e. %b'
37
37
  month_names:
38
- -
38
+ -
39
39
  - Jänner
40
40
  - Februar
41
41
  - März
@@ -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: ''
@@ -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:'
@@ -9,7 +9,7 @@ el:
9
9
  - Παρ
10
10
  - Σάβ
11
11
  abbr_month_names:
12
- -
12
+ -
13
13
  - Ιαν
14
14
  - Φεβ
15
15
  - Μαρ
@@ -35,7 +35,7 @@ el:
35
35
  long: ! '%e %B %Y'
36
36
  short: ! '%d %b'
37
37
  month_names:
38
- -
38
+ -
39
39
  - Ιανουάριος
40
40
  - Φεβρουάριος
41
41
  - Μάρτιος
@@ -9,7 +9,7 @@ en-AU:
9
9
  - Fri
10
10
  - Sat
11
11
  abbr_month_names:
12
- -
12
+ -
13
13
  - Jan
14
14
  - Feb
15
15
  - Mar
@@ -35,7 +35,7 @@ en-AU:
35
35
  long: ! '%d %B, %Y'
36
36
  short: ! '%d %b'
37
37
  month_names:
38
- -
38
+ -
39
39
  - January
40
40
  - February
41
41
  - March
@@ -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 %I:%M:%S %p %Z'
205
- long: ! '%B %d, %Y %I:%M %p'
206
- short: ! '%d %b %I:%M %p'
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: