Languages: Enabled Welsh option

This commit is contained in:
Dan Brown 2024-10-04 10:59:34 +01:00
parent 6646dcc24d
commit b1a3ea1aa4
No known key found for this signature in database
GPG Key ID: 46D9F943C24A2EF9
2 changed files with 3 additions and 1 deletions

View File

@ -295,6 +295,7 @@ return [
'bs' => 'Bosanski', 'bs' => 'Bosanski',
'ca' => 'Català', 'ca' => 'Català',
'cs' => 'Česky', 'cs' => 'Česky',
'cy' => 'Cymraeg',
'da' => 'Dansk', 'da' => 'Dansk',
'de' => 'Deutsch (Sie)', 'de' => 'Deutsch (Sie)',
'de_informal' => 'Deutsch (Du)', 'de_informal' => 'Deutsch (Du)',

View File

@ -35,7 +35,8 @@ class LanguageTest extends TestCase
$diffs = array_diff($this->langs, $dropdownLocales); $diffs = array_diff($this->langs, $dropdownLocales);
if (count($diffs) > 0) { if (count($diffs) > 0) {
$diffText = implode(',', $diffs); $diffText = implode(',', $diffs);
$this->addWarning("Languages: {$diffText} found in files but not in language select dropdown."); $warning = "Languages: {$diffText} found in files but not in language select dropdown.";
$this->fail($warning);
} }
$this->assertTrue(true); $this->assertTrue(true);
} }