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