X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/e7b47374e79e14c315360ff23332a8559080301b..10fb373e5e1fe6582e43f72556e5b15f86e6c20a:/vendor/rails-locales/sl.yml diff --git a/vendor/rails-locales/sl.yml b/vendor/rails-locales/sl.yml index 37ed5327d..d959d2dee 100644 --- a/vendor/rails-locales/sl.yml +++ b/vendor/rails-locales/sl.yml @@ -6,7 +6,6 @@ sl: default: "%d.%m.%Y" short: "%d. %b" long: "%d. %b %Y" - simple: "%d. %b %Y" day_names: - nedelja @@ -63,7 +62,6 @@ sl: default: "%A, %d %b %Y ob %H:%M:%S" short: "%d. %b ob %H:%M" long: "%d. %B, %Y ob %H:%M" - simple: "%d. %B %Y ob %H:%M" am: "dopoldan" pm: "popoldan" @@ -75,36 +73,45 @@ sl: two_words_connector: " in " last_word_connector: " in " + errors: + format: "%{attribute} %{message}" + messages: &errors_messages + inclusion: "ni vključeno v seznam" + exclusion: "je rezervirano" + invalid: "je nepravilno" + confirmation: "se ne ujema s potrditvijo" + accepted: "mora biti sprejeto" + empty: "ne sme biti prazno" + blank: "ne sme biti prazno" + too_long: "je predolgo (dovoljeno je do %{count} znakov)" + too_short: "je prekratko (zahtevano je najmanj %{count} znakov)" + wrong_length: "je napačne dolžine (mora biti natančno %{count} znakov)" + taken: "je že zasedeno" + not_a_number: "ni številka" + greater_than: "mora biti večje kot %{count}" + greater_than_or_equal_to: "mora biti večje ali enako %{count}" + equal_to: "mora biti enako %{count}" + less_than: "mora biti manj kot %{count}" + less_than_or_equal_to: "mora biti manj ali enako %{count}" + odd: "mora biti liho" + even: "mora biti sodo" + record_invalid: "" + template: &errors_template + header: + one: "Ena napaka preprečuje, da bi shranili %{model}" + two: "Dve napaki preprečujeta, da bi shranili %{model}" + few: "%{count} napake preprečujejo, da bi shranili %{model}" + other: "%{count} napak preprečuje, da bi shranili %{model}" + body: "Napačno izpolnjena polja:" + activerecord: errors: - template: - header: - one: "Ena napaka preprečuje, da bi shranili %{model}" - two: "Dve napaki preprečujeta, da bi shranili %{model}" - few: "%{count} napake preprečujejo, da bi shranili %{model}" - other: "%{count} napak preprečuje, da bi shranili %{model}" - body: "Napačno izpolnjena polja:" messages: - inclusion: "ni vključeno v seznam" - exclusion: "je rezervirano" - invalid: "je nepravilno" - confirmation: "se ne ujema s potrditvijo" - accepted: "mora biti sprejeto" - empty: "ne sme biti prazno" - blank: "ne sme biti prazno" - too_long: "je predolgo (dovoljeno je do %{count} znakov)" - too_short: "je prekratko (zahtevano je najmanj %{count} znakov)" - wrong_length: "je napačne dolžine (mora biti natančno %{count} znakov)" - taken: "je že zasedeno" - not_a_number: "ni številka" - greater_than: "mora biti večje kot %{count}" - greater_than_or_equal_to: "mora biti večje ali enako %{count}" - equal_to: "mora biti enako %{count}" - less_than: "mora biti manj kot %{count}" - less_than_or_equal_to: "mora biti manj ali enako %{count}" - odd: "mora biti liho" - even: "mora biti sodo" - record_invalid: "" + <<: *errors_messages + template: + <<: *errors_template + full_messages: + format: "%{attribute} %{message}" number: @@ -117,6 +124,8 @@ sl: delimiter: "." # Number of decimals, behind the separator (the number 1 with a precision of 2 gives: 1.00) precision: 2 + significant: false + strip_insignificant_zeros: false # Used in number_to_currency() currency: @@ -128,6 +137,8 @@ sl: separator: "," delimiter: "." precision: 2 + significant: false + strip_insignificant_zeros: false # Used in number_to_percentage() percentage: @@ -152,6 +163,8 @@ sl: # separator: delimiter: "" precision: 1 + significant: true + strip_insignificant_zeros: true storage_units: # Storage units output formatting. # %u is the storage unit, %n is the number (default: 2 MB) @@ -164,6 +177,10 @@ sl: mb: "MB" gb: "GB" tb: "TB" + decimal_units: + format: "%n %u" + units: + unit: "" # Used in distance_of_time_in_words(), distance_of_time_in_words_to_now(), time_ago_in_words() datetime: