rails-i18n 4.0.9 → 5.0.0.beta1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (63) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +0 -13
  3. data/README.md +6 -4
  4. data/rails/locale/ar.yml +7 -7
  5. data/rails/locale/be.yml +4 -4
  6. data/rails/locale/bs.yml +5 -5
  7. data/rails/locale/cs.yml +4 -4
  8. data/rails/locale/da.yml +4 -4
  9. data/rails/locale/de-AT.yml +4 -4
  10. data/rails/locale/de-CH.yml +4 -4
  11. data/rails/locale/de.yml +4 -4
  12. data/rails/locale/en-US.yml +6 -4
  13. data/rails/locale/en-ZA.yml +4 -4
  14. data/rails/locale/en.yml +6 -4
  15. data/rails/locale/es-AR.yml +4 -4
  16. data/rails/locale/es-CL.yml +4 -4
  17. data/rails/locale/es-CO.yml +4 -4
  18. data/rails/locale/es-CR.yml +4 -4
  19. data/rails/locale/es-EC.yml +4 -4
  20. data/rails/locale/es-MX.yml +4 -4
  21. data/rails/locale/es-PA.yml +4 -4
  22. data/rails/locale/es-PE.yml +4 -4
  23. data/rails/locale/es-US.yml +4 -4
  24. data/rails/locale/es-VE.yml +4 -4
  25. data/rails/locale/es.yml +10 -10
  26. data/rails/locale/fr-CH.yml +4 -4
  27. data/rails/locale/fr.yml +4 -4
  28. data/rails/locale/hr.yml +4 -4
  29. data/rails/locale/id.yml +5 -5
  30. data/rails/locale/is.yml +4 -4
  31. data/rails/locale/it.yml +4 -4
  32. data/rails/locale/ja.yml +5 -3
  33. data/rails/locale/km.yml +4 -4
  34. data/rails/locale/lb.yml +2 -2
  35. data/rails/locale/lt.yml +4 -4
  36. data/rails/locale/mr-IN.yml +2 -4
  37. data/rails/locale/nb.yml +4 -4
  38. data/rails/locale/nl.yml +2 -2
  39. data/rails/locale/nn.yml +4 -4
  40. data/rails/locale/pa.yml +15 -15
  41. data/rails/locale/pl.yml +4 -4
  42. data/rails/locale/pt-BR.yml +4 -4
  43. data/rails/locale/ru.yml +3 -3
  44. data/rails/locale/sr.yml +4 -4
  45. data/rails/locale/sv.yml +4 -4
  46. data/rails/locale/ta.yml +4 -4
  47. data/rails/locale/tr.yml +4 -4
  48. data/rails/locale/tt.yml +4 -4
  49. data/rails/locale/ug.yml +4 -4
  50. data/rails/locale/ur.yml +4 -4
  51. data/rails/locale/vi.yml +4 -4
  52. data/rails/locale/zh-CN.yml +4 -5
  53. data/rails/locale/zh-HK.yml +4 -4
  54. data/rails/locale/zh-TW.yml +4 -5
  55. data/rails/locale/zh-YUE.yml +4 -4
  56. metadata +9 -16
  57. data/rails/locale/de-DE.yml +0 -210
  58. data/rails/locale/es-ES.yml +0 -204
  59. data/rails/locale/fr-FR.yml +0 -207
  60. data/rails/locale/sq.yml +0 -205
  61. data/rails/pluralization/de-DE.rb +0 -3
  62. data/rails/pluralization/es-ES.rb +0 -3
  63. data/rails/pluralization/fr-FR.rb +0 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3ef211a46854f8107b760aaecdefa31385cdcdd7
4
- data.tar.gz: a77d02a7bdd4bae72519cf26280855deec3b00f0
3
+ metadata.gz: f03d99c1a4a20a4115dd677971366556e707e453
4
+ data.tar.gz: 07f2b508b6438a0834e355f7f9a99995488f7e06
5
5
  SHA512:
6
- metadata.gz: 4770d595ece444f9a328b1146fc38468946a9f5035a4949f6f1d5704af5045eb5c7355e0bf45539abfda72239644189b31022d60a47f7eed7840ccb3777b57e3
7
- data.tar.gz: 1918d0ec6b34ee41d1ef6591b9393b70da93ca1ae2416ff7826af90b284475fea6fe46fb81eadf3c8a0b38e38585dfae548f6fe9f9eabc5e80dfff9ee815a311
6
+ metadata.gz: b8328effdcc8c7f1b317e015a6a5c381ff1faf8a2b0da48808c46bf4b282e2d2895a48ff9d1431446f90de572b7305f5e6f3c0acbdfcca5ea0a35800b14a198e
7
+ data.tar.gz: f326ee67a092caea86b3147af35ebabe089ef27d8c6d407f5d6d13dec6f111e2c07a1f615bfa80d2208ab9102bdd5180696e3a00ca4555660fd056f325bac19a
data/CHANGELOG.md CHANGED
@@ -1,16 +1,3 @@
1
- ## 4.0.9 (2016-07-05)
2
- - Update Bosnian (bs)
3
- - Update Arabic (ar)
4
- - Update Panjabi (pa)
5
- - Update German (de)
6
- - Update Spanish (es)
7
- - Update Chinese (zh-CN, zh-TW)
8
- - Add Albanian (sq)
9
-
10
- ## 4.0.8 (2015-12-24)
11
- - Add Panjabi (pa)
12
- - Update Russian (ru)
13
-
14
1
  ## 4.0.7 (2015-11-20)
15
2
  - Update Khmer (km)
16
3
  - Update Greek (el)
data/README.md CHANGED
@@ -10,6 +10,7 @@ Central point to collect locale data for use in Ruby on Rails.
10
10
 
11
11
  Add to your Gemfile:
12
12
 
13
+ gem 'rails-i18n', '~> 5.0.0.beta1' # For 5.0.0.beta1
13
14
  gem 'rails-i18n', '~> 4.0.0' # For 4.0.x
14
15
  gem 'rails-i18n', '~> 3.0.0' # For 3.x
15
16
  gem 'rails-i18n', github: 'svenfuchs/rails-i18n', branch: 'master' # For 4.x
@@ -17,6 +18,7 @@ Add to your Gemfile:
17
18
 
18
19
  or run this command:
19
20
 
21
+ gem install rails-i18n -v '~> 5.0.0.beta1' # For 5.0.0.beta1
20
22
  gem install rails-i18n -v '~> 4.0.0' # For 4.0.x
21
23
  gem install rails-i18n -v '~> 3.0.0' # For 3.x
22
24
 
@@ -51,12 +53,12 @@ Locale data whose structure is compatible with Rails 2.3 are available on the se
51
53
 
52
54
  Available locales are:
53
55
 
54
- > af, ar, az, be, bg, bn, bs, ca, cs, cy, da, de, de-AT, de-CH, de-DE, el,
56
+ > af, ar, az, be, bg, bn, bs, ca, cs, cy, da, de, de-AT, de-CH, el,
55
57
  > en, en-AU, en-CA, en-GB, en-IE, en-IN, en-NZ, en-US, en-ZA, eo, es,
56
- > es-419, es-AR, es-CL, es-CO, es-CR, es-EC, es-ES, es-MX, es-PA, es-PE, es-US, es-VE,
57
- > et, eu, fa, fi, fr, fr-CA, fr-CH, fr-FR, gl, he, hi, hi-IN, hr, hu, id, is, it,
58
+ > es-419, es-AR, es-CL, es-CO, es-CR, es-EC, es-MX, es-PA, es-PE, es-US, es-VE,
59
+ > et, eu, fa, fi, fr, fr-CA, fr-CH, gl, he, hi, hi-IN, hr, hu, id, is, it,
58
60
  > it-CH, ja, km, kn, ko, lb, lo, lt, lv, mk, mn, mr-IN, ms, nb, ne, nl, nn, or,
59
- > pa, pl, pt, pt-BR, rm, ro, ru, sk, sl, sq, sr, sv, sw, ta, th, tl, tr, tt, ug, uk,
61
+ > pa, pl, pt, pt-BR, rm, ro, ru, sk, sl, sr, sv, sw, ta, th, tl, tr, tt, ug, uk,
60
62
  > ur, uz, vi, wo, zh-CN, zh-HK, zh-TW, zh-YUE
61
63
 
62
64
  Currently, no locales are complete. Typically they lack the following keys:
data/rails/locale/ar.yml CHANGED
@@ -10,7 +10,7 @@ ar:
10
10
  - الجمعة
11
11
  - السّبت
12
12
  abbr_month_names:
13
- -
13
+ -
14
14
  - يناير/كانون الثّاني
15
15
  - فبراير/شباط
16
16
  - مارس/آذَار
@@ -33,10 +33,10 @@ ar:
33
33
  - السّبت
34
34
  formats:
35
35
  default: "%Y-%m-%d"
36
- long: "%B %e، %Y"
36
+ long: "%B %e, %Y"
37
37
  short: "%e %b"
38
38
  month_names:
39
- -
39
+ -
40
40
  - يناير/كانون الثّاني
41
41
  - فبراير/شباط
42
42
  - مارس/آذَار
@@ -162,8 +162,8 @@ ar:
162
162
  odd: يجب أن يكون عددًا فرديًّا
163
163
  record_invalid: 'فشل التحقّق من: %{errors}'
164
164
  restrict_dependent_destroy:
165
- one: لا يمكن حذف السجل لوجود سجل يعتمد عليه %{record}
166
- many: لا يمكن حذف السجل لوجود سجلات تعتمد عليه %{record}
165
+ has_one: لا يمكن حذف السجل لوجود سجل يعتمد عليه %{record}
166
+ has_many: لا يمكن حذف السجل لوجود سجلات تعتمد عليه %{record}
167
167
  taken: محجوز مُسبقًا
168
168
  too_long:
169
169
  zero: أطول من اللّازم (الحد الأقصى هو ولا حرف)
@@ -212,7 +212,7 @@ ar:
212
212
  number:
213
213
  currency:
214
214
  format:
215
- delimiter: "،"
215
+ delimiter: ","
216
216
  format: "%u%n"
217
217
  precision: 2
218
218
  separator: "."
@@ -220,7 +220,7 @@ ar:
220
220
  strip_insignificant_zeros: false
221
221
  unit: "$"
222
222
  format:
223
- delimiter: "،"
223
+ delimiter: ","
224
224
  precision: 3
225
225
  separator: "."
226
226
  significant: false
data/rails/locale/be.yml CHANGED
@@ -10,7 +10,7 @@ be:
10
10
  - Суб
11
11
  - Ндз
12
12
  abbr_month_names:
13
- -
13
+ -
14
14
  - Сту
15
15
  - Лют
16
16
  - Сак
@@ -36,7 +36,7 @@ be:
36
36
  long: "%B %d, %Y"
37
37
  short: "%b %d"
38
38
  month_names:
39
- -
39
+ -
40
40
  - Студзень
41
41
  - Люты
42
42
  - Сакавік
@@ -118,8 +118,8 @@ be:
118
118
  odd: павінна быць няцотным
119
119
  record_invalid: 'Памылкі валідацыі: %{errors}'
120
120
  restrict_dependent_destroy:
121
- one: Нельга выдаліць запіс, таму што існуе залежнасць %{record}
122
- many: Нельга выдаліць запіс, таму што існуюць залежнасці %{record}
121
+ has_one: Нельга выдаліць запіс, таму што існуе залежнасць %{record}
122
+ has_many: Нельга выдаліць запіс, таму што існуюць залежнасці %{record}
123
123
  taken: ўжо занята
124
124
  too_long:
125
125
  one: занадта доўгі (максімум 1 сімвал)
data/rails/locale/bs.yml CHANGED
@@ -10,7 +10,7 @@ bs:
10
10
  - pet
11
11
  - sub
12
12
  abbr_month_names:
13
- -
13
+ -
14
14
  - jan
15
15
  - feb
16
16
  - mar
@@ -35,7 +35,7 @@ bs:
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
  - mart
@@ -139,8 +139,8 @@ bs:
139
139
  odd: mora biti neparno
140
140
  record_invalid: 'Validacija nije uspjela: %{errors}'
141
141
  restrict_dependent_destroy:
142
- one: Nije moguće izbrisati zapis jer postoji ovisan %{record}
143
- many: Nije moguće izbrisati zapis jer postoje ovisni %{record}
142
+ has_one: Nije moguće izbrisati zapis jer postoji ovisan %{record}
143
+ has_many: Nije moguće izbrisati zapis jer postoje ovisni %{record}
144
144
  taken: je već zauzet
145
145
  too_long: je predugo (maksimalno je dozvoljeno %{count} znakova)
146
146
  too_short: je prekratko (predviđeno je minimalno %{count} znakova)
@@ -238,7 +238,7 @@ bs:
238
238
  time:
239
239
  am: ''
240
240
  formats:
241
- default: "%d.%m.%Y. %H:%M:%S"
241
+ default: "%H:%M:%S"
242
242
  long: "%d. %B %Y. - %H:%M:%S"
243
243
  short: "%d. %b %Y. %H:%M"
244
244
  pm: ''
data/rails/locale/cs.yml CHANGED
@@ -10,7 +10,7 @@ cs:
10
10
  - Pá
11
11
  - So
12
12
  abbr_month_names:
13
- -
13
+ -
14
14
  - led
15
15
  - úno
16
16
  - bře
@@ -36,7 +36,7 @@ cs:
36
36
  long: "%d. %B %Y"
37
37
  short: "%d %b"
38
38
  month_names:
39
- -
39
+ -
40
40
  - leden
41
41
  - únor
42
42
  - březen
@@ -129,8 +129,8 @@ cs:
129
129
  odd: musí být liché číslo
130
130
  record_invalid: 'Validace je neúspešná: %{errors}'
131
131
  restrict_dependent_destroy:
132
- one: Nemůžu smazat položku protože existuje závislá/ý/é %{record}
133
- many: Nemůžu smazat položku protože existuje závislé/ý %{record}
132
+ has_one: Nemůžu smazat položku protože existuje závislá/ý/é %{record}
133
+ has_many: Nemůžu smazat položku protože existuje závislé/ý %{record}
134
134
  taken: již databáze obsahuje
135
135
  too_long: je příliš dlouhý/á/é (max. %{count} znaků)
136
136
  too_short: je příliš krátký/á/é (min. %{count} znaků)
data/rails/locale/da.yml CHANGED
@@ -10,7 +10,7 @@ da:
10
10
  - fre
11
11
  - lør
12
12
  abbr_month_names:
13
- -
13
+ -
14
14
  - jan
15
15
  - feb
16
16
  - mar
@@ -36,7 +36,7 @@ da:
36
36
  long: "%e. %B %Y"
37
37
  short: "%e. %b %Y"
38
38
  month_names:
39
- -
39
+ -
40
40
  - januar
41
41
  - februar
42
42
  - marts
@@ -118,8 +118,8 @@ da:
118
118
  odd: skal være et ulige tal
119
119
  record_invalid: 'Godkendelse gik galt: %{errors}'
120
120
  restrict_dependent_destroy:
121
- one: Kunne ikke slette posten fordi en afhængig %{record} findes
122
- many: Kunne ikke slette posten fordi afhængige %{record} findes
121
+ has_one: Kunne ikke slette posten fordi en afhængig %{record} findes
122
+ has_many: Kunne ikke slette posten fordi afhængige %{record} findes
123
123
  taken: er allerede brugt
124
124
  too_long: er for lang (højest %{count} tegn)
125
125
  too_short: er for kort (mindst %{count} tegn)
@@ -10,7 +10,7 @@ de-AT:
10
10
  - Fr
11
11
  - Sa
12
12
  abbr_month_names:
13
- -
13
+ -
14
14
  - Jän
15
15
  - Feb
16
16
  - Mär
@@ -36,7 +36,7 @@ de-AT:
36
36
  long: "%e. %B %Y"
37
37
  short: "%e. %b"
38
38
  month_names:
39
- -
39
+ -
40
40
  - Jänner
41
41
  - Februar
42
42
  - März
@@ -118,9 +118,9 @@ de-AT:
118
118
  odd: muss ungerade sein
119
119
  record_invalid: 'Gültigkeitsprüfung ist fehlgeschlagen: %{errors}'
120
120
  restrict_dependent_destroy:
121
- one: Datensatz kann nicht gelöscht werden, da ein abhängiger %{record}-Datensatz
121
+ has_one: Datensatz kann nicht gelöscht werden, da ein abhängiger %{record}-Datensatz
122
122
  existiert.
123
- many: Datensatz kann nicht gelöscht werden, da abhängige %{record} existieren.
123
+ has_many: Datensatz kann nicht gelöscht werden, da abhängige %{record} existieren.
124
124
  taken: ist bereits vergeben
125
125
  too_long:
126
126
  one: ist zu lang (mehr als 1 Zeichen)
@@ -92,9 +92,9 @@ de-CH:
92
92
  prompts:
93
93
  day: Tag
94
94
  hour: Stunden
95
- minute: Minute
95
+ minute: Minuten
96
96
  month: Monat
97
- second: Sekunde
97
+ second: Sekunden
98
98
  year: Jahr
99
99
  errors:
100
100
  format: "%{attribute} %{message}"
@@ -118,9 +118,9 @@ de-CH:
118
118
  odd: muss ungerade sein
119
119
  record_invalid: 'Gültigkeitsprüfung ist fehlgeschlagen: %{errors}'
120
120
  restrict_dependent_destroy:
121
- one: Datensatz kann nicht gelöscht werden, da ein abhängiger %{record}-Datensatz
121
+ has_one: Datensatz kann nicht gelöscht werden, da ein abhängiger %{record}-Datensatz
122
122
  existiert.
123
- many: Datensatz kann nicht gelöscht werden, da abhängige %{record} existieren.
123
+ has_many: Datensatz kann nicht gelöscht werden, da abhängige %{record} existieren.
124
124
  taken: ist bereits vergeben
125
125
  too_long:
126
126
  one: ist zu lang (mehr als 1 Zeichen)
data/rails/locale/de.yml CHANGED
@@ -10,7 +10,7 @@ de:
10
10
  - Fr
11
11
  - Sa
12
12
  abbr_month_names:
13
- -
13
+ -
14
14
  - Jan
15
15
  - Feb
16
16
  - Mär
@@ -36,7 +36,7 @@ de:
36
36
  long: "%e. %B %Y"
37
37
  short: "%e. %b"
38
38
  month_names:
39
- -
39
+ -
40
40
  - Januar
41
41
  - Februar
42
42
  - März
@@ -118,9 +118,9 @@ de:
118
118
  odd: muss ungerade sein
119
119
  record_invalid: 'Gültigkeitsprüfung ist fehlgeschlagen: %{errors}'
120
120
  restrict_dependent_destroy:
121
- one: Datensatz kann nicht gelöscht werden, da ein abhängiger %{record}-Datensatz
121
+ has_one: Datensatz kann nicht gelöscht werden, da ein abhängiger %{record}-Datensatz
122
122
  existiert.
123
- many: Datensatz kann nicht gelöscht werden, da abhängige %{record} existieren.
123
+ has_many: Datensatz kann nicht gelöscht werden, da abhängige %{record} existieren.
124
124
  taken: ist bereits vergeben
125
125
  too_long:
126
126
  one: ist zu lang (mehr als 1 Zeichen)
@@ -10,7 +10,7 @@ en-US:
10
10
  - Fri
11
11
  - Sat
12
12
  abbr_month_names:
13
- -
13
+ -
14
14
  - Jan
15
15
  - Feb
16
16
  - Mar
@@ -36,7 +36,7 @@ en-US:
36
36
  long: "%B %d, %Y"
37
37
  short: "%b %d"
38
38
  month_names:
39
- -
39
+ -
40
40
  - January
41
41
  - February
42
42
  - March
@@ -113,13 +113,15 @@ en-US:
113
113
  invalid: is invalid
114
114
  less_than: must be less than %{count}
115
115
  less_than_or_equal_to: must be less than or equal to %{count}
116
+ model_invalid: "Validation failed: %{errors}"
116
117
  not_a_number: is not a number
117
118
  not_an_integer: must be an integer
118
119
  odd: must be odd
119
120
  record_invalid: 'Validation failed: %{errors}'
121
+ required: must exist
120
122
  restrict_dependent_destroy:
121
- one: Cannot delete record because a dependent %{record} exists
122
- many: Cannot delete record because dependent %{record} exist
123
+ has_one: Cannot delete record because a dependent %{record} exists
124
+ has_many: Cannot delete record because dependent %{record} exist
123
125
  taken: has already been taken
124
126
  too_long:
125
127
  one: is too long (maximum is 1 character)
@@ -10,7 +10,7 @@ en-ZA:
10
10
  - Fri
11
11
  - Sat
12
12
  abbr_month_names:
13
- -
13
+ -
14
14
  - Jan
15
15
  - Feb
16
16
  - Mar
@@ -36,7 +36,7 @@ en-ZA:
36
36
  long: "%B %d, %Y"
37
37
  short: "%b %d"
38
38
  month_names:
39
- -
39
+ -
40
40
  - January
41
41
  - February
42
42
  - March
@@ -118,8 +118,8 @@ en-ZA:
118
118
  odd: must be odd
119
119
  record_invalid: 'Validation failed: %{errors}'
120
120
  restrict_dependent_destroy:
121
- one: Cannot delete record because a dependent %{record} exists
122
- many: Cannot delete record because dependent %{record} exist
121
+ has_one: Cannot delete record because a dependent %{record} exists
122
+ has_many: Cannot delete record because dependent %{record} exist
123
123
  taken: has already been taken
124
124
  too_long:
125
125
  one: is too long (maximum is 1 character)
data/rails/locale/en.yml CHANGED
@@ -10,7 +10,7 @@ en:
10
10
  - Fri
11
11
  - Sat
12
12
  abbr_month_names:
13
- -
13
+ -
14
14
  - Jan
15
15
  - Feb
16
16
  - Mar
@@ -36,7 +36,7 @@ en:
36
36
  long: "%B %d, %Y"
37
37
  short: "%b %d"
38
38
  month_names:
39
- -
39
+ -
40
40
  - January
41
41
  - February
42
42
  - March
@@ -113,13 +113,15 @@ en:
113
113
  invalid: is invalid
114
114
  less_than: must be less than %{count}
115
115
  less_than_or_equal_to: must be less than or equal to %{count}
116
+ model_invalid: "Validation failed: %{errors}"
116
117
  not_a_number: is not a number
117
118
  not_an_integer: must be an integer
118
119
  odd: must be odd
119
120
  record_invalid: 'Validation failed: %{errors}'
121
+ required: must exist
120
122
  restrict_dependent_destroy:
121
- one: Cannot delete record because a dependent %{record} exists
122
- many: Cannot delete record because dependent %{record} exist
123
+ has_one: Cannot delete record because a dependent %{record} exists
124
+ has_many: Cannot delete record because dependent %{record} exist
123
125
  taken: has already been taken
124
126
  too_long:
125
127
  one: is too long (maximum is 1 character)
@@ -10,7 +10,7 @@ es-AR:
10
10
  - vie
11
11
  - sáb
12
12
  abbr_month_names:
13
- -
13
+ -
14
14
  - ene
15
15
  - feb
16
16
  - mar
@@ -36,7 +36,7 @@ es-AR:
36
36
  long: "%A, %d de %B de %Y"
37
37
  short: "%d de %b"
38
38
  month_names:
39
- -
39
+ -
40
40
  - enero
41
41
  - febrero
42
42
  - marzo
@@ -118,8 +118,8 @@ es-AR:
118
118
  odd: debe ser un número non
119
119
  record_invalid: 'La validación falló: %{errors}'
120
120
  restrict_dependent_destroy:
121
- one: No se puede eliminar el registro porque existe un %{record} dependiente
122
- many: No se puede eliminar el registro porque existen %{record} dependientes
121
+ has_one: No se puede eliminar el registro porque existe un %{record} dependiente
122
+ has_many: No se puede eliminar el registro porque existen %{record} dependientes
123
123
  taken: ya ha sido tomado
124
124
  too_long:
125
125
  one: es demasiado largo (máximo 1 caracter)