Fixed missing keys in nbm

replace script must use language/templates files and not english

git-svn-id: http://piwigo.org/svn/trunk@5295 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
nikrou 2010-03-23 21:50:29 +00:00
commit ed6518319b
11 changed files with 17 additions and 33 deletions

View file

@ -18,10 +18,10 @@ $nbLines = count($lines);
$pattern = "`(.*{')(.*)('\|@translate}.*)`Um";
$replace = "'{\''.keyReplace('\\1').'\'|@translate}'";
include "language/en_UK/common.lang.php";
include "language/en_UK/admin.lang.php";
include "language/en_UK/upgrade.lang.php";
include "language/en_UK/install.lang.php";
include "language/templates/common.lang.php";
include "language/templates/admin.lang.php";
include "language/templates/upgrade.lang.php";
include "language/templates/install.lang.php";
while ($n < $nbLines) {
preg_match_all($pattern, $lines[$n], $matches);