Merge branch 'develop' of https://github.com/Dolibarr/dolibarr.git into
develop
This commit is contained in:
commit
ab3bbf8e0b
@ -7,7 +7,7 @@ DIRECTION=ltr
|
|||||||
FONTFORPDF=helvetica
|
FONTFORPDF=helvetica
|
||||||
FONTSIZEFORPDF=10
|
FONTSIZEFORPDF=10
|
||||||
SeparatorDecimal=,
|
SeparatorDecimal=,
|
||||||
SeparatorThousand=,
|
SeparatorThousand=Space
|
||||||
FormatDateShort=%m/%d/%Y
|
FormatDateShort=%m/%d/%Y
|
||||||
FormatDateShortInput=%m/%d/%Y
|
FormatDateShortInput=%m/%d/%Y
|
||||||
FormatDateShortJava=MM/dd/yyyy
|
FormatDateShortJava=MM/dd/yyyy
|
||||||
|
|||||||
@ -158,7 +158,7 @@ class LangTest extends PHPUnit_Framework_TestCase
|
|||||||
|
|
||||||
$result=$tmplangs->trans("SeparatorThousand");
|
$result=$tmplangs->trans("SeparatorThousand");
|
||||||
print __METHOD__." SeparatorThousand=".$result."\n";
|
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,...
|
// Test java string contains only d,M,y,/,-,. and not m,...
|
||||||
$result=$tmplangs->trans("FormatDateShortJava");
|
$result=$tmplangs->trans("FormatDateShortJava");
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user