Changeset 6e72994 in github


Ignore:
Timestamp:
May 23, 2012 2:04:58 PM (12 months ago)
Author:
Aleksander Machniak <alec@…>
Branches:
release-0.8
Children:
da19e0e
Parents:
550bf0d
git-author:
Aleksander Machniak <alec@…> (05/22/12 06:39:23)
git-committer:
Aleksander Machniak <alec@…> (05/23/12 14:04:58)
Message:

Remove <Unknown> from localization author line

Conflicts:

bin/importgettext.sh

File:
1 edited

Legend:

Unmodified
Added
Removed
  • bin/importgettext.sh

    r35a35d13 r6e72994  
    5555 | Author: %-62s| 
    5656 +-----------------------------------------------------------------------+ 
    57  @version %s$ 
    5857*/ 
    5958 
     
    6261EOF; 
    6362 
    64         $output = sprintf($header, $lang, $varname.'.inc', date('Y'), $texts['_translator'], '$Id', $varname); 
     63    $author = preg_replace('/\s*<Unknown>/i', '', $texts['_translator']); 
     64        $output = sprintf($header, $lang, $varname.'.inc', date('Y'), $author, $varname); 
    6565 
    6666        foreach ($texts as $label => $value) { 
Note: See TracChangeset for help on using the changeset viewer.