]> git.pld-linux.org Git - packages/BitTorrent.git/blob - BitTorrent-morei18n.patch
BR: rpmbuild(macros) >= 1.710
[packages/BitTorrent.git] / BitTorrent-morei18n.patch
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
6  APP_NAME="bittorrent"
7 -LANGUAGES=`python language_codes.py -a`
8 +LANGUAGES=`cd po; ls *.po | sed -e 's/\.po//'`
9  MESSAGES_PO="messages.pot"
10  
11  rm -f $APP_NAME.lis
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/'                                       |\
This page took 0.025825 seconds and 3 git commands to generate.