xref: /trunk/main/framework/source/classes/resource.src (revision 6cb06142790376a2c58e6392182eb071420a4221)
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    Text [ en-US ] = "~Close & Return to " ;
53};
54
55Menu POPUPMENU_TOOLBAR_QUICKCUSTOMIZATION
56{
57    ItemList =
58    {
59        MenuItem
60        {
61            Identifier = MENUITEM_TOOLBAR_VISIBLEBUTTON ;
62            SubMenu = Menu
63            {
64            };
65            Text[ en-US ] = "Visible ~Buttons" ;
66        };
67        MenuItem
68        {
69            Identifier = MENUITEM_TOOLBAR_CUSTOMIZETOOLBAR ;
70            Command = ".uno:ConfigureToolboxVisible" ;
71            Text[ en-US ] = "~Customize Toolbar..." ;
72        };
73        MenuItem
74        {
75            Separator = TRUE ;
76        };
77        MenuItem
78        {
79            Identifier = MENUITEM_TOOLBAR_DOCKTOOLBAR ;
80            Text[ en-US ] = "~Dock Toolbar" ;
81        };
82        MenuItem
83        {
84            Identifier = MENUITEM_TOOLBAR_DOCKALLTOOLBAR ;
85            Text[ en-US ] = "Dock ~All Toolbars" ;
86        };
87        MenuItem
88        {
89            Separator = TRUE ;
90        };
91        MenuItem
92        {
93            Identifier = MENUITEM_TOOLBAR_LOCKTOOLBARPOSITION ;
94            Text[ en-US ] = "~Lock Toolbar Position" ;
95        };
96        MenuItem
97        {
98            Identifier = MENUITEM_TOOLBAR_CLOSE ;
99            Text[ en-US ] = "Close ~Toolbar" ;
100        };
101    };
102};
103
104String STR_SAVECOPYDOC
105{
106    Text [ en-US ] = "Save Copy ~as..." ;
107};
108
109String STR_NODOCUMENT
110{
111    Text [ en-US ] = "No Documents" ;
112};
113
114String STR_CLEAR_RECENT_FILES
115{
116    Text [ en-US ] = "Clear List" ;
117};
118
119String STR_CLEAR_RECENT_FILES_HELP
120{
121    Text [ en-US ] = "Clears the list with the most recently opened files. This action can not be undone." ;
122};
123
124String STR_TOOLBAR_TITLE_ADDON
125{
126    Text [ en-US ] = "Add-On %num%" ;
127};
128
129// ***********************************************************************
130// License Dialog
131// ***********************************************************************
132#define LICENSE_DIALOG_WIDTH    260
133//#define LICENSE_DIALOG_HEIGTH 185
134//#define LICENSE_DIALOG_HEIGTH 190
135#define LICENSE_RIGHT_BORDER    7
136#define LICENSE_BOTTOM_BORDER   0
137#define LICENSE_ROW_1 (7)
138#define LICENSE_COL_1 (7)
139
140#define OFFSET      2
141#define COL2_WIDTH  10
142#define OFFSET_IMG  10
143#define FT_HEIGHT   8
144#define PB_HEIGHT   14
145#define PD_WIDTH    40
146
147#define LICENSE_HEIGHT 102
148#define LICENSE_ROW_2 (LICENSE_ROW_1 + OFFSET + LICENSE_HEIGHT)
149#define LICENSE_ROW_3 (LICENSE_ROW_2 + OFFSET + FT_HEIGHT)
150#define LICENSE_ROW_4 (LICENSE_ROW_3 + OFFSET + 3*FT_HEIGHT )
151#define LICENSE_ROW_5 (LICENSE_ROW_4 + FT_HEIGHT+ OFFSET )
152#define LICENSE_ROW_6 (LICENSE_ROW_5 + 2*OFFSET )
153
154#define LICENSE_DIALOG_HEIGTH (LICENSE_ROW_6 + + PB_HEIGHT + 7)
155
156#define LICENSE_COL_2 (LICENSE_COL_1 + OFFSET_IMG)
157#define LICENSE_COL_3 (LICENSE_COL_2 + COL2_WIDTH +1)
158#define LICENSE_COL_4 (LICENSE_DIALOG_WIDTH - LICENSE_RIGHT_BORDER - PD_WIDTH)
159
160#define LICENSE_WIDTH (LICENSE_DIALOG_WIDTH - LICENSE_RIGHT_BORDER - LICENSE_ROW_1)
161#define COL3_WIDTH    (LICENSE_COL_4 - LICENSE_COL_3)
162
163
164ModalDialog DLG_LICENSE
165{
166    HelpId = HID_LICENSEDIALOG ;
167    Moveable = TRUE ;
168    Closeable = TRUE ;
169    OutputSize = TRUE ;
170    SVLook = TRUE ;
171    Hide = TRUE ;
172    Size = MAP_APPFONT ( LICENSE_DIALOG_WIDTH, LICENSE_DIALOG_HEIGTH ) ;
173    Text [ en-US ] = "License Agreement" ;
174
175    MultiLineEdit ML_LICENSE
176    {
177        HelpID = "framework:MultiLineEdit:DLG_LICENSE:ML_LICENSE" ;
178        PosSize = MAP_APPFONT ( LICENSE_COL_1, LICENSE_ROW_1, LICENSE_WIDTH, LICENSE_HEIGHT ) ;
179        Border = TRUE ;
180        VScroll = TRUE ;
181        ReadOnly = TRUE ;
182    };
183
184    FixedText FT_INFO1
185    {
186        WordBreak = TRUE ;
187        Pos = MAP_APPFONT ( LICENSE_COL_1, LICENSE_ROW_2 ) ;
188        Size = MAP_APPFONT ( LICENSE_WIDTH, FT_HEIGHT ) ;
189        Text [ en-US ] = "Please follow these steps to proceed with the installation:" ;
190    };
191
192    FixedImage IMG_ARROW
193    {
194        Pos = MAP_APPFONT ( LICENSE_COL_1, LICENSE_ROW_3 ) ;
195        Size = MAP_PIXEL ( 16, 16 ) ;
196        Fixed = Image
197        {
198            ImageBitmap = Bitmap
199            {
200                File = "arrow.png" ;
201            };
202        };
203    };
204
205    FixedText FT_INFO2_1
206    {
207        WordBreak = TRUE ;
208        Pos = MAP_APPFONT ( LICENSE_COL_2, LICENSE_ROW_3 ) ;
209        Size = MAP_APPFONT ( COL2_WIDTH, FT_HEIGHT ) ;
210        Text [ en-US ] = "1." ;
211    };
212
213    FixedText FT_INFO2
214    {
215        WordBreak = TRUE ;
216        Pos = MAP_APPFONT ( LICENSE_COL_3, LICENSE_ROW_3 ) ;
217        Size = MAP_APPFONT ( COL3_WIDTH, 3*FT_HEIGHT ) ;
218        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." ;
219    };
220
221    PushButton PB_PAGEDOWN
222    {
223        HelpID = "framework:PushButton:DLG_LICENSE:PB_PAGEDOWN" ;
224        TabStop = TRUE ;
225        Pos = MAP_APPFONT ( LICENSE_COL_4, LICENSE_ROW_3 ) ;
226        Size = MAP_APPFONT ( PD_WIDTH, PB_HEIGHT ) ;
227        Text [ en-US ] = "Scroll Down" ;
228    };
229
230    FixedText FT_INFO3_1
231    {
232        WordBreak = TRUE ;
233        Pos = MAP_APPFONT ( LICENSE_COL_2, LICENSE_ROW_4 ) ;
234        Size = MAP_APPFONT ( COL2_WIDTH, FT_HEIGHT ) ;
235        Text [ en-US ] = "2." ;
236    };
237
238    FixedText FT_INFO3
239    {
240        WordBreak = TRUE ;
241        Pos = MAP_APPFONT ( LICENSE_COL_3, LICENSE_ROW_4 ) ;
242        Size = MAP_APPFONT ( COL3_WIDTH, FT_HEIGHT ) ;
243        Text [ en-US ] = "Accept the License Agreement." ;
244    };
245
246    String LICENSE_ACCEPT
247    {
248        Text [ en-US ] = "~Accept" ;
249    };
250
251    String LICENSE_NOTACCEPT
252    {
253        Text [ en-US ] = "Decline" ;
254    };
255
256    FixedLine FL_DIVIDE
257    {
258        Pos = MAP_APPFONT ( LICENSE_COL_1, LICENSE_ROW_5 ) ;
259        Size = MAP_APPFONT ( LICENSE_WIDTH, 1 ) ;
260    };
261
262    PushButton PB_ACCEPT
263    {
264        HelpID = "framework:PushButton:DLG_LICENSE:PB_ACCEPT" ;
265        TabStop = TRUE ;
266        Pos = MAP_APPFONT ( LICENSE_COL_4 - PD_WIDTH - OFFSET_IMG, LICENSE_ROW_6 ) ;
267        Size = MAP_APPFONT ( PD_WIDTH, PB_HEIGHT ) ;
268    };
269
270    PushButton PB_DECLINE
271    {
272        HelpID = "framework:PushButton:DLG_LICENSE:PB_DECLINE" ;
273        TabStop = TRUE ;
274        Pos = MAP_APPFONT ( LICENSE_COL_4, LICENSE_ROW_6 ) ;
275        Size = MAP_APPFONT ( PD_WIDTH, PB_HEIGHT ) ;
276    };
277
278};
279
280String STR_FULL_DISC_RETRY_BUTTON
281{
282    Text [ en-US ] = "Retry" ;
283};
284
285String STR_FULL_DISC_MSG
286{
287    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" ;
288};
289
290String STR_RESTORE_TOOLBARS
291{
292    Text [ en-US ] = "~Reset" ;
293};
294
295String STR_CORRUPT_UICFG_SHARE
296{
297    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." ;
298};
299
300String STR_CORRUPT_UICFG_USER
301{
302    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." ;
303};
304
305String STR_CORRUPT_UICFG_GENERAL
306{
307    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." ;
308};
309
310String STR_UNTITLED_DOCUMENT
311{
312    Text [ en-US ] = "Untitled" ;
313};
314
315// for displaying 'Multiple Languages' in the language statusbar control
316String STR_LANGSTATUS_MULTIPLE_LANGUAGES
317{
318    Text [ en-US ] = "Multiple Languages" ;
319};
320String STR_LANGSTATUS_NONE
321{
322    Text [ en-US ] = "None (Do not check spelling)" ;
323};
324String STR_RESET_TO_DEFAULT_LANGUAGE
325{
326    Text [ en-US ] = "Reset to Default Language" ;
327};
328String STR_LANGSTATUS_MORE
329{
330    Text [ en-US ] = "More..." ;
331};
332String STR_SET_LANGUAGE_FOR_SELECTION
333{
334    Text [ en-US ] = "Set Language for Selection" ;
335};
336String STR_SET_LANGUAGE_FOR_PARAGRAPH
337{
338    Text [ en-US ] = "Set Language for Paragraph" ;
339};
340String STR_SET_LANGUAGE_FOR_ALL_TEXT
341{
342    Text [ en-US ] = "Set Language for all Text" ;
343};
344
345// ******************************************************************* EOF
346