[Libreoffice-commits] .: Branch 'libreoffice-3-3' - bin/stat-localizations

René Engelhard rene at kemper.freedesktop.org
Tue Nov 16 15:46:01 PST 2010


 bin/stat-localizations |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit bdc769427f4dbc67b7054fb206d3a709018108d6
Author: Rene Engelhard <rene at debian.org>
Date:   Wed Nov 17 00:45:25 2010 +0100

    fix bin/stat-localizations to work again

diff --git a/bin/stat-localizations b/bin/stat-localizations
index 103feee..0aa62f0 100755
--- a/bin/stat-localizations
+++ b/bin/stat-localizations
@@ -8,7 +8,7 @@ usage()
     echo "Usage:" ${0##*/} locale ...
     echo
     echo "Presumptions:"
-    echo "	- the module transex3 is built"
+    echo "	- the module l10ntools is built"
     echo "	- the profile *Env.Set* is sourced"
     echo
     echo "Note that the script is quite slow. It takes some minutes to extract strings"
@@ -21,7 +21,7 @@ fi
 
 if ! which localize >/dev/null 2>&1 ; then
     echo "Error: Unable to find the script \"localize\". Please, build and deliver"
-    echo "       the module transex3 and keep the \*Env.Set\* sourced."
+    echo "       the module l10ntools and keep the \*Env.Set\* sourced."
     exit 1;
 fi
 
@@ -50,7 +50,7 @@ primary_num_help=`cat $primary_strings_help | wc -l`
 for secondary_lang in $* ; do
 
     secondary_gsi=`mktemp /tmp/ooo-stat-localizationse.XXXXXXXX`
-    extract_gsi $secondary_lang $secondary_gsi
+    cp $SRC_ROOT/l10n/source/$secondary_lang/localize.sdf $secondary_gsi
     secondary_strings_ui=`mktemp /tmp/ooo-stat-localizationse.XXXXXXXX`
     grep -v "^helpcontent2" $secondary_gsi | sort | cut -f 1,2,5,11 >$secondary_strings_ui
     secondary_strings_help=`mktemp /tmp/ooo-stat-localizationse.XXXXXXXX`


More information about the Libreoffice-commits mailing list