xref: /AOO41X/main/dbaccess/source/ui/app/app.src (revision ca62e2c2083b5d0995f1245bad6c2edfb455fbec)
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#ifndef _DBU_APP_HRC_
24#include "dbu_app.hrc"
25#endif
26#ifndef _GLOBLMN_HRC
27#include <svx/globlmn.hrc>
28#endif
29#ifndef _CNTIDS_HRC
30#include <sfx2/cntids.hrc>
31#endif
32#ifndef DBACCESS_UI_BROWSER_ID_HXX
33#include "browserids.hxx"
34#endif
35#ifndef _DBA_DBACCESS_HELPID_HRC_
36#include "dbaccess_helpid.hrc"
37#endif
38#ifndef DBAUI_TOOLBOX_HXX
39#include "toolbox.hrc"
40#endif
41
42#define MN_PROPS    25
43
44
45String RID_STR_NEW_FORM
46{
47    Text [ en-US ] = "Create Form in Design View..." ;
48};
49
50String RID_STR_NEW_FORM_AUTO
51{
52    Text [ en-US ] = "Use Wizard to Create Form..." ;
53};
54
55String RID_STR_NEW_REPORT_AUTO
56{
57    Text [ en-US ] = "Use Wizard to Create Report..." ;
58};
59
60String RID_STR_NEW_REPORT
61{
62    Text [ en-US ] = "Create Report in Design View..." ;
63};
64
65String RID_STR_NEW_QUERY
66{
67    Text [ en-US ] = "Create Query in Design View..." ;
68};
69
70String RID_STR_NEW_QUERY_SQL
71{
72    Text [ en-US ] = "Create Query in SQL View..." ;
73};
74
75String RID_STR_NEW_QUERY_AUTO
76{
77    Text [ en-US ] = "Use Wizard to Create Query..." ;
78};
79String RID_STR_NEW_TABLE
80{
81    Text [ en-US ] = "Create Table in Design View..." ;
82};
83
84String RID_STR_NEW_TABLE_AUTO
85{
86    Text [ en-US ] = "Use Wizard to Create Table..." ;
87};
88String RID_STR_NEW_VIEW
89{
90    Text [ en-US ] = "Create View..." ;
91};
92
93String RID_STR_FORMS_CONTAINER
94{
95    Text [ en-US ] = "Forms" ;
96};
97
98String RID_STR_REPORTS_CONTAINER
99{
100    Text [ en-US ] = "Reports" ;
101};
102
103Menu RID_MENU_APP_NEW
104{
105    ItemList =
106    {
107        MenuItem
108        {
109            Identifier = SID_APP_NEW_FORM;
110            Command = ".uno:DBNewForm";
111            Text [ en-US ] = "Form..." ;
112        };
113        MenuItem
114        {
115            Identifier = SID_APP_NEW_REPORT;
116            Command = ".uno:DBNewReport";
117            Text [ en-US ] = "Report..." ;
118        };
119        MenuItem
120        {
121            MID_DOCUMENT_CREATE_REPWIZ
122            Command = ".uno:DBNewReportAutoPilot";
123        };
124        MenuItem
125        {
126            MID_QUERY_NEW_DESIGN
127            Command = ".uno:DBNewQuery";
128        };
129        MenuItem
130        {
131            MID_QUERY_NEW_SQL
132            Command = ".uno:DBNewQuerySql";
133        };
134        MenuItem
135        {
136            Separator = TRUE;
137        };
138        MenuItem
139        {
140            MID_NEW_TABLE_DESIGN
141            Command = ".uno:DBNewTable";
142        };
143        MenuItem
144        {
145            MID_NEW_VIEW_DESIGN
146            Command = ".uno:DBNewView";
147        };
148        MenuItem
149        {
150            Identifier = SID_DB_NEW_VIEW_SQL;
151            Command = ".uno:DBNewViewSQL";
152            Text [ en-US ] = "View (Simple)..." ;
153        };
154
155    };
156};
157
158Menu RID_MENU_APP_EDIT
159{
160    ItemList =
161    {
162        MenuItem
163        {
164            ITEM_EDIT_COPY
165        };
166        MenuItem
167        {
168            ITEM_EDIT_PASTE
169        };
170        MenuItem
171        {
172            Identifier = SID_DB_APP_PASTE_SPECIAL;
173            Text[ en-US ] = "Paste Special...";
174            Command = ".uno:PasteSpecial";
175        };
176        MenuItem
177        {
178            Separator = TRUE ;
179        };
180        MenuItem
181        {
182            Identifier = SID_DB_APP_DELETE;
183            Text[ en-US ] = "Delete";
184            Command = ".uno:DBDelete";
185        };
186        MenuItem
187        {
188            Identifier = SID_DB_APP_RENAME;
189            Text[ en-US ] = "Rename";
190            Command = ".uno:DBRename";
191        };
192        MenuItem
193        {
194            Identifier = SID_DB_APP_EDIT;
195            Text[ en-US ] = "Edit";
196            Command = ".uno:DBEdit";
197        };
198        MenuItem
199        {
200            Identifier = SID_DB_APP_EDIT_SQL_VIEW;
201            Text [ en-US ] = "Edit in SQL View...";
202            Command = ".uno:DBEditSqlView";
203        };
204        MenuItem
205        {
206            Identifier = SID_DB_APP_OPEN;
207            Text[ en-US ] = "Open";
208            Command = ".uno:DBOpen";
209        };
210        MenuItem
211        {
212            Identifier = SID_DB_APP_CONVERTTOVIEW;
213            Text[ en-US ] = "Create as View";
214            Command = ".uno:DBConvertToView";
215        };
216        MenuItem
217        {
218            Identifier = SID_FORM_CREATE_REPWIZ_PRE_SEL;
219            Text [ en-US ] = "Form Wizard...";
220            Command = ".uno:DBNewFormAutoPilotWithPreSelection";
221        };
222        MenuItem
223        {
224            Identifier = SID_APP_NEW_REPORT_PRE_SEL;
225            Command = ".uno:DBNewReportWithPreSelection";
226            Text [ en-US ] = "Report..." ;
227        };
228        MenuItem
229        {
230            Identifier = SID_REPORT_CREATE_REPWIZ_PRE_SEL ;
231            Text[ en-US ] = "Report Wizard...";
232
233            Command = ".uno:DBNewReportAutoPilotWithPreSelection";
234        };
235        MenuItem
236        {
237            Separator = TRUE ;
238        };
239        MenuItem
240        {
241            Identifier = SID_SELECTALL;
242            Text[ en-US ] = "Select All";
243            Command = ".uno:SelectAll";
244        };
245        MenuItem
246        {
247            Separator = TRUE ;
248        };
249        MenuItem
250        {
251            Identifier = MN_PROPS;
252            Text[ en-US ] = "~Database";
253            SubMenu = Menu
254            {
255                ItemList =
256                {
257                    MenuItem
258                    {
259                        Identifier = SID_DB_APP_DSPROPS;
260                        Text[ en-US ] = "Properties...";
261                        Command = ".uno:DBDSProperties";
262                    };
263                    MenuItem
264                    {
265                        Identifier = SID_DB_APP_DSCONNECTION_TYPE;
266                        Text[ en-US ] = "Connection Type...";
267                        Command = ".uno:DBDSConnectionType";
268                    };
269                    MenuItem
270                    {
271                        Identifier = SID_DB_APP_DSADVANCED_SETTINGS;
272                        Text[ en-US ] = "Advanced Settings...";
273                        Command = ".uno:DBDSAdvancedSettings";
274                    };
275                };
276            };
277        };
278    };
279};
280
281String STR_QUERY_DELETE_DATASOURCE
282{
283    Text [ en-US ] = "Do you want to delete the data source '%1'?" ;
284};
285
286String STR_APP_TITLE
287{
288    Text [ en-US ] = " - %PRODUCTNAME Base" ;
289};
290
291String RID_STR_REPORTS_HELP_TEXT_WIZARD
292{
293    Text [ en-US ] = "The wizard will guide you through the steps necessary to create a report." ;
294};
295String RID_STR_FORMS_HELP_TEXT
296{
297    Text [ en-US ] = "Create a form by specifying the record source, controls, and control properties." ;
298};
299String RID_STR_REPORT_HELP_TEXT
300{
301    Text [ en-US ] = "Create a report by specifying the record source, controls, and control properties." ;
302};
303String RID_STR_FORMS_HELP_TEXT_WIZARD
304{
305    Text [ en-US ] = "The wizard will guide you through the steps necessary to create a form." ;
306};
307String RID_STR_QUERIES_HELP_TEXT
308{
309    Text [ en-US ] = "Create a query by specifying the filters, input tables, field names,  and  properties for sorting or grouping." ;
310};
311String RID_STR_QUERIES_HELP_TEXT_SQL
312{
313    Text [ en-US ] = "Create a query  entering an SQL statement directly." ;
314};
315String RID_STR_QUERIES_HELP_TEXT_WIZARD
316{
317    Text [ en-US ] = "The wizard will guide you through the steps necessary to create a query." ;
318};
319String RID_STR_TABLES_HELP_TEXT_DESIGN
320{
321    Text [ en-US ] = "Create a table by specifying the field names and properties, as well as the data types." ;
322};
323String RID_STR_TABLES_HELP_TEXT_WIZARD
324{
325    Text [ en-US ] = "Choose from a selection of business and personal table samples, which you customize to create a table." ;
326};
327String RID_STR_VIEWS_HELP_TEXT_DESIGN
328{
329    Text [ en-US ] = "Create a view by specifying the tables and field names you would like to have visible." ;
330};
331String RID_STR_VIEWS_HELP_TEXT_WIZARD
332{
333    Text [ en-US ] = "Opens the view wizard" ;
334};
335
336String STR_DATABASE
337{
338    Text [ en-US ] = "Database" ;
339};
340String STR_TASKS
341{
342    Text [ en-US ] = "Tasks" ;
343};
344String STR_DESCRIPTION
345{
346    Text [ en-US ] = "Description" ;
347};
348String STR_PREVIEW
349{
350    Text [ en-US ] = "Preview" ;
351};
352String STR_DISABLEPREVIEW
353{
354    Text [ en-US ] = "Disable Preview" ;
355};
356QueryBox APP_SAVEMODIFIED
357{
358    Buttons = WB_YES_NO_CANCEL ;
359    DefButton = WB_DEF_YES ;
360    Message [ en-US ] = "The database has been modified.\nDo you want to save the changes?" ;
361};
362QueryBox APP_CLOSEDOCUMENTS
363{
364    Buttons = WB_YES_NO ;
365    DefButton = WB_DEF_YES ;
366    Message [ en-US ] = "The connection type has been altered.\nFor the changes to take effect, all forms, reports, queries and tables must be closed.\n\nDo you want to close all documents now?" ;
367};
368
369Menu RID_MENU_APP_PREVIEW
370{
371    ItemList =
372    {
373        MenuItem
374        {
375            Identifier = SID_DB_APP_DISABLE_PREVIEW;
376            Text[ en-US ] = "None";
377            Command = ".uno:DBDisablePreview";
378            Checkable = TRUE;
379            RadioCheck = TRUE;
380            AutoCheck = TRUE;
381        };
382        MenuItem
383        {
384            Identifier = SID_DB_APP_VIEW_DOCINFO_PREVIEW;
385            Text[ en-US ] = "Document Information";
386            Command = ".uno:DBShowDocInfoPreview";
387            Checkable = TRUE;
388            RadioCheck = TRUE;
389            AutoCheck = TRUE;
390        };
391        MenuItem
392        {
393            Identifier = SID_DB_APP_VIEW_DOC_PREVIEW;
394            Text[ en-US ] = "Document";
395            Command = ".uno:DBShowDocPreview";
396            Checkable = TRUE;
397            RadioCheck = TRUE;
398            AutoCheck = TRUE;
399        };
400    };
401};
402String RID_STR_FORM
403{
404    Text [ en-US ] = "Form";
405};
406
407String RID_STR_REPORT
408{
409    Text [ en-US ] = "Report";
410};
411String STR_FRM_LABEL
412{
413    Text [ en-US ] = "F~orm name" ;
414};
415String STR_RPT_LABEL
416{
417    Text [ en-US ] = "~Report name" ;
418};
419
420String STR_FOLDER_LABEL
421{
422    Text [ en-US ] = "F~older name" ;
423};
424
425String STR_SUB_DOCS_WITH_SCRIPTS
426{
427    Text [ en-US ] = "The document contains forms or reports with embedded macros.";
428};
429
430String STR_SUB_DOCS_WITH_SCRIPTS_DETAIL
431{
432    Text [ en-US ] = "Macros should be embedded into the database document itself.\n\nYou can continue to use your document as before, however, you are encouraged to migrate your macros. The menu item 'Tools / Migrate Macros ...' will assist you with this.\n\nNote that you won't be able to embed macros into the database document itself until this migration is done. ";
433};
434
435String RID_STR_EMBEDDED_DATABASE
436{
437    Text [ en-US ] = "Embedded database";
438};
439String RID_STR_NO_DIFF_CAT
440{
441    Text [ en-US ] = "You cannot select different categories.";
442};
443String RID_STR_UNSUPPORTED_OBJECT_TYPE
444{
445    Text [ en-US ] = "Unsupported object type found ($type$).";
446};
447