Files
libreoffice/dbaccess/source/ui/querydesign/query.src

432 lines
9.7 KiB
Plaintext
Raw Normal View History

/*************************************************************************
2001-02-05 08:26:47 +00:00
*
* OpenOffice.org - a multi-platform office productivity suite
2001-02-05 08:26:47 +00:00
*
* $RCSfile: query.src,v $
2001-02-05 08:26:47 +00:00
*
* $Revision: 1.98 $
2001-02-05 08:26:47 +00:00
*
* last change: $Author: ihi $ $Date: 2007-11-21 16:15:01 $
2001-02-05 08:26:47 +00:00
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
2001-02-05 08:26:47 +00:00
*
*
* GNU Lesser General Public License Version 2.1
* =============================================
* Copyright 2005 by Sun Microsystems, Inc.
* 901 San Antonio Road, Palo Alto, CA 94303, USA
2001-02-05 08:26:47 +00:00
*
* 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.
2001-02-05 08:26:47 +00:00
*
* 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.
2001-02-05 08:26:47 +00:00
*
* 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
2001-02-05 08:26:47 +00:00
*
************************************************************************/
2002-08-19 07:01:32 +00:00
#ifndef _DBU_QRY_HRC_
#include "dbu_qry.hrc"
2001-02-05 08:26:47 +00:00
#endif
#ifndef DBAUI_QUERY_HRC
#include "Query.hrc"
#endif
#ifndef _GLOBLMN_HRC
#include <svx/globlmn.hrc>
#endif
#ifndef _CNTIDS_HRC
2001-02-08 11:36:49 +00:00
#include <sfx2/cntids.hrc>
2001-02-05 08:26:47 +00:00
#endif
#ifndef DBACCESS_UI_BROWSER_ID_HXX
#include "browserids.hxx"
#endif
#ifndef _DBA_DBACCESS_HELPID_HRC_
#include "dbaccess_helpid.hrc"
#endif
#ifndef DBAUI_TOOLBOX_HXX
#include "toolbox.hrc"
#endif
2001-04-24 13:28:56 +00:00
#define MN_EDIT 20
#define MN_VIEW 21
#define MN_EXTRA 22
#define MN_INSERT 23
2001-04-24 13:28:56 +00:00
#define MN_WIN 30
#define MN_HELP 31
Menu RID_MENU_JOINVIEW_CONNECTION
2001-02-05 08:26:47 +00:00
{
ItemList =
{
MenuItem
{
ITEM_EDIT_DELETE
};
MenuItem
{
MID_DBUI_QUERY_EDIT_JOINCONNECTION
};
2001-02-05 08:26:47 +00:00
};
};
Menu RID_MENU_JOINVIEW_TABLE
{
ItemList =
{
MenuItem
{
ITEM_EDIT_DELETE
};
};
};
Menu RID_QUERYCOLPOPUPMENU
{
ItemList =
{
MenuItem
{
MID_COLUMN_WIDTH
};
MenuItem
{
Separator = TRUE ;
};
MenuItem
{
ITEM_EDIT_DELETE
};
2001-02-05 08:26:47 +00:00
};
};
ImageList IMG_JOINS
{
Prefix = "jo";
2001-02-05 08:26:47 +00:00
MaskColor = Color {
Red = 0xffff;
Green = 0x0000;
Blue = 0xffff;
};
IdList = {
IMG_PRIMARY_KEY; IMG_FOREIGN_KEY;
};
IdCount = { 2; };
};
2002-06-21 05:51:07 +00:00
ImageList IMG_JOINS_H
{
Prefix = "joh";
2002-06-21 05:51:07 +00:00
MaskColor = Color {
Red = 0xffff;
Green = 0x0000;
Blue = 0xffff;
};
IdList = {
IMG_PRIMARY_KEY; IMG_FOREIGN_KEY;
};
IdCount = { 2; };
};
2001-02-05 08:26:47 +00:00
String STR_QUERY_UNDO_TABWINSHOW
{
Text [ en-US ] = "Add Table Window" ;
2001-02-05 08:26:47 +00:00
};
String STR_QUERY_UNDO_MOVETABWIN
{
Text [ en-US ] = "Move table window" ;
2001-02-05 08:26:47 +00:00
};
String STR_QUERY_UNDO_INSERTCONNECTION
{
Text [ en-US ] = "Insert Join" ;
2001-02-05 08:26:47 +00:00
};
String STR_QUERY_UNDO_REMOVECONNECTION
{
Text [ en-US ] = "Delete Join" ;
2001-02-05 08:26:47 +00:00
};
String STR_QUERY_UNDO_SIZETABWIN
{
Text [ en-US ] = "Resize table window" ;
2001-02-05 08:26:47 +00:00
};
String STR_QUERY_UNDO_TABFIELDDELETE
{
Text [ en-US ] = "Delete Column" ;
2001-02-05 08:26:47 +00:00
};
2002-08-19 07:01:32 +00:00
String STR_QUERY_UNDO_TABFIELDMOVED
{
Text [ en-US ] = "Move column";
2002-08-19 07:01:32 +00:00
};
2001-02-05 08:26:47 +00:00
String STR_QUERY_UNDO_TABFIELDCREATE
{
Text [ en-US ] = "Add Column" ;
2001-02-05 08:26:47 +00:00
};
String RID_STR_TABLE_DOESNT_EXIST
{
Text [ en-US ] = "Invalid expression, table '$name$' does not exist.";
2001-02-05 08:26:47 +00:00
};
String RID_STR_FIELD_DOESNT_EXIST
{
Text [ en-US ] = "Invalid expression, field name '$name$' does not exist.";
2001-02-05 08:26:47 +00:00
};
String RID_STR_TOMUCHTABLES
{
Text [ en-US ] = "The query covers #num# tables. The selected database type, however, can only process a maximum of #maxnum# table(s) per statement.";
2001-02-05 08:26:47 +00:00
};
String STR_QUERY_UNDO_TABWINDELETE
{
Text [ en-US ] = "Delete Table Window" ;
2001-02-05 08:26:47 +00:00
};
String STR_QUERY_UNDO_MODIFY_CELL
{
Text [ en-US ] = "Edit Column Description";
2001-02-05 08:26:47 +00:00
};
String STR_QUERY_UNDO_SIZE_COLUMN
{
Text [ en-US ] = "Adjust column width";
2001-02-05 08:26:47 +00:00
};
String STR_QUERY_SORTTEXT
{
Text [ en-US ] = "(not sorted);ascending;descending" ;
2001-02-05 08:26:47 +00:00
};
String STR_QUERY_FUNCTIONS
{
Text [ en-US ] = "(no function);Group";
2001-02-05 08:26:47 +00:00
};
String STR_QUERY_NOTABLE
{
Text [ en-US ] = "(no table)";
2001-02-05 08:26:47 +00:00
};
String STR_QRY_ORDERBY_UNRELATED
{
Text [ en-US ] = "The database only supports sorting for visible fields.";
2001-02-05 08:26:47 +00:00
};
Menu RID_QUERYFUNCTION_POPUPMENU
{
ItemList =
{
MenuItem
{
Identifier = ID_QUERY_FUNCTION ;
HelpID = HID_QUERY_FUNCTION;
Text [ en-US ] = "Functions";
2001-02-05 08:26:47 +00:00
};
MenuItem
{
Separator = TRUE ;
};
MenuItem
{
Identifier = ID_QUERY_TABLENAME ;
HelpID = HID_QUERY_TABLENAME ;
Text [ en-US ] = "Table Name";
2001-02-05 08:26:47 +00:00
};
MenuItem
{
Identifier = ID_QUERY_ALIASNAME ;
HelpID = HID_QUERY_ALIASNAME ;
Text [ en-US ] = "Alias";
2001-02-05 08:26:47 +00:00
};
MenuItem
{
Separator = TRUE;
};
MenuItem
{
Identifier = ID_QUERY_DISTINCT ;
HelpID = HID_QUERY_DISTINCT ;
Text [ en-US ] = "Distinct Values";
2001-02-05 08:26:47 +00:00
};
};
};
String STR_QUERY_HANDLETEXT
{
Text [ en-US ] = "Field;Alias;Table;Sort;Visible;Function;Criterion;Or;Or";
2001-02-05 08:26:47 +00:00
};
2002-05-06 09:20:11 +00:00
String STR_QRY_TOO_MANY_COLUMNS
2001-02-05 08:26:47 +00:00
{
Text [ en-US ] = "There are too many columns.";
2001-02-05 08:26:47 +00:00
};
ErrorBox ERR_QRY_CRITERIA_ON_ASTERISK
{
Message [ en-US ] = "A condition cannot be applied to field [*]" ;
2001-02-05 08:26:47 +00:00
};
2002-05-06 09:20:11 +00:00
String STR_QRY_TOO_LONG_STATEMENT
2001-02-05 08:26:47 +00:00
{
Text [ en-US ] = "The SQL statement created is too long.";
2001-02-05 08:26:47 +00:00
};
2002-05-06 09:20:11 +00:00
String STR_QRY_TOOCOMPLEX
2001-02-05 08:26:47 +00:00
{
Text [ en-US ] = "Query is too complex" ;
2001-02-05 08:26:47 +00:00
};
2002-05-06 09:20:11 +00:00
String STR_QRY_NOSELECT
2001-02-05 08:26:47 +00:00
{
Text [ en-US ] = "Nothing has been selected." ;
2001-02-05 08:26:47 +00:00
};
2002-05-06 09:20:11 +00:00
String STR_QRY_TOOMANYCOND
2001-02-05 08:26:47 +00:00
{
Text [ en-US ] = "Too many search criteria" ;
2001-02-05 08:26:47 +00:00
};
2002-05-06 09:20:11 +00:00
String STR_QRY_SYNTAX
2001-02-05 08:26:47 +00:00
{
Text [ en-US ] = "SQL syntax error" ;
2001-02-05 08:26:47 +00:00
};
ErrorBox ERR_QRY_ORDERBY_ON_ASTERISK
{
Message [ en-US ] = "[*] cannot be used as a sort criterion.";
2001-02-05 08:26:47 +00:00
};
String STR_QUERY_TRUE
{
Text [ en-US ] = "TRUE" ;
2001-02-05 08:26:47 +00:00
};
String STR_QUERY_FALSE
{
Text [ en-US ] = "FALSE" ;
2001-02-05 08:26:47 +00:00
};
2002-05-06 09:20:11 +00:00
String STR_QRY_TOO_MANY_TABLES
2001-02-05 08:26:47 +00:00
{
Text [ en-US ] = "There are too many tables.";
2001-02-05 08:26:47 +00:00
};
2002-05-06 09:20:11 +00:00
String STR_QRY_NATIVE
2001-02-05 08:26:47 +00:00
{
Text [ en-US ] = "The statement will not be applied when querying in the SQL dialect of the database." ;
2001-02-05 08:26:47 +00:00
};
ErrorBox ERR_QRY_AMB_FIELD
{
Message [ en-US ] = "Field name not found or not unique" ;
2001-02-05 08:26:47 +00:00
};
2002-05-06 09:20:11 +00:00
String STR_QRY_ILLEGAL_JOIN
2001-02-05 08:26:47 +00:00
{
Text [ en-US ] = "Join could not be processed" ;
2001-02-05 08:26:47 +00:00
};
String STR_QUERY_SAVEMODIFIED
2001-02-06 07:12:35 +00:00
{
Text [ en-US ] = "The $object$ has been changed.\nDo you want to save the changes?" ;
Text [ x-comment ] = "For $object$, one of the values of the RSC_QUERY_OBJECT_TYPE resource will be inserted.";
2001-02-06 07:12:35 +00:00
};
Resource RSC_QUERY_OBJECT_TYPE
{
String 1
{
Text [ en-US ] = "table view";
};
String 2
{
Text [ en-US ] = "query";
};
String 3
{
Text [ en-US ] = "SQL statement";
};
};
2001-02-14 13:54:12 +00:00
String STR_SVT_SQL_SYNTAX_ERROR
{
Text [ en-US ] = "Syntax error in SQL statement" ;
2001-02-14 13:54:12 +00:00
};
2001-04-24 13:28:56 +00:00
String STR_QUERYDESIGN_NO_VIEW_SUPPORT
{
Text [ en-US ] = "This database does not support table views.";
2001-04-24 13:28:56 +00:00
};
String STR_NO_ALTER_VIEW_SUPPORT
{
Text [ en-US ] = "This database does not support altering of existing table views.";
};
2001-04-24 13:28:56 +00:00
String STR_QUERYDESIGN_NO_VIEW_ASK
{
Text [ en-US ] = "Do you want to create a query instead?";
2001-04-24 13:28:56 +00:00
};
2001-02-14 13:54:12 +00:00
ErrorBox ERR_QRY_NOSTATEMENT
{
Message [ en-US ] = "No query could be created.";
};
2001-02-06 07:12:35 +00:00
ErrorBox ERR_QRY_NOCRITERIA
{
Message [ en-US ] = "No query could be created because no fields were selected.";
};
2001-02-06 07:12:35 +00:00
/*
The menubar resource has become obsolete - you can now find the menubar definition at: <project>/uiconfig/dbquery/menubar/menubar.xml
*/
2001-02-05 08:26:47 +00:00
String STR_DATASOURCE_DELETED
{
Text [ en-US ] = "The corresponding data source has been deleted. Therefore, data relevant to that data source cannot be saved.";
};
2001-07-17 19:26:15 +00:00
2002-05-06 09:20:11 +00:00
String STR_QRY_COLUMN_NOT_FOUND
2002-04-02 05:35:01 +00:00
{
Text [ en-US ] = "The column '$name$' is unknown.";
2002-04-02 05:35:01 +00:00
};
2001-07-20 19:26:55 +00:00
2002-05-06 09:20:11 +00:00
String STR_QRY_JOIN_COLUMN_COMPARE
{
Text [ en-US ] = "Columns can only be compared using '='.";
2002-05-06 09:20:11 +00:00
};
String STR_QRY_LIKE_LEFT_NO_COLUMN
{
Text [ en-US ] = "You must use a column name before 'LIKE'.";
2002-05-06 09:20:11 +00:00
};
String STR_QRY_CHECK_CASESENSITIVE
{
Text [ en-US ] = "The column could not be found. Please note that the database is case-sensitive.";
2002-05-06 09:20:11 +00:00
};
2002-10-24 07:57:11 +00:00
String STR_QUERYDESIGN
{
Text [ en-US ] = " - %PRODUCTNAME Base: Query Design";
2002-10-24 07:57:11 +00:00
};
String STR_VIEWDESIGN
{
Text [ en-US ] = " - %PRODUCTNAME Base: View Design";
2002-10-24 07:57:11 +00:00
};
String STR_ERROR_PARSING_STATEMENT
{
Text [ en-US ] = "The SQL command which constitutes the $object$ could not be parsed.";
Text [ x-comment ] = "For $object$, one of the values of the RSC_QUERY_OBJECT_TYPE resource "
"(except \"SQL command\", which doesn't make sense here) will be inserted.";
};
String STR_INFO_OPENING_IN_SQL_VIEW
{
Text [ en-US ] = "The $object$ will be opened in SQL view.";
Text [ x-comment ] = "For $object$, one of the values of the RSC_QUERY_OBJECT_TYPE resource "
"(except \"SQL command\", which doesn't make sense here) will be inserted.";
};
String STR_STATEMENT_WITHOUT_RESULT_SET
{
Text [ en-US ] = "The query does not create a result set, and thus cannot be part of another query.";
};
String STR_NO_DATASOURCE_OR_CONNECTION
{
Text [ en-US ] = "Both the ActiveConnection and the DataSourceName parameter are missing or wrong - cannot initialize the query designer.";
};