Skip to content

Commit

Permalink
Added romanian localization
Browse files Browse the repository at this point in the history
  • Loading branch information
relu committed May 27, 2012
1 parent 7832933 commit 2ec42a1
Show file tree
Hide file tree
Showing 4 changed files with 179 additions and 0 deletions.
16 changes: 16 additions & 0 deletions padrino-admin/lib/padrino-admin/locale/admin/ro.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
en:
padrino:
admin:
save: Salvează
cancel: Anulează
list: Listă
edit: Editează
new: Crează
show: Afișează
delete: Șterge
confirm: Ești sigur?
created_at: Creat la
all: Toate
profile: Profil
settings: Setări
logout: Delogare
26 changes: 26 additions & 0 deletions padrino-admin/lib/padrino-admin/locale/orm/ro.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
en:
activemodel: &activemodel
errors:
messages:
inclusion: "nu este inclus în listă"
exclusion: "este rezervat"
invalid: "nu este valid"
confirmation: "nu corespunde cu confirmarea"
accepted: "trebuie să fie acceptat"
empty: "nu poate fi gol"
blank: "nu poate fi gol"
too_long: "este prea lung (maximul este %{count} caractere)"
too_short: "este prea scurt (minimul este %{count} caractere)"
wrong_length: "are lungime necorespunzătoare (trebuie să fie de %{count} caractere)"
taken: "este deja utilizat"
not_a_number: "nu este un număr"
greater_than: "trebuie să fie mai mare de %{count}"
greater_than_or_equal_to: "trebuie să fie mai mare sau egal cu %{count}"
equal_to: "trebuie să fie egal cu %{count}"
less_than: "trebuie să fie mai mic de %{count}"
less_than_or_equal_to: "trebuie să fie mai mic sau egal cu %{count}"
odd: "trebuie să fie impar"
even: "trebuie să fie par"
record_invalid: "Eroare la validare: %{errors}"
content_type: "format de fișier neacceptat"
activerecord: *activemodel
34 changes: 34 additions & 0 deletions padrino-core/lib/padrino-core/locale/ro.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
en:
date:
formats:
# Use the strftime parameters for formats.
# When no format has been given, it uses default.
# You can provide other formats here if you like!
default: "%d.%m.%Y"
short: "%d %b"
long: "%d %B %Y"
only_day: "%e"

day_names: [Duminică, Luni, Marți, Miercuri, Joi, Vineri, Sâmbătă]
abbr_day_names: [Dum, Lun, Mar, Mie, Joi, Vin, Sâm]
month_names: [~, Ianuarie, Februarie, Martie, Aprilie, Mai, Iunie, Iulie, August, Septembrie, Octombrie, Noiembrie, Decembrie]
abbr_month_names: [~, Ian, Feb, Mar, Apr, Mai, Iun, Iul, Aug, Sep, Oct, Noi, Dec]
order:
- day
- month
- year

time:
formats:
default: "%a, %d %b %Y %H:%M:%S %z"
short: "%d %b %H:%M"
long: "%d, %B %Y %H:%M"
am: "am"
pm: "pm"

# Used in array.to_sentence.
support:
array:
words_connector: ", "
two_words_connector: " și "
last_word_connector: " și "
103 changes: 103 additions & 0 deletions padrino-helpers/lib/padrino-helpers/locale/ro.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,103 @@
en:
number:
# Used in number_with_delimiter()
# These are also the defaults for 'currency', 'percentage', 'precision', and 'human'
format:
# Sets the separator between the units, for more precision (e.g. 1.0 / 2.0 == 0.5)
separator: ","
# Delimets thousands (e.g. 1,000,000 is a million) (always in groups of three)
delimiter: "."
# Number of decimals, behind the separator (the number 1 with a precision of 2 gives: 1.00)
precision: 2

# Used in number_to_currency()
currency:
format:
# Where is the currency sign? %u is the currency unit, %n the number (default: $5.00)
format: "%n %u"
unit: "lei"
# These three are to override number.format and are optional
separator: ","
delimiter: "."
precision: 2

# Used in number_to_percentage()
percentage:
format:
# These three are to override number.format and are optional
# separator:
delimiter: ""
# precision:

# Used in number_to_precision()
precision:
format:
# These three are to override number.format and are optional
# separator:
delimiter: ""
# precision:

# Used in number_to_human_size()
human:
format:
# These three are to override number.format and are optional
# separator:
delimiter: ""
precision: 1
storage_units:
# Storage units output formatting.
# %u is the storage unit, %n is the number (default: 2 MB)
format: "%n %u"
units:
byte:
one: "Byte"
other: "Bytes"
kb: "KB"
mb: "MB"
gb: "GB"
tb: "TB"

# Used in distance_of_time_in_words(), distance_of_time_in_words_to_now(), time_ago_in_words()
datetime:
distance_in_words:
half_a_minute: "jumătate de minut"
less_than_x_seconds:
one: "mai puțin de o secundă"
other: "mai puțin de %{count} secunde"
x_seconds:
one: "o secundă"
other: "%{count} secunde"
less_than_x_minutes:
one: "mai puțin de un minut"
other: "mai puțin de %{count} minute"
x_minutes:
one: "un minut"
other: "%{count} minute"
about_x_hours:
one: "aproximativ o oră"
other: "aproximativ %{count} ore"
x_days:
one: "o zi"
other: "%{count} zile"
about_x_months:
one: "aproximativ o lună"
other: "aproximativ %{count} luni"
x_months:
one: "o lună"
other: "%{count} luni"
about_x_years:
one: "aproximativ un an"
other: "aproximativ %{count} ani"
over_x_years:
one: "peste un an"
other: "peste %{count} ani"
almost_x_years:
one: "aproape un an"
other: "aproape %{count} ani"
models:
errors:
template:
header:
one: "Nu s-a putut salva %{model}, a avut loc o eroare."
other: "Nu s-a putut salva %{model}, au avut loc %{count} erori."
body: "Există probleme cu următoarele câmpuri:"

0 comments on commit 2ec42a1

Please sign in to comment.