Skip to content

Commit

Permalink
Merge pull request #265 from dmilisic/master
Browse files Browse the repository at this point in the history
hr and sr fixes
  • Loading branch information
kuroda committed Oct 5, 2012
2 parents 95767d9 + 031e1cd commit 855edc0
Show file tree
Hide file tree
Showing 3 changed files with 56 additions and 40 deletions.
30 changes: 15 additions & 15 deletions rails/locale/hr.yml
Expand Up @@ -55,58 +55,58 @@ hr:
datetime:
distance_in_words:
about_x_hours:
one: oko 1 sat
one: oko %{count} sat
few: oko %{count} sata
many: oko %{count} sati
other: oko %{count} sati
about_x_months:
one: oko 1 mjesec
one: oko %{count} mjesec
few: oko %{count} mjeseca
many: oko %{count} mjeseci
other: oko %{count} mjeseci
about_x_years:
one: oko 1 godine
one: oko %{count} godine
few: oko %{count} godine
many: oko %{count} godina
other: oko %{count} godina
almost_x_years:
one: skoro 1 godina
one: skoro %{count} godina
few: skoro %{count} godine
many: skoro %{count} godina
other: skoro %{count} godina
half_a_minute: pola minute
less_than_x_minutes:
one: manje od 1 minute
one: manje od %{count} minute
few: manje od %{count} minute
many: manje od %{count} minuta
other: manje od %{count} minuta
less_than_x_seconds:
one: manje od 1 sekunde
one: manje od %{count} sekunde
few: manje od %{count} sekunde
many: manje od %{count} sekundi
other: manje od %{count} sekundi
over_x_years:
one: preko 1 godine
one: preko %{count} godine
few: preko %{count} godine
many: preko %{count} godina
other: preko %{count} godina
x_days:
one: 1 dan
one: ! '%{count} dan'
few: ! '%{count} dana'
many: ! '%{count} dana'
other: ! '%{count} dana'
x_minutes:
one: 1 minuta
one: ! '%{count} minuta'
few: ! '%{count} minute'
many: ! '%{count} minuta'
other: ! '%{count} minuta'
x_months:
one: 1 mjesec
one: ! '%{count} mjesec'
few: ! '%{count} mjeseca'
many: ! '%{count} mjeseci'
other: ! '%{count} mjeseci'
x_seconds:
one: 1 sekunda
one: ! '%{count} sekunda'
few: ! '%{count} sekunde'
many: ! '%{count} sekundi'
other: ! '%{count} sekundi'
Expand Down Expand Up @@ -139,24 +139,24 @@ hr:
record_invalid: ! 'Validacija nije uspjela: %{errors}'
taken: je već zauzet
too_long:
one: je predugačak (maksimum je 1 znak)
one: je predugačak (maksimum je %{count} znak)
few: je predugačak (maksimum je %{count} znaka)
many: je predugačak (maksimum je %{count} znakova)
other: je predugačak (maksimum je %{count} znakova)
too_short:
one: je prekratak (minimum je 1 znak)
one: je prekratak (minimum je %{count} znak)
few: je prekratak (minimum je %{count} znaka)
many: je prekratak (minimum je %{count} znakova)
other: je prekratak (minimum je %{count} znakova)
wrong_length:
one: nije odgovarajuće duljine (treba biti 1 znak)
one: nije odgovarajuće duljine (treba biti %{count} znak)
few: nije odgovarajuće duljine (treba biti %{count} znaka)
many: nije odgovarajuće duljine (treba biti %{count} znakova)
other: nije odgovarajuće duljine (treba biti %{count} znakova)
template:
body: ! 'Sljedeća polja su neispravno popunjena:'
header:
one: 1 greška je spriječila %{model} da se spremi
one: ! '%{count} greška je spriječila %{model} da se spremi'
few: ! '%{count} greške su spriječile %{model} da se spremi'
many: ! '%{count} grešaka je spriječilo %{model} da se spremi'
other: ! '%{count} grešaka je spriječilo %{model} da se spremi'
Expand Down
42 changes: 29 additions & 13 deletions rails/locale/iso-639-2/scr.yml
Expand Up @@ -55,42 +55,57 @@ scr:
datetime:
distance_in_words:
about_x_hours:
one: oko %{count} sat
few: oko %{count} sata
one: oko 1 sat
many: oko %{count} sati
other: oko %{count} sati
about_x_months:
one: oko %{count} mesec
few: oko %{count} meseca
one: oko 1 mesec
many: oko %{count} meseci
other: oko %{count} meseci
about_x_years:
one: oko 1 godine
one: oko %{count} godine
few: oko %{count} godine
many: oko %{count} godine
other: oko %{count} godine
half_a_minute: pola minute
less_than_x_minutes:
one: manje od 1 minut
one: manje od %{count} minut
few: manje od %{count} minuta
many: manje od %{count} minuta
other: manje od %{count} minuta
zero: manje od minuta
less_than_x_seconds:
few: manje od %{count} sekunde
one: manje od 1 sekund
one: manje od %{count} sekund
many: manje od %{count} sekundi
other: manje od %{count} sekundi
zero: manje od 1 sekunde
zero: manje od %{count} sekunde
over_x_years:
one: preko 1 godine
one: preko %{count} godine
few: preko %{count} godine
many: preko %{count} godine
other: preko %{count} godine
x_days:
one: 1 dan
one: ! '%{count} dan'
few: ! '%{count} dana'
many: ! '%{count} dana'
other: ! '%{count} dana'
x_minutes:
one: 1 minut
one: ! '%{count} minut'
few: ! '%{count} minuta'
many: ! '%{count} minuta'
other: ! '%{count} minuta'
x_months:
one: ! '%{count} mesec'
few: ! '%{count} meseca'
one: 1 mesec
many: ! '%{count} meseci'
other: ! '%{count} meseci'
x_seconds:
one: ! '%{count} sekunda'
few: ! '%{count} sekunde'
one: 1 sekunda
many: ! '%{count} sekundi'
other: ! '%{count} sekundi'
errors: &errors
format: ! '%{attribute} %{message}'
Expand All @@ -115,10 +130,11 @@ scr:
too_short: je prekratak (ne manje od %{count} karaktera)
wrong_length: nije odgovarajuće dužine (mora imati %{count} karaktera)
template:
body: ! 'Molim Vas proverite sledeća polja:'
body: ! 'Molim Vas da proverite sledeća polja:'
header:
one: ! 'Nisam uspeo sačuvati %{model}: %{count} greška.'
few: ! 'Nisam uspeo sačuvati %{model}: %{count} greške.'
one: ! 'Nisam uspeo sačuvati %{model}: 1 greška'
many: ! 'Nisam uspeo sačuvati %{model}: %{count} greški.'
other: ! 'Nisam uspeo sačuvati %{model}: %{count} greški.'
number:
currency:
Expand Down
24 changes: 12 additions & 12 deletions rails/locale/sr.yml
Expand Up @@ -55,55 +55,55 @@ sr:
datetime:
distance_in_words:
about_x_hours:
one: око 1 сат
one: око %{count} сат
few: око %{count} сата
many: око %{count} сати
other: око %{count} сати
about_x_months:
one: око 1 месец
one: око %{count} месец
few: око %{count} месеца
many: око %{count} месеци
other: око %{count} месеци
about_x_years:
one: око 1 године
one: око %{count} године
few: око %{count} године
many: око %{count} године
other: око %{count} године
half_a_minute: пола минуте
less_than_x_minutes:
one: мање од 1 минут
one: мање од %{count} минут
few: мање од %{count} минута
many: мање од %{count} минута
other: мање од %{count} минута
zero: мање од минута
less_than_x_seconds:
few: мање од %{count} секунде
one: мање од 1 секунд
one: мање од %{count} секунд
many: мање од %{count} секунди
other: мање од %{count} секунди
zero: мање од 1 секунде
zero: мање од %{count} секунде
over_x_years:
one: преко 1 године
one: преко %{count} године
few: преко %{count} године
many: преко %{count} године
other: преко %{count} године
x_days:
one: 1 дан
one: ! '%{count} дан'
few: ! '%{count} дана'
many: ! '%{count} дана'
other: ! '%{count} дана'
x_minutes:
one: 1 минут
one: ! '%{count} минут'
few: ! '%{count} минута'
many: ! '%{count} минута'
other: ! '%{count} минута'
x_months:
one: 1 месец
one: ! '%{count} месец'
few: ! '%{count} месеца'
many: ! '%{count} месеци'
other: ! '%{count} месеци'
x_seconds:
one: 1 секунда
one: ! '%{count} секунда'
few: ! '%{count} секунде'
many: ! '%{count} секунди'
other: ! '%{count} секунди'
Expand Down Expand Up @@ -132,7 +132,7 @@ sr:
template:
body: ! 'Молим Вас да проверите следећа поља:'
header:
one: ! 'Нисам успео сачувати %{model}: 1 грешка.'
one: ! 'Нисам успео сачувати %{model}: %{count} грешка.'
few: ! 'Нисам успео сачувати %{model}: %{count} грешке.'
many: ! 'Нисам успео сачувати %{model}: %{count} грешки.'
other: ! 'Нисам успео сачувати %{model}: %{count} грешки.'
Expand Down

0 comments on commit 855edc0

Please sign in to comment.