[Kde-extra-gear] extragear/scripts

Tom Albers tomalbers at kde.nl
Wed Nov 23 18:14:24 CET 2005


SVN commit 482643 by toma:

The script works nicely! Thanks for making it.

Fixed the help and one bug. Maybe it can be extended to copy over the templates, else there is a risk scripty will run with an old template and mess up all translations.

CCMAIL: kde-extra-gear at kde.org


 M  +6 -4      update_l10n_stable.sh  


--- trunk/extragear/scripts/update_l10n_stable.sh #482642:482643
@@ -123,11 +123,13 @@
                              By default $PROGNAME will handle the following
                              po files:
                              - messages dir:
-	                           $APP.po desktop_extragear-${SECTION}_$APP.po
+                               <APP>.po desktop_extragear-<SECTION>_<APP>.po
                              - docmessages dir:
-                               $APP.po
+                               <APP>.po
                              If this option is specified, $PROGNAME will append
-                             <POFILES> to the default ones.
+                             <POFILES> to the default ones. If there are more po 
+                             files to be included, add quotes around this parameter
+                             for example: --extrapofiles "file1.po file2.po"
 EOF
 
     exit 1
@@ -190,7 +192,7 @@
 
 if [ -z "$LANGUAGES" ] ; then
     echo "Getting language list..."
-    $LANGUAGES=$(svn cat $ANONSVNROOT/trunk/l10n/subdirs)
+    LANGUAGES=$(svn cat $ANONSVNROOT/trunk/l10n/subdirs)
 fi
 
 if [ ! -d "$BUILDDIR" ]; then


More information about the Kde-extra-gear mailing list