* Wrong variable and some guessed suppressions
This commit is contained in:
parent
01dc25b415
commit
d044c8a37d
2 changed files with 7 additions and 1 deletions
|
|
@ -3,6 +3,12 @@
|
|||
# Blacklist some checks for some languages
|
||||
$checkBlacklist = array(
|
||||
#'code' => array( 'check1', 'check2' ... )
|
||||
'hak' => array( 'plural' ),
|
||||
'ja' => array( 'plural' ), // Does not use plural
|
||||
'my' => array( 'chars' ), // Uses a lot zwnj
|
||||
'th' => array( 'plural' ),
|
||||
'yue' => array( 'plural' ),
|
||||
'zh-classical' => array( 'plural' ),
|
||||
'zh-hans' => array( 'plural' ),
|
||||
'zh-hant' => array( 'plural' ),
|
||||
);
|
||||
|
|
|
|||
|
|
@ -172,7 +172,7 @@ ENDS;
|
|||
# Check the language
|
||||
if ( $this->checkAll ) {
|
||||
foreach ( $this->L->getLanguages() as $language ) {
|
||||
if ( !in_array($this->code, $ignoredCodes) ) {
|
||||
if ( !in_array($language, $ignoredCodes) ) {
|
||||
$this->results[$language] = $this->checkLanguage( $language );
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue