From 0fc8cf0581804dc66bc13548c38fd43c4096c0c8 Mon Sep 17 00:00:00 2001 From: Ivo Hinkelmann Date: Wed, 21 Nov 2007 14:09:48 +0000 Subject: INTEGRATION: CWS dba24c (1.1.2); FILE ADDED 2007/09/20 18:28:23 fs 1.1.2.3: #i80856# new error conditions which were formerly located in sdbtools lib/resource 2007/09/18 20:07:20 fs 1.1.2.2: during #i81095#: outsourced the CYCLIC_SUB_QUERIES error to the new css.sdb.ErrorCondition 2007/09/18 12:54:30 fs 1.1.2.1: #i81095# error messages for css.sdb.ErrorCondition values --- .../source/resource/conn_error_message.src | 79 ++++++++++++++++++++++ 1 file changed, 79 insertions(+) create mode 100644 connectivity/source/resource/conn_error_message.src (limited to 'connectivity/source/resource') diff --git a/connectivity/source/resource/conn_error_message.src b/connectivity/source/resource/conn_error_message.src new file mode 100644 index 000000000000..76c7c8d680be --- /dev/null +++ b/connectivity/source/resource/conn_error_message.src @@ -0,0 +1,79 @@ +/************************************************************************* + * + * OpenOffice.org - a multi-platform office productivity suite + * + * $RCSfile: conn_error_message.src,v $ + * + * $Revision: 1.2 $ + * + * last change: $Author: ihi $ $Date: 2007-11-21 15:09:48 $ + * + * The Contents of this file are made available subject to + * the terms of GNU Lesser General Public License Version 2.1. + * + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2005 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1, as published by the Free Software Foundation. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * + ************************************************************************/ + +// note: the resource IDs of the strings herein *must* correspond to the +// com::sun::star::sdb::ErrorCondition values. +// +// For a given error condition value n, the message string must have ID +// 256 + 2*n, and the SQL state string (if applicable) must +// have ID 256 + 2*n + 1. +// +// The messages must be localized, the SQL states must *not*. + +// ROW_SET_OPERATION_VETOED = 100 +String 256 + 2*100 + 0 +{ + Text [ en-US ] = "The record operation has been vetoed."; +}; + +// PARSER_CYCLIC_SUB_QUERIES = 200 +String 256 + 2*200 + 0 +{ + Text [ en-US ] = "The statement contains a cyclic reference to one or more sub queries."; +}; + +// DB_OBJECT_NAME_WITH_SLASHES = 300 +String 256 + 2*300 + 0 +{ + Text [ en-US ] = "The name must not contain any slashes ('/')."; +}; + +// DB_INVALID_SQL_NAME = 301 +String 256 + 2*301 + 0 +{ + Text [ en-US ] = "$1$ is no SQL conform identifier."; +}; + +// DB_QUERY_NAME_WITH_QUOTES = 302 +String 256 + 2*302 + 0 +{ + Text [ en-US ] = "Query names must not contain quote characters."; +}; + +// DB_OBJECT_NAME_IS_USED = 303 +String 256 + 2*303 + 0 +{ + Text [ en-US ] = "The name '$1$' is already in use in the database."; +}; -- cgit