]>
Commit | Line | Data |
---|---|---|
530dde6e | 1 | --- BitTorrent-4.20.9/makei18n.sh.orig 2006-08-17 03:42:20.000000000 +0100 |
2 | +++ BitTorrent-4.20.9/makei18n.sh 2006-09-05 20:58:06.000000000 +0100 | |
3 | @@ -12,7 +12,7 @@ | |
4 | ||
5 | # written by Matt Chisholm | |
25b75907 | 6 | APP_NAME="bittorrent" |
1a9bc542 | 7 | -LANGUAGES=`python language_codes.py -a` |
25b75907 | 8 | +LANGUAGES=`cd po; ls *.po | sed -e 's/\.po//'` |
9 | MESSAGES_PO="messages.pot" | |
10 | ||
11 | rm -f $APP_NAME.lis | |
530dde6e | 12 | @@ -29,7 +29,7 @@ |
13 | # find everything else | |
14 | find . -name \*.py -type f | egrep -v '/(build)|(dist)|(test)/' >> $APP_NAME.lis | |
15 | ||
16 | -xgettext -f $APP_NAME.lis -L Python -o - |\ | |
17 | +pygettext -o - $(cat $APP_NAME.lis) |\ | |
18 | sed -e 's/CHARSET/UTF-8/' |\ | |
19 | sed -e 's/SOME DESCRIPTIVE TITLE./BitTorrent/' |\ | |
20 | sed -e 's/YEAR/2006/' |\ |