@@ -64,6 +64,12 @@ public function dataForTestSetValue()
6464 ['de_DE ' , null , '12.0 ' , '12,0 ' ],
6565 ['de_DE ' , null , '12.1 ' , '12,1 ' ],
6666 ['de_DE ' , 1 , '14000.5 ' , "14.000,5 " ],
67+ // de_CH
68+ ['de_CH ' , 0 , '13000 ' , "13’000 " ],
69+ ['de_CH ' , 0 , '15 ' , '15 ' ],
70+ ['de_CH ' , null , '12.0 ' , '12.0 ' ],
71+ ['de_CH ' , null , '12.1 ' , '12.1 ' ],
72+ ['de_CH ' , 1 , '14000.5 ' , "14’000.5 " ],
6773 // nl
6874 ['nl_NL ' , 0 , '13000 ' , "13.000 " ],
6975 ['nl_NL ' , 0 , '15 ' , '15 ' ],
@@ -137,7 +143,17 @@ public function dataForTestSubmittedValue()
137143 ['de_DE ' , 1 , '15 000.5 ' , false ],
138144 ['de_DE ' , 1 , '15.000,5 ' , 15000.5 ],
139145 ['de_DE ' , 1 , '15,000.5 ' , false ],
140-
146+ // de_CH (Swiss German)
147+ ['de_CH ' , 0 , '13000 ' , 13000 , '13’000 ' ],
148+ ['de_CH ' , 2 , '12,00 ' , false ],
149+ ['de_CH ' , 2 , '12.00 ' , 12.00 ],
150+ ['de_CH ' , 1 , '11 000 ' , 11000 , "11’000.0 " ],
151+ ['de_CH ' , 0 , "11.000 " , 11 , "11 " ],
152+ ['de_CH ' , null , '11,000 ' , 11000.0 , '11’000.0 ' ],
153+ ['de_CH ' , 1 , '15 000,5 ' , false ],
154+ ['de_CH ' , 1 , "15 000.5 " , 15000.5 , '15’000.5 ' ],
155+ ['de_CH ' , 1 , '15.000,5 ' , false ],
156+ ['de_CH ' , 1 , '15,000.5 ' , 15000.5 , '15’000.5 ' ],
141157 // nl_nl (same as de)
142158 ['nl_NL ' , 0 , '13000 ' , 13000 , '13.000 ' ],
143159 ['nl_NL ' , 2 , '12,00 ' , 12.00 ],
0 commit comments