From: Georg Baum Date: Wed, 30 Mar 2011 18:21:52 +0000 (+0000) Subject: Warn if old file is not found X-Git-Tag: 2.0.0~319 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=e396d2a03286cdbdadf4404700d3ecd6205db630;p=features.git Warn if old file is not found git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38164 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/po/lyx_pot.py b/po/lyx_pot.py index 15bb2bbcf0..89e16fc431 100755 --- a/po/lyx_pot.py +++ b/po/lyx_pot.py @@ -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!