xref: /AOO41X/main/framework/source/classes/resource.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
24#include "helpid.hrc"
25
26#ifndef __FRAMEWORK_CLASSES_RESOURCE_HRC_
27#include <classes/resource.hrc>
28#endif
29
30String STR_MENU_ADDONS
31{
32    Text [ en-US ] = "Add-Ons" ;
33};
34
35String STR_MENU_ADDONHELP
36{
37    Text [ en-US ] = "Add-~On Help" ;
38};
39
40String STR_MENU_HEADFOOTALL
41{
42    Text [ en-US ] = "All" ;
43};
44
45String STR_UPDATEDOC
46{
47    Text [ en-US ] = "~Update" ;
48};
49
50String STR_CLOSEDOC_ANDRETURN
51{
52    /* ### ACHTUNG: Neuer Text in Resource? S~chlieen & zur ck zu  : S~chlieen & zurck zu  */
53    /* ### ACHTUNG: Neuer Text in Resource? S~chlie en & zur ck zu  : S~chlieen & zurck zu  */
54    Text [ en-US ] = "~Close & Return to " ;
55};
56
57Menu POPUPMENU_TOOLBAR_QUICKCUSTOMIZATION
58{
59    ItemList =
60    {
61        MenuItem
62        {
63            Identifier = MENUITEM_TOOLBAR_VISIBLEBUTTON;
64            SubMenu = Menu
65            {
66            };
67            Text[ en-US ] = "Visible ~Buttons";
68        };
69        MenuItem
70        {
71            Identifier = MENUITEM_TOOLBAR_CUSTOMIZETOOLBAR;
72            Command = ".uno:ConfigureToolboxVisible" ;
73            Text[ en-US ] = "~Customize Toolbar...";
74        };
75        MenuItem
76        {
77            Separator = TRUE ;
78        };
79        MenuItem
80        {
81            Identifier = MENUITEM_TOOLBAR_DOCKTOOLBAR;
82            Text[ en-US ] = "~Dock Toolbar" ;
83        };
84        MenuItem
85        {
86            Identifier = MENUITEM_TOOLBAR_DOCKALLTOOLBAR;
87            Text[ en-US ] = "Dock ~All Toolbars" ;
88        };
89        MenuItem
90        {
91            Separator = TRUE ;
92        };
93        MenuItem
94        {
95            Identifier = MENUITEM_TOOLBAR_LOCKTOOLBARPOSITION;
96            Text[ en-US ] = "~Lock Toolbar Position" ;
97        };
98        MenuItem
99        {
100            Identifier = MENUITEM_TOOLBAR_CLOSE;
101            Text[ en-US ] = "Close ~Toolbar" ;
102        };
103    };
104};
105
106String STR_SAVECOPYDOC
107{
108    Text [ en-US ] = "Save Copy ~as..." ;
109};
110
111String STR_NODOCUMENT
112{
113    Text [ en-US ] = "No Documents";
114};
115
116String STR_CLEAR_RECENT_FILES
117{
118    Text [ en-US ] = "Clear List";
119};
120
121String STR_CLEAR_RECENT_FILES_HELP
122{
123    Text [ en-US ] = "Clears the list with the most recently opened files. This action can not be undone.";
124};
125
126String STR_TOOLBAR_TITLE_ADDON
127{
128    Text [ en-US ] = "Add-On %num%";
129};
130
131// ***********************************************************************
132//       License Dialog
133// ***********************************************************************
134#define LICENSE_DIALOG_WIDTH  260
135//#define LICENSE_DIALOG_HEIGTH 185
136//#define LICENSE_DIALOG_HEIGTH 190
137#define LICENSE_RIGHT_BORDER  7
138#define LICENSE_BOTTOM_BORDER  0
139#define LICENSE_ROW_1 (7)
140#define LICENSE_COL_1 (7)
141
142#define OFFSET        2
143#define COL2_WIDTH   10
144#define OFFSET_IMG   10
145#define FT_HEIGHT     8
146#define PB_HEIGHT    14
147#define PD_WIDTH     40
148
149#define LICENSE_HEIGHT 102
150#define LICENSE_ROW_2 (LICENSE_ROW_1 + OFFSET + LICENSE_HEIGHT)
151#define LICENSE_ROW_3 (LICENSE_ROW_2 + OFFSET + FT_HEIGHT)
152#define LICENSE_ROW_4 (LICENSE_ROW_3 + OFFSET + 3*FT_HEIGHT )
153#define LICENSE_ROW_5 (LICENSE_ROW_4 + FT_HEIGHT+ OFFSET )
154#define LICENSE_ROW_6 (LICENSE_ROW_5 + 2*OFFSET )
155
156#define LICENSE_DIALOG_HEIGTH (LICENSE_ROW_6 + + PB_HEIGHT + 7)
157
158#define LICENSE_COL_2 (LICENSE_COL_1 + OFFSET_IMG)
159#define LICENSE_COL_3 (LICENSE_COL_2 + COL2_WIDTH +1)
160#define LICENSE_COL_4 (LICENSE_DIALOG_WIDTH - LICENSE_RIGHT_BORDER - PD_WIDTH)
161
162#define LICENSE_WIDTH (LICENSE_DIALOG_WIDTH - LICENSE_RIGHT_BORDER - LICENSE_ROW_1)
163#define COL3_WIDTH    (LICENSE_COL_4 - LICENSE_COL_3)
164
165
166ModalDialog DLG_LICENSE
167{
168    HelpId = HID_LICENSEDIALOG;
169    Moveable        = TRUE ;
170    Closeable       = TRUE ;
171    OutputSize = TRUE ;
172    SVLook = TRUE ;
173    Hide = TRUE ;
174    Size = MAP_APPFONT ( LICENSE_DIALOG_WIDTH , LICENSE_DIALOG_HEIGTH ) ;
175    Text [ en-US ] = "License Agreement";
176
177    MultiLineEdit ML_LICENSE
178    {
179        HelpID = "framework:MultiLineEdit:DLG_LICENSE:ML_LICENSE";
180        PosSize = MAP_APPFONT ( LICENSE_COL_1 , LICENSE_ROW_1 , LICENSE_WIDTH , LICENSE_HEIGHT ) ;
181        Border = TRUE ;
182        VScroll = TRUE ;
183        ReadOnly = TRUE ;
184    };
185
186    FixedText FT_INFO1
187    {
188        WordBreak = TRUE ;
189        Pos = MAP_APPFONT ( LICENSE_COL_1 , LICENSE_ROW_2 ) ;
190        Size = MAP_APPFONT ( LICENSE_WIDTH , FT_HEIGHT ) ;
191        Text [ en-US ] = "Please follow these steps to proceed with the installation:" ;
192    };
193
194    FixedImage IMG_ARROW
195    {
196        Pos = MAP_APPFONT ( LICENSE_COL_1 , LICENSE_ROW_3 ) ;
197        Size = MAP_PIXEL ( 16 , 16 ) ;
198        Fixed = Image
199        {
200            ImageBitmap = Bitmap
201            {
202                File = "arrow.bmp" ;
203            };
204            MaskColor = Color { Red = 0xFFFF ; Green = 0x0000 ; Blue = 0xFFFF ; };
205        };
206    };
207
208    FixedText FT_INFO2_1
209    {
210        WordBreak = TRUE ;
211        Pos = MAP_APPFONT ( LICENSE_COL_2 , LICENSE_ROW_3 ) ;
212        Size = MAP_APPFONT ( COL2_WIDTH , FT_HEIGHT ) ;
213        Text [ en-US ] = "1." ;
214    };
215
216    FixedText FT_INFO2
217    {
218        WordBreak = TRUE ;
219        Pos = MAP_APPFONT ( LICENSE_COL_3 , LICENSE_ROW_3 ) ;
220        Size = MAP_APPFONT ( COL3_WIDTH, 3*FT_HEIGHT ) ;
221        Text [ en-US ] = "View the complete License Agreement. Please use the scroll bar or the '%PAGEDOWN' button in this dialog to view the entire license text." ;
222    };
223
224    PushButton PB_PAGEDOWN
225    {
226        HelpID = "framework:PushButton:DLG_LICENSE:PB_PAGEDOWN";
227        TabStop = TRUE ;
228        Pos = MAP_APPFONT ( LICENSE_COL_4 , LICENSE_ROW_3 ) ;
229        Size = MAP_APPFONT ( PD_WIDTH , PB_HEIGHT ) ;
230        Text [ en-US ] = "Scroll Down" ;
231    };
232
233    FixedText FT_INFO3_1
234    {
235        WordBreak = TRUE ;
236        Pos = MAP_APPFONT ( LICENSE_COL_2 , LICENSE_ROW_4 ) ;
237        Size = MAP_APPFONT ( COL2_WIDTH, FT_HEIGHT ) ;
238        Text [ en-US ] = "2." ;
239    };
240
241    FixedText FT_INFO3
242    {
243        WordBreak = TRUE ;
244        Pos = MAP_APPFONT ( LICENSE_COL_3, LICENSE_ROW_4 ) ;
245        Size = MAP_APPFONT ( COL3_WIDTH, FT_HEIGHT ) ;
246        Text [ en-US ] = "Accept the License Agreement." ;
247    };
248
249    String LICENSE_ACCEPT
250    {
251        Text [ en-US ] = "~Accept" ;
252    };
253
254    String LICENSE_NOTACCEPT
255    {
256        Text [ en-US ] = "Decline" ;
257    };
258
259    FixedLine FL_DIVIDE
260    {
261        Pos = MAP_APPFONT ( LICENSE_COL_1, LICENSE_ROW_5 ) ;
262        Size = MAP_APPFONT ( LICENSE_WIDTH, 1 ) ;
263    };
264
265    PushButton PB_ACCEPT
266    {
267        HelpID = "framework:PushButton:DLG_LICENSE:PB_ACCEPT";
268        TabStop = TRUE ;
269        Pos = MAP_APPFONT ( LICENSE_COL_4 - PD_WIDTH - OFFSET_IMG , LICENSE_ROW_6 ) ;
270        Size = MAP_APPFONT ( PD_WIDTH , PB_HEIGHT ) ;
271    };
272
273    PushButton PB_DECLINE
274    {
275        HelpID = "framework:PushButton:DLG_LICENSE:PB_DECLINE";
276        TabStop = TRUE ;
277        Pos = MAP_APPFONT ( LICENSE_COL_4 , LICENSE_ROW_6 ) ;
278        Size = MAP_APPFONT ( PD_WIDTH , PB_HEIGHT ) ;
279    };
280
281};
282
283String STR_FULL_DISC_RETRY_BUTTON
284{
285    Text [ en-US ] = "Retry" ;
286};
287
288String STR_FULL_DISC_MSG
289{
290    Text [ en-US ] = "%PRODUCTNAME could not save important internal information due to insufficient free disk space at the following location:\n%PATH\n\nYou will not be able to continue working with %PRODUCTNAME without allocating more free disk space at that location.\n\nPress the 'Retry' button after you have allocated more free disk space to retry saving the data.\n\n" ;
291};
292
293String STR_RESTORE_TOOLBARS
294{
295    Text [ en-US ] = "~Reset" ;
296};
297
298String STR_CORRUPT_UICFG_SHARE
299{
300    Text [ en-US ] = "An error occurred while loading the user interface configuration data. The application will be terminated now.\nPlease try to reinstall the application." ;
301};
302
303String STR_CORRUPT_UICFG_USER
304{
305    Text [ en-US ] = "An error occurred while loading the user interface configuration data. The application will be terminated now.\nPlease try to remove your user profile for the application." ;
306};
307
308String STR_CORRUPT_UICFG_GENERAL
309{
310    Text [ en-US ] = "An error occurred while loading the user interface configuration data. The application will be terminated now.\nPlease try to remove your user profile for the application first or try to reinstall the application." ;
311};
312
313String STR_UNTITLED_DOCUMENT
314{
315    Text [ en-US ] = "Untitled" ;
316};
317
318// for displaying 'Multiple Languages' in the language statusbar control
319String STR_LANGSTATUS_MULTIPLE_LANGUAGES
320{
321    Text [ en-US ] = "Multiple Languages" ;
322};
323String STR_LANGSTATUS_NONE
324{
325    Text [ en-US ] = "None (Do not check spelling)" ;
326};
327String STR_RESET_TO_DEFAULT_LANGUAGE
328{
329    Text [ en-US ] = "Reset to Default Language" ;
330};
331String STR_LANGSTATUS_MORE
332{
333    Text [ en-US ] = "More..." ;
334};
335String STR_SET_LANGUAGE_FOR_SELECTION
336{
337    Text [ en-US ] = "Set Language for Selection" ;
338};
339String STR_SET_LANGUAGE_FOR_PARAGRAPH
340{
341    Text [ en-US ] = "Set Language for Paragraph" ;
342};
343String STR_SET_LANGUAGE_FOR_ALL_TEXT
344{
345    Text [ en-US ] = "Set Language for all Text" ;
346};
347