xref: /trunk/main/dbaccess/source/ui/app/app.src (revision 81d089ae)
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 [ de ] ="Erstellen Sie einen Bericht, indem Sie die Datensatzquelle, Steuerelemente und Steuerelementeigenschaften angeben." ;
302	Text [ en-US ] = "Create a report by specifying the record source, controls, and control properties." ;
303};
304String RID_STR_FORMS_HELP_TEXT_WIZARD
305{
306	Text [ en-US ] = "The wizard will guide you through the steps necessary to create a form." ;
307};
308String RID_STR_QUERIES_HELP_TEXT
309{
310	Text [ en-US ] = "Create a query by specifying the filters, input tables, field names,  and  properties for sorting or grouping." ;
311};
312String RID_STR_QUERIES_HELP_TEXT_SQL
313{
314	Text [ en-US ] = "Create a query  entering an SQL statement directly." ;
315};
316String RID_STR_QUERIES_HELP_TEXT_WIZARD
317{
318	Text [ en-US ] = "The wizard will guide you through the steps necessary to create a query." ;
319};
320String RID_STR_TABLES_HELP_TEXT_DESIGN
321{
322	Text [ en-US ] = "Create a table by specifying the field names and properties, as well as the data types." ;
323};
324String RID_STR_TABLES_HELP_TEXT_WIZARD
325{
326	Text [ en-US ] = "Choose from a selection of business and personal table samples, which you customize to create a table." ;
327};
328String RID_STR_VIEWS_HELP_TEXT_DESIGN
329{
330	Text [ en-US ] = "Create a view by specifying the tables and field names you would like to have visible." ;
331};
332String RID_STR_VIEWS_HELP_TEXT_WIZARD
333{
334	Text [ en-US ] = "Opens the view wizard" ;
335};
336
337String STR_DATABASE
338{
339	Text [ en-US ] = "Database" ;
340};
341String STR_TASKS
342{
343	Text [ en-US ] = "Tasks" ;
344};
345String STR_DESCRIPTION
346{
347	Text [ en-US ] = "Description" ;
348};
349String STR_PREVIEW
350{
351	Text [ en-US ] = "Preview" ;
352};
353String STR_DISABLEPREVIEW
354{
355	Text [ en-US ] = "Disable Preview" ;
356};
357QueryBox APP_SAVEMODIFIED
358{
359	Buttons = WB_YES_NO_CANCEL ;
360	DefButton = WB_DEF_YES ;
361	Message [ en-US ] = "The database has been modified.\nDo you want to save the changes?" ;
362};
363QueryBox APP_CLOSEDOCUMENTS
364{
365	Buttons = WB_YES_NO ;
366	DefButton = WB_DEF_YES ;
367	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?" ;
368};
369
370Menu RID_MENU_APP_PREVIEW
371{
372	ItemList =
373	{
374		MenuItem
375		{
376			Identifier = SID_DB_APP_DISABLE_PREVIEW;
377			Text[ en-US ] = "None";
378			Command = ".uno:DBDisablePreview";
379			Checkable = TRUE;
380			RadioCheck = TRUE;
381			AutoCheck = TRUE;
382		};
383		MenuItem
384		{
385			Identifier = SID_DB_APP_VIEW_DOCINFO_PREVIEW;
386			Text[ en-US ] = "Document Information";
387			Command = ".uno:DBShowDocInfoPreview";
388			Checkable = TRUE;
389			RadioCheck = TRUE;
390			AutoCheck = TRUE;
391		};
392		MenuItem
393		{
394			Identifier = SID_DB_APP_VIEW_DOC_PREVIEW;
395			Text[ en-US ] = "Document";
396			Command = ".uno:DBShowDocPreview";
397			Checkable = TRUE;
398			RadioCheck = TRUE;
399			AutoCheck = TRUE;
400		};
401	};
402};
403String RID_STR_FORM
404{
405	Text [ en-US ] = "Form";
406};
407
408String RID_STR_REPORT
409{
410	Text [ en-US ] = "Report";
411};
412String STR_FRM_LABEL
413{
414	Text [ en-US ] = "F~orm name" ;
415};
416String STR_RPT_LABEL
417{
418	Text [ en-US ] = "~Report name" ;
419};
420
421String STR_FOLDER_LABEL
422{
423	Text [ en-US ] = "F~older name" ;
424};
425
426String STR_SUB_DOCS_WITH_SCRIPTS
427{
428	Text [ en-US ] = "The document contains forms or reports with embedded macros.";
429};
430
431String STR_SUB_DOCS_WITH_SCRIPTS_DETAIL
432{
433    Text [ en-US ] = "Macros should be embedded into the database document itself.\n\n"
434
435                    "You can continue to use your document as before, however, you are encouraged to migrate "
436                    "your macros. The menu item 'Tools / Migrate Macros ...' will assist you with this.\n\n"
437
438                    "Note that you won't be able to embed macros into the database document itself until "
439                    "this migration is done. ";
440};
441
442String RID_STR_EMBEDDED_DATABASE
443{
444    Text [ en-US ] = "Embedded database";
445};
446String RID_STR_NO_DIFF_CAT
447{
448    Text [ en-US ] = "You cannot select different categories.";
449};
450String RID_STR_UNSUPPORTED_OBJECT_TYPE
451{
452    Text [ en-US ] = "Unsupported object type found ($type$).";
453};
454