Skip to content

Commit

Permalink
Serbian translations for Rails in both Latin and Cyrillic script. Tha…
Browse files Browse the repository at this point in the history
…nks to Dejan Dimić!
  • Loading branch information
rubystream authored and Sven Fuchs committed Oct 25, 2008
1 parent 07bc714 commit 9db7eda
Show file tree
Hide file tree
Showing 2 changed files with 223 additions and 0 deletions.
112 changes: 112 additions & 0 deletions rails/locale/sr-Latn.yml
@@ -0,0 +1,112 @@
# Serbian (Latin) translations for Ruby on Rails
# by Dejan Dimić (dejan.dimic@gmail.com)

"sr-Latn":
date:
formats:
default: "%d/%m/%Y"
short: "%e %b"
long: "%B %e, %Y"
only_day: "%e"

day_names: [Nedelja, Ponedeljak, Utorak, Sreda, Četvrtak, Petak, Subota]
abbr_day_names: [Ned, Pon, Uto, Sre, Čet, Pet, Sub]
month_names: [~, Januar, Februar, Mart, April, Maj, Jun, Jul, Avgust, Septembar, Oktobar, Novembar, Decembar]
abbr_month_names: [~, Jan, Feb, Mar, Apr, Maj, Jun, Jul, Avg, Sep, Okt, Nov, Dec]
order: [ :day, :month, :year ]

time:
formats:
default: "%a %b %d %H:%M:%S %Z %Y"
time: "%H:%M"
short: "%d %b %H:%M"
long: "%B %d, %Y %H:%M"
only_second: "%S"

datetime:
formats:
default: "%Y-%m-%dT%H:%M:%S%Z"

am: 'AM'
pm: 'PM'

datetime:
distance_in_words:
half_a_minute: 'pola minute'
less_than_x_seconds:
zero: 'manje od 1 sekunde'
one: '1 sekund'
few: '{{count}} sekunde'
other: '{{count}} sekundi'
x_seconds:
one: '1 sekunda'
few: '{{count}} sekunde'
other: '{{count}} sekundi'
less_than_x_minutes:
zero: 'manje od minuta'
one: '1 minut'
other: '{{count}} minuta'
x_minutes:
one: '1 minut'
other: '{{count}} minuta'
about_x_hours:
one: 'oko 1 sat'
few: '{{count}} sata'
other: '{{count}} sati'
x_days:
one: '1 dan'
other: '{{count}} dana'
about_x_months:
one: 'oko 1 mesec'
few: '{{count}} meseca'
other: '{{count}} meseci'
x_months:
one: '1 mesec'
few: '{{count}} meseca'
other: '{{count}} meseci'
about_x_years:
one: 'oko 1 godine'
other: '{{count}} godine'
over_x_years:
one: 'preko 1 godine'
other: '{{count}} godine'

number:
format:
precision: 3
separator: ','
delimiter: '.'
currency:
format:
unit: 'DIN'
precision: 2
format: '%n %u'

active_record:
error:
header_message:
one: 'Nisam uspeo sačuvati {{object_name}}: 1 greška'
few: 'Nisam uspeo sačuvati {{object_name}}: {{count}} greške.'
other: 'Nisam uspeo sačuvati {{object_name}}: {{count}} greški.'

message: "Molim Vas proverite sledeća polja:"
error_messages:
inclusion: "nije u listi"
exclusion: "nije dostupno"
invalid: "nije ispravan"
confirmation: "se ne slaže sa svojom potvrdom"
accepted: "mora biti prihvaćen"
empty: "mora biti dat"
blank: "mora biti dat"
too_long: "je predugačak (ne više od {{count}} karaktera)"
too_short: "je prekratak (ne manje od {{count}} karaktera)"
wrong_length: "nije odgovarajuće dužine (mora imati {{count}} karaktera)"
taken: "je zauzeto"
not_a_number: "nije broj"
greater_than: "mora biti veće od {{count}}"
greater_than_or_equal_to: "mora biti veće ili jednako {{count}}"
equal_to: "mora biti jednako {{count}}"
less_than: "mora biti manje od {{count}}"
less_than_or_equal_to: "mora biti manje ili jednako {{count}}"
odd: "mora biti neparno"
even: "mora biti parno"
111 changes: 111 additions & 0 deletions rails/locale/sr.yml
@@ -0,0 +1,111 @@
# Serbian default (Cyrillic) translations for Ruby on Rails
# by Dejan Dimić (dejan.dimic@gmail.com)

"sr":
date:
formats:
default: "%d/%m/%Y"
short: "%e %b"
long: "%B %e, %Y"
only_day: "%e"

day_names: [Недеља, Понедељак, Уторак, Среда, Четвртак, Петак, Субота]
abbr_day_names: [Нед, Пон, Уто, Сре, Чет, Пет, Суб]
month_names: [~, Јануар, Фабруар, Март, Април, Мај, Јун, Јул, Август, Септембар, Октобар, Новембар, Децембар]
abbr_month_names: [~, Јан, Феб, Мар, Апр, Мај, Јун, Јул, Авг, Сеп, Окт, Нов, Дец]
order: [ :day, :month, :year ]

time:
formats:
default: "%a %b %d %H:%M:%S %Z %Y"
time: "%H:%M"
short: "%d %b %H:%M"
long: "%B %d, %Y %H:%M"
only_second: "%S"

datetime:
formats:
default: "%Y-%m-%dT%H:%M:%S%Z"

am: 'АМ'
pm: 'ПМ'

datetime:
distance_in_words:
half_a_minute: 'пола минуте'
less_than_x_seconds:
zero: 'мање од 1 секунде'
one: '1 секунд'
few: '{{count}} секунде'
other: '{{count}} секунди'
x_seconds:
one: '1 секунда'
few: '{{count}} секунде'
other: '{{count}} секунди'
less_than_x_minutes:
zero: 'мање од минута'
one: '1 минут'
other: '{{count}} минута'
x_minutes:
one: '1 минут'
other: '{{count}} минута'
about_x_hours:
one: 'око 1 сат'
few: '{{count}} сата'
other: '{{count}} сати'
x_days:
one: '1 дан'
other: '{{count}} дана'
about_x_months:
one: 'око 1 месец'
few: '{{count}} месеца'
other: '{{count}} месеци'
x_months:
one: '1 месец'
few: '{{count}} месеца'
other: '{{count}} месеци'
about_x_years:
one: 'око 1 године'
other: '{{count}} године'
over_x_years:
one: 'преко 1 године'
other: '{{count}} године'

number:
format:
precision: 3
separator: ','
delimiter: '.'
currency:
format:
unit: 'ДИН'
precision: 2
format: '%n %u'

active_record:
error:
header_message:
one: 'Нисам успео сачувати {{object_name}}: 1 грешка.'
few: 'Нисам успео сачувати {{object_name}}: {{count}} грешке.'
other: 'Нисам успео сачувати {{object_name}}: {{count}} грешки.'
message: "Молим Вас да проверите следећа поља:"
error_messages:
inclusion: "није у листи"
exclusion: "није доступно"
invalid: "није исправан"
confirmation: "се не слаже са својом потврдом"
accepted: "мора бити прихваћено"
empty: "мора бити дат"
blank: "мора бити дат"
too_long: "је предугачак (не више од {{count}} карактера)"
too_short: "је прекратак (не мање од {{count}} карактера)"
wrong_length: "није одговарајуће дужине (мора имати {{count}} карактера)"
taken: "је заузето"
not_a_number: "није број"
greater_than: "мора бити веће од {{count}}"
greater_than_or_equal_to: "мора бити веће или једнако {{count}}"
equal_to: "кора бити једнако {{count}}"
less_than: "мора бити мање од {{count}}"
less_than_or_equal_to: "мора бити мање или једнако {{count}}"
odd: "мора бити непарно"
even: "мора бити парно"

0 comments on commit 9db7eda

Please sign in to comment.