From 2035e6e648aea11e705a0d6b060d856d687699ff Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Mon, 7 Apr 2014 13:08:04 +0200 Subject: [PATCH] Fix: The " " is not more allowed as value for SeparatorThousand. We must use "Space". This solve a lot of problem into translation process. --- test/phpunit/LangTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/phpunit/LangTest.php b/test/phpunit/LangTest.php index 77c4e87931d..4c3cf745d85 100755 --- a/test/phpunit/LangTest.php +++ b/test/phpunit/LangTest.php @@ -158,7 +158,7 @@ class LangTest extends PHPUnit_Framework_TestCase $result=$tmplangs->trans("SeparatorThousand"); print __METHOD__." SeparatorThousand=".$result."\n"; - $this->assertContains($result,array('.',',','/',' ','','None','SeparatorThousand')); // SeparatorThousand is returned when SeparatorThousand=Space + $this->assertContains($result,array('.',',','/',' ','','None','Space')); // Test java string contains only d,M,y,/,-,. and not m,... $result=$tmplangs->trans("FormatDateShortJava");