rails-i18n 4.0.0.pre → 4.0.0.pre2

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -9,11 +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', '~> 4.0.0.pre' # For 4.0.x
13
+ gem 'rails-i18n', '~> 3.0.0.pre' # For 3.x
13
14
 
14
15
  or run this command:
15
16
 
16
- gem install rails-i18n
17
+ gem install rails-i18n -v '~> 4.0.0.pre' # For 4.0.x
18
+ gem install rails-i18n -v '~> 3.0.0.pre' # For 3.x
17
19
 
18
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.
19
21
 
@@ -46,7 +48,7 @@ Locale data whose structure is compatible with Rails 2.3 are available on the se
46
48
 
47
49
  Available locales are:
48
50
 
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,
51
+ > 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, en-IE, eo,
50
52
  > 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,
51
53
  > he, hi, hi-IN, hr, hu, id, is, it, it-CH, ja, kn, ko, lo, lt, lv, mk, mn, nb,
52
54
  > ne, nl, nn, or, pl, pt, pt-BR, rm, ro, ru, sk, sl, sr, sv, sw, th,
@@ -54,14 +56,15 @@ Available locales are:
54
56
 
55
57
  Following locales are complete:
56
58
 
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,
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,
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,
60
- > th, tl, tr, uk, uz, vi, wo, zh-CN, zh-HK, zh-TW
59
+ > bs, da, en, hr, is, ja, sr
61
60
 
62
61
  Following locales have some missing translations or pluralizations:
63
62
 
64
- > bn, es-PE, gl, id, lo, lt, nn, rm, sl
63
+ > af, ar, az, bg, bn, ca, cs, cy, da, de, de-AT, de-CH, el, en-AU, en-CA, en-GB, en-IN, en-NZ, en-IE, eo,
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, gl,
65
+ > he, hi, hi-IN, hu, id, is, it, it-CH, kn, ko, lo, lt, lv, mk, mn, nb,
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-HK, zh-TW
65
68
 
66
69
  We always welcome your contributions!
67
70
 
@@ -83,7 +86,7 @@ If you are not,
83
86
 
84
87
  ### Create or edit your locale file
85
88
 
86
- * Have a look in `rails/locale/en-US.yml`, which can be used as the base of your translation.
89
+ * Have a look in `rails/locale/en.yml`, which should be used as the base of your translation.
87
90
  Note that we use `&errors_messages` and `<<: *errors_messages` to anchor and merge a part of translation data.
88
91
  * Create or edit your locale file.
89
92
  Please pay attention to save your files as UTF-8.
@@ -98,9 +101,10 @@ Make sure you have included all translations with:
98
101
 
99
102
  rake i18n-spec:completeness rails/locale/en.yml rails/locale/YOUR_NEW_LOCALE.yml
100
103
 
101
- You can list all complete locales:
104
+ You can list all complete and incomplete locales:
102
105
 
103
106
  thor locales:complete
107
+ thor locales:incomplete
104
108
 
105
109
  Also, you can list all available locales:
106
110
 
data/rails/locale/bg.yml CHANGED
@@ -10,7 +10,7 @@ bg:
10
10
  - съб
11
11
  abbr_month_names:
12
12
  -
13
- - яну.
13
+ - ян.
14
14
  - фев.
15
15
  - март
16
16
  - апр.
data/rails/locale/bs.yml CHANGED
@@ -119,6 +119,7 @@ bs:
119
119
  messages:
120
120
  accepted: mora biti prihvaćeno
121
121
  blank: ne smije biti prazno
122
+ present: mora biti prazno
122
123
  confirmation: se ne poklapa sa potvrdom
123
124
  empty: ne smije biti prazno
124
125
  equal_to: mora biti %{count}
@@ -134,10 +135,14 @@ bs:
134
135
  not_an_integer: mora biti cijeli broj
135
136
  odd: mora biti neparno
136
137
  record_invalid: ! 'Validacija nije uspjela: %{errors}'
138
+ restrict_dependent_destroy:
139
+ one: "Nije moguće izbrisati zapis jer postoji ovisan %{record}"
140
+ many: "Nije moguće izbrisati zapis jer postoje ovisni %{record}"
137
141
  taken: je već zauzet
138
142
  too_long: je predugo (maksimalno je dozvoljeno %{count} znakova)
139
143
  too_short: je prekratko (predviđeno je minimalno %{count} znakova)
140
144
  wrong_length: je pogrešne dužine (trebalo bi biti tačno %{count} znakova)
145
+ other_than: "mora biti različito od %{count}"
141
146
  template:
142
147
  body: ! 'Desili su se problemi sa slijedećim poljima:'
143
148
  header:
@@ -218,6 +223,7 @@ bs:
218
223
  percentage:
219
224
  format:
220
225
  delimiter: ! ','
226
+ format: "%n%"
221
227
  precision:
222
228
  format:
223
229
  delimiter: ''
data/rails/locale/da.yml CHANGED
@@ -100,6 +100,7 @@ da:
100
100
  messages:
101
101
  accepted: skal accepteres
102
102
  blank: skal udfyldes
103
+ present: skal være tom
103
104
  confirmation: stemmer ikke overens med bekræftelse
104
105
  empty: må ikke udelades
105
106
  equal_to: skal være %{count}
@@ -115,10 +116,14 @@ da:
115
116
  not_an_integer: er ikke et heltal
116
117
  odd: skal være et ulige tal
117
118
  record_invalid: ! 'Godkendelse gik galt: %{errors}'
119
+ restrict_dependent_destroy:
120
+ one: "Kunne ikke slette posten fordi en afhængig %{record} findes"
121
+ many: "Kunne ikke slette posten fordi afhængige %{record} findes"
118
122
  taken: er allerede brugt
119
123
  too_long: er for lang (højest %{count} tegn)
120
124
  too_short: er for kort (mindst %{count} tegn)
121
125
  wrong_length: har forkert længde (skulle være %{count} tegn)
126
+ other_than: "skal være forskellig fra %{count}"
122
127
  template:
123
128
  body: ! 'Der var problemer med følgende felter:'
124
129
  header:
@@ -175,6 +180,7 @@ da:
175
180
  percentage:
176
181
  format:
177
182
  delimiter: ''
183
+ format: "%n%"
178
184
  precision:
179
185
  format:
180
186
  delimiter: ''
data/rails/locale/de.yml CHANGED
@@ -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 (nicht mehr als %{count} Zeichen)
120
- too_short: ist zu kurz (nicht weniger als %{count} Zeichen)
119
+ too_long: ist zu lang (mehr als %{count} Zeichen)
120
+ too_short: ist zu kurz (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:'
@@ -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
data/rails/locale/en.yml CHANGED
@@ -119,7 +119,6 @@ en:
119
119
  restrict_dependent_destroy:
120
120
  one: "Cannot delete record because a dependent %{record} exists"
121
121
  many: "Cannot delete record because dependent %{record} exist"
122
- other:
123
122
  taken: has already been taken
124
123
  too_long:
125
124
  one: is too long (maximum is 1 character)
@@ -130,6 +129,7 @@ en:
130
129
  wrong_length:
131
130
  one: is the wrong length (should be 1 character)
132
131
  other: is the wrong length (should be %{count} characters)
132
+ other_than: "must be other than %{count}"
133
133
  template:
134
134
  body: ! 'There were problems with the following fields:'
135
135
  header:
@@ -186,6 +186,7 @@ en:
186
186
  percentage:
187
187
  format:
188
188
  delimiter: ''
189
+ format: "%n%"
189
190
  precision:
190
191
  format:
191
192
  delimiter: ''
@@ -148,9 +148,9 @@ es-AR:
148
148
  strip_insignificant_zeros: false
149
149
  unit: $
150
150
  format:
151
- delimiter: ! ','
151
+ delimiter: .
152
152
  precision: 2
153
- separator: .
153
+ separator: ! ','
154
154
  significant: false
155
155
  strip_insignificant_zeros: false
156
156
  human:
data/rails/locale/fi.yml CHANGED
@@ -142,9 +142,9 @@ fi:
142
142
  strip_insignificant_zeros: false
143
143
  unit: €
144
144
  format:
145
- delimiter: ! ','
145
+ delimiter: .
146
146
  precision: 3
147
- separator: .
147
+ separator: ! ','
148
148
  significant: false
149
149
  strip_insignificant_zeros: false
150
150
  human:
data/rails/locale/fr.yml CHANGED
@@ -8,10 +8,27 @@
8
8
 
9
9
  fr:
10
10
  date:
11
- formats:
12
- default: "%d/%m/%Y"
13
- short: "%e %b"
14
- long: "%e %B %Y"
11
+ abbr_day_names:
12
+ - dim
13
+ - lun
14
+ - mar
15
+ - mer
16
+ - jeu
17
+ - ven
18
+ abbr_month_names:
19
+ - ~
20
+ - jan.
21
+ - fév.
22
+ - mar.
23
+ - avr.
24
+ - mai
25
+ - juin
26
+ - juil.
27
+ - août
28
+ - sept.
29
+ - oct.
30
+ - nov.
31
+ - déc.
15
32
  day_names:
16
33
  - dimanche
17
34
  - lundi
@@ -20,14 +37,11 @@ fr:
20
37
  - jeudi
21
38
  - vendredi
22
39
  - samedi
23
- abbr_day_names:
24
- - dim
25
- - lun
26
- - mar
27
- - mer
28
- - jeu
29
- - ven
30
40
  - sam
41
+ formats:
42
+ default: "%d/%m/%Y"
43
+ short: "%e %b"
44
+ long: "%e %B %Y"
31
45
  month_names:
32
46
  - ~
33
47
  - janvier
@@ -42,102 +56,123 @@ fr:
42
56
  - octobre
43
57
  - novembre
44
58
  - décembre
45
- abbr_month_names:
46
- - ~
47
- - jan.
48
- - fév.
49
- - mar.
50
- - avr.
51
- - mai
52
- - juin
53
- - juil.
54
- - août
55
- - sept.
56
- - oct.
57
- - nov.
58
- - déc.
59
59
  order:
60
60
  - :day
61
61
  - :month
62
62
  - :year
63
-
64
- time:
65
- formats:
66
- default: "%d %B %Y %H:%M:%S"
67
- short: "%d %b %H:%M"
68
- long: "%A %d %B %Y %H:%M"
69
- am: 'am'
70
- pm: 'pm'
71
-
72
63
  datetime:
73
64
  distance_in_words:
74
- half_a_minute: "une demi-minute"
75
- less_than_x_seconds:
76
- zero: "moins d'une seconde"
77
- one: "moins d'une seconde"
78
- other: "moins de %{count} secondes"
79
- x_seconds:
80
- one: "1 seconde"
81
- other: "%{count} secondes"
82
- less_than_x_minutes:
83
- zero: "moins d'une minute"
84
- one: "moins d'une minute"
85
- other: "moins de %{count} minutes"
86
- x_minutes:
87
- one: "1 minute"
88
- other: "%{count} minutes"
89
65
  about_x_hours:
90
66
  one: "environ une heure"
91
67
  other: "environ %{count} heures"
92
- x_days:
93
- one: "1 jour"
94
- other: "%{count} jours"
95
68
  about_x_months:
96
69
  one: "environ un mois"
97
70
  other: "environ %{count} mois"
98
- x_months:
99
- one: "1 mois"
100
- other: "%{count} mois"
101
71
  about_x_years:
102
72
  one: "environ un an"
103
73
  other: "environ %{count} ans"
104
- over_x_years:
105
- one: "plus d'un an"
106
- other: "plus de %{count} ans"
107
74
  almost_x_years:
108
75
  one: "presqu'un an"
109
76
  other: "presque %{count} ans"
77
+ half_a_minute: "une demi-minute"
78
+ less_than_x_minutes:
79
+ zero: "moins d'une minute"
80
+ one: "moins d'une minute"
81
+ other: "moins de %{count} minutes"
82
+ less_than_x_seconds:
83
+ zero: "moins d'une seconde"
84
+ one: "moins d'une seconde"
85
+ other: "moins de %{count} secondes"
86
+ over_x_years:
87
+ one: "plus d'un an"
88
+ other: "plus de %{count} ans"
89
+ x_days:
90
+ one: "1 jour"
91
+ other: "%{count} jours"
92
+ x_minutes:
93
+ one: "1 minute"
94
+ other: "%{count} minutes"
95
+ x_months:
96
+ one: "1 mois"
97
+ other: "%{count} mois"
98
+ x_seconds:
99
+ one: "1 seconde"
100
+ other: "%{count} secondes"
110
101
  prompts:
111
- year: "Année"
112
- month: "Mois"
113
102
  day: "Jour"
114
103
  hour: "Heure"
115
104
  minute: "Minute"
105
+ month: "Mois"
116
106
  second: "Seconde"
117
-
107
+ year: "Année"
108
+ errors: &errors
109
+ format: "%{attribute} %{message}"
110
+ messages: &errors_messages
111
+ accepted: "doit être accepté(e)"
112
+ blank: "doit être rempli(e)"
113
+ confirmation: "ne concorde pas avec la confirmation"
114
+ empty: "doit être rempli(e)"
115
+ equal_to: "doit être égal à %{count}"
116
+ even: "doit être pair"
117
+ exclusion: "n'est pas disponible"
118
+ greater_than: "doit être supérieur à %{count}"
119
+ greater_than_or_equal_to: "doit être supérieur ou égal à %{count}"
120
+ inclusion: "n'est pas inclus(e) dans la liste"
121
+ invalid: "n'est pas valide"
122
+ less_than: "doit être inférieur à %{count}"
123
+ less_than_or_equal_to: "doit être inférieur ou égal à %{count}"
124
+ not_a_number: "n'est pas un nombre"
125
+ not_an_integer: "doit être un nombre entier"
126
+ odd: "doit être impair"
127
+ record_invalid: "La validation a échoué : %{errors}"
128
+ taken: "n'est pas disponible"
129
+ too_long:
130
+ one: "est trop long (pas plus d'un caractère)"
131
+ other: "est trop long (pas plus de %{count} caractères)"
132
+ too_short:
133
+ one: "est trop court (au moins un caractère)"
134
+ other: "est trop court (au moins %{count} caractères)"
135
+ wrong_length:
136
+ one: "ne fait pas la bonne longueur (doit comporter un seul caractère)"
137
+ other: "ne fait pas la bonne longueur (doit comporter %{count} caractères)"
138
+ template: &errors_template
139
+ body: "Veuillez vérifier les champs suivants : "
140
+ header:
141
+ one: "Impossible d'enregistrer ce(tte) %{model} : 1 erreur"
142
+ other: "Impossible d'enregistrer ce(tte) %{model} : %{count} erreurs"
143
+ helpers:
144
+ select:
145
+ prompt: "Veuillez sélectionner"
146
+ submit:
147
+ create: "Créer un(e) %{model}"
148
+ submit: "Enregistrer ce(tte) %{model}"
149
+ update: "Modifier ce(tte) %{model}"
118
150
  number:
119
- format:
120
- separator: ","
121
- delimiter: " "
122
- precision: 3
123
- significant: false
124
- strip_insignificant_zeros: false
125
151
  currency:
126
152
  format:
127
- format: "%n %u"
128
- unit: "€"
129
- separator: ","
130
153
  delimiter: " "
154
+ format: "%n %u"
131
155
  precision: 2
156
+ separator: ","
132
157
  significant: false
133
158
  strip_insignificant_zeros: false
134
- percentage:
135
- format:
136
- delimiter: ""
137
- precision:
138
- format:
139
- delimiter: ""
159
+ unit: "€"
160
+ format:
161
+ delimiter: " "
162
+ precision: 3
163
+ separator: ","
164
+ significant: false
165
+ strip_insignificant_zeros: false
140
166
  human:
167
+ decimal_units:
168
+ format: "%n %u"
169
+ units:
170
+ billion: "milliard"
171
+ million: "million"
172
+ quadrillion: "million de milliards"
173
+ thousand: "millier"
174
+ trillion: "billion"
175
+ unit: ""
141
176
  format:
142
177
  delimiter: ""
143
178
  precision: 2
@@ -149,71 +184,29 @@ fr:
149
184
  byte:
150
185
  one: "octet"
151
186
  other: "octets"
187
+ gb: "Go"
152
188
  kb: "ko"
153
189
  mb: "Mo"
154
- gb: "Go"
155
190
  tb: "To"
156
- decimal_units:
157
- format: "%n %u"
158
- units:
159
- unit: ""
160
- thousand: "millier"
161
- million: "million"
162
- billion: "milliard"
163
- trillion: "billion"
164
- quadrillion: "million de milliards"
165
-
191
+ percentage:
192
+ format:
193
+ delimiter: ""
194
+ precision:
195
+ format:
196
+ delimiter: ""
166
197
  support:
167
198
  array:
168
- words_connector: ", "
169
- two_words_connector: " et "
170
199
  last_word_connector: " et "
171
-
172
- helpers:
173
- select:
174
- prompt: "Veuillez sélectionner"
175
- submit:
176
- create: "Créer un(e) %{model}"
177
- update: "Modifier ce(tte) %{model}"
178
- submit: "Enregistrer ce(tte) %{model}"
179
-
180
- errors: &errors
181
- format: "%{attribute} %{message}"
182
- messages: &errors_messages
183
- inclusion: "n'est pas inclus(e) dans la liste"
184
- exclusion: "n'est pas disponible"
185
- invalid: "n'est pas valide"
186
- confirmation: "ne concorde pas avec la confirmation"
187
- accepted: "doit être accepté(e)"
188
- empty: "doit être rempli(e)"
189
- blank: "doit être rempli(e)"
190
- too_long:
191
- one: "est trop long (pas plus d'un caractère)"
192
- other: "est trop long (pas plus de %{count} caractères)"
193
- too_short:
194
- one: "est trop court (au moins un caractère)"
195
- other: "est trop court (au moins %{count} caractères)"
196
- wrong_length:
197
- one: "ne fait pas la bonne longueur (doit comporter un seul caractère)"
198
- other: "ne fait pas la bonne longueur (doit comporter %{count} caractères)"
199
- not_a_number: "n'est pas un nombre"
200
- not_an_integer: "doit être un nombre entier"
201
- greater_than: "doit être supérieur à %{count}"
202
- greater_than_or_equal_to: "doit être supérieur ou égal à %{count}"
203
- equal_to: "doit être égal à %{count}"
204
- less_than: "doit être inférieur à %{count}"
205
- less_than_or_equal_to: "doit être inférieur ou égal à %{count}"
206
- odd: "doit être impair"
207
- even: "doit être pair"
208
- taken: "n'est pas disponible"
209
- record_invalid: "La validation a échoué : %{errors}"
210
-
211
- template: &errors_template
212
- header:
213
- one: "Impossible d'enregistrer ce(tte) %{model} : 1 erreur"
214
- other: "Impossible d'enregistrer ce(tte) %{model} : %{count} erreurs"
215
- body: "Veuillez vérifier les champs suivants : "
216
-
200
+ two_words_connector: " et "
201
+ words_connector: ", "
202
+ time:
203
+ am: 'am'
204
+ formats:
205
+ default: "%d %B %Y %H:%M:%S"
206
+ long: "%A %d %B %Y %H:%M"
207
+ short: "%d %b %H:%M"
208
+ pm: 'pm'
209
+ # remove these aliases after 'activemodel' and 'activerecord' namespaces are removed from Rails repository
217
210
  activemodel:
218
211
  errors:
219
212
  <<: *errors
data/rails/locale/hr.yml CHANGED
@@ -122,6 +122,7 @@ hr:
122
122
  messages:
123
123
  accepted: mora biti prihvaćen
124
124
  blank: ne smije biti prazan
125
+ present: mora biti prazan
125
126
  confirmation: se ne slaže sa svojom potvrdom
126
127
  empty: ne smije biti prazan
127
128
  equal_to: mora biti jednak %{count}
@@ -137,6 +138,9 @@ hr:
137
138
  not_an_integer: nije cijeli broj
138
139
  odd: mora biti neparan
139
140
  record_invalid: ! 'Validacija nije uspjela: %{errors}'
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}"
140
144
  taken: je već zauzet
141
145
  too_long:
142
146
  one: je predugačak (maksimum je %{count} znak)
@@ -153,6 +157,7 @@ hr:
153
157
  few: nije odgovarajuće duljine (treba biti %{count} znaka)
154
158
  many: nije odgovarajuće duljine (treba biti %{count} znakova)
155
159
  other: nije odgovarajuće duljine (treba biti %{count} znakova)
160
+ other_than: "mora biti različit od %{count}"
156
161
  template:
157
162
  body: ! 'Sljedeća polja su neispravno popunjena:'
158
163
  header:
@@ -213,6 +218,7 @@ hr:
213
218
  percentage:
214
219
  format:
215
220
  delimiter: ''
221
+ format: "%n%"
216
222
  precision:
217
223
  format:
218
224
  delimiter: ''
data/rails/locale/is.yml CHANGED
@@ -9,7 +9,7 @@ is:
9
9
  - fös
10
10
  - lau
11
11
  abbr_month_names:
12
- -
12
+ -
13
13
  - jan
14
14
  - feb
15
15
  - mar
@@ -35,7 +35,7 @@ is:
35
35
  long: ! '%e. %B %Y'
36
36
  short: ! '%e. %b'
37
37
  month_names:
38
- -
38
+ -
39
39
  - janúar
40
40
  - febrúar
41
41
  - mars
@@ -100,6 +100,7 @@ is:
100
100
  messages:
101
101
  accepted: þarf að vera tekið gilt
102
102
  blank: má ekki vera autt
103
+ present: verður að vera autt
103
104
  confirmation: er ekki jafngilt staðfestingunni
104
105
  empty: má ekki vera tómt
105
106
  equal_to: þarf að vera jafngilt %{count}
@@ -115,6 +116,9 @@ is:
115
116
  not_an_integer: þarf að vera heiltala
116
117
  odd: þarf að vera oddatala
117
118
  record_invalid: ! 'Villur: %{errors}'
119
+ restrict_dependent_destroy:
120
+ one: "Ekki hægt að eyða færslu því %{record} sem hún er háð er til"
121
+ many: "Ekki hægt að eyða færslur því %{record} sem hún er háð er til"
118
122
  taken: er þegar í notkun
119
123
  too_long:
120
124
  one: er of langt (má mest vera 1 stafur)
@@ -125,6 +129,7 @@ is:
125
129
  wrong_length:
126
130
  one: er af rangri lengd (má mest vera 1 stafur)
127
131
  other: er af rangri lengd (má mest vera %{count} stafir)
132
+ other_than: "verður að vera annað en %{count}"
128
133
  template:
129
134
  body: ! 'Villur fundust í eftirfarandi dálkum:'
130
135
  header:
@@ -189,6 +194,7 @@ is:
189
194
  percentage:
190
195
  format:
191
196
  delimiter: ''
197
+ format: "%n%"
192
198
  precision:
193
199
  format:
194
200
  delimiter: ''
data/rails/locale/ja.yml CHANGED
@@ -116,14 +116,12 @@ ja:
116
116
  not_an_integer: は整数で入力してください。
117
117
  odd: は奇数にしてください。
118
118
  record_invalid: バリデーションに失敗しました。 %{errors}
119
- restrict_dependent_destroy:
120
- one: "%{record}が存在しているので削除出来ません。"
121
- many: "%{record}が存在しているので削除出来ません。"
122
- other:
119
+ restrict_dependent_destroy: ! '%{record}が存在しているので削除できません。'
123
120
  taken: はすでに存在します。
124
121
  too_long: は%{count}文字以内で入力してください。
125
122
  too_short: は%{count}文字以上で入力してください。
126
123
  wrong_length: は%{count}文字で入力してください。
124
+ other_than: "は%{count}以外の値にしてください。"
127
125
  template:
128
126
  body: 次の項目を確認してください。
129
127
  header:
@@ -178,6 +176,7 @@ ja:
178
176
  percentage:
179
177
  format:
180
178
  delimiter: ''
179
+ format: "%n%"
181
180
  precision:
182
181
  format:
183
182
  delimiter: ''
@@ -119,7 +119,6 @@ pt-BR:
119
119
  restrict_dependent_destroy:
120
120
  one: "Não é possível excluir o registro pois existe um %{record} dependente"
121
121
  many: "Não é possível excluir o registro pois existem %{record} dependentes"
122
- other:
123
122
  taken: já está em uso
124
123
  too_long: ! 'é muito longo (máximo: %{count} caracteres)'
125
124
  too_short: ! 'é muito curto (mínimo: %{count} caracteres)'
data/rails/locale/ro.yml CHANGED
@@ -146,17 +146,17 @@ ro:
146
146
  number:
147
147
  currency:
148
148
  format:
149
- delimiter: ! '.'
149
+ delimiter: .
150
150
  format: ! '%n %u'
151
151
  precision: 2
152
- separator: ! ','
152
+ separator: ','
153
153
  significant: false
154
154
  strip_insignificant_zeros: false
155
155
  unit: RON
156
156
  format:
157
- delimiter: ! ','
157
+ delimiter: .
158
158
  precision: 3
159
- separator: .
159
+ separator: ','
160
160
  significant: false
161
161
  strip_insignificant_zeros: false
162
162
  human:
data/rails/locale/ru.yml CHANGED
@@ -32,8 +32,8 @@ ru:
32
32
  - суббота
33
33
  formats:
34
34
  default: ! '%d.%m.%Y'
35
- long: ! '%d %B %Y'
36
- short: ! '%d %b'
35
+ long: ! '%-d %B %Y'
36
+ short: ! '%-d %b'
37
37
  month_names:
38
38
  -
39
39
  - января
data/rails/locale/sr.yml CHANGED
@@ -122,6 +122,7 @@ sr:
122
122
  messages:
123
123
  accepted: мора бити прихваћено
124
124
  blank: не сме бити празан
125
+ present: мора бити празан
125
126
  confirmation: се не слаже са потврдом
126
127
  empty: не сме бити празан
127
128
  equal_to: мора бити једнак %{count}
@@ -137,6 +138,9 @@ sr:
137
138
  not_an_integer: није цео број
138
139
  odd: мора бити непаран
139
140
  record_invalid: ! 'Валидација није успела: %{errors}'
141
+ restrict_dependent_destroy:
142
+ one: "Није могуће обрисати запис јер постоји зависан %{record}"
143
+ many: "Није могуће обрисати запис јер постоје зависни %{record}"
140
144
  taken: је већ заузет
141
145
  too_long:
142
146
  one: је предугачак (максимум је %{count} знак)
@@ -153,6 +157,7 @@ sr:
153
157
  few: није одговарајуће дужине (треба бити %{count} знака)
154
158
  many: није одговарајуће дужине (треба бити %{count} знакова)
155
159
  other: није одговарајуће дужине (треба бити %{count} знакова)
160
+ other_than: "мора бити различит од %{count}"
156
161
  template:
157
162
  body: ! 'Молим Вас да проверите следећа поља:'
158
163
  header:
@@ -213,6 +218,7 @@ sr:
213
218
  percentage:
214
219
  format:
215
220
  delimiter: ''
221
+ format: "%n%"
216
222
  precision:
217
223
  format:
218
224
  delimiter: ''
data/rails/locale/sv.yml CHANGED
@@ -134,10 +134,10 @@ sv:
134
134
  number:
135
135
  currency:
136
136
  format:
137
- delimiter: ! ','
137
+ delimiter:
138
138
  format: ! '%n %u'
139
139
  precision: 2
140
- separator: .
140
+ separator: ! ','
141
141
  significant: false
142
142
  strip_insignificant_zeros: false
143
143
  unit: kr
data/rails/locale/uk.yml CHANGED
@@ -32,8 +32,8 @@ uk:
32
32
  - субота
33
33
  formats:
34
34
  default: ! '%d.%m.%Y'
35
- long: ! '%d %B %Y'
36
- short: ! '%d %b'
35
+ long: ! '%-d %B %Y'
36
+ short: ! '%-d %b'
37
37
  month_names:
38
38
  -
39
39
  - Січень
@@ -115,10 +115,19 @@ zh-HK:
115
115
  not_an_integer: ! '%{attribute}要係整數'
116
116
  odd: ! '%{attribute}要係單數'
117
117
  record_invalid: ! '%{attribute}有問題︰%{errors}'
118
+ restrict_dependent_destroy:
119
+ one: "唔可以刪除,因為%{record}存在並依賴於該資料"
120
+ many: "唔可以刪除,因為%{record}存在並依賴於該資料"
118
121
  taken: ! '%{attribute}已經用過'
119
- too_long: ! '%{attribute}太長(最多%{count}個字)'
120
- too_short: ! '%{attribute}太短(最少%{count}個字)'
121
- wrong_length: ! '%{attribute}唔啱字數(要係%{count}個字)'
122
+ too_long:
123
+ one: '太長(最多1個字母)'
124
+ other: '太長(最多%{count}個字母)'
125
+ too_short:
126
+ one: '太短(最少1個字母)'
127
+ other: '太短(最少%{count}個字母)'
128
+ wrong_length:
129
+ one: '唔啱字數 (要係1個字母)'
130
+ other: '唔啱字數 (要係%{count}個字母)'
122
131
  template:
123
132
  body: 呢啲有問題︰
124
133
  header:
@@ -0,0 +1,11 @@
1
+ de:
2
+ i18n:
3
+ transliterate:
4
+ rule:
5
+ ä: "ae"
6
+ ü: "ue"
7
+ ö: "oe"
8
+ Ä: "Ae"
9
+ Ü: "Ue"
10
+ Ö: "Oe"
11
+ ß: "ss"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails-i18n
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.0.pre
4
+ version: 4.0.0.pre2
5
5
  prerelease: 6
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-07-05 00:00:00.000000000 Z
12
+ date: 2013-08-19 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: i18n
@@ -18,7 +18,7 @@ dependencies:
18
18
  requirements:
19
19
  - - ~>
20
20
  - !ruby/object:Gem::Version
21
- version: '0.5'
21
+ version: '0.6'
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
@@ -26,7 +26,23 @@ dependencies:
26
26
  requirements:
27
27
  - - ~>
28
28
  - !ruby/object:Gem::Version
29
- version: '0.5'
29
+ version: '0.6'
30
+ - !ruby/object:Gem::Dependency
31
+ name: rails
32
+ requirement: !ruby/object:Gem::Requirement
33
+ none: false
34
+ requirements:
35
+ - - ~>
36
+ - !ruby/object:Gem::Version
37
+ version: 4.0.0
38
+ type: :runtime
39
+ prerelease: false
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ~>
44
+ - !ruby/object:Gem::Version
45
+ version: 4.0.0
30
46
  - !ruby/object:Gem::Dependency
31
47
  name: rails
32
48
  requirement: !ruby/object:Gem::Requirement
@@ -176,6 +192,7 @@ files:
176
192
  - rails/locale/hi-IN.yml
177
193
  - rails/locale/tr.yml
178
194
  - rails/locale/ar.yml
195
+ - rails/locale/en-IE.yml
179
196
  - rails/locale/fi.yml
180
197
  - rails/locale/es-CO.yml
181
198
  - rails/locale/zh-CN.yml
@@ -324,6 +341,7 @@ files:
324
341
  - rails/transliteration/vi.yml
325
342
  - rails/transliteration/bg.yml
326
343
  - rails/transliteration/uk.rb
344
+ - rails/transliteration/de.yml
327
345
  - rails/transliteration/hu.yml
328
346
  - README.md
329
347
  - CHANGELOG.md