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