rails/locale/sl.yml in rails-i18n-0.2.0 vs rails/locale/sl.yml in rails-i18n-0.2.1
- old
+ new
@@ -72,10 +72,11 @@
words_connector: ", "
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"
@@ -107,10 +108,12 @@
errors:
messages:
<<: *errors_messages
template:
<<: *errors_template
+ full_messages:
+ format: "%{attribute} %{message}"
number:
# Used in number_with_delimiter()
# These are also the defaults for 'currency', 'percentage', 'precision', and 'human'
@@ -119,10 +122,12 @@
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
+ significant: false
+ strip_insignificant_zeros: false
# Used in number_to_currency()
currency:
format:
# Where is the currency sign? %u is the currency unit, %n the number (default: $5.00)
@@ -130,10 +135,12 @@
unit: "€"
# These three are to override number.format and are optional
separator: ","
delimiter: "."
precision: 2
+ significant: false
+ strip_insignificant_zeros: false
# Used in number_to_percentage()
percentage:
format:
# These three are to override number.format and are optional
@@ -154,10 +161,12 @@
format:
# These three are to override number.format and are optional
# 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)
format: "%n %u"
units:
@@ -166,9 +175,13 @@
other: "Bytes"
kb: "KB"
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:
distance_in_words:
half_a_minute: "pol minute"