Merge branch 'QA_5_0'

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
This commit is contained in:
Maurício Meneghini Fauth 2020-08-09 13:02:32 -03:00
commit f28442c1a2
4 changed files with 16387 additions and 6 deletions

View File

@ -96,6 +96,13 @@ class LanguageManager
'be[-_]lat|be@latin|belarusian latin',
'',
],
'ber' => [
'ber',
'Berber',
'Tamaziɣt',
'ber|berber',
'',
],
'bg' => [
'bg',
'Bulgarian',

View File

@ -1,9 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit bootstrap="test/bootstrap-dist.php"
backupGlobals="false"
backupStaticAttributes="false"
colors="true"
verbose="true">
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/7.5/phpunit.xsd"
bootstrap="test/bootstrap-dist.php"
backupGlobals="false"
backupStaticAttributes="false"
colors="true"
verbose="true">
<testsuites>
<testsuite name="Classes">

16367
po/ber.po Normal file

File diff suppressed because it is too large Load Diff

View File

@ -87,7 +87,12 @@ class LanguageTest extends AbstractTestCase
/* Ensure we have name for every language */
foreach ($langs as $lang) {
$this->assertNotEquals($lang->getCode(), strtolower($lang->getEnglishName()));
$this->assertNotEquals(
$lang->getCode(),
strtolower($lang->getEnglishName()),
'Maybe this language does not exist in LanguageManager class'
. ', see: https://github.com/phpmyadmin/phpmyadmin/issues/16300.'
);
}
}