Пример #1
0
 public function testTranslateAndInterpolate()
 {
     $this->assertEquals("La date d'aujourd'hui est 31/07/2007", I18n::translate("Today's date is %date%", array('date' => '31/07/2007')));
     $this->assertEquals("La date d'aujourd'hui est 31/07/2007", __("Today's date is %date%", array('date' => '31/07/2007')));
 }