Permalink
Browse files

add missing locales for cs/de/nl issue #570

  • Loading branch information...
1 parent 2fd84e4 commit db78dc2ae482ebd7217568afcef3e8a48506607b @achiu achiu committed Aug 1, 2011
@@ -17,8 +17,8 @@ cs:
format: "%n %u"
unit: ""
# These three are to override number.format and are optional
- # separator: ","
- # delimiter: " "
+ separator: ","
+ delimiter: " "
precision: 2
# Used in number_to_percentage()
@@ -8,9 +8,9 @@ de:
format:
unit: ''
format: '%n%u'
- separator:
- delimiter:
- precision:
+ separator: ","
+ delimiter: "."
+ precision: 2
percentage:
format:
delimiter: ""
@@ -75,4 +75,4 @@ de:
header:
one: "1 Fehler verhindert, dass Objekt %{model} gesichert werden kann"
other: "%{count} Fehler verhindern, dass Objekt %{model} gesichert werden kann"
- body: "Es existieren Probleme mit den folgenden Feldern:"
+ body: "Es existieren Probleme mit den folgenden Feldern:"
@@ -8,9 +8,9 @@ nl:
format:
unit: ''
format: '%u %n'
- separator:
- delimiter:
- precision:
+ separator: ","
+ delimiter: "."
+ precision: 2
percentage:
format:
delimiter: ""
@@ -75,4 +75,4 @@ nl:
header:
one: "1 fout verhindert het opslaan van dit %{model} object"
other: "%{count} fouten verhinderen het opslaan van dit %{model} object"
- body: "Controleer alstublieft de volgende velden:"
+ body: "Controleer alstublieft de volgende velden:"
@@ -12,10 +12,9 @@ class TestLocales < Test::Unit::TestCase
base = base_original[name]['number']['currency']['format']
assert !base['format'].nil?
assert !base['unit'].nil?
- # FIXME: NOT ALL TRANSLATION HAVE THESE VALUES, SHOULD NORMAL?
- # assert !base['separator'].nil?
- # assert !base['delimiter'].nil?
- # assert !base['precision'].nil?
+ assert !base['separator'].nil?
+ assert !base['delimiter'].nil?
+ assert !base['precision'].nil?
end
end
end

0 comments on commit db78dc2

Please sign in to comment.