rails/locale/rm.yml in rails-i18n-0.2.0 vs rails/locale/rm.yml in rails-i18n-0.2.1
- old
+ new
@@ -109,27 +109,33 @@
number:
format:
precision: 2
separator: "."
delimiter: "'"
+ significant: false
+ strip_insignificant_zeros: false
currency:
format:
precision: 2
separator: "."
delimiter: "'"
unit: "CHF"
format: "%n %u"
+ significant: false
+ strip_insignificant_zeros: false
percentage:
format:
delimiter: ""
precision:
format:
delimiter: ""
human:
format:
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:
@@ -138,18 +144,23 @@
other: "bytes"
kb: "KB"
mb: "MB"
gb: "GB"
tb: "TB"
+ decimal_units:
+ format: "%n %u"
+ units:
+ unit: ""
support:
array:
words_connector: ", "
two_words_connector: " e "
last_word_connector: " e "
errors:
+ format: "%{attribute} %{message}"
messages: &errors_messages
inclusion: "n'è betg sin la glista"
exclusion: "na stat betg a disposiziun"
invalid: "n'è betg valid"
confirmation: "na correspunda betg al champ da conferma"
@@ -177,6 +188,8 @@
activerecord:
errors:
messages:
<<: *errors_messages
template:
- <<: *errors_template
+ <<: *errors_template
+ full_messages:
+ format: "%{attribute} %{message}"
\ No newline at end of file