Fix bug when creating project in Dutch
This commit is contained in:
@@ -166,7 +166,7 @@ return array(
|
|||||||
'Ready' => 'Klaar',
|
'Ready' => 'Klaar',
|
||||||
'Backlog' => 'En attente',
|
'Backlog' => 'En attente',
|
||||||
'Work in progress' => 'In behandeling',
|
'Work in progress' => 'In behandeling',
|
||||||
'Done' => 'Klaar',
|
'Done' => 'Afgewerkt',
|
||||||
'Application version:' => 'Applicatie versie :',
|
'Application version:' => 'Applicatie versie :',
|
||||||
'Completed on %B %e, %Y at %k:%M %p' => 'Voltooid op %d/%m/%Y à %H:%M',
|
'Completed on %B %e, %Y at %k:%M %p' => 'Voltooid op %d/%m/%Y à %H:%M',
|
||||||
'%B %e, %Y at %k:%M %p' => '%d/%m/%Y op %H:%M',
|
'%B %e, %Y at %k:%M %p' => '%d/%m/%Y op %H:%M',
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
require_once __DIR__.'/Base.php';
|
require_once __DIR__.'/Base.php';
|
||||||
|
|
||||||
|
use Core\Translator;
|
||||||
use Subscriber\ProjectModificationDateSubscriber;
|
use Subscriber\ProjectModificationDateSubscriber;
|
||||||
use Model\Project;
|
use Model\Project;
|
||||||
use Model\ProjectPermission;
|
use Model\ProjectPermission;
|
||||||
@@ -15,6 +16,19 @@ use Model\Category;
|
|||||||
|
|
||||||
class ProjectTest extends Base
|
class ProjectTest extends Base
|
||||||
{
|
{
|
||||||
|
public function testCreationForAllLanguages()
|
||||||
|
{
|
||||||
|
$c = new Config($this->container);
|
||||||
|
$p = new Project($this->container);
|
||||||
|
|
||||||
|
foreach ($c->getLanguages() as $locale => $language) {
|
||||||
|
Translator::load($locale);
|
||||||
|
$this->assertNotFalse($p->create(array('name' => 'UnitTest '.$locale)), 'Unable to create project with '.$locale.':'.$language);
|
||||||
|
}
|
||||||
|
|
||||||
|
Translator::load('en_US');
|
||||||
|
}
|
||||||
|
|
||||||
public function testCreation()
|
public function testCreation()
|
||||||
{
|
{
|
||||||
$p = new Project($this->container);
|
$p = new Project($this->container);
|
||||||
|
|||||||
Reference in New Issue
Block a user