1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: dp_gui_dialog.src,v $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
30 #include "svtools/controldims.hrc"
33 String RID_STR_ADD_PACKAGES
35 Text [ en-US ] = "Add Extension(s)";
37 String RID_CTX_ITEM_REMOVE
39 Text [ en-US ] = "~Remove";
41 String RID_CTX_ITEM_ENABLE
43 Text [ en-US ] = "~Enable";
45 String RID_CTX_ITEM_DISABLE
47 Text [ en-US ] = "~Disable";
49 String RID_CTX_ITEM_CHECK_UPDATE
51 Text [ en-US ] = "~Update...";
53 String RID_CTX_ITEM_OPTIONS
55 Text [ en-US ] = "~Options...";
58 String RID_STR_ADDING_PACKAGES
60 Text [ en-US ] = "Adding %EXTENSION_NAME";
63 String RID_STR_REMOVING_PACKAGES
65 Text [ en-US ] = "Removing %EXTENSION_NAME";
68 String RID_STR_ENABLING_PACKAGES
70 Text [ en-US ] = "Enabling %EXTENSION_NAME";
73 String RID_STR_DISABLING_PACKAGES
75 Text [ en-US ] = "Disabling %EXTENSION_NAME";
78 String RID_STR_INSTALL_FOR_ALL
80 Text [ en-US ] = "~For all users";
83 String RID_STR_INSTALL_FOR_ME
85 Text [ en-US ] = "~Only for me";
88 String RID_STR_ERROR_UNKNOWN_STATUS
90 Text [ en-US ] = "Error: The status of this extension is unknown";
93 String RID_STR_CLOSE_BTN
95 Text [ en-US ] = "Close";
98 String RID_STR_EXIT_BTN
100 Text [ en-US ] = "Quit";
103 String RID_STR_NO_ADMIN_PRIVILEGE
105 Text [ en-US ] = "%PRODUCTNAME has been updated to a new version. "
106 "Some shared %PRODUCTNAME extensions are not compatible with this version and need to be updated before %PRODUCTNAME can be started.\n\n"
107 "Updating of shared extension requires administrator privileges. Contact your system administrator to update the following shared extensions:";
110 String RID_STR_ERROR_MISSING_DEPENDENCIES
112 Text [ en-US ] = "The extension cannot be enabled as the following system dependencies are not fulfilled:";
116 // ---------------------------------------------------
117 // row 1 | multi line edit
118 // ---------------------------------------------------
119 // row 2 | fixed text
120 // ---------------------------------------------------
121 // row 3 | img | fixed text | fixed text | button
122 // ----------------------------------------------------
123 // row 4 | img | fixed text | fixed text
124 // ---------------------------------------------------
126 // ---------------------------------------------------
127 // row 6 | | |button | button
128 // ---------------------------------------------------
129 // | col 1 | col 2 | col3 | col4 | col5
131 //To change the overall size of the multi line edit change
132 //ROW1_HEIGHT and COL3_WIDTH
134 #define ROW1_Y RSC_SP_DLG_INNERBORDER_TOP
135 #define ROW1_HEIGHT 16*RSC_CD_FIXEDTEXT_HEIGHT
136 #define ROW2_Y ROW1_Y+ROW1_HEIGHT+RSC_SP_CTRL_GROUP_Y
137 #define ROW2_HEIGHT 2*RSC_CD_FIXEDTEXT_HEIGHT
138 #define ROW3_Y ROW2_Y+ROW2_HEIGHT+RSC_SP_CTRL_GROUP_Y
139 #define ROW3_HEIGHT 3*RSC_CD_FIXEDTEXT_HEIGHT
140 #define ROW4_Y ROW3_Y+ROW3_HEIGHT+RSC_SP_CTRL_GROUP_Y
141 #define ROW4_HEIGHT 3*RSC_CD_FIXEDTEXT_HEIGHT
142 #define ROW5_Y ROW4_Y+ROW4_HEIGHT+RSC_SP_CTRL_GROUP_Y
143 #define ROW5_HEIGHT RSC_CD_FIXEDTEXT_HEIGHT
144 #define ROW6_Y ROW5_Y+ROW5_HEIGHT+RSC_SP_CTRL_GROUP_Y
145 #define ROW6_HEIGHT RSC_CD_PUSHBUTTON_HEIGHT
147 #define LIC_DLG_HEIGHT ROW6_Y+ROW6_HEIGHT+RSC_SP_DLG_INNERBORDER_BOTTOM
149 #define COL1_X RSC_SP_DLG_INNERBORDER_LEFT
150 #define IMG_ARROW_WIDTH 16
151 #define COL1_WIDTH IMG_ARROW_WIDTH
152 #define COL2_X COL1_X+COL1_WIDTH
153 #define COL2_WIDTH 10
154 #define COL3_X COL2_X+COL2_WIDTH+RSC_SP_CTRL_GROUP_X
155 #define COL3_WIDTH 150
156 #define COL4_X COL3_X+COL3_WIDTH
157 #define COL4_WIDTH RSC_CD_PUSHBUTTON_WIDTH+RSC_SP_CTRL_GROUP_X
158 #define COL5_X COL4_X+COL4_WIDTH
160 #define LIC_DLG_WIDTH COL5_X+RSC_CD_PUSHBUTTON_WIDTH+RSC_SP_DLG_INNERBORDER_RIGHT
161 #define BODYWIDTH LIC_DLG_WIDTH-RSC_SP_DLG_INNERBORDER_LEFT-RSC_SP_DLG_INNERBORDER_RIGHT
163 ModalDialog RID_DLG_LICENSE
165 Text [ en-US ] = "Extension Software License Agreement";
167 Size = MAP_APPFONT(LIC_DLG_WIDTH, LIC_DLG_HEIGHT);
175 MultiLineEdit ML_LICENSE
177 Pos = MAP_APPFONT(COL1_X, ROW1_Y);
178 Size = MAP_APPFONT(BODYWIDTH, ROW1_HEIGHT);
184 FixedText FT_LICENSE_HEADER
186 Pos = MAP_APPFONT(COL1_X, ROW2_Y);
187 Size = MAP_APPFONT(COL1_WIDTH+COL2_WIDTH+COL3_WIDTH+COL4_WIDTH, ROW2_HEIGHT);
190 Text [ en-US ] = "Please follow these steps to proceed with the installation of the extension:";
192 FixedText FT_LICENSE_BODY_1
194 Pos = MAP_APPFONT(COL2_X, ROW3_Y);
195 Size = MAP_APPFONT( COL2_WIDTH, ROW3_HEIGHT );
197 Text [ en-US ] = "1.";
200 FixedText FT_LICENSE_BODY_1_TXT
202 Pos = MAP_APPFONT(COL3_X, ROW3_Y);
203 Size = MAP_APPFONT(COL3_WIDTH+COL4_WIDTH, ROW3_HEIGHT);
206 Text [ en-US ] = "Read the complete License Agreement. Use the scroll bar or the \'Scroll Down\' button in this dialog to view the entire license text.";
208 FixedText FT_LICENSE_BODY_2
210 Pos = MAP_APPFONT(COL2_X, ROW4_Y);
211 Size = MAP_APPFONT(COL2_WIDTH, ROW4_HEIGHT);
213 Text [ en-US ] = "2.";
215 FixedText FT_LICENSE_BODY_2_TXT
217 Pos = MAP_APPFONT(COL3_X, ROW4_Y);
218 Size = MAP_APPFONT(COL3_WIDTH+COL4_WIDTH, ROW4_HEIGHT);
221 Text [ en-US ] = "Accept the License Agreement for the extension by pressing the \'Accept\' button.";
224 PushButton PB_LICENSE_DOWN
227 Pos = MAP_APPFONT(COL5_X , ROW3_Y) ;
228 Size = MAP_APPFONT(RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT) ;
229 Text [ en-US ] = "~Scroll Down";
234 Pos = MAP_APPFONT ( 0, ROW5_Y) ;
235 Size = MAP_APPFONT ( LIC_DLG_WIDTH, ROW5_HEIGHT ) ;
238 FixedImage FI_LICENSE_ARROW1
240 Pos = MAP_APPFONT (COL1_X, ROW3_Y) ;
244 ImageBitmap = Bitmap { File = "sc06300.png"; };
249 FixedImage FI_LICENSE_ARROW2
251 Pos = MAP_APPFONT (COL1_X, ROW4_Y) ;
255 ImageBitmap = Bitmap { File = "sc06300.png"; };
260 Image IMG_LICENCE_ARROW_HC
262 ImageBitmap = Bitmap { File = "sch06300.png"; };
266 OKButton BTN_LICENSE_ACCEPT
268 Pos = MAP_APPFONT(COL4_X, ROW6_Y);
269 Size = MAP_APPFONT(RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT );
273 Text [ en-US ] = "Accept";
276 CancelButton BTN_LICENSE_DECLINE
278 Pos = MAP_APPFONT(COL5_X, ROW6_Y);
279 Size = MAP_APPFONT( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT );
280 Text [ en-US ] = "Decline" ;
288 WarningBox WARNINGBOX_NOSHAREDALLOWED
291 DefButton = WB_DEF_OK;
292 Message[ en-US ] ="The extension \'%NAME\' cannot be installed under \"%PRODUCTNAME Extensions\", because "
293 "every user has to agree to the license agreement of the extension. The extension will not be installed.";
296 WarningBox RID_WARNINGBOX_INSTALL_EXTENSION {
297 Buttons = WB_OK_CANCEL;
298 DefButton = WB_DEF_OK;
299 Message[en-US] = "You are about to install the extension \'%NAME\'.\n"
300 "Click \'OK\' to proceed with the installation.\n"
301 "Click \'Cancel\' to stop the installation.";
304 WarningBox RID_WARNINGBOX_REMOVE_EXTENSION {
305 Buttons = WB_OK_CANCEL;
306 DefButton = WB_DEF_CANCEL;
307 Message[en-US] = "You are about to remove the extension \'%NAME\'.\n"
308 "Click \'OK\' to remove the extension.\n"
309 "Click \'Cancel\' to stop removing the extension.";
312 WARNINGBOX RID_WARNINGBOX_REMOVE_SHARED_EXTENSION
314 Buttons = WB_OK_CANCEL;
315 DefButton = WB_DEF_CANCEL;
316 Message[en-US] = "Make sure that no further users are working with the same "
317 "%PRODUCTNAME, when changing shared extensions in a multi user environment.\n"
318 "Click \'OK\' to remove the extension.\n"
319 "Click \'Cancel\' to stop removing the extension.";
322 WARNINGBOX RID_WARNINGBOX_ENABLE_SHARED_EXTENSION
324 Buttons = WB_OK_CANCEL;
325 DefButton = WB_DEF_CANCEL;
326 Message[en-US] = "Make sure that no further users are working with the same "
327 "%PRODUCTNAME, when changing shared extensions in a multi user environment.\n"
328 "Click \'OK\' to enable the extension.\n"
329 "Click \'Cancel\' to stop enabling the extension.";
332 WARNINGBOX RID_WARNINGBOX_DISABLE_SHARED_EXTENSION
334 Buttons = WB_OK_CANCEL;
335 DefButton = WB_DEF_CANCEL;
336 Message[en-US] = "Make sure that no further users are working with the same "
337 "%PRODUCTNAME, when changing shared extensions in a multi user environment.\n"
338 "Click \'OK\' to disable the extension.\n"
339 "Click \'Cancel\' to stop disabling the extension.";
343 String RID_STR_UNSUPPORTED_PLATFORM
345 Text [ en-US ] = "The extension \'%Name\' does not work on this computer.";