summaryrefslogtreecommitdiff
path: root/bin/importgettext.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bin/importgettext.sh')
-rwxr-xr-xbin/importgettext.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/importgettext.sh b/bin/importgettext.sh
index a63ac0054..9ffb71d04 100755
--- a/bin/importgettext.sh
+++ b/bin/importgettext.sh
@@ -56,7 +56,8 @@ $%s = array();
EOF;
- $output = sprintf($header, $lang, $varname.'.inc', date('Y'), $texts['_translator'], $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; }