xref: /AOO41X/main/framework/source/classes/resource.src (revision 54628ca40d27d15cc98fe861da7fff7e60c2f7d6)
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
131String STR_STATUSBAR_LOGOTEXT
132{
133    Text [ en-US ] = "A %PRODUCTNAME product by Oracle";
134};
135
136// ***********************************************************************
137//       License Dialog
138// ***********************************************************************
139#define LICENSE_DIALOG_WIDTH  260
140//#define LICENSE_DIALOG_HEIGTH 185
141//#define LICENSE_DIALOG_HEIGTH 190
142#define LICENSE_RIGHT_BORDER  7
143#define LICENSE_BOTTOM_BORDER  0
144#define LICENSE_ROW_1 (7)
145#define LICENSE_COL_1 (7)
146
147#define OFFSET        2
148#define COL2_WIDTH   10
149#define OFFSET_IMG   10
150#define FT_HEIGHT     8
151#define PB_HEIGHT    14
152#define PD_WIDTH     40
153
154#define LICENSE_HEIGHT 102
155#define LICENSE_ROW_2 (LICENSE_ROW_1 + OFFSET + LICENSE_HEIGHT)
156#define LICENSE_ROW_3 (LICENSE_ROW_2 + OFFSET + FT_HEIGHT)
157#define LICENSE_ROW_4 (LICENSE_ROW_3 + OFFSET + 3*FT_HEIGHT )
158#define LICENSE_ROW_5 (LICENSE_ROW_4 + FT_HEIGHT+ OFFSET )
159#define LICENSE_ROW_6 (LICENSE_ROW_5 + 2*OFFSET )
160
161#define LICENSE_DIALOG_HEIGTH (LICENSE_ROW_6 + + PB_HEIGHT + 7)
162
163#define LICENSE_COL_2 (LICENSE_COL_1 + OFFSET_IMG)
164#define LICENSE_COL_3 (LICENSE_COL_2 + COL2_WIDTH +1)
165#define LICENSE_COL_4 (LICENSE_DIALOG_WIDTH - LICENSE_RIGHT_BORDER - PD_WIDTH)
166
167#define LICENSE_WIDTH (LICENSE_DIALOG_WIDTH - LICENSE_RIGHT_BORDER - LICENSE_ROW_1)
168#define COL3_WIDTH    (LICENSE_COL_4 - LICENSE_COL_3)
169
170
171ModalDialog DLG_LICENSE
172{
173    HelpId = HID_LICENSEDIALOG;
174    Moveable        = TRUE ;
175    Closeable       = TRUE ;
176    OutputSize = TRUE ;
177    SVLook = TRUE ;
178    Hide = TRUE ;
179    Size = MAP_APPFONT ( LICENSE_DIALOG_WIDTH , LICENSE_DIALOG_HEIGTH ) ;
180    Text [ en-US ] = "License Agreement";
181
182    MultiLineEdit ML_LICENSE
183    {
184        HelpID = "framework:MultiLineEdit:DLG_LICENSE:ML_LICENSE";
185        PosSize = MAP_APPFONT ( LICENSE_COL_1 , LICENSE_ROW_1 , LICENSE_WIDTH , LICENSE_HEIGHT ) ;
186        Border = TRUE ;
187        VScroll = TRUE ;
188        ReadOnly = TRUE ;
189    };
190
191    FixedText FT_INFO1
192    {
193        WordBreak = TRUE ;
194        Pos = MAP_APPFONT ( LICENSE_COL_1 , LICENSE_ROW_2 ) ;
195        Size = MAP_APPFONT ( LICENSE_WIDTH , FT_HEIGHT ) ;
196        Text [ en-US ] = "Please follow these steps to proceed with the installation:" ;
197    };
198
199    FixedImage IMG_ARROW
200    {
201        Pos = MAP_APPFONT ( LICENSE_COL_1 , LICENSE_ROW_3 ) ;
202        Size = MAP_PIXEL ( 16 , 16 ) ;
203        Fixed = Image
204        {
205            ImageBitmap = Bitmap
206            {
207                File = "arrow.bmp" ;
208            };
209            MaskColor = Color { Red = 0xFFFF ; Green = 0x0000 ; Blue = 0xFFFF ; };
210        };
211    };
212
213    FixedText FT_INFO2_1
214    {
215        WordBreak = TRUE ;
216        Pos = MAP_APPFONT ( LICENSE_COL_2 , LICENSE_ROW_3 ) ;
217        Size = MAP_APPFONT ( COL2_WIDTH , FT_HEIGHT ) ;
218        Text [ en-US ] = "1." ;
219    };
220
221    FixedText FT_INFO2
222    {
223        WordBreak = TRUE ;
224        Pos = MAP_APPFONT ( LICENSE_COL_3 , LICENSE_ROW_3 ) ;
225        Size = MAP_APPFONT ( COL3_WIDTH, 3*FT_HEIGHT ) ;
226        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." ;
227    };
228
229    PushButton PB_PAGEDOWN
230    {
231        HelpID = "framework:PushButton:DLG_LICENSE:PB_PAGEDOWN";
232        TabStop = TRUE ;
233        Pos = MAP_APPFONT ( LICENSE_COL_4 , LICENSE_ROW_3 ) ;
234        Size = MAP_APPFONT ( PD_WIDTH , PB_HEIGHT ) ;
235        Text [ en-US ] = "Scroll Down" ;
236    };
237
238    FixedText FT_INFO3_1
239    {
240        WordBreak = TRUE ;
241        Pos = MAP_APPFONT ( LICENSE_COL_2 , LICENSE_ROW_4 ) ;
242        Size = MAP_APPFONT ( COL2_WIDTH, FT_HEIGHT ) ;
243        Text [ en-US ] = "2." ;
244    };
245
246    FixedText FT_INFO3
247    {
248        WordBreak = TRUE ;
249        Pos = MAP_APPFONT ( LICENSE_COL_3, LICENSE_ROW_4 ) ;
250        Size = MAP_APPFONT ( COL3_WIDTH, FT_HEIGHT ) ;
251        Text [ en-US ] = "Accept the License Agreement." ;
252    };
253
254    String LICENSE_ACCEPT
255    {
256        Text [ en-US ] = "~Accept" ;
257    };
258
259    String LICENSE_NOTACCEPT
260    {
261        Text [ en-US ] = "Decline" ;
262    };
263
264    FixedLine FL_DIVIDE
265    {
266        Pos = MAP_APPFONT ( LICENSE_COL_1, LICENSE_ROW_5 ) ;
267        Size = MAP_APPFONT ( LICENSE_WIDTH, 1 ) ;
268    };
269
270    PushButton PB_ACCEPT
271    {
272        HelpID = "framework:PushButton:DLG_LICENSE:PB_ACCEPT";
273        TabStop = TRUE ;
274        Pos = MAP_APPFONT ( LICENSE_COL_4 - PD_WIDTH - OFFSET_IMG , LICENSE_ROW_6 ) ;
275        Size = MAP_APPFONT ( PD_WIDTH , PB_HEIGHT ) ;
276    };
277
278    PushButton PB_DECLINE
279    {
280        HelpID = "framework:PushButton:DLG_LICENSE:PB_DECLINE";
281        TabStop = TRUE ;
282        Pos = MAP_APPFONT ( LICENSE_COL_4 , LICENSE_ROW_6 ) ;
283        Size = MAP_APPFONT ( PD_WIDTH , PB_HEIGHT ) ;
284    };
285
286};
287
288Image RID_IMAGE_STATUSBAR_LOGO
289{
290    ImageBitmap = Bitmap { File = "logo.png" ; };
291    MaskColor = Color { Red = 0xFFFF; Green = 0x0000; Blue = 0xFFFF; };
292};
293
294String STR_FULL_DISC_RETRY_BUTTON
295{
296    Text [ en-US ] = "Retry" ;
297};
298
299String STR_FULL_DISC_MSG
300{
301    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" ;
302};
303
304String STR_RESTORE_TOOLBARS
305{
306    Text [ en-US ] = "~Reset" ;
307};
308
309String STR_CORRUPT_UICFG_SHARE
310{
311    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." ;
312};
313
314String STR_CORRUPT_UICFG_USER
315{
316    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." ;
317};
318
319String STR_CORRUPT_UICFG_GENERAL
320{
321    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." ;
322};
323
324String STR_UNTITLED_DOCUMENT
325{
326    Text [ en-US ] = "Untitled" ;
327};
328
329// for displaying 'Multiple Languages' in the language statusbar control
330String STR_LANGSTATUS_MULTIPLE_LANGUAGES
331{
332    Text [ en-US ] = "Multiple Languages" ;
333    Text [ x-comment ] = " ";
334};
335String STR_LANGSTATUS_NONE
336{
337    Text [ en-US ] = "None (Do not check spelling)" ;
338    Text [ x-comment ] = " ";
339};
340String STR_RESET_TO_DEFAULT_LANGUAGE
341{
342    Text [ en-US ] = "Reset to Default Language" ;
343    Text [ x-comment ] = " ";
344};
345String STR_LANGSTATUS_MORE
346{
347    Text [ en-US ] = "More..." ;
348    Text [ x-comment ] = " ";
349};
350String STR_SET_LANGUAGE_FOR_SELECTION
351{
352    Text [ en-US ] = "Set Language for Selection" ;
353    Text [ x-comment ] = " ";
354};
355String STR_SET_LANGUAGE_FOR_PARAGRAPH
356{
357    Text [ en-US ] = "Set Language for Paragraph" ;
358    Text [ x-comment ] = " ";
359};
360String STR_SET_LANGUAGE_FOR_ALL_TEXT
361{
362    Text [ en-US ] = "Set Language for all Text" ;
363    Text [ x-comment ] = " ";
364};
365