[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
r5223 - trunk/gnue-common/utils
From: |
reinhard |
Subject: |
r5223 - trunk/gnue-common/utils |
Date: |
Fri, 5 Mar 2004 03:49:51 -0600 (CST) |
Author: reinhard
Date: 2004-03-05 03:49:50 -0600 (Fri, 05 Mar 2004)
New Revision: 5223
Modified:
trunk/gnue-common/utils/create-po.sh
Log:
Always update empty .po file, update language specific file with msgmerge.
Modified: trunk/gnue-common/utils/create-po.sh
===================================================================
--- trunk/gnue-common/utils/create-po.sh 2004-03-05 09:04:32 UTC (rev
5222)
+++ trunk/gnue-common/utils/create-po.sh 2004-03-05 09:49:50 UTC (rev
5223)
@@ -19,8 +19,14 @@
# - do two runs to remove old comment ( # file:lineno)
# - automatically add CHARSET (!important)
-LC_ALL=$1 xgettext -d gnue -o translations/$1/LC_MESSAGES/gnue.po -L Python -j
`find . -maxdepth 10 -mindepth 2 -iname '*.py'`
+(
+ cd ..
+ files=`find */src -maxdepth 10 -mindepth 2 -iname '*.py'`
+ xgettext -d gnue -o gnue-common/translations/gnue.po -L Python $files
+)
+msgmerge --update translations/$1/LC_MESSAGES/gnue.po translations/gnue.po
+
echo ""
echo " Now you have a file called gnue.po somewhere in this directory. You can"
echo "translate it (just open the file with editor of your taste) and edit it."
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- r5223 - trunk/gnue-common/utils,
reinhard <=