X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=blobdiff_plain;f=includes%2Fcache%2FLocalisationCache.php;h=f5b235055ed56cda359de941c92ae2afe15b253d;hb=415b31766677e190c13322742b4e42da1157538c;hp=276e84aaa9c598dc28b528477d66d2940f2d4e45;hpb=d24b74ce2db24799dbaa2abe0277a48694ad2ebd;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/cache/LocalisationCache.php b/includes/cache/LocalisationCache.php index 276e84aaa9..f5b235055e 100644 --- a/includes/cache/LocalisationCache.php +++ b/includes/cache/LocalisationCache.php @@ -23,6 +23,7 @@ use Cdb\Exception as CdbException; use Cdb\Reader as CdbReader; use Cdb\Writer as CdbWriter; +use CLDRPluralRuleParser\Evaluator; /** * Class for caching the contents of localisation files, Messages*.php @@ -576,7 +577,7 @@ class LocalisationCache { return null; } try { - $compiledRules = CLDRPluralRuleEvaluator::compile( $rules ); + $compiledRules = Evaluator::compile( $rules ); } catch ( CLDRPluralRuleError $e ) { wfDebugLog( 'l10n', $e->getMessage() );