diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/importgettext.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/importgettext.sh b/bin/importgettext.sh index d29a318bd..cda1f6e48 100755 --- a/bin/importgettext.sh +++ b/bin/importgettext.sh @@ -54,14 +54,14 @@ foreach ($out as $outfn => $texts) { +-----------------------------------------------------------------------+ | Author: %-62s| +-----------------------------------------------------------------------+ - @version %s$ */ $%s = array(); EOF; - $output = sprintf($header, $lang, $varname.'.inc', date('Y'), $texts['_translator'], '$Id', $varname); + $author = preg_replace('/\s*<Unknown>/i', '', $texts['_translator']); + $output = sprintf($header, $lang, $varname.'.inc', date('Y'), $author, $varname); foreach ($texts as $label => $value) { if (is_array($value)) { var_dump($outfn, $label, $value); exit; } |