* Wrong variable and some guessed suppressions

This commit is contained in:
Niklas Laxström 2007-10-15 15:09:42 +00:00
parent 01dc25b415
commit d044c8a37d
2 changed files with 7 additions and 1 deletions

View file

@ -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' ),
);

View file

@ -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 );
}
}