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