Update ooo320-m1
[ooovba.git] / desktop / source / deployment / gui / dp_gui_updateinstalldialog.src
blob77cd36f2ccd892b9945824db4bff7461eb5c381a
1 /*************************************************************************
2  *
3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4  * 
5  * Copyright 2008 by Sun Microsystems, Inc.
6  *
7  * OpenOffice.org - a multi-platform office productivity suite
8  *
9  * $RCSfile: dp_gui_updateinstalldialog.src,v $
10  * $Revision: 1.5 $
11  *
12  * This file is part of OpenOffice.org.
13  *
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.
17  *
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).
23  *
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.
28  *
29  ************************************************************************/
31 #include "svtools/controldims.hrc"
33 #include "dp_gui.hrc"
36 #define LOCAL_WIDTH (60 * RSC_BS_CHARWIDTH)
37 #define LOCAL_LIST_HEIGHT (7 * RSC_BS_CHARHEIGHT)
38 #define LOCAL_BUTTON_WIDTH 80
40 ModalDialog RID_DLG_UPDATEINSTALL {
41     HelpId = HID_DEPLOYMENT_GUI_UPDATEINSTALL;
42     Size = MAP_APPFONT(
43         (RSC_SP_DLG_INNERBORDER_LEFT + LOCAL_WIDTH +
44          RSC_SP_DLG_INNERBORDER_RIGHT), 
45         (RSC_SP_DLG_INNERBORDER_TOP + RSC_CD_FIXEDTEXT_HEIGHT  +
46          RSC_SP_CTRL_DESC_Y + RSC_CD_CHECKBOX_HEIGHT + 
47          RSC_SP_CTRL_DESC_Y + RSC_CD_FIXEDTEXT_HEIGHT + 
48          RSC_SP_CTRL_Y + RSC_CD_FIXEDTEXT_HEIGHT + 
49          RSC_SP_FLGR_SPACE_Y + LOCAL_LIST_HEIGHT + 
50          RSC_SP_FLGR_SPACE_Y + RSC_CD_FIXEDLINE_HEIGHT +
51          RSC_SP_FLGR_SPACE_Y + RSC_CD_PUSHBUTTON_HEIGHT +
52          RSC_SP_DLG_INNERBORDER_BOTTOM));
53     Text[en-US] = "Download and Installation";
54     Moveable = TRUE;
55     Closeable = TRUE;
56     FixedText RID_DLG_UPDATE_INSTALL_DOWNLOADING {
57         Pos = MAP_APPFONT(
58             RSC_SP_DLG_INNERBORDER_LEFT, RSC_SP_DLG_INNERBORDER_TOP);
59         Size = MAP_APPFONT(LOCAL_WIDTH, RSC_CD_FIXEDTEXT_HEIGHT);
60         Text[en-US] = "Downloading extensions...";
61         NoLabel = TRUE;
62     };
64     Window RID_DLG_UPDATE_INSTALL_STATUSBAR {
65         Pos = MAP_APPFONT(
66             RSC_SP_DLG_INNERBORDER_LEFT, 
67             (RSC_SP_DLG_INNERBORDER_TOP + RSC_CD_FIXEDTEXT_HEIGHT  +
68               RSC_SP_CTRL_DESC_Y));
70         Size = MAP_APPFONT(LOCAL_WIDTH, RSC_CD_CHECKBOX_HEIGHT);
71         Border = TRUE;
72     };
73     
74    FixedText RID_DLG_UPDATE_INSTALL_EXTENSION_NAME {
75         Pos = MAP_APPFONT(
76             RSC_SP_DLG_INNERBORDER_LEFT, 
77             RSC_SP_DLG_INNERBORDER_TOP + RSC_CD_FIXEDTEXT_HEIGHT  +
78               RSC_SP_CTRL_DESC_Y + RSC_CD_CHECKBOX_HEIGHT + RSC_SP_CTRL_DESC_Y);
79         Size = MAP_APPFONT(LOCAL_WIDTH, RSC_CD_FIXEDTEXT_HEIGHT);
80         Text[en-US] = "";
81         NoLabel = TRUE;
82     };
83     
84    FixedText RID_DLG_UPDATE_INSTALL_RESULTS {
85         Pos = MAP_APPFONT(
86             RSC_SP_DLG_INNERBORDER_LEFT, 
87             RSC_SP_DLG_INNERBORDER_TOP + RSC_CD_FIXEDTEXT_HEIGHT  +
88             RSC_SP_CTRL_DESC_Y + RSC_CD_CHECKBOX_HEIGHT + 
89             RSC_SP_CTRL_DESC_Y + RSC_CD_FIXEDTEXT_HEIGHT + 
90             RSC_SP_CTRL_Y);
91         Size = MAP_APPFONT(LOCAL_WIDTH, RSC_CD_FIXEDTEXT_HEIGHT);
92         Text[en-US] = "Result";
93     };
95     MultiLineEdit RID_DLG_UPDATE_INSTALL_INFO {
96         Pos = MAP_APPFONT(
97             RSC_SP_DLG_INNERBORDER_LEFT,
98             RSC_SP_DLG_INNERBORDER_TOP + RSC_CD_FIXEDTEXT_HEIGHT  +
99             RSC_SP_CTRL_DESC_Y + RSC_CD_CHECKBOX_HEIGHT + 
100             RSC_SP_CTRL_DESC_Y + RSC_CD_FIXEDTEXT_HEIGHT + 
101             RSC_SP_CTRL_Y + RSC_CD_FIXEDTEXT_HEIGHT + 
102             RSC_SP_CTRL_DESC_Y);
104         Size = MAP_APPFONT(LOCAL_WIDTH, LOCAL_LIST_HEIGHT);
105         Border = TRUE;
106         ReadOnly = TRUE;
107         VScroll = TRUE;
108         TabStop = FALSE;
109     };
110     
111     FixedLine RID_DLG_UPDATE_INSTALL_LINE {
112         Pos = MAP_APPFONT(
113             RSC_SP_DLG_INNERBORDER_LEFT,
114             RSC_SP_DLG_INNERBORDER_TOP + RSC_CD_FIXEDTEXT_HEIGHT  +
115             RSC_SP_CTRL_DESC_Y + RSC_CD_CHECKBOX_HEIGHT + 
116             RSC_SP_CTRL_DESC_Y + RSC_CD_FIXEDTEXT_HEIGHT + 
117             RSC_SP_CTRL_Y + RSC_CD_FIXEDTEXT_HEIGHT + 
118             RSC_SP_CTRL_DESC_Y + LOCAL_LIST_HEIGHT + 
119             RSC_SP_FLGR_SPACE_Y);
121         Size = MAP_APPFONT(LOCAL_WIDTH, RSC_CD_FIXEDLINE_HEIGHT);
122     };
123     
124     OKButton RID_DLG_UPDATE_INSTALL_OK { 
125         Disable = TRUE;
126         Pos = MAP_APPFONT(
127             RSC_SP_DLG_INNERBORDER_LEFT + LOCAL_WIDTH - LOCAL_BUTTON_WIDTH -
128             RSC_SP_CTRL_GROUP_X - RSC_CD_PUSHBUTTON_WIDTH,
129             RSC_SP_DLG_INNERBORDER_TOP + RSC_CD_FIXEDTEXT_HEIGHT  +
130             RSC_SP_CTRL_DESC_Y + RSC_CD_CHECKBOX_HEIGHT + 
131             RSC_SP_CTRL_DESC_Y + RSC_CD_FIXEDTEXT_HEIGHT + 
132             RSC_SP_CTRL_Y + RSC_CD_FIXEDTEXT_HEIGHT + 
133             RSC_SP_CTRL_DESC_Y + LOCAL_LIST_HEIGHT + 
134             RSC_SP_FLGR_SPACE_Y + RSC_CD_FIXEDLINE_HEIGHT +
135             RSC_SP_FLGR_SPACE_Y);
138         Size = MAP_APPFONT(RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT);
139         Text[en-US] = "OK";
140     };
142     CancelButton RID_DLG_UPDATE_INSTALL_ABORT {
143         Pos = MAP_APPFONT(
144             RSC_SP_DLG_INNERBORDER_LEFT + LOCAL_WIDTH - LOCAL_BUTTON_WIDTH,          
145             RSC_SP_DLG_INNERBORDER_TOP + RSC_CD_FIXEDTEXT_HEIGHT  +
146             RSC_SP_CTRL_DESC_Y + RSC_CD_CHECKBOX_HEIGHT + 
147             RSC_SP_CTRL_DESC_Y + RSC_CD_FIXEDTEXT_HEIGHT + 
148             RSC_SP_CTRL_Y + RSC_CD_FIXEDTEXT_HEIGHT + 
149             RSC_SP_CTRL_DESC_Y + LOCAL_LIST_HEIGHT + 
150             RSC_SP_FLGR_SPACE_Y + RSC_CD_FIXEDLINE_HEIGHT +
151             RSC_SP_FLGR_SPACE_Y);
153         Size = MAP_APPFONT(LOCAL_BUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT);
154         Text[en-US] = "Cancel Update";
155         DefButton = TRUE;
156     };
158     HelpButton RID_DLG_UPDATE_INSTALL_HELP {
159         Pos = MAP_APPFONT(
160             RSC_SP_DLG_INNERBORDER_LEFT,           
161             RSC_SP_DLG_INNERBORDER_TOP + RSC_CD_FIXEDTEXT_HEIGHT  +
162             RSC_SP_CTRL_DESC_Y + RSC_CD_CHECKBOX_HEIGHT + 
163             RSC_SP_CTRL_DESC_Y + RSC_CD_FIXEDTEXT_HEIGHT + 
164             RSC_SP_CTRL_Y + RSC_CD_FIXEDTEXT_HEIGHT + 
165             RSC_SP_CTRL_DESC_Y + LOCAL_LIST_HEIGHT + 
166             RSC_SP_FLGR_SPACE_Y + RSC_CD_FIXEDLINE_HEIGHT +
167             RSC_SP_FLGR_SPACE_Y);
168         Size = MAP_APPFONT(RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT);
169     };
170   
172     String RID_DLG_UPDATE_INSTALL_INSTALLING {
173         Text[en-US] = "Installing extensions...";
174     };
175     
176     String RID_DLG_UPDATE_INSTALL_FINISHED {
177         Text[en-US] = "Installation finished";
178     };
179     
180     String RID_DLG_UPDATE_INSTALL_NO_ERRORS {
181         Text[en-US] = "No errors.";
182     };
183     
184     String RID_DLG_UPDATE_INSTALL_ERROR_DOWNLOAD {
185         Text[en-US] = "Error while downloading extension %NAME. ";
186     };
187     
188     String RID_DLG_UPDATE_INSTALL_THIS_ERROR_OCCURRED {
189         Text[en-US] = "The error message is: ";
190     };
193     String RID_DLG_UPDATE_INSTALL_ERROR_INSTALLATION {
194         Text[en-US] = "Error while installing extension %NAME. ";
195     };
196     
197     String RID_DLG_UPDATE_INSTALL_ERROR_LIC_DECLINED {
198         Text[en-US] = "The license agreement for extension %NAME was refused. ";
199     };
200     
201     String RID_DLG_UPDATE_INSTALL_EXTENSION_NOINSTALL{
202         Text[en-US] = "The extension will not be installed.";
203     };       
204