SOURCES: BitTorrent-morei18n.patch - use pygettext instead of xget...

wrobell wrobell at pld-linux.org
Tue Sep 5 22:06:04 CEST 2006


Author: wrobell                      Date: Tue Sep  5 20:06:04 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- use pygettext instead of xgettext - gettext 0.15 does not support unnamed
  parameters anymore... it seems

---- Files affected:
SOURCES:
   BitTorrent-morei18n.patch (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: SOURCES/BitTorrent-morei18n.patch
diff -u SOURCES/BitTorrent-morei18n.patch:1.3 SOURCES/BitTorrent-morei18n.patch:1.4
--- SOURCES/BitTorrent-morei18n.patch:1.3	Sat Feb  4 22:45:08 2006
+++ SOURCES/BitTorrent-morei18n.patch	Tue Sep  5 22:05:59 2006
@@ -1,9 +1,20 @@
---- BitTorrent-4.1.7/makei18n.sh.orig	2005-11-04 12:51:16.000000000 +0100
-+++ BitTorrent-4.1.7/makei18n.sh	2005-11-04 12:51:16.000000000 +0100
-@@ -1,5 +1,5 @@
+--- BitTorrent-4.20.9/makei18n.sh.orig	2006-08-17 03:42:20.000000000 +0100
++++ BitTorrent-4.20.9/makei18n.sh	2006-09-05 20:58:06.000000000 +0100
+@@ -12,7 +12,7 @@
+ 
+ # written by Matt Chisholm
  APP_NAME="bittorrent"
 -LANGUAGES=`python language_codes.py -a`
 +LANGUAGES=`cd po; ls *.po | sed -e 's/\.po//'`
  MESSAGES_PO="messages.pot"
  
  rm -f $APP_NAME.lis
+@@ -29,7 +29,7 @@
+ # find everything else
+ find . -name \*.py -type f | egrep -v '/(build)|(dist)|(test)/' >> $APP_NAME.lis
+ 
+-xgettext -f $APP_NAME.lis -L Python -o -                        |\
++pygettext -o - $(cat $APP_NAME.lis)                             |\
+     sed -e 's/CHARSET/UTF-8/'                                   |\
+     sed -e 's/SOME DESCRIPTIVE TITLE./BitTorrent/'              |\
+     sed -e 's/YEAR/2006/'                                       |\
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/BitTorrent-morei18n.patch?r1=1.3&r2=1.4&f=u



More information about the pld-cvs-commit mailing list