1*81d089aeSAndrew Rist/**************************************************************
2cdf0e10cSrcweir *
3*81d089aeSAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
4*81d089aeSAndrew Rist * or more contributor license agreements.  See the NOTICE file
5*81d089aeSAndrew Rist * distributed with this work for additional information
6*81d089aeSAndrew Rist * regarding copyright ownership.  The ASF licenses this file
7*81d089aeSAndrew Rist * to you under the Apache License, Version 2.0 (the
8*81d089aeSAndrew Rist * "License"); you may not use this file except in compliance
9*81d089aeSAndrew Rist * with the License.  You may obtain a copy of the License at
10*81d089aeSAndrew Rist *
11*81d089aeSAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
12*81d089aeSAndrew Rist *
13*81d089aeSAndrew Rist * Unless required by applicable law or agreed to in writing,
14*81d089aeSAndrew Rist * software distributed under the License is distributed on an
15*81d089aeSAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*81d089aeSAndrew Rist * KIND, either express or implied.  See the License for the
17*81d089aeSAndrew Rist * specific language governing permissions and limitations
18*81d089aeSAndrew Rist * under the License.
19*81d089aeSAndrew Rist *
20*81d089aeSAndrew Rist *************************************************************/
21*81d089aeSAndrew Rist
22*81d089aeSAndrew Rist
23cdf0e10cSrcweir#ifndef _DBA_DBACCESS_HELPID_HRC_
24cdf0e10cSrcweir#include "dbaccess_helpid.hrc"
25cdf0e10cSrcweir#endif
26cdf0e10cSrcweir#ifndef _DBU_BRW_HRC_
27cdf0e10cSrcweir#include "dbu_brw.hrc"
28cdf0e10cSrcweir#endif
29cdf0e10cSrcweir#ifndef DBACCESS_UI_BROWSER_ID_HXX
30cdf0e10cSrcweir#include "browserids.hxx"
31cdf0e10cSrcweir#endif
32cdf0e10cSrcweir//	#include <sfx2/sfx.hrc>
33cdf0e10cSrcweir#ifndef _GLOBLMN_HRC
34cdf0e10cSrcweir#include <svx/globlmn.hrc>
35cdf0e10cSrcweir#endif
36cdf0e10cSrcweir#include "toolbox.hrc"
37cdf0e10cSrcweir
38cdf0e10cSrcweirQueryBox QUERY_BRW_SAVEMODIFIED
39cdf0e10cSrcweir{
40cdf0e10cSrcweir	Buttons = WB_YES_NO_CANCEL ;
41cdf0e10cSrcweir	DefButton = WB_DEF_YES ;
42cdf0e10cSrcweir	/* ### ACHTUNG: Neuer Text in Resource? Soll der ge�nderte Datensatz gespeichert werden? : Soll der ge�nderte Datensatz gespeichert werden? */
43cdf0e10cSrcweir	Message [ en-US ] = "The current record has been changed.\nDo you want to save the changes?" ;
44cdf0e10cSrcweir};
45cdf0e10cSrcweir
46cdf0e10cSrcweirQueryBox QUERY_BRW_DELETE_ROWS
47cdf0e10cSrcweir{
48cdf0e10cSrcweir	Buttons = WB_YES_NO ;
49cdf0e10cSrcweir	/* ### ACHTUNG: Neuer Text in Resource? Sollen die selektierten Daten gel�scht werden? : Sollen die selektierten Daten gel�scht werden? */
50cdf0e10cSrcweir	Message [ en-US ] = "Do you want to delete the selected data?" ;
51cdf0e10cSrcweir};
52cdf0e10cSrcweir
53cdf0e10cSrcweirString RID_STR_DATABROWSER_FILTERED
54cdf0e10cSrcweir{
55cdf0e10cSrcweir	Text [ en-US ] = "(filtered)" ;
56cdf0e10cSrcweir};
57cdf0e10cSrcweir
58cdf0e10cSrcweirString SBA_BROWSER_SETTING_ORDER
59cdf0e10cSrcweir{
60cdf0e10cSrcweir	Text [ en-US ] = "Error setting the sort criteria";
61cdf0e10cSrcweir};
62cdf0e10cSrcweirString SBA_BROWSER_SETTING_FILTER
63cdf0e10cSrcweir{
64cdf0e10cSrcweir	Text [ en-US ] = "Error setting the filter criteria";
65cdf0e10cSrcweir};
66cdf0e10cSrcweir
67cdf0e10cSrcweirString RID_STR_CONNECTION_LOST
68cdf0e10cSrcweir{
69cdf0e10cSrcweir	Text [ en-US ] = "Connection lost";
70cdf0e10cSrcweir};
71cdf0e10cSrcweir
72cdf0e10cSrcweirString RID_STR_QUERIES_CONTAINER
73cdf0e10cSrcweir{
74cdf0e10cSrcweir	Text [ en-US ] = "Queries";
75cdf0e10cSrcweir};
76cdf0e10cSrcweir
77cdf0e10cSrcweirString RID_STR_TABLES_CONTAINER
78cdf0e10cSrcweir{
79cdf0e10cSrcweir	Text [ en-US ] = "Tables";
80cdf0e10cSrcweir};
81cdf0e10cSrcweir
82cdf0e10cSrcweir#define MID_EDIT_DATABASE	\
83cdf0e10cSrcweir	Identifier = ID_TREE_EDIT_DATABASE ;	\
84cdf0e10cSrcweir	HelpId = HID_BROWSER_EDIT_DATABASE;	\
85cdf0e10cSrcweir	Text [ en-US ] = "Edit ~Database File..." ;\
86cdf0e10cSrcweir
87cdf0e10cSrcweir#define MID_ADMINISTRATE	\
88cdf0e10cSrcweir	Identifier = ID_TREE_ADMINISTRATE ;	\
89cdf0e10cSrcweir	HelpId = HID_BROWSER_ADMINISTRATE;	\
90cdf0e10cSrcweir	Text [ en-US ] = "Registered databases ..." ;\
91cdf0e10cSrcweir
92cdf0e10cSrcweir#define MID_CLOSECONN	\
93cdf0e10cSrcweir	Identifier = ID_TREE_CLOSE_CONN ;	\
94cdf0e10cSrcweir	HelpId = HID_BROWSER_CLOSECONN ;	\
95cdf0e10cSrcweir	Text [ en-US ] = "Disco~nnect" ;	\
96cdf0e10cSrcweir
97cdf0e10cSrcweirMenu MENU_BROWSER_DEFAULTCONTEXT
98cdf0e10cSrcweir{
99cdf0e10cSrcweir	ItemList =
100cdf0e10cSrcweir	{
101cdf0e10cSrcweir	    MenuItem	\
102cdf0e10cSrcweir	    {	\
103cdf0e10cSrcweir		    MID_EDIT_DATABASE	\
104cdf0e10cSrcweir	    };	\
105cdf0e10cSrcweir	    MenuItem	\
106cdf0e10cSrcweir	    {	\
107cdf0e10cSrcweir		    MID_CLOSECONN	\
108cdf0e10cSrcweir	    };	\
109cdf0e10cSrcweir	    MenuItem	\
110cdf0e10cSrcweir	    {	\
111cdf0e10cSrcweir		    Separator = TRUE;	\
112cdf0e10cSrcweir	    };  \
113cdf0e10cSrcweir		MenuItem { ITEM_EDIT_COPY		};
114cdf0e10cSrcweir	    MenuItem	\
115cdf0e10cSrcweir	    {	\
116cdf0e10cSrcweir		    Separator = TRUE;	\
117cdf0e10cSrcweir	    };  \
118cdf0e10cSrcweir	    MenuItem	\
119cdf0e10cSrcweir	    {	\
120cdf0e10cSrcweir		    MID_ADMINISTRATE	\
121cdf0e10cSrcweir	    };
122cdf0e10cSrcweir	};
123cdf0e10cSrcweir};
124cdf0e10cSrcweir
125cdf0e10cSrcweirString STR_TITLE_CONFIRM_DELETION
126cdf0e10cSrcweir{
127cdf0e10cSrcweir	Text [ en-US ] = "Confirm Deletion" ;
128cdf0e10cSrcweir};
129cdf0e10cSrcweir
130cdf0e10cSrcweirString STR_QUERY_DELETE_TABLE
131cdf0e10cSrcweir{
132cdf0e10cSrcweir	Text [ en-US ] = "Do you want to delete the table '%1'?" ;
133cdf0e10cSrcweir};
134cdf0e10cSrcweir
135cdf0e10cSrcweirQueryBox QUERY_BRW_DELETE_QUERY_CONFIRM
136cdf0e10cSrcweir{
137cdf0e10cSrcweir	Buttons = WB_YES_NO ;
138cdf0e10cSrcweir	Message [ en-US ] = "The query already exists. Do you want to delete it?" ;
139cdf0e10cSrcweir	};
140cdf0e10cSrcweir
141cdf0e10cSrcweirQueryBox QUERY_CONNECTION_LOST
142cdf0e10cSrcweir{
143cdf0e10cSrcweir	Buttons = WB_YES_NO ;
144cdf0e10cSrcweir	Message [ en-US ] = "The connection to the database has been lost. Do you want to reconnect?" ;
145cdf0e10cSrcweir	};
146cdf0e10cSrcweir
147cdf0e10cSrcweirString STR_OPENTABLES_WARNINGS
148cdf0e10cSrcweir{
149cdf0e10cSrcweir	Text [ en-US ] = "Warnings encountered";
150cdf0e10cSrcweir};
151cdf0e10cSrcweir
152cdf0e10cSrcweirString STR_OPENTABLES_WARNINGS_DETAILS
153cdf0e10cSrcweir{
154cdf0e10cSrcweir	Text [ en-US ] = "While retrieving the tables, warnings were reported by the database connection.";
155cdf0e10cSrcweir};
156cdf0e10cSrcweir
157cdf0e10cSrcweirString STR_CONNECTING_DATASOURCE
158cdf0e10cSrcweir{
159cdf0e10cSrcweir	Text [ en-US ] = "Connecting to \"$name$\" ...";
160cdf0e10cSrcweir	};
161cdf0e10cSrcweir
162cdf0e10cSrcweirString STR_LOADING_QUERY
163cdf0e10cSrcweir{
164cdf0e10cSrcweir	Text [ en-US ] = "Loading query $name$ ...";
165cdf0e10cSrcweir	};
166cdf0e10cSrcweir
167cdf0e10cSrcweirString STR_LOADING_TABLE
168cdf0e10cSrcweir{
169cdf0e10cSrcweir	Text [ en-US ] = "Loading table $name$ ...";
170cdf0e10cSrcweir	};
171cdf0e10cSrcweir
172cdf0e10cSrcweirString STR_NO_TABLE_FORMAT_INSIDE
173cdf0e10cSrcweir{
174cdf0e10cSrcweir	Text [ en-US ] = "No table format could be found." ;
175cdf0e10cSrcweir	};
176cdf0e10cSrcweir
177cdf0e10cSrcweirString STR_COULDNOTCONNECT_DATASOURCE
178cdf0e10cSrcweir{
179cdf0e10cSrcweir	Text [ en-US ] = "The connection to the data source \"$name$\" could not be established.";
180cdf0e10cSrcweir};
181cdf0e10cSrcweir
182cdf0e10cSrcweirMenu RID_MENU_REFRESH_DATA
183cdf0e10cSrcweir{
184cdf0e10cSrcweir	ItemList =
185cdf0e10cSrcweir	{
186cdf0e10cSrcweir		MenuItem
187cdf0e10cSrcweir		{
188cdf0e10cSrcweir			MID_SBA_QRY_REFRESH
189cdf0e10cSrcweir			Command = ".uno:Refresh";
190cdf0e10cSrcweir		};
191cdf0e10cSrcweir		MenuItem
192cdf0e10cSrcweir		{
193cdf0e10cSrcweir			Identifier = ID_BROWSER_REFRESH_REBUILD;
194cdf0e10cSrcweir			Command = ".uno:DBRebuildData";
195cdf0e10cSrcweir			Text [ en-US ] = "Rebuild";
196cdf0e10cSrcweir		};
197cdf0e10cSrcweir	};
198cdf0e10cSrcweir};
199cdf0e10cSrcweir
200