aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authornikrou <nikrou@piwigo.org>2010-03-23 21:50:29 +0000
committernikrou <nikrou@piwigo.org>2010-03-23 21:50:29 +0000
commited6518319b2c5a6c7913b633a52f004663fe3242 (patch)
tree8f14c4495391f39878c7911a235d8b25fd758f9f /tools
parent720b19a1d90ccd34cde8d5aed9f4509255c75a99 (diff)
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
Diffstat (limited to 'tools')
-rwxr-xr-xtools/replace.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/replace.php b/tools/replace.php
index 21d38c0e4..0596ca064 100755
--- a/tools/replace.php
+++ b/tools/replace.php
@@ -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);