[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
r5274 - trunk/gnue-common/utils
From: |
reinhard |
Subject: |
r5274 - trunk/gnue-common/utils |
Date: |
Tue, 9 Mar 2004 01:12:59 -0600 (CST) |
Author: reinhard
Date: 2004-03-09 01:12:54 -0600 (Tue, 09 Mar 2004)
New Revision: 5274
Removed:
trunk/gnue-common/utils/create-po.sh
Log:
Deleted obsolete file.
Deleted: trunk/gnue-common/utils/create-po.sh
===================================================================
--- trunk/gnue-common/utils/create-po.sh 2004-03-09 06:15:11 UTC (rev
5273)
+++ trunk/gnue-common/utils/create-po.sh 2004-03-09 07:12:54 UTC (rev
5274)
@@ -1,46 +0,0 @@
-#!/bin/sh
-#
-# used for internationalization
-# file to generate gnue.po file from all .py files we have
-
-if [ "$1" == "" ]; then
- echo ""
- echo "Usage: utils/create-po.sh <mylanguage>"
- echo ""
- echo "Restrictions: - You have to be in the gnue-common directory."
- echo " - a file translations/<lang>/LC_MESSAGES/gnue.po"
- echo " must exist. if not create it with 'touch'."
- echo ""
- exit 1
-fi
-
-# TODO: - Check if we are in the gnue-common directory
-# - automatically add copyright header
-# - do two runs to remove old comment ( # file:lineno)
-# - automatically add CHARSET (!important)
-
-(
- 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."
-echo "Important strings are (in the beginning of the file):"
-echo " Content-Type: text/plain; charset=CHARSET\n"
-echo " ^^^^^^^"
-echo "write here your charset, something like 'iso-8859-x'"
-
-echo " Content-Transfer-Encoding: ENCODING\n"
-echo " ^^^^^^^^"
-echo "write here character encoding, something like '8bit'"
-echo ""
-echo "These are most important strings."
-echo " After you have finished, please run command: msgfmt -o gnue.mo gnue.po"
-echo "this will give you binary file of your translation, prepared to import"
-echo "into GNUe."
-echo "Thank you & have a lot of fun :)"
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- r5274 - trunk/gnue-common/utils,
reinhard <=