Files
loongoffice/sw/source/ui/app/error.src
Joren De Cuyper e01daa86e7 Comment cleanup and several indentation fixes
Change-Id: Ib3e51969b2d2624e69a2270c5446b7ac1095a2b5
Reviewed-on: https://gerrit.libreoffice.org/2789
Reviewed-by: Tor Lillqvist <tml@iki.fi>
Tested-by: Tor Lillqvist <tml@iki.fi>
2013-03-18 08:21:34 +00:00

192 lines
6.6 KiB
Plaintext

/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* This file incorporates work covered by the following license notice:
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright
* ownership. The ASF licenses this file to you under the Apache
* License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#define __RSC
#include "globals.hrc"
#include "app.hrc"
#include "swerror.h"
#include "comcore.hrc" // MS: Why are there resources at the Core-Side now
String STR_COMCORE_READERROR
{
Text [ en-US ] = "Read-Error" ;
};
String STR_COMCORE_CANT_SHOW
{
Text [ en-US ] = "Graphic cannot be displayed." ;
};
InfoBox ERR_CLPBRD_WRITE
{
Message [ en-US ] = "Error while copying to the clipboard." ;
};
InfoBox ERR_CLPBRD_READ
{
Message [ en-US ] = "Error reading from the clipboard." ;
};
#define ERR_CODE( class, err ) (class | (err - ERROR_SW_BASE))
#define WARN_CODE( class, err ) (class | ( err - WARN_SW_BASE))
Resource RID_SW_ERRHDL
{
// Import-Errors
String ERR_CODE ( ERRCODE_CLASS_READ , ERR_SWG_FILE_FORMAT_ERROR )
{
Text [ en-US ] = "File format error found." ;
};
String ERR_CODE ( ERRCODE_CLASS_READ , ERR_SWG_READ_ERROR )
{
Text [ en-US ] = "Error reading file." ;
};
String ERR_CODE ( ERRCODE_CLASS_READ , ERR_SW6_INPUT_FILE )
{
Text [ en-US ] = "Input file error." ;
};
String ERR_CODE ( ERRCODE_CLASS_READ , ERR_SW6_NOWRITER_FILE )
{
Text [ en-US ] = "This is not a %PRODUCTNAME Writer file." ;
};
String ERR_CODE ( ERRCODE_CLASS_READ , ERR_SW6_UNEXPECTED_EOF )
{
Text [ en-US ] = "Unexpected end of file." ;
};
String ERR_CODE ( ERRCODE_CLASS_READ , ERR_SW6_PASSWD )
{
Text [ en-US ] = "Password-protected files cannot be opened." ;
};
String ERR_CODE ( ERRCODE_CLASS_READ , ERR_WW6_NO_WW6_FILE_ERR )
{
Text [ en-US ] = "This is not a WinWord6 file." ;
};
String ERR_CODE ( ERRCODE_CLASS_READ , ERR_WW6_FASTSAVE_ERR )
{
Text [ en-US ] = "This file was saved with WinWord in 'Fast Save' mode. Please unmark the WinWord option 'Allow Fast Saves' and save the file again." ;
};
String ERR_CODE ( ERRCODE_CLASS_READ , ERR_FORMAT_ROWCOL )
{
Text [ en-US ] = "File format error found at $(ARG1)(row,col)." ;
};
String ERR_CODE ( ERRCODE_CLASS_READ , ERR_SWG_NEW_VERSION )
{
Text [ en-US ] = "File has been written in a newer version." ;
};
String ERR_CODE ( ERRCODE_CLASS_READ , ERR_WW8_NO_WW8_FILE_ERR )
{
Text [ en-US ] = "This is not a WinWord97 file.";
};
String ERR_CODE ( ERRCODE_CLASS_READ , ERR_FORMAT_FILE_ROWCOL )
{
Text [ en-US ] = "Format error discovered in the file in sub-document $(ARG1) at $(ARG2)(row,col).";
};
// Export-Errors
String ERR_CODE ( ERRCODE_CLASS_WRITE , ERR_SWG_WRITE_ERROR )
{
Text [ en-US ] = "Error writing file." ;
};
String ERR_CODE ( ERRCODE_CLASS_WRITE , ERR_SWG_OLD_GLOSSARY )
{
Text [ en-US ] = "Wrong AutoText document version." ;
};
String ERR_CODE ( ERRCODE_CLASS_WRITE , ERR_WRITE_ERROR_FILE )
{
Text [ en-US ] = "Error in writing sub-document $(ARG1).";
};
// Import-/Export-Errors
String ERR_CODE ( ERRCODE_CLASS_READ , ERR_SWG_INTERNAL_ERROR )
{
Text [ en-US ] = "Internal error in %PRODUCTNAME Writer file format." ;
};
String ERR_CODE ( ERRCODE_CLASS_WRITE , ERR_SWG_INTERNAL_ERROR )
{
Text [ en-US ] = "Internal error in %PRODUCTNAME Writer file format." ;
};
String ERR_CODE ( ERRCODE_CLASS_LOCKING , ERR_TXTBLOCK_NEWFILE_ERROR )
{
Text [ en-US ] = "$(ARG1) has changed." ;
};
String ERR_CODE ( ERRCODE_CLASS_PATH , ERR_AUTOPATH_ERROR )
{
Text [ en-US ] = "$(ARG1) does not exist." ;
};
String ERR_CODE ( ERRCODE_CLASS_NONE , ERR_TBLSPLIT_ERROR )
{
Text [ en-US ] = "Cells cannot be further split." ;
};
String ERR_CODE ( ERRCODE_CLASS_NONE , ERR_TBLINSCOL_ERROR )
{
Text [ en-US ] = "Additional columns cannot be inserted." ;
};
String ERR_CODE ( ERRCODE_CLASS_NONE , ERR_TBLDDECHG_ERROR )
{
Text [ en-US ] = "The structure of a linked table cannot be modified." ;
};
String WARN_CODE ( ERRCODE_CLASS_READ , WARN_SWG_NO_DRAWINGS )
{
Text [ en-US ] = "No drawings could be read." ;
};
String WARN_CODE ( ERRCODE_CLASS_READ , WARN_WW6_FASTSAVE_ERR )
{
Text [ en-US ] = "This file was saved with WinWord in 'Fast Save' mode. Please unmark the WinWord option 'Allow Fast Saves' and save the file again." ;
};
String WARN_CODE ( ERRCODE_CLASS_READ , WARN_SWG_FEATURES_LOST )
{
Text [ en-US ] = "Not all attributes could be read." ;
};
String WARN_CODE ( ERRCODE_CLASS_WRITE , WARN_SWG_FEATURES_LOST )
{
Text [ en-US ] = "Not all attributes could be recorded." ;
};
String WARN_CODE ( ERRCODE_CLASS_READ , WARN_SWG_OLE )
{
Text [ en-US ] = "Some OLE objects could only be loaded as graphics." ;
};
String WARN_CODE ( ERRCODE_CLASS_WRITE , WARN_SWG_OLE )
{
Text [ en-US ] = "Some OLE objects could only be saved as graphics." ;
};
String WARN_CODE ( ERRCODE_CLASS_READ , WARN_SWG_POOR_LOAD )
{
Text [ en-US ] = "Document could not be completely loaded." ;
};
String WARN_CODE ( ERRCODE_CLASS_WRITE , WARN_SWG_POOR_LOAD )
{
Text [ en-US ] = "Document could not be completely saved." ;
};
String WARN_CODE ( ERRCODE_CLASS_WRITE , WARN_SWG_HTML_NO_MACROS)
{
Text [ en-US ] = "This HTML document contains %PRODUCTNAME Basic macros.\nThey were not saved with the current export settings.";
};
String ERR_CODE ( ERRCODE_CLASS_WRITE , WARN_WRITE_ERROR_FILE )
{
Text [ en-US ] = "Error in writing sub-document $(ARG1).";
};
String ERR_CODE ( ERRCODE_CLASS_WRITE , WARN_FORMAT_FILE_ROWCOL )
{
Text [ en-US ] = "Format error discovered in the file in sub-document $(ARG1) at $(ARG2)(row,col).";
};
};
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */