Skip to content

Commit 4bf8db9

Browse files
committed
Change 1 in one key to %{count}
`one` is used for numbers other than 1. > A common mistake is to think that "one" is only for only the number 1. > Instead, "one" is a category for any number that behaves like 1. > So in some languages, for example, one → numbers that end in "1" (like 1, 21, 151) but that don't end in 11 (like 11, 111, 10311). - http://cldr.unicode.org/index/cldr-spec/plural-rules
1 parent 8176d6a commit 4bf8db9

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

90 files changed

+936
-936
lines changed

rails/locale/af.yml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -63,41 +63,41 @@ af:
6363
datetime:
6464
distance_in_words:
6565
about_x_hours:
66-
one: ongeveer 1 uur
66+
one: ongeveer %{count} uur
6767
other: ongeveer %{count} ure
6868
about_x_months:
69-
one: ongeveer 1 maand
69+
one: ongeveer %{count} maand
7070
other: ongeveer %{count} maande
7171
about_x_years:
72-
one: ongeveer 1 jaar
72+
one: ongeveer %{count} jaar
7373
other: ongeveer %{count} jaar
7474
almost_x_years:
75-
one: sowat 1 jaar
75+
one: sowat %{count} jaar
7676
other: sowat %{count} jaar
7777
half_a_minute: halfminuut
7878
less_than_x_seconds:
79-
one: minder as 1 sekonde
79+
one: minder as %{count} sekonde
8080
other: minder as %{count} sekondes
8181
less_than_x_minutes:
82-
one: minder as 1 minuut
82+
one: minder as %{count} minuut
8383
other: minder as %{count} minute
8484
over_x_years:
85-
one: meer as 1 jaar
85+
one: meer as %{count} jaar
8686
other: meer as %{count} jaar
8787
x_seconds:
88-
one: 1 sekonde
88+
one: "%{count} sekonde"
8989
other: "%{count} sekondes"
9090
x_minutes:
91-
one: 1 minuut
91+
one: "%{count} minuut"
9292
other: "%{count} minute"
9393
x_days:
94-
one: 1 dag
94+
one: "%{count} dag"
9595
other: "%{count} days"
9696
x_months:
97-
one: 1 maand
97+
one: "%{count} maand"
9898
other: "%{count} maande"
9999
x_years:
100-
one: 1 jaar
100+
one: "%{count} jaar"
101101
other: "%{count} jare"
102102
prompts:
103103
second: Sekondes
@@ -131,18 +131,18 @@ af:
131131
required: moet bestaan
132132
taken: is reeds geneem
133133
too_long:
134-
one: is te lank (maksimum is 1 karakter)
134+
one: is te lank (maksimum is %{count} karakter)
135135
other: is te lank (maksimum is %{count} karakters)
136136
too_short:
137-
one: is te kort (minimum is 1 karakter)
137+
one: is te kort (minimum is %{count} karakter)
138138
other: is te kort (minimum is %{count} karakters)
139139
wrong_length:
140-
one: is die verkeerde lengte (moet 1 karakter wees)
140+
one: is die verkeerde lengte (moet %{count} karakter wees)
141141
other: is die verkeerde lengte (moet %{count} karakters wees)
142142
template:
143143
body: 'There were problems with the following fields:'
144144
header:
145-
one: 1 fout het verhoed dat hierdie %{model} gestoor kon word
145+
one: "%{count} fout het verhoed dat hierdie %{model} gestoor kon word"
146146
other: "%{count} foute het verhoed dat hierdie %{model} gestoor kon word"
147147
helpers:
148148
select:

rails/locale/az.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -63,38 +63,38 @@ az:
6363
datetime:
6464
distance_in_words:
6565
about_x_hours:
66-
one: təxminən 1 saat
66+
one: təxminən %{count} saat
6767
other: təxminən %{count} saat
6868
about_x_months:
69-
one: təxminən 1 ay
69+
one: təxminən %{count} ay
7070
other: təxminən %{count} ay
7171
about_x_years:
72-
one: təxminən 1 il
72+
one: təxminən %{count} il
7373
other: təxminən %{count} il
7474
almost_x_years:
75-
one: təqribən 1 il
75+
one: təqribən %{count} il
7676
other: təqribən %{count} il
7777
half_a_minute: yarım dəqiqə
7878
less_than_x_seconds:
79-
one: 1 saniyədən az
79+
one: "%{count} saniyədən az"
8080
other: "%{count} saniyədən az"
8181
less_than_x_minutes:
82-
one: 1 dəqiqədən az
82+
one: "%{count} dəqiqədən az"
8383
other: "%{count} dəqiqədən az"
8484
over_x_years:
85-
one: 1 ildən çox
85+
one: "%{count} ildən çox"
8686
other: "%{count} ildən çox"
8787
x_seconds:
88-
one: 1 saniyə
88+
one: "%{count} saniyə"
8989
other: "%{count} saniyə"
9090
x_minutes:
91-
one: 1 dəqiqə
91+
one: "%{count} dəqiqə"
9292
other: "%{count} dəqiqə"
9393
x_days:
94-
one: 1 gün
94+
one: "%{count} gün"
9595
other: "%{count} gün"
9696
x_months:
97-
one: 1 ay
97+
one: "%{count} ay"
9898
other: "%{count} ay"
9999
prompts:
100100
second: Saniyə
@@ -133,7 +133,7 @@ az:
133133
template:
134134
body: 'Aşağıdaki səhvlər üzə çıxdı:'
135135
header:
136-
one: "%{model} saxlanmadı: 1 səhv"
136+
one: "%{model} saxlanmadı: %{count} səhv"
137137
other: "%{model} saxlanmadı: %{count} səhv"
138138
helpers:
139139
select:

rails/locale/bg.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -60,38 +60,38 @@ bg:
6060
datetime:
6161
distance_in_words:
6262
about_x_hours:
63-
one: около 1 час
63+
one: около %{count} час
6464
other: около %{count} часа
6565
about_x_months:
66-
one: около 1 месец
66+
one: около %{count} месец
6767
other: около %{count} месеца
6868
about_x_years:
69-
one: около 1 година
69+
one: около %{count} година
7070
other: около %{count} години
7171
almost_x_years:
72-
one: почти 1 година
72+
one: почти %{count} година
7373
other: почти %{count} години
7474
half_a_minute: половин минута
7575
less_than_x_seconds:
76-
one: по-малко от 1 секунда
76+
one: по-малко от %{count} секунда
7777
other: по-малко от %{count} секунди
7878
less_than_x_minutes:
79-
one: по-малко от 1 минута
79+
one: по-малко от %{count} минута
8080
other: по-малко от %{count} минути
8181
over_x_years:
82-
one: над 1 година
82+
one: над %{count} година
8383
other: над %{count} години
8484
x_seconds:
85-
one: 1 секунда
85+
one: "%{count} секунда"
8686
other: "%{count} секунди"
8787
x_minutes:
88-
one: 1 минута
88+
one: "%{count} минута"
8989
other: "%{count} минути"
9090
x_days:
91-
one: 1 ден
91+
one: "%{count} ден"
9292
other: "%{count} дни"
9393
x_months:
94-
one: 1 месец
94+
one: "%{count} месец"
9595
other: "%{count} месеца"
9696
prompts:
9797
second: Секунда
@@ -126,7 +126,7 @@ bg:
126126
template:
127127
body: 'Възникнаха проблеми със следните полета:'
128128
header:
129-
one: "%{model}: записът е неуспешен заради 1 грешка"
129+
one: "%{model}: записът е неуспешен заради %{count} грешка"
130130
other: "%{model}: записът е неуспешен заради %{count} грешки"
131131
helpers:
132132
select:

rails/locale/bs.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ bs:
7878
many: oko %{count} godina
7979
other: oko %{count} godina
8080
almost_x_years:
81-
one: skoro 1 godina
81+
one: skoro %{count} godina
8282
few: skoro %{count} godine
8383
many: skoro %{count} godina
8484
other: skoro %{count} godina
@@ -99,22 +99,22 @@ bs:
9999
many: preko %{count} godina
100100
other: preko %{count} godina
101101
x_seconds:
102-
one: 1 sekund
102+
one: "%{count} sekund"
103103
few: "%{count} sekunde"
104104
many: "%{count} sekundi"
105105
other: "%{count} sekundi"
106106
x_minutes:
107-
one: 1 minut
107+
one: "%{count} minut"
108108
few: "%{count} minute"
109109
many: "%{count} minuta"
110110
other: "%{count} minuta"
111111
x_days:
112-
one: 1 dan
112+
one: "%{count} dan"
113113
few: "%{count} dana"
114114
many: "%{count} dana"
115115
other: "%{count} dana"
116116
x_months:
117-
one: 1 mjesec
117+
one: "%{count} mjesec"
118118
few: "%{count} mjeseca"
119119
many: "%{count} mjeseci"
120120
other: "%{count} mjeseci"
@@ -153,7 +153,7 @@ bs:
153153
template:
154154
body: 'Desili su se problemi sa sljedećim poljima:'
155155
header:
156-
one: 1 greška je spriječila da se ovaj %{model} spremi
156+
one: "%{count} greška je spriječila da se ovaj %{model} spremi"
157157
few: "%{count} greške su spriječile da se ovaj %{model} spremi"
158158
many: "%{count} grešaka je spriječilo da se ovaj %{model} spremi"
159159
other: "%{count} grešaka je spriječilo da se ovaj %{model} spremi"

rails/locale/ca.yml

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ca:
66
record_invalid: 'La validació ha fallat: %{errors}'
77
restrict_dependent_destroy:
88
has_one: No es pot eliminar el registre perquè existeix un %{record} dependent
9-
has_many: No es pot eliminar el registre perquè existeixen %{record} dependents
9+
has_many: No es pot eliminar el registre perquè existeixen %{record} dependents
1010
date:
1111
abbr_day_names:
1212
- Dg
@@ -63,41 +63,41 @@ ca:
6363
datetime:
6464
distance_in_words:
6565
about_x_hours:
66-
one: aproximadament 1 hora
66+
one: aproximadament %{count} hora
6767
other: aproximadament %{count} hores
6868
about_x_months:
69-
one: aproximadament 1 mes
69+
one: aproximadament %{count} mes
7070
other: aproximadament %{count} mesos
7171
about_x_years:
72-
one: aproximadament 1 any
72+
one: aproximadament %{count} any
7373
other: aproximadament %{count} anys
7474
almost_x_years:
75-
one: quasi 1 any
75+
one: quasi %{count} any
7676
other: quasi %{count} anys
7777
half_a_minute: mig minut
7878
less_than_x_seconds:
79-
one: menys d'1 segon
79+
one: menys d'%{count} segon
8080
other: menys de %{count} segons
8181
less_than_x_minutes:
82-
one: menys d'1 minut
82+
one: menys d'%{count} minut
8383
other: menys de %{count} minuts
8484
over_x_years:
85-
one: més d'1 any
85+
one: més d'%{count} any
8686
other: més de %{count} anys
8787
x_seconds:
88-
one: 1 segon
88+
one: "%{count} segon"
8989
other: "%{count} segons"
9090
x_minutes:
91-
one: 1 minut
91+
one: "%{count} minut"
9292
other: "%{count} minuts"
9393
x_days:
94-
one: 1 dia
94+
one: "%{count} dia"
9595
other: "%{count} dies"
9696
x_months:
97-
one: 1 mes
97+
one: "%{count} mes"
9898
other: "%{count} mesos"
9999
x_years:
100-
one: 1 year
100+
one: "%{count} year"
101101
other: "%{count} years"
102102
prompts:
103103
second: segon
@@ -131,18 +131,18 @@ ca:
131131
required: ha d'existir
132132
taken: no està disponible
133133
too_long:
134-
one: és massa llarg (1 caràcter màxim)
134+
one: és massa llarg (%{count} caràcter màxim)
135135
other: és massa llarg (%{count} caràcters màxim)
136136
too_short:
137-
one: és massa curt (1 caràcter mínim)
137+
one: és massa curt (%{count} caràcter mínim)
138138
other: és massa curt (%{count} caràcters mínim)
139139
wrong_length:
140-
one: no té la longitud correcta (1 caràcter exactament)
140+
one: no té la longitud correcta (%{count} caràcter exactament)
141141
other: no té la longitud correcta (%{count} caràcters exactament)
142142
template:
143143
body: 'Hi ha hagut problemes amb els següents camps:'
144144
header:
145-
one: No s'ha pogut desar aquest/a %{model} perquè hi ha 1 error
145+
one: No s'ha pogut desar aquest/a %{model} perquè hi ha %{count} error
146146
other: No s'ha pogut desar aquest/a %{model} perquè hi ha hagut %{count} errors
147147
helpers:
148148
select:

rails/locale/da.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -131,13 +131,13 @@ da:
131131
required: skal udfyldes
132132
taken: er allerede brugt
133133
too_long:
134-
one: er for lang (højst 1 tegn)
134+
one: er for lang (højst %{count} tegn)
135135
other: er for lang (højst %{count} tegn)
136136
too_short:
137-
one: er for kort (mindst 1 tegn)
137+
one: er for kort (mindst %{count} tegn)
138138
other: er for kort (mindst %{count} tegn)
139139
wrong_length:
140-
one: har forkert længde (skulle være 1 tegn)
140+
one: har forkert længde (skulle være %{count} tegn)
141141
other: har forkert længde (skulle være %{count} tegn)
142142
template:
143143
body: 'Der var problemer med følgende felter:'

rails/locale/de-AT.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -129,13 +129,13 @@ de-AT:
129129
required: muss ausgefüllt werden
130130
taken: ist bereits vergeben
131131
too_long:
132-
one: ist zu lang (mehr als 1 Zeichen)
132+
one: ist zu lang (mehr als %{count} Zeichen)
133133
other: ist zu lang (mehr als %{count} Zeichen)
134134
too_short:
135-
one: ist zu kurz (weniger als 1 Zeichen)
135+
one: ist zu kurz (weniger als %{count} Zeichen)
136136
other: ist zu kurz (weniger als %{count} Zeichen)
137137
wrong_length:
138-
one: hat die falsche Länge (muss genau 1 Zeichen haben)
138+
one: hat die falsche Länge (muss genau %{count} Zeichen haben)
139139
other: hat die falsche Länge (muss genau %{count} Zeichen haben)
140140
template:
141141
body: 'Bitte überprüfen Sie die folgenden Felder:'

rails/locale/de-CH.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -129,13 +129,13 @@ de-CH:
129129
required: muss ausgefüllt werden
130130
taken: ist bereits vergeben
131131
too_long:
132-
one: ist zu lang (mehr als 1 Zeichen)
132+
one: ist zu lang (mehr als %{count} Zeichen)
133133
other: ist zu lang (mehr als %{count} Zeichen)
134134
too_short:
135-
one: ist zu kurz (weniger als 1 Zeichen)
135+
one: ist zu kurz (weniger als %{count} Zeichen)
136136
other: ist zu kurz (weniger als %{count} Zeichen)
137137
wrong_length:
138-
one: hat die falsche Länge (muss genau 1 Zeichen haben)
138+
one: hat die falsche Länge (muss genau %{count} Zeichen haben)
139139
other: hat die falsche Länge (muss genau %{count} Zeichen haben)
140140
template:
141141
body: 'Bitte überprüfen Sie die folgenden Felder:'

rails/locale/de-DE.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -129,13 +129,13 @@ de-DE:
129129
required: muss ausgefüllt werden
130130
taken: ist bereits vergeben
131131
too_long:
132-
one: ist zu lang (mehr als 1 Zeichen)
132+
one: ist zu lang (mehr als %{count} Zeichen)
133133
other: ist zu lang (mehr als %{count} Zeichen)
134134
too_short:
135-
one: ist zu kurz (weniger als 1 Zeichen)
135+
one: ist zu kurz (weniger als %{count} Zeichen)
136136
other: ist zu kurz (weniger als %{count} Zeichen)
137137
wrong_length:
138-
one: hat die falsche Länge (muss genau 1 Zeichen haben)
138+
one: hat die falsche Länge (muss genau %{count} Zeichen haben)
139139
other: hat die falsche Länge (muss genau %{count} Zeichen haben)
140140
template:
141141
body: 'Bitte überprüfen Sie die folgenden Felder:'

0 commit comments

Comments
 (0)