]> git.lyx.org Git - features.git/commitdiff
Warn if old file is not found
authorGeorg Baum <Georg.Baum@post.rwth-aachen.de>
Wed, 30 Mar 2011 18:21:52 +0000 (18:21 +0000)
committerGeorg Baum <Georg.Baum@post.rwth-aachen.de>
Wed, 30 Mar 2011 18:21:52 +0000 (18:21 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38164 a592a061-630c-0410-9148-cb99ea01b6c8

po/lyx_pot.py

index 15bb2bbcf029f265a700fc734b600bd649533c65..89e16fc43156855a55eb61967a37707a68ee00c9 100755 (executable)
@@ -146,7 +146,8 @@ def layouts_l10n(input_files, output, base, layouttranslations):
                 print "Error: Unable to handle line:"
                 print line
         except IOError:
-            pass
+            print "Warning: Unable to open %s for reading." % output
+            print "         Old translations will be lost."
 
         # walon is not a known document language
         # FIXME: Do not hardcode, read from lib/languages!