summaryrefslogtreecommitdiff
path: root/connectivity/source/resource/conn_error_message.src
blob: d529564cd7dc9236a32c7cfa3bc9f7f1f09d773a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
/*
 * 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 .
 */

// 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
// <code>256 + 2*n</code>, and the SQL state string (if applicable) must
// have ID <code>256 + 2*n + 1</code>.
//
// 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.";
};

// DB_NOT_CONNECTED = 304
String 256 + 2*304 + 0
{
    Text [ en-US ] = "No connection to the database exists.";
};

String 256 + 2*304 + 1
{
    Text = "08003";
};

String 256 + 2*500 + 0
{
    Text [ en-US ] = "No $1$ exists.";
};

// DATA_CANNOT_SELECT_UNFILTERED = 550
String 256 + 2*550 + 0
{
    Text [ en-US ] = "Unable to display the complete table content. Please apply a filter.";
};

String 256 + 2*550 + 1
{
    Text = "IM001";
};