Merge pull request #1520 from ArthurHoaro/fix/jp-language
This commit is contained in:
commit
9e6371a6fd
3 changed files with 3 additions and 2 deletions
|
@ -179,9 +179,10 @@ public static function getAvailableLanguages()
|
||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
'auto' => t('Automatic'),
|
'auto' => t('Automatic'),
|
||||||
|
'de' => t('German'),
|
||||||
'en' => t('English'),
|
'en' => t('English'),
|
||||||
'fr' => t('French'),
|
'fr' => t('French'),
|
||||||
'de' => t('German'),
|
'jp' => t('Japanese'),
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -62,7 +62,7 @@ public function testIndex(): void
|
||||||
static::assertSame('privacy.hide_public_links', $assignedVariables['hide_public_links']);
|
static::assertSame('privacy.hide_public_links', $assignedVariables['hide_public_links']);
|
||||||
static::assertSame('api.enabled', $assignedVariables['api_enabled']);
|
static::assertSame('api.enabled', $assignedVariables['api_enabled']);
|
||||||
static::assertSame('api.secret', $assignedVariables['api_secret']);
|
static::assertSame('api.secret', $assignedVariables['api_secret']);
|
||||||
static::assertCount(4, $assignedVariables['languages']);
|
static::assertCount(5, $assignedVariables['languages']);
|
||||||
static::assertArrayHasKey('gd_enabled', $assignedVariables);
|
static::assertArrayHasKey('gd_enabled', $assignedVariables);
|
||||||
static::assertSame('thumbnails.mode', $assignedVariables['thumbnails_mode']);
|
static::assertSame('thumbnails.mode', $assignedVariables['thumbnails_mode']);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue