[ooo-build-commit] .: bin/localize-ooo

Andras Timar timar at kemper.freedesktop.org
Sun Apr 18 00:50:36 PDT 2010


 bin/localize-ooo |   11 +++++++++++
 1 file changed, 11 insertions(+)

New commits:
commit f81c37b5f7e53d4a95d25350ed0687bf1d4243a7
Author: Andras Timar <timar at fsf.hu>
Date:   Sun Apr 18 09:48:49 2010 +0200

    fix for a missing image in localized helps, i#99165
    
    * bin/localize-ooo:

diff --git a/bin/localize-ooo b/bin/localize-ooo
index ebecf7a..734e15c 100755
--- a/bin/localize-ooo
+++ b/bin/localize-ooo
@@ -47,6 +47,17 @@ merge_localization()
     rm "$sdf_file_filtered"
 }
 
+# fix broken image in help, i#99165
+for lang in $OOO_LANGS_LIST; do
+    if [ -d $OOBUILDDIR/default_images/res/commandimagelist/$lang/ ]
+    then
+        if [ ! -f $OOBUILDDIR/default_images/res/commandimagelist/$lang/sc_label.png ]
+        then
+            cp $OOBUILDDIR/default_images/res/commandimagelist/sc_label.png $OOBUILDDIR/default_images/res/commandimagelist/$lang/
+        fi
+    fi
+done
+
 # build the localize tool if needed (only in the non-split build)
 if test "$split_build" != "yes" && ! localize -h >/dev/null 2>&1 ; then
     echo 'Building localize stuff at first...'


More information about the ooo-build-commit mailing list