xref: /trunk/main/dbaccess/source/ui/browser/sbabrw.src (revision cdf0e10c)
1/*************************************************************************
2 *
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
6 *
7 * OpenOffice.org - a multi-platform office productivity suite
8 *
9 * This file is part of OpenOffice.org.
10 *
11 * OpenOffice.org is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU Lesser General Public License version 3
13 * only, as published by the Free Software Foundation.
14 *
15 * OpenOffice.org is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18 * GNU Lesser General Public License version 3 for more details
19 * (a copy is included in the LICENSE file that accompanied this code).
20 *
21 * You should have received a copy of the GNU Lesser General Public License
22 * version 3 along with OpenOffice.org.  If not, see
23 * <http://www.openoffice.org/license.html>
24 * for a copy of the LGPLv3 License.
25 *
26 ************************************************************************/
27#ifndef _DBA_DBACCESS_HELPID_HRC_
28#include "dbaccess_helpid.hrc"
29#endif
30#ifndef _DBU_BRW_HRC_
31#include "dbu_brw.hrc"
32#endif
33#ifndef DBACCESS_UI_BROWSER_ID_HXX
34#include "browserids.hxx"
35#endif
36//	#include <sfx2/sfx.hrc>
37#ifndef _GLOBLMN_HRC
38#include <svx/globlmn.hrc>
39#endif
40#include "toolbox.hrc"
41
42QueryBox QUERY_BRW_SAVEMODIFIED
43{
44	Buttons = WB_YES_NO_CANCEL ;
45	DefButton = WB_DEF_YES ;
46	/* ### ACHTUNG: Neuer Text in Resource? Soll der ge�nderte Datensatz gespeichert werden? : Soll der ge�nderte Datensatz gespeichert werden? */
47	Message [ en-US ] = "The current record has been changed.\nDo you want to save the changes?" ;
48};
49
50QueryBox QUERY_BRW_DELETE_ROWS
51{
52	Buttons = WB_YES_NO ;
53	/* ### ACHTUNG: Neuer Text in Resource? Sollen die selektierten Daten gel�scht werden? : Sollen die selektierten Daten gel�scht werden? */
54	Message [ en-US ] = "Do you want to delete the selected data?" ;
55};
56
57String RID_STR_DATABROWSER_FILTERED
58{
59	Text [ en-US ] = "(filtered)" ;
60};
61
62String SBA_BROWSER_SETTING_ORDER
63{
64	Text [ en-US ] = "Error setting the sort criteria";
65};
66String SBA_BROWSER_SETTING_FILTER
67{
68	Text [ en-US ] = "Error setting the filter criteria";
69};
70
71String RID_STR_CONNECTION_LOST
72{
73	Text [ en-US ] = "Connection lost";
74};
75
76String RID_STR_QUERIES_CONTAINER
77{
78	Text [ en-US ] = "Queries";
79};
80
81String RID_STR_TABLES_CONTAINER
82{
83	Text [ en-US ] = "Tables";
84};
85
86#define MID_EDIT_DATABASE	\
87	Identifier = ID_TREE_EDIT_DATABASE ;	\
88	HelpId = HID_BROWSER_EDIT_DATABASE;	\
89	Text [ en-US ] = "Edit ~Database File..." ;\
90
91#define MID_ADMINISTRATE	\
92	Identifier = ID_TREE_ADMINISTRATE ;	\
93	HelpId = HID_BROWSER_ADMINISTRATE;	\
94	Text [ en-US ] = "Registered databases ..." ;\
95
96#define MID_CLOSECONN	\
97	Identifier = ID_TREE_CLOSE_CONN ;	\
98	HelpId = HID_BROWSER_CLOSECONN ;	\
99	Text [ en-US ] = "Disco~nnect" ;	\
100
101Menu MENU_BROWSER_DEFAULTCONTEXT
102{
103	ItemList =
104	{
105	    MenuItem	\
106	    {	\
107		    MID_EDIT_DATABASE	\
108	    };	\
109	    MenuItem	\
110	    {	\
111		    MID_CLOSECONN	\
112	    };	\
113	    MenuItem	\
114	    {	\
115		    Separator = TRUE;	\
116	    };  \
117		MenuItem { ITEM_EDIT_COPY		};
118	    MenuItem	\
119	    {	\
120		    Separator = TRUE;	\
121	    };  \
122	    MenuItem	\
123	    {	\
124		    MID_ADMINISTRATE	\
125	    };
126	};
127};
128
129String STR_TITLE_CONFIRM_DELETION
130{
131	Text [ en-US ] = "Confirm Deletion" ;
132};
133
134String STR_QUERY_DELETE_TABLE
135{
136	Text [ en-US ] = "Do you want to delete the table '%1'?" ;
137};
138
139QueryBox QUERY_BRW_DELETE_QUERY_CONFIRM
140{
141	Buttons = WB_YES_NO ;
142	Message [ en-US ] = "The query already exists. Do you want to delete it?" ;
143	};
144
145QueryBox QUERY_CONNECTION_LOST
146{
147	Buttons = WB_YES_NO ;
148	Message [ en-US ] = "The connection to the database has been lost. Do you want to reconnect?" ;
149	};
150
151String STR_OPENTABLES_WARNINGS
152{
153	Text [ en-US ] = "Warnings encountered";
154};
155
156String STR_OPENTABLES_WARNINGS_DETAILS
157{
158	Text [ en-US ] = "While retrieving the tables, warnings were reported by the database connection.";
159};
160
161String STR_CONNECTING_DATASOURCE
162{
163	Text [ en-US ] = "Connecting to \"$name$\" ...";
164	};
165
166String STR_LOADING_QUERY
167{
168	Text [ en-US ] = "Loading query $name$ ...";
169	};
170
171String STR_LOADING_TABLE
172{
173	Text [ en-US ] = "Loading table $name$ ...";
174	};
175
176String STR_NO_TABLE_FORMAT_INSIDE
177{
178	Text [ en-US ] = "No table format could be found." ;
179	};
180
181String STR_COULDNOTCONNECT_DATASOURCE
182{
183	Text [ en-US ] = "The connection to the data source \"$name$\" could not be established.";
184};
185
186Menu RID_MENU_REFRESH_DATA
187{
188	ItemList =
189	{
190		MenuItem
191		{
192			MID_SBA_QRY_REFRESH
193			Command = ".uno:Refresh";
194		};
195		MenuItem
196		{
197			Identifier = ID_BROWSER_REFRESH_REBUILD;
198			Command = ".uno:DBRebuildData";
199			Text [ en-US ] = "Rebuild";
200		};
201	};
202};
203
204