Warn if old file is not found

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38164 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Georg Baum 2011-03-30 18:21:52 +00:00
parent cc06353ebc
commit e396d2a032

View File

@ -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!