1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
19 #include "dbu_qry.hrc"
21 #include <sfx2/cntids.hrc>
22 #include "browserids.hxx"
23 #include "dbaccess_helpid.hrc"
25 Menu RID_MENU_JOINVIEW_CONNECTION
31 Identifier = SID_DELETE ;
32 Command = ".uno:Delete" ;
33 Text [ en-US ] = "~Delete" ;
37 Identifier = ID_QUERY_EDIT_JOINCONNECTION;
38 HelpId = HID_QUERY_EDIT_JOINCONNECTION ;
39 Text [ en-US ] = "Edit...";
44 Menu RID_MENU_JOINVIEW_TABLE
50 Identifier = SID_DELETE ;
51 Command = ".uno:Delete" ;
52 Text [ en-US ] = "~Delete" ;
57 Menu RID_QUERYCOLPOPUPMENU
63 Identifier = ID_BROWSER_COLWIDTH ;
64 HelpID = HID_BROWSER_COLUMNWIDTH ;
65 Text [ en-US ] = "Column ~Width..." ;
73 Identifier = SID_DELETE ;
74 Command = ".uno:Delete" ;
75 Text [ en-US ] = "~Delete" ;
83 MaskColor = Color { Red = 0xffff; Green = 0x0000; Blue = 0xffff; };
85 IMG_PRIMARY_KEY; IMG_FOREIGN_KEY;
90 String STR_QUERY_UNDO_TABWINSHOW
92 Text [ en-US ] = "Add Table Window" ;
95 String STR_QUERY_UNDO_MOVETABWIN
97 Text [ en-US ] = "Move table window" ;
99 String STR_QUERY_UNDO_INSERTCONNECTION
101 Text [ en-US ] = "Insert Join" ;
104 String STR_QUERY_UNDO_REMOVECONNECTION
106 Text [ en-US ] = "Delete Join" ;
109 String STR_QUERY_UNDO_SIZETABWIN
111 Text [ en-US ] = "Resize table window" ;
113 String STR_QUERY_UNDO_TABFIELDDELETE
115 Text [ en-US ] = "Delete Column" ;
118 String STR_QUERY_UNDO_TABFIELDMOVED
120 Text [ en-US ] = "Move column";
123 String STR_QUERY_UNDO_TABFIELDCREATE
125 Text [ en-US ] = "Add Column" ;
128 String RID_STR_TABLE_DOESNT_EXIST
130 Text [ en-US ] = "Invalid expression, table '$name$' does not exist.";
133 String RID_STR_FIELD_DOESNT_EXIST
135 Text [ en-US ] = "Invalid expression, field name '$name$' does not exist.";
138 String RID_STR_TOMUCHTABLES
140 Text [ en-US ] = "The query covers #num# tables. The selected database type, however, can only process a maximum of #maxnum# table(s) per statement.";
143 String STR_QUERY_UNDO_TABWINDELETE
145 Text [ en-US ] = "Delete Table Window" ;
148 String STR_QUERY_UNDO_MODIFY_CELL
150 Text [ en-US ] = "Edit Column Description";
153 String STR_QUERY_UNDO_SIZE_COLUMN
155 Text [ en-US ] = "Adjust column width";
158 String STR_QUERY_SORTTEXT
160 Text [ en-US ] = "(not sorted);ascending;descending" ;
163 String STR_QUERY_FUNCTIONS
165 Text [ en-US ] = "(no function);Group";
168 String STR_QUERY_NOTABLE
170 Text [ en-US ] = "(no table)";
173 String STR_QRY_ORDERBY_UNRELATED
175 Text [ en-US ] = "The database only supports sorting for visible fields.";
178 Menu RID_QUERYFUNCTION_POPUPMENU
184 Identifier = ID_QUERY_FUNCTION ;
185 HelpID = HID_QUERY_FUNCTION;
186 Text [ en-US ] = "Functions";
194 Identifier = ID_QUERY_TABLENAME ;
195 HelpID = HID_QUERY_TABLENAME ;
196 Text [ en-US ] = "Table Name";
200 Identifier = ID_QUERY_ALIASNAME ;
201 HelpID = HID_QUERY_ALIASNAME ;
202 Text [ en-US ] = "Alias";
210 Identifier = ID_QUERY_DISTINCT ;
211 HelpID = HID_QUERY_DISTINCT ;
212 Text [ en-US ] = "Distinct Values";
217 String STR_QUERY_HANDLETEXT
219 Text [ en-US ] = "Field;Alias;Table;Sort;Visible;Function;Criterion;Or;Or";
222 String STR_QUERY_LIMIT_ALL
224 Text [ en-US ] = "All";
227 String STR_QRY_TOO_MANY_COLUMNS
229 Text [ en-US ] = "There are too many columns.";
232 String STR_QRY_CRITERIA_ON_ASTERISK
234 Text [ en-US ] = "A condition cannot be applied to field [*]" ;
237 String STR_QRY_TOO_LONG_STATEMENT
239 Text [ en-US ] = "The SQL statement created is too long.";
242 String STR_QRY_TOOCOMPLEX
244 Text [ en-US ] = "Query is too complex" ;
247 String STR_QRY_NOSELECT
249 Text [ en-US ] = "Nothing has been selected." ;
252 String STR_QRY_TOOMANYCOND
254 Text [ en-US ] = "Too many search criteria" ;
257 String STR_QRY_SYNTAX
259 Text [ en-US ] = "SQL syntax error" ;
262 String STR_QRY_ORDERBY_ON_ASTERISK
264 Text [ en-US ] = "[*] cannot be used as a sort criterion.";
267 String STR_QRY_TOO_MANY_TABLES
269 Text [ en-US ] = "There are too many tables.";
272 String STR_QRY_NATIVE
274 Text [ en-US ] = "The statement will not be applied when querying in the SQL dialect of the database." ;
277 String STR_QRY_ILLEGAL_JOIN
279 Text [ en-US ] = "Join could not be processed" ;
282 String STR_SVT_SQL_SYNTAX_ERROR
284 Text [ en-US ] = "Syntax error in SQL statement" ;
287 String STR_QUERYDESIGN_NO_VIEW_SUPPORT
289 Text [ en-US ] = "This database does not support table views.";
292 String STR_NO_ALTER_VIEW_SUPPORT
294 Text [ en-US ] = "This database does not support altering of existing table views.";
297 String STR_QUERYDESIGN_NO_VIEW_ASK
299 Text [ en-US ] = "Do you want to create a query instead?";
302 String STR_DATASOURCE_DELETED
304 Text [ en-US ] = "The corresponding data source has been deleted. Therefore, data relevant to that data source cannot be saved.";
307 String STR_QRY_COLUMN_NOT_FOUND
309 Text [ en-US ] = "The column '$name$' is unknown.";
312 String STR_QRY_JOIN_COLUMN_COMPARE
314 Text [ en-US ] = "Columns can only be compared using '='.";
317 String STR_QRY_LIKE_LEFT_NO_COLUMN
319 Text [ en-US ] = "You must use a column name before 'LIKE'.";
322 String STR_QRY_CHECK_CASESENSITIVE
324 Text [ en-US ] = "The column could not be found. Please note that the database is case-sensitive.";
327 String STR_QUERYDESIGN
329 Text [ en-US ] = " - %PRODUCTNAME Base: Query Design";
332 String STR_VIEWDESIGN
334 Text [ en-US ] = " - %PRODUCTNAME Base: View Design";
337 String STR_QUERY_SAVEMODIFIED
339 Text [ en-US ] = "$object$ has been changed.\nDo you want to save the changes?" ;
340 Text [ x-comment ] = "For $object$, one of the values of the RSC_QUERY_OBJECT_TYPE resource will be inserted.";
343 String STR_ERROR_PARSING_STATEMENT
345 Text [ en-US ] = "$object$ is based on an SQL command which could not be parsed.";
346 Text [ x-comment ] = "For $object$, one of the values of the RSC_QUERY_OBJECT_TYPE resource "
347 "(except \"SQL command\", which doesn't make sense here) will be inserted.";
350 String STR_INFO_OPENING_IN_SQL_VIEW
352 Text [ en-US ] = "$object$ will be opened in SQL view.";
353 Text [ x-comment ] = "For $object$, one of the values of the RSC_QUERY_OBJECT_TYPE resource "
354 "(except \"SQL command\", which doesn't make sense here) will be inserted.";
357 Resource RSC_QUERY_OBJECT_TYPE
361 Text [ en-US ] = "The table view";
365 Text [ en-US ] = "The query";
369 Text [ en-US ] = "The SQL statement";
373 String STR_STATEMENT_WITHOUT_RESULT_SET
375 Text [ en-US ] = "The query does not create a result set, and thus cannot be part of another query.";
378 String STR_NO_DATASOURCE_OR_CONNECTION
380 Text [ en-US ] = "Both the ActiveConnection and the DataSourceName parameter are missing or wrong - cannot initialize the query designer.";
383 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */