rails/locale/nn.yml in rails-i18n-0.2.0 vs rails/locale/nn.yml in rails-i18n-0.2.1
- old
+ new
@@ -96,18 +96,41 @@
number:
format:
precision: 2
separator: "."
delimiter: ","
+ significant: false
+ strip_insignificant_zeros: false
currency:
format:
unit: "kr"
format: "%n %u"
+ separator: "."
+ delimiter: ","
+ precision: 2
+ significant: false
+ strip_insignificant_zeros: false
+ percentage:
+ format:
+ delimiter: ""
precision:
format:
delimiter: ""
+ human:
+ format:
+ delimiter: ""
+ precision: 3
+ significant: true
+ strip_insignificant_zeros: true
+ storage_units:
+ format: "%n %u"
+ decimal_units:
+ format: "%n %u"
+ units:
+ unit: ""
errors:
+ format: "%{attribute} %{message}"
template: &errors_template
header: "kunne ikkje lagra %{model} grunna %{count} feil."
body: "det oppstod problem i følgjande felt:"
messages: &errors_messages
inclusion: "er ikkje inkludert i lista"
@@ -132,6 +155,8 @@
activerecord:
errors:
messages:
<<: *errors_messages
template:
- <<: *errors_template
+ <<: *errors_template
+ full_messages:
+ format: "%{attribute} %{message}"
\ No newline at end of file