diff options
Diffstat (limited to 'tools/extract2gettext.php')
-rw-r--r-- | tools/extract2gettext.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/extract2gettext.php b/tools/extract2gettext.php index 424bb9172..8eff15de0 100644 --- a/tools/extract2gettext.php +++ b/tools/extract2gettext.php @@ -70,7 +70,7 @@ foreach ($out as $str) { if (preg_match_all('/\_(g|r)\(\'(.+)\'/imU', $arr, $reg)) { // i=PCRE_CASELESS, m=PCRE_MULTILINE, U=PCRE_UNGREEDY foreach ($reg[2] as $found) { $found = str_replace('_apostrophe_', '\'', $found); - $strings[$domain][$found][] = $file . ' +' . $line; + $strings[$domain][$found][] = '/web/' . $file . ' +' . $line; } } else { @@ -87,7 +87,7 @@ foreach ($strings as $domain => $strs) { $f[] = '# This file is distributed under the same license as'; $f[] = '# the content of the corresponding web page(s).'; $f[] = '#'; - $f[] = sprintf('# Generated by extract2gettext.php on %s', $cur_date = date('Y m d H:i:sO')); + $f[] = sprintf('# Generated by extract2gettext.php on %s', $cur_date = date('Y-m-d H:i:sO')); $f[] = sprintf('# Domain: %s', $domain); $f[] = '#'; $f[] = '# include translation strings from:'; |