Changeset 1561 for trunk/gregarius/dist

Show
Ignore:
Timestamp:
09/09/06 14:52:23 (2 years ago)
Author:
mbonetti
Message:

Yay for gettext localization! This will probably break things big time.
Note that until intl/*.php isn't adapted the the new method, the trunk
won't be localized!

Location:
trunk/gregarius/dist
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/gregarius/dist/convert.php

    r1559 r1561  
    4242            fclose($new); 
    4343 
    44             //rename($old, $old . '.old'); 
    45             //rename($new, $old); 
     44            rename($oldfile, $oldfile . '.old'); 
     45            rename($newfile, $oldfile); 
    4646 
    4747            echo "\tdone!\n"; 
  • trunk/gregarius/dist/l10n.sh

    r1505 r1561  
    99touch $POT 
    1010echo "Updating template: $POT" 
    11 find . -name \*.php | xargs xgettext -o $POT --no-wrap -j -lPHP -k__ 
     11find . -name \*.php | xargs xgettext -o $POT -j -lPHP -k__ 
    1212 
    1313POFILE=messages.po