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 <svx/globlmn.hrc>
22 #include <sfx2/cntids.hrc>
23 #include "browserids.hxx"
24 #include "dbaccess_helpid.hrc"
25 #include "toolbox.hrc"
27 Menu RID_MENU_JOINVIEW_CONNECTION
37 MID_DBUI_QUERY_EDIT_JOINCONNECTION
42 Menu RID_MENU_JOINVIEW_TABLE
53 Menu RID_QUERYCOLPOPUPMENU
75 MaskColor = Color { Red = 0xffff; Green = 0x0000; Blue = 0xffff; };
77 IMG_PRIMARY_KEY; IMG_FOREIGN_KEY;
82 String STR_QUERY_UNDO_TABWINSHOW
84 Text [ en-US ] = "Add Table Window" ;
87 String STR_QUERY_UNDO_MOVETABWIN
89 Text [ en-US ] = "Move table window" ;
91 String STR_QUERY_UNDO_INSERTCONNECTION
93 Text [ en-US ] = "Insert Join" ;
96 String STR_QUERY_UNDO_REMOVECONNECTION
98 Text [ en-US ] = "Delete Join" ;
101 String STR_QUERY_UNDO_SIZETABWIN
103 Text [ en-US ] = "Resize table window" ;
105 String STR_QUERY_UNDO_TABFIELDDELETE
107 Text [ en-US ] = "Delete Column" ;
110 String STR_QUERY_UNDO_TABFIELDMOVED
112 Text [ en-US ] = "Move column";
115 String STR_QUERY_UNDO_TABFIELDCREATE
117 Text [ en-US ] = "Add Column" ;
120 String RID_STR_TABLE_DOESNT_EXIST
122 Text [ en-US ] = "Invalid expression, table '$name$' does not exist.";
125 String RID_STR_FIELD_DOESNT_EXIST
127 Text [ en-US ] = "Invalid expression, field name '$name$' does not exist.";
130 String RID_STR_TOMUCHTABLES
132 Text [ en-US ] = "The query covers #num# tables. The selected database type, however, can only process a maximum of #maxnum# table(s) per statement.";
135 String STR_QUERY_UNDO_TABWINDELETE
137 Text [ en-US ] = "Delete Table Window" ;
140 String STR_QUERY_UNDO_MODIFY_CELL
142 Text [ en-US ] = "Edit Column Description";
145 String STR_QUERY_UNDO_SIZE_COLUMN
147 Text [ en-US ] = "Adjust column width";
150 String STR_QUERY_SORTTEXT
152 Text [ en-US ] = "(not sorted);ascending;descending" ;
155 String STR_QUERY_FUNCTIONS
157 Text [ en-US ] = "(no function);Group";
160 String STR_QUERY_NOTABLE
162 Text [ en-US ] = "(no table)";
165 String STR_QRY_ORDERBY_UNRELATED
167 Text [ en-US ] = "The database only supports sorting for visible fields.";
170 Menu RID_QUERYFUNCTION_POPUPMENU
176 Identifier = ID_QUERY_FUNCTION ;
177 HelpID = HID_QUERY_FUNCTION;
178 Text [ en-US ] = "Functions";
186 Identifier = ID_QUERY_TABLENAME ;
187 HelpID = HID_QUERY_TABLENAME ;
188 Text [ en-US ] = "Table Name";
192 Identifier = ID_QUERY_ALIASNAME ;
193 HelpID = HID_QUERY_ALIASNAME ;
194 Text [ en-US ] = "Alias";
202 Identifier = ID_QUERY_DISTINCT ;
203 HelpID = HID_QUERY_DISTINCT ;
204 Text [ en-US ] = "Distinct Values";
209 String STR_QUERY_HANDLETEXT
211 Text [ en-US ] = "Field;Alias;Table;Sort;Visible;Function;Criterion;Or;Or";
214 String STR_QUERY_LIMIT_ALL
216 Text [ en-US ] = "All";
219 String STR_QRY_TOO_MANY_COLUMNS
221 Text [ en-US ] = "There are too many columns.";
224 String STR_QRY_CRITERIA_ON_ASTERISK
226 Text [ en-US ] = "A condition cannot be applied to field [*]" ;
229 String STR_QRY_TOO_LONG_STATEMENT
231 Text [ en-US ] = "The SQL statement created is too long.";
234 String STR_QRY_TOOCOMPLEX
236 Text [ en-US ] = "Query is too complex" ;
239 String STR_QRY_NOSELECT
241 Text [ en-US ] = "Nothing has been selected." ;
244 String STR_QRY_TOOMANYCOND
246 Text [ en-US ] = "Too many search criteria" ;
249 String STR_QRY_SYNTAX
251 Text [ en-US ] = "SQL syntax error" ;
254 String STR_QRY_ORDERBY_ON_ASTERISK
256 Text [ en-US ] = "[*] cannot be used as a sort criterion.";
259 String STR_QRY_TOO_MANY_TABLES
261 Text [ en-US ] = "There are too many tables.";
264 String STR_QRY_NATIVE
266 Text [ en-US ] = "The statement will not be applied when querying in the SQL dialect of the database." ;
269 String STR_QRY_ILLEGAL_JOIN
271 Text [ en-US ] = "Join could not be processed" ;
274 String STR_SVT_SQL_SYNTAX_ERROR
276 Text [ en-US ] = "Syntax error in SQL statement" ;
279 String STR_QUERYDESIGN_NO_VIEW_SUPPORT
281 Text [ en-US ] = "This database does not support table views.";
284 String STR_NO_ALTER_VIEW_SUPPORT
286 Text [ en-US ] = "This database does not support altering of existing table views.";
289 String STR_QUERYDESIGN_NO_VIEW_ASK
291 Text [ en-US ] = "Do you want to create a query instead?";
294 String STR_DATASOURCE_DELETED
296 Text [ en-US ] = "The corresponding data source has been deleted. Therefore, data relevant to that data source cannot be saved.";
299 String STR_QRY_COLUMN_NOT_FOUND
301 Text [ en-US ] = "The column '$name$' is unknown.";
304 String STR_QRY_JOIN_COLUMN_COMPARE
306 Text [ en-US ] = "Columns can only be compared using '='.";
309 String STR_QRY_LIKE_LEFT_NO_COLUMN
311 Text [ en-US ] = "You must use a column name before 'LIKE'.";
314 String STR_QRY_CHECK_CASESENSITIVE
316 Text [ en-US ] = "The column could not be found. Please note that the database is case-sensitive.";
319 String STR_QUERYDESIGN
321 Text [ en-US ] = " - %PRODUCTNAME Base: Query Design";
324 String STR_VIEWDESIGN
326 Text [ en-US ] = " - %PRODUCTNAME Base: View Design";
329 String STR_QUERY_SAVEMODIFIED
331 Text [ en-US ] = "$object$ has been changed.\nDo you want to save the changes?" ;
332 Text [ x-comment ] = "For $object$, one of the values of the RSC_QUERY_OBJECT_TYPE resource will be inserted.";
335 String STR_ERROR_PARSING_STATEMENT
337 Text [ en-US ] = "$object$ is based on an SQL command which could not be parsed.";
338 Text [ x-comment ] = "For $object$, one of the values of the RSC_QUERY_OBJECT_TYPE resource "
339 "(except \"SQL command\", which doesn't make sense here) will be inserted.";
342 String STR_INFO_OPENING_IN_SQL_VIEW
344 Text [ en-US ] = "$object$ will be opened in SQL view.";
345 Text [ x-comment ] = "For $object$, one of the values of the RSC_QUERY_OBJECT_TYPE resource "
346 "(except \"SQL command\", which doesn't make sense here) will be inserted.";
349 Resource RSC_QUERY_OBJECT_TYPE
353 Text [ en-US ] = "The table view";
357 Text [ en-US ] = "The query";
361 Text [ en-US ] = "The SQL statement";
365 String STR_STATEMENT_WITHOUT_RESULT_SET
367 Text [ en-US ] = "The query does not create a result set, and thus cannot be part of another query.";
370 String STR_NO_DATASOURCE_OR_CONNECTION
372 Text [ en-US ] = "Both the ActiveConnection and the DataSourceName parameter are missing or wrong - cannot initialize the query designer.";
375 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */