[Libreoffice-commits] .: sysui/desktop

Caolán McNamara caolan at kemper.freedesktop.org
Thu Jul 26 02:34:41 PDT 2012


 sysui/desktop/share/makefile.mk  |    4 ++++
 sysui/desktop/share/translate.pl |    2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

New commits:
commit 947b3986d1f45c3e5432d57a48d8052db197f012
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Thu Jul 26 10:05:50 2012 +0100

    fix "No template found for item" warning and make it an error
    
    Change-Id: I75985c3f8821b3506e46eaf572c54828db97c964

diff --git a/sysui/desktop/share/makefile.mk b/sysui/desktop/share/makefile.mk
index 0a7c549..84bf995 100644
--- a/sysui/desktop/share/makefile.mk
+++ b/sysui/desktop/share/makefile.mk
@@ -72,12 +72,16 @@ MIMELIST = \
     master-document \
     oasis-text \
     oasis-text-template \
+    oasis-text-flat-xml \
     oasis-spreadsheet \
     oasis-spreadsheet-template \
+    oasis-spreadsheet-flat-xml \
     oasis-drawing \
     oasis-drawing-template \
+    oasis-drawing-flat-xml \
     oasis-presentation \
     oasis-presentation-template \
+    oasis-presentation-flat-xml \
     oasis-formula \
     oasis-master-document \
     oasis-database \
diff --git a/sysui/desktop/share/translate.pl b/sysui/desktop/share/translate.pl
index c55ee25..d32f996 100755
--- a/sysui/desktop/share/translate.pl
+++ b/sysui/desktop/share/translate.pl
@@ -119,7 +119,7 @@ foreach $template (keys %templates) {
     # templates exist
     unless(open(TEMPLATE, $outfile)) {
         print STDERR "Warning: No template found for item $_: $outfile: $!\n";
-        next;
+        exit -1;
     }
 
     # open output file


More information about the Libreoffice-commits mailing list