r55690 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r55689‎ | r55690 | r55691 >
Date:07:50, 31 August 2009
Author:nikerabbit
Status:ok
Tags:
Comment:
Don't check plural for now
Modified paths:
  • /trunk/extensions/Translate/groups/FUDforum/Checker.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/groups/FUDforum/Checker.php
@@ -19,7 +19,7 @@
2020 $definition = $message->definition();
2121 $translation = $message->translation();
2222
23 - $varPattern = '{.*}';
 23+ $varPattern = '{(?!PLURAL).*}';
2424 preg_match_all( "/$varPattern/U", $definition, $defVars );
2525 preg_match_all( "/$varPattern/U", $translation, $transVars );
2626

Status & tagging log