xref: /trunk/main/dbaccess/source/ui/browser/sbabrw.src (revision 66e89fe63daa1fe684f6cf0da1894e69c60355ed)
181d089aeSAndrew Rist/**************************************************************
2cdf0e10cSrcweir *
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
10cdf0e10cSrcweir *
1181d089aeSAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
12cdf0e10cSrcweir *
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.
19cdf0e10cSrcweir *
2081d089aeSAndrew Rist *************************************************************/
2181d089aeSAndrew Rist
2281d089aeSAndrew Rist
23*66e89fe6Smseidel
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
33cdf0e10cSrcweir// #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{
59cdf0e10cSrcweir    Text [ en-US ] = "Error setting the sort criteria" ;
60cdf0e10cSrcweir};
61cdf0e10cSrcweirString SBA_BROWSER_SETTING_FILTER
62cdf0e10cSrcweir{
63cdf0e10cSrcweir    Text [ en-US ] = "Error setting the filter criteria" ;
64cdf0e10cSrcweir};
65cdf0e10cSrcweir
66cdf0e10cSrcweirString RID_STR_CONNECTION_LOST
67cdf0e10cSrcweir{
68cdf0e10cSrcweir    Text [ en-US ] = "Connection lost" ;
69cdf0e10cSrcweir};
70cdf0e10cSrcweir
71cdf0e10cSrcweirString RID_STR_QUERIES_CONTAINER
72cdf0e10cSrcweir{
73cdf0e10cSrcweir    Text [ en-US ] = "Queries" ;
74cdf0e10cSrcweir};
75cdf0e10cSrcweir
76cdf0e10cSrcweirString RID_STR_TABLES_CONTAINER
77cdf0e10cSrcweir{
78cdf0e10cSrcweir    Text [ en-US ] = "Tables" ;
79cdf0e10cSrcweir};
80cdf0e10cSrcweir
81cdf0e10cSrcweir#define MID_EDIT_DATABASE \
82cdf0e10cSrcweir    Identifier = ID_TREE_EDIT_DATABASE ; \
83cdf0e10cSrcweir    HelpId = HID_BROWSER_EDIT_DATABASE ; \
84cdf0e10cSrcweir    Text [ en-US ] = "Edit ~Database File..." ;\
85cdf0e10cSrcweir
86cdf0e10cSrcweir#define MID_ADMINISTRATE \
87cdf0e10cSrcweir    Identifier = ID_TREE_ADMINISTRATE ; \
88cdf0e10cSrcweir    HelpId = HID_BROWSER_ADMINISTRATE ; \
89cdf0e10cSrcweir    Text [ en-US ] = "Registered databases..." ;\
90cdf0e10cSrcweir
91cdf0e10cSrcweir#define MID_CLOSECONN \
92cdf0e10cSrcweir    Identifier = ID_TREE_CLOSE_CONN ; \
93cdf0e10cSrcweir    HelpId = HID_BROWSER_CLOSECONN ; \
94cdf0e10cSrcweir    Text [ en-US ] = "Disco~nnect" ; \
95cdf0e10cSrcweir
96cdf0e10cSrcweirMenu MENU_BROWSER_DEFAULTCONTEXT
97cdf0e10cSrcweir{
98cdf0e10cSrcweir    ItemList =
99cdf0e10cSrcweir    {
100cdf0e10cSrcweir        MenuItem \
101cdf0e10cSrcweir        { \
102cdf0e10cSrcweir            MID_EDIT_DATABASE \
103cdf0e10cSrcweir        }; \
104cdf0e10cSrcweir        MenuItem \
105cdf0e10cSrcweir        { \
106cdf0e10cSrcweir            MID_CLOSECONN \
107cdf0e10cSrcweir        }; \
108cdf0e10cSrcweir        MenuItem \
109cdf0e10cSrcweir        { \
110cdf0e10cSrcweir            Separator = TRUE ; \
111cdf0e10cSrcweir        }; \
112cdf0e10cSrcweir        MenuItem { ITEM_EDIT_COPY } ;
113*66e89fe6Smseidel        MenuItem
114cdf0e10cSrcweir        { \
115cdf0e10cSrcweir            Separator = TRUE ; \
116cdf0e10cSrcweir        }; \
117cdf0e10cSrcweir        MenuItem \
118cdf0e10cSrcweir        { \
119cdf0e10cSrcweir            MID_ADMINISTRATE \
120cdf0e10cSrcweir        };
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{
148cdf0e10cSrcweir    Text [ en-US ] = "Warnings encountered" ;
149cdf0e10cSrcweir};
150cdf0e10cSrcweir
151cdf0e10cSrcweirString STR_OPENTABLES_WARNINGS_DETAILS
152cdf0e10cSrcweir{
153cdf0e10cSrcweir    Text [ en-US ] = "While retrieving the tables, warnings were reported by the database connection." ;
154cdf0e10cSrcweir};
155cdf0e10cSrcweir
156cdf0e10cSrcweirString STR_CONNECTING_DATASOURCE
157cdf0e10cSrcweir{
158cdf0e10cSrcweir    Text [ en-US ] = "Connecting to \"$name$\"..." ;
159cdf0e10cSrcweir    };
160cdf0e10cSrcweir
161cdf0e10cSrcweirString STR_LOADING_QUERY
162cdf0e10cSrcweir{
163cdf0e10cSrcweir    Text [ en-US ] = "Loading query $name$...";
164cdf0e10cSrcweir    };
165cdf0e10cSrcweir
166cdf0e10cSrcweirString STR_LOADING_TABLE
167cdf0e10cSrcweir{
168cdf0e10cSrcweir    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{
178cdf0e10cSrcweir    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
188cdf0e10cSrcweir            Command = ".uno:Refresh" ;
189cdf0e10cSrcweir        };
190cdf0e10cSrcweir        MenuItem
191cdf0e10cSrcweir        {
192cdf0e10cSrcweir            Identifier = ID_BROWSER_REFRESH_REBUILD ;
193cdf0e10cSrcweir            Command = ".uno:DBRebuildData" ;
194cdf0e10cSrcweir            Text [ en-US ] = "Rebuild" ;
195cdf0e10cSrcweir        };
196cdf0e10cSrcweir    };
197cdf0e10cSrcweir};
198cdf0e10cSrcweir
199*66e89fe6Smseidel// ********************************************************************** EOF
200