xref: /aoo42x/main/sw/source/ui/app/app.src (revision 4335b99a)
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#include <svl/style.hrc>
23#include <sfx2/sfx.hrc>
24#include <svx/dialogs.hrc>
25#include <svx/globlmn.hrc>
26#include "cmdid.h"
27#include "globals.hrc"
28#include "app.hrc"
29#include "statstr.hrc"
30#include "swstyle.h"
31#include "comcore.hrc"
32#include "shells.hrc"
33#include "helpid.h"
34
35String RID_SW_NAME
36{
37	Text = "Writer" ;
38};
39
40String STR_PRINT_MERGE_MACRO
41{
42	Text [ en-US ] = "Print form letters" ;
43};
44
45String STR_PAGE_COUNT_MACRO
46{
47	Text [ en-US ] = "Changing the page count" ;
48};
49
50 // Image-Liste ----------------------------------------------------------------
51 // Don't use this image list for normal toolbar images. We have now our commandimagelist
52 // folder in default_images. This list is now only used for special toolboxes that are
53 // used in floating windows.
54
55#define IMAGELIST_AND_COUNT 	\
56	IdList = { 					\
57		FN_FORMULA_CALC;		\
58		FN_FORMULA_CANCEL; 		\
59		FN_FORMULA_APPLY;		\
60		};						\
61	IdCount = { 				\
62		3;						\
63	};
64
65ImageList RID_DEFAULTIMAGELIST_SC
66{
67	Prefix = "sc" ;
68	MaskColor = IMAGE_MASK_COLOR ;
69	IMAGELIST_AND_COUNT
70};
71ImageList RID_DEFAULTIMAGELIST_LC
72{
73	Prefix = "lc" ;
74	MaskColor = IMAGE_MASK_COLOR ;
75	IMAGELIST_AND_COUNT
76};
77
78ImageList RID_DEFAULTIMAGELIST_SCH
79{
80	Prefix = "sch" ;
81	MaskColor = IMAGE_MASK_COLOR ;
82	IMAGELIST_AND_COUNT
83};
84ImageList RID_DEFAULTIMAGELIST_LCH
85{
86	Prefix = "lch" ;
87	MaskColor = IMAGE_MASK_COLOR ;
88	IMAGELIST_AND_COUNT
89};
90
91// Vorlagen
92#define STYLE_IMAGE_LISTEF \
93	MaskColor = IMAGE_MASK_COLOR ; \
94	IdList = \
95	{ \
96		1; 2; 3; 4; 5; \
97	}; \
98	IdCount = 5;
99
100SfxStyleFamilies DLG_STYLE_DESIGNER
101{
102	StyleFamilyList =
103	{
104		SfxStyleFamilyItem
105		{
106			StyleFamily = SFX_STYLE_FAMILY_PARA ;
107			Text [ en-US ] = "Paragraph Styles" ;
108		FilterList [ en-US ] =
109		{
110		 < "All Styles" ; SFXSTYLEBIT_ALL ;					> ;
111			< "Applied Styles" ; SFXSTYLEBIT_USED ;			> ;
112			< "Custom Styles" ; SFXSTYLEBIT_USERDEF ;		> ;
113			< "Automatic" ; SFXSTYLEBIT_AUTO ;				> ;
114			< "Text Styles" ; SWSTYLEBIT_TEXT ;				> ;
115			< "Chapter Styles" ; SWSTYLEBIT_CHAPTER ;		> ;
116			< "List Styles" ; SWSTYLEBIT_LIST ;				> ;
117			< "Index Styles" ; SWSTYLEBIT_IDX ;				> ;
118			< "Special Styles" ; SWSTYLEBIT_EXTRA ;			> ;
119			< "HTML Styles" ; SWSTYLEBIT_HTML ;				> ;
120			< "Conditional Styles" ; SWSTYLEBIT_CONDCOLL ;	> ;
121		};
122	};
123		SfxStyleFamilyItem
124		{
125			StyleFamily = SFX_STYLE_FAMILY_CHAR ;
126			Text [ en-US ] = "Character Styles" ;
127			FilterList [ en-US ] =
128			{
129				< "All" ; SFXSTYLEBIT_ALL ;					> ;
130				< "Applied Styles" ; SFXSTYLEBIT_USED ;		> ;
131				< "Custom Styles" ; SFXSTYLEBIT_USERDEF ;	> ;
132			};
133	};
134		SfxStyleFamilyItem
135		{
136			StyleFamily = SFX_STYLE_FAMILY_FRAME ;
137			Text [ en-US ] = "Frame Styles" ;
138			FilterList [ en-US ] =
139			{
140				< "All" ; SFXSTYLEBIT_ALL ;					> ;
141				< "Applied Styles" ; SFXSTYLEBIT_USED ;		> ;
142				< "Custom Styles" ; SFXSTYLEBIT_USERDEF ;	> ;
143			};
144	};
145		SfxStyleFamilyItem
146		{
147			StyleFamily = SFX_STYLE_FAMILY_PAGE ;
148			Text [ en-US ] = "Page Styles" ;
149			FilterList [ en-US ] =
150			{
151				< "All" ; SFXSTYLEBIT_ALL ;					> ;
152				< "Applied Styles" ; SFXSTYLEBIT_USED ;		> ;
153				< "Custom Styles" ; SFXSTYLEBIT_USERDEF ;	> ;
154			};
155	};
156		SfxStyleFamilyItem
157		{
158			StyleFamily = SFX_STYLE_FAMILY_PSEUDO ;
159			Text [ en-US ] = "List Styles" ;
160			FilterList [ en-US ] =
161			{
162				< "All" ; SFXSTYLEBIT_ALL ;					> ;
163				< "Applied Styles" ; SFXSTYLEBIT_USED ;		> ;
164				< "Custom Styles" ; SFXSTYLEBIT_USERDEF ;	> ;
165			};
166	};
167	};
168
169	ImageList 1	// == BMP_COLOR_NORMAL + 1
170	{
171		Prefix = "sf" ;
172		STYLE_IMAGE_LISTEF
173	};
174	ImageList 2	// == BMP_COLOR_HIGHCONTRAST + 1
175	{
176		Prefix = "sfh" ;
177		STYLE_IMAGE_LISTEF
178	};
179};
180
181
182
183 // Default Bitmap for toolbox
184BITMAP BMP_FEHLT { FILE = "x.png" ; };
185 // Bitmap fuer die NumerierungsVorlagen im Organizer
186Bitmap BMP_STYLES_FAMILY_NUM { File = "styfamnu.png" ; };
187Bitmap BMP_STYLES_FAMILY_NUM_HC { File = "styfamnu_h.png" ; };
188
189String STR_ENV_TITLE
190{
191	Text [ en-US ] = "Envelope" ;
192};
193
194String STR_LAB_TITLE
195{
196	Text [ en-US ] = "Labels" ;
197};
198
199 // ShortName!!!
200String STR_HUMAN_SWDOC_NAME
201{
202	Text [ en-US ] = "Text" ;
203};
204
205String STR_WRITER_DOCUMENT_FULLTYPE
206{
207	Text [ en-US ] = "%PRODUCTNAME %PRODUCTVERSION Text Document" ;
208};
209
210
211String STR_CANTOPEN
212{
213	Text [ en-US ] = "Cannot open document." ;
214};
215
216String STR_CANTCREATE
217{
218	Text [ en-US ] = "Can't create document." ;
219};
220String STR_DLLNOTFOUND
221{
222	Text [ en-US ] = "Filter not found." ;
223};
224
225
226String STR_UNBENANNT
227{
228	Text [ en-US ] = "Untitled" ;
229};
230
231
232String STR_LOAD_GLOBAL_DOC
233{
234	Text [ en-US ] = "Name and Path of Master Document" ;
235};
236
237String STR_LOAD_HTML_DOC
238{
239	Text [ en-US ] = "Name and Path of the HTML Document" ;
240};
241
242InfoBox MSG_ERROR_SEND_MAIL
243{
244	BUTTONS = WB_OK ;
245	DEFBUTTON = WB_DEF_OK ;
246	Message [ en-US ] = "Error sending mail." ;
247};
248InfoBox MSG_ERROR_PASSWD
249{
250	BUTTONS = WB_OK ;
251	DEFBUTTON = WB_DEF_OK ;
252	Message [ en-US ] = "Invalid password" ;
253};
254
255/*
256 * auskommentiert, da die Toolbox z. Zt. nicht aus der Ressource
257 * geladen werden kann
258Window WIN_TOOLBOX {
259		"Bearbeitung von Text, Rahmen, Grafik, Tabellen oder "
260		"Numerierungen." ;
261HelpText [ en-US ] = "The objectbar contains, depending on your current "
262			"working context, buttons for the editing of text, "
263			"frames, graphics, tables or numberings." ;
264	OUTPUTSIZE = TRUE ;
265	BORDER = TRUE ;
266	Size = (28, 27) ;
267};
268 */
269
270String STR_FMT_STD
271{
272	Text [ en-US ] = "(none)" ;
273};
274
275String STR_DOC_STAT
276{
277	Text [ en-US ] = "Statistics" ;
278};
279
280 // ----------------------------
281 // Statusleisten-Ueberschriften
282 // ----------------------------
283
284String STR_STATSTR_W4WREAD
285{
286	Text [ en-US ] = "Importing document..." ;
287};
288
289String STR_STATSTR_W4WWRITE
290{
291	Text [ en-US ] = "Exporting document..." ;
292};
293
294String STR_STATSTR_SWGREAD
295{
296	Text [ en-US ] = "Loading document..." ;
297};
298
299String STR_STATSTR_SWGWRITE
300{
301	Text [ en-US ] = "Saving document..." ;
302};
303
304String STR_STATSTR_REFORMAT
305{
306	Text [ en-US ] = "Repagination..." ;
307};
308
309String STR_STATSTR_AUTOFORMAT
310{
311	Text [ en-US ] = "Formatting document automatically..." ;
312};
313
314String STR_STATSTR_IMPGRF
315{
316	Text [ en-US ] = "Importing graphics..." ;
317};
318
319String STR_STATSTR_SEARCH
320{
321	Text [ en-US ] = "Search..." ;
322};
323
324String STR_STATSTR_FORMAT
325{
326	Text [ en-US ] = "Formatting..." ;
327};
328
329String STR_STATSTR_PRINT
330{
331	Text [ en-US ] = "Printing..." ;
332};
333
334String STR_STATSTR_LAYOUTINIT
335{
336	Text [ en-US ] = "Converting..." ;
337};
338
339String STR_STATSTR_LETTER
340{
341	Text [ en-US ] = "Letter" ;
342};
343
344String STR_STATSTR_SPELL
345{
346	Text [ en-US ] = "Spellcheck..." ;
347};
348
349String STR_STATSTR_HYPHEN
350{
351	Text [ en-US ] = "Hyphenation..." ;
352};
353
354String STR_STATSTR_TOX_INSERT
355{
356	Text [ en-US ] = "Inserting Index..." ;
357};
358
359String STR_STATSTR_TOX_UPDATE
360{
361	Text [ en-US ] = "Updating Index..." ;
362};
363
364String STR_STATSTR_SUMMARY
365{
366	Text [ en-US ] = "Creating abstract..." ;
367};
368
369String STR_STATSTR_SWGPRTOLENOTIFY
370{
371	Text [ en-US ] = "Adapt Objects..." ;
372};
373
374
375QueryBox MSG_COMCORE_ASKSEARCH
376{
377	Buttons = WB_YES_NO_CANCEL ;
378	DefButton = WB_DEF_YES ;
379	Message [ en-US ] = "To proceed with this action, you must first turn off the \"undo\" function. Do you want to turn off the \"undo\" function?" ;
380};
381
382Bitmap RID_GRAPHIC_REPLACEBMP
383{
384	File = "grafikei.png" ;
385};
386
387Bitmap RID_GRAPHIC_ERRORBMP
388{
389	File = "grafikde.png" ;
390};
391
392Bitmap RID_GRAPHIC_REPLACEBMP_HC
393{
394	File = "grafikei_h.png" ;
395};
396
397Bitmap RID_GRAPHIC_ERRORBMP_HC
398{
399	File = "grafikde_h.png" ;
400};
401
402String STR_TABLE_DEFNAME
403{
404	Text [ en-US ] = "Table" ;
405};
406
407String STR_GRAPHIC_DEFNAME
408{
409	Text [ en-US ] = "graphics" ;
410};
411
412String STR_OBJECT_DEFNAME
413{
414	Text [ en-US ] = "Object" ;
415};
416
417String STR_FRAME_DEFNAME
418{
419	Text [ en-US ] = "Frame" ;
420};
421String STR_REGION_DEFNAME
422{
423	Text [ en-US ] = "Section" ;
424};
425String STR_NUMRULE_DEFNAME
426{
427	Text [ en-US ] = "Numbering" ;
428};
429String STR_EMPTYPAGE
430{
431	Text [ en-US ] = "blank page" ;
432};
433
434QueryBox MSG_CLPBRD_CLEAR
435{
436	BUTTONS = WB_YES_NO ;
437	DEFBUTTON = WB_DEF_NO ;
438	Message [ en-US ] = "You have a large amount of data saved in the clipboard.\nShould the clipboard contents remain available for other applications?" ;
439};
440
441QueryBox MSG_SAVE_HTML_QUERY
442{
443	BUTTONS = WB_YES_NO_CANCEL ;
444	DEFBUTTON = WB_DEF_YES ;
445	Message [ en-US ] = "Conversion into HTML format\nmay cause information loss.\nDo you want to save the document?" ;
446};
447QueryBox MSG_SAVEAS_HTML_QUERY
448{
449	BUTTONS = WB_YES_NO;
450	DEFBUTTON = WB_DEF_NO ;
451	Message [ en-US ] = "The source code can only be displayed if the document is saved in HTML format.\nWould you like to save the document as HTML?" ;
452};
453String STR_ABSTRACT_TITLE
454{
455	Text [ en-US ] = "Abstract: " ;
456};
457
458String STR_FDLG_TEMPLATE_BUTTON
459{
460	Text [ en-US ] = "Style" ;
461};
462
463String STR_FDLG_TEMPLATE_NAME
464{
465	//Text [ en-US ] = "Styles: " ; //#outline level,removed by zhaojianwei
466	Text [ en-US ] = "separated by: " ; //<-end,add by zhaojianwei
467};
468//#outline level,add by zhaojianwei
469String STR_FDLG_OUTLINE_LEVEL
470{
471	Text [ en-US ] = "Outline: Level " ;
472};
473
474String STR_FDLG_STYLE
475{
476	Text [ en-US ] = "Style: " ;
477};
478//<-end
479
480
481String STR_PAGEOFFSET
482{
483	Text [ en-US ] = "Page number: " ;
484};
485String STR_PAGEBREAK
486{
487	Text [ en-US ] = "Break before new page" ;
488};
489String STR_WESTERN_FONT
490{
491	Text [ en-US ] = "Western text: " ;
492};
493String STR_CJK_FONT
494{
495	Text [ en-US ] = "Asian text: " ;
496};
497String STR_REDLINE_UNKNOWN_AUTHOR
498{
499	Text [ en-US ] = "Unknown Author" ;
500};
501
502WarningBox MSG_DISABLE_UNDO_QUESTION
503{
504	BUTTONS = WB_YES_NO_CANCEL ;
505	DEFBUTTON = WB_DEF_YES ;
506	Message [ en-US ] = "This action deletes the list of actions that can be undone. Previous changes made to the document are still valid, but cannot be undone. Do you want to continue formatting?" ;
507};
508/*QueryBox MSG_INS_MERGE_FIELDS
509{
510	HelpId = HID_MAIL_MERGE_INSERT_FIELDS;
511	Buttons = WB_OK_CANCEL ;
512	DefButton = WB_DEF_YES ;
513	Message [ en-US ] = "Do you want to use names and addresses from a database?" ;
514};
515*/
516QueryBox MSG_PRINT_AS_MERGE
517{
518	HelpId = HID_PRINT_AS_MERGE ;
519	Buttons = WB_YES_NO ;
520	DefButton = WB_DEF_YES ;
521	Message [ en-US ] = "Your document contains address database fields. Do you want to print a form letter?" ;
522};
523ModalDialog DLG_MERGE_SOURCE_UNAVAILABLE
524{
525	HelpId = HID_MERGE_SOURCE_UNAVAILABLE ;
526	OutputSize = TRUE ;
527	SVLook = TRUE ;
528	Size = MAP_APPFONT ( 202, 72 ) ;
529	Moveable = TRUE ;
530
531	FixedImage IMG_MERGE
532	{
533        Pos = MAP_APPFONT ( 12, 14 ) ;
534        Size = MAP_APPFONT ( 103, 32 ) ;
535    };
536    FixedText ST_MERGE_SOURCE_UNAVAILABLE
537    {
538        Pos = MAP_APPFONT ( 12, 6 ) ;
539        Size = MAP_APPFONT ( 178, 40 ) ;
540        WordBreak = TRUE ;
541        Text [ en-US ] = "The data source \'%1\' was not found. Thus the connection to the data source could not be established.\n\nPlease check the connections settings." ;
542    };
543    OKButton PB_MERGE_OK
544    {
545        Pos = MAP_APPFONT ( 12, 52 ) ;
546        Size = MAP_APPFONT ( 125, 14 ) ;
547        Text [ en-US ] = "Check Connection Settings..." ;
548    };
549    CancelButton PB_MERGE_CANCEL
550    {
551        Pos = MAP_APPFONT ( 140, 52 ) ;
552        Size = MAP_APPFONT ( 50, 14 ) ;
553    };
554};
555WarningBox MSG_DATA_SOURCES_UNAVAILABLE
556{
557    HelpId = HID_DATA_SOURCES_UNAVAILABLE ;
558    Buttons = WB_OK_CANCEL ;
559    Message [ en-US ] = "No data source has been set up yet. You need a data source, such as a database, to supply data (for example, names and addresses) for the fields." ;
560};
561
562String RID_MODULE_TOOLBOX
563{
564	Text [ en-US ] = "Function Bar (viewing mode)" ;
565};
566String  STR_DONT_ASK_AGAIN
567{
568    Text [ en-US ] = "~Do not show warning again" ;
569};
570// --> OD 2008-04-14 #outlinelevel#
571String STR_OUTLINE_NUMBERING
572{
573    Text [ en-US ] = "Outline Numbering" ;
574};
575ToolBox RID_MODULE_TOOLBOX
576{
577	HelpID = HID_MODULE_TOOLBOX ;
578	Border = TRUE ;
579	SVLook = TRUE ;
580	Dockable = TRUE ;
581	Moveable = TRUE ;
582	Sizeable = TRUE ;
583	Closeable = TRUE ;
584	Zoomable = TRUE ;
585	HideWhenDeactivate = TRUE ;
586	LineSpacing = TRUE ;
587	Customize = TRUE ;
588	MenuStrings = TRUE ;
589	Hide = TRUE ;
590	ItemList =
591	{
592		ToolBoxItem
593		{
594			Identifier = SID_SAVEASDOC ;
595		};
596		ToolBoxItem
597		{
598			Type = TOOLBOXITEM_SEPARATOR ;
599		};
600		ToolBoxItem
601		{
602			Identifier = SID_EDITDOC ;
603		};
604		ToolBoxItem
605		{
606			Identifier = SID_MAIL_SENDDOC ;
607		};
608		ToolBoxItem
609		{
610			Type = TOOLBOXITEM_SEPARATOR ;
611		};
612		ToolBoxItem
613		{
614			Identifier = SID_DIRECTEXPORTDOCASPDF ;
615		};
616		ToolBoxItem
617		{
618			Identifier = SID_PRINTDOCDIRECT ;
619		};
620		ToolBoxItem
621		{
622			Type = TOOLBOXITEM_SEPARATOR ;
623		};
624		ToolBoxItem
625		{
626			Identifier = SID_COPY ;
627		};
628		ToolBoxItem
629		{
630			Type = TOOLBOXITEM_SEPARATOR ;
631		};
632		ToolBoxItem
633		{
634			Identifier = SID_SEARCH_DLG ;
635		};
636		ToolBoxItem
637		{
638			Identifier = SID_NAVIGATOR ;
639		};
640		ToolBoxItem
641		{
642			Type = TOOLBOXITEM_SEPARATOR ;
643		};
644		ToolBoxItem
645		{
646			Identifier = SID_ATTR_ZOOM ;
647		};
648	};
649	Scroll = TRUE ;
650};
651
652WarningBox MSG_DISABLE_READLINE_QUESTION
653{
654	BUTTONS = WB_YES_NO ;
655	DEFBUTTON = WB_DEF_YES ;
656	Message [ en-US ] = "In the current document, changes are being recorded but not shown as such. In large documents, delays can occur when the document is edited. Do you want to show the changes to avoid delays?" ;
657};
658
659// ********************************************************************** EOF
660