This commit was manufactured by cvs2svn to create tag 'lyx-1_3_5'.
[lyx.git] / lib / lyx2lyx / error.py
blobc2d638d163c923f0568ef8b226d00337e61990d2
1 # This file is part of lyx2lyx
2 # -*- coding: iso-8859-1 -*-
3 # Copyright (C) 2002-2004 José Matos <jamatos@lyx.org>
5 # This program is free software; you can redistribute it and/or
6 # modify it under the terms of the GNU General Public License
7 # as published by the Free Software Foundation; either version 2
8 # of the License, or (at your option) any later version.
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 # GNU General Public License for more details.
15 # You should have received a copy of the GNU General Public License
16 # along with this program; if not, write to the Free Software
17 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
19 class Error:
20 invalid_file = "Invalid LyX file\n"
21 invalid_format = "Invalid LyX format\n"
22 format_not_supported = "Format not supported\n"
23 same_format = "No convertion because start and ending formats are the same\n"
24 newer_format = "Starting format is newer than end format\n"
26 class Warning:
27 dont_match = "Proposed and input file formats do not match"
29 error = Error()
30 warning = Warning()