Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/processone/ejabberd.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMickaël Rémond <mickael.remond@process-one.net>2005-12-09 00:59:49 +0300
committerMickaël Rémond <mickael.remond@process-one.net>2005-12-09 00:59:49 +0300
commit6d091308a201b638a20e12e54131decc27de1a78 (patch)
tree56ff3e429ba27281c21c946fa94dc261703857b1 /contrib
parente00df63715f30adb28a86de51008ef821a214619 (diff)
* contribs/contrib/extract_translations/prepare-translation.sh:
Small improvements. * src/msgs/fr.msg: Updated SVN Revision: 456
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/extract_translations/prepare-translation.sh16
1 files changed, 4 insertions, 12 deletions
diff --git a/contrib/extract_translations/prepare-translation.sh b/contrib/extract_translations/prepare-translation.sh
index a9ab4fbdb..64bd03993 100755
--- a/contrib/extract_translations/prepare-translation.sh
+++ b/contrib/extract_translations/prepare-translation.sh
@@ -2,7 +2,7 @@
# Frontend for ejabberd's extract_translations.erl
# by Badlop
-# last updated: 18 November 2005
+# last updated: 8 December 2005
while [ "$1" != "" ]
do
@@ -17,7 +17,7 @@ do
exit 0
;;
-lang)
- # This is the languaje to be extracted
+ # This is the language to be extracted
LANGU=$2
shift
shift
@@ -64,18 +64,10 @@ echo ""
echo -n "Extracting language strings for '$LANGU':"
echo -n " new..."
-sh -c "cd $SRC_DIR; $ERL
--pa $EXTRACT_DIR
--noinput
--s extract_translations
--extra . $MSGS_PATH >$MSGS_PATH.new"
+$ERL -pa $EXTRACT_DIR -noinput -noshell -s extract_translations -s init stop -extra $SRC_DIR $MSGS_PATH >$MSGS_PATH.new
echo -n " old..."
-sh -c "cd $SRC_DIR; $ERL
--pa $EXTRACT_DIR
--noinput
--s extract_translations
--extra -unused . $MSGS_PATH >$MSGS_PATH.unused"
+$ERL -pa $EXTRACT_DIR -noinput -noshell -s extract_translations -s init stop -extra -unused $SRC_DIR $MSGS_PATH >$MSGS_PATH.unused
cat $MSGS_PATH >$MSGS_PATH2