mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-01-19 08:42:48 +08:00
Languages: Enabled Welsh option
This commit is contained in:
parent
6646dcc24d
commit
b1a3ea1aa4
|
@ -295,6 +295,7 @@ return [
|
|||
'bs' => 'Bosanski',
|
||||
'ca' => 'Català',
|
||||
'cs' => 'Česky',
|
||||
'cy' => 'Cymraeg',
|
||||
'da' => 'Dansk',
|
||||
'de' => 'Deutsch (Sie)',
|
||||
'de_informal' => 'Deutsch (Du)',
|
||||
|
|
|
@ -35,7 +35,8 @@ class LanguageTest extends TestCase
|
|||
$diffs = array_diff($this->langs, $dropdownLocales);
|
||||
if (count($diffs) > 0) {
|
||||
$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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user