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