3 # -*- Mode: Java; tab-width:
4; indent-tabs-mode: nil; c-basic-offset:
4 -*-
4 # ***** BEGIN LICENSE BLOCK *****
5 # Version: MPL
1.1/GPL
2.0/LGPL
2.1
7 # The contents of this file are subject to the Mozilla Public License Version
8 #
1.1 (the
"License"); you may not use this file except in compliance with
9 # the License. You may obtain a copy of the License at
10 # http://www.mozilla.org/MPL/
12 # Software distributed under the License is distributed on an
"AS IS" basis,
13 # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
14 # for the specific language governing rights and limitations under the
17 # The Original Code is The Update Wizard/Manager.
19 # The Initial Developer of the Original Code is Google Inc.
20 # Portions created by the Initial Developer are Copyright (C)
2005
21 # the Initial Developer. All Rights Reserved.
24 # Ben Goodger
<ben@mozilla.org
>
26 # Alternatively, the contents of this file may be used under the terms of
27 # either the GNU General Public License Version
2 or later (the
"GPL"), or
28 # the GNU Lesser General Public License Version
2.1 or later (the
"LGPL"),
29 # in which case the provisions of the GPL or the LGPL are applicable instead
30 # of those above. If you wish to allow use of your version of this file only
31 # under the terms of either the GPL or the LGPL, and not to allow others to
32 # use your version of this file under the terms of the MPL, indicate your
33 # decision by deleting the provisions above and replace them with the notice
34 # and other provisions required by the GPL or the LGPL. If you do not delete
35 # the provisions above, a recipient may use your version of this file under
36 # the terms of any one of the MPL, the GPL or the LGPL.
38 # ***** END LICENSE BLOCK *****
40 <?xml-stylesheet href=
"chrome://global/skin/" type=
"text/css"?>
41 <?xml-stylesheet href=
"chrome://mozapps/content/update/updates.css"?>
42 <?xml-stylesheet href=
"chrome://mozapps/skin/update/updates.css"?>
45 <!ENTITY % updateDTD SYSTEM
"chrome://mozapps/locale/update/updates.dtd">
46 <!ENTITY % brandDTD SYSTEM
"chrome://branding/locale/brand.dtd">
52 xmlns=
"http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
53 title=
"&updateWizard.title;"
54 label=
"" description=
""
56 windowtype=
"Update:Wizard" style=
"width: &window.macWidth;;"
58 windowtype=
"Update:Wizard" style=
"width: &window.width;;"
60 onwizardfinish=
"gUpdates.onWizardFinish();"
61 onwizardcancel=
"gUpdates.onWizardCancel();"
62 onwizardnext=
"gUpdates.onWizardNext();"
63 onload=
"gUpdates.onLoad();">
65 <script type=
"application/javascript" src=
"chrome://global/content/contentAreaUtils.js"/>
66 <script type=
"application/javascript" src=
"chrome://mozapps/content/update/updates.js"/>
68 <stringbundleset id=
"updateSet">
69 <stringbundle id=
"brandStrings" src=
"chrome://branding/locale/brand.properties"/>
70 <stringbundle id=
"updateStrings" src=
"chrome://mozapps/locale/update/updates.properties"/>
73 <wizardpage id=
"dummy" pageid=
"dummy" firstpage=
"true"/>
75 <wizardpage id=
"checking" pageid=
"checking" next=
"noupdatesfound"
76 label=
"&checking.title;" object=
"gCheckingPage"
77 onpageshow=
"gCheckingPage.onPageShow();">
78 <label>&updateCheck.label;
</label>
79 <separator class=
"thin"/>
80 <progressmeter id=
"checkingProgress" mode=
"undetermined"/>
83 <wizardpage id=
"noupdatesfound" pageid=
"noupdatesfound"
84 label=
"&noupdatesfound.title;" object=
"gNoUpdatesPage"
85 onpageshow=
"gNoUpdatesPage.onPageShow();">
86 <label id=
"noUpdatesAutoEnabled" hidden=
"true">&noupdatesautoenabled.intro;
</label>
87 <label id=
"noUpdatesAutoDisabled" hidden=
"true">&noupdatesautodisabled.intro;
</label>
90 <wizardpage id=
"incompatibleCheck" pageid=
"incompatibleCheck"
91 next=
"updatesfound" label=
"&incompatibleCheck.title;"
92 object=
"gIncompatibleCheckPage"
93 onpageshow=
"gIncompatibleCheckPage.onPageShow();">
94 <label>&incompatibleCheck.label;
</label>
95 <separator class=
"thin"/>
96 <progressmeter id=
"incompatibleCheckProgress" mode=
"undetermined"/>
99 <wizardpage id=
"updatesfound" pageid=
"updatesfound" next=
"license"
100 object=
"gUpdatesAvailablePage" label=
""
101 onpageshow=
"gUpdatesAvailablePage.onPageShow();"
102 onextra1=
"gUpdatesAvailablePage.onExtra1();"
103 onextra2=
"gUpdatesAvailablePage.onExtra2();">
104 <description id=
"updateType"/>
105 <separator class=
"thin"/>
106 <label id=
"updateName" crop=
"right" value=
""/>
107 <separator id=
"updateNameSep" class=
"thin"/>
108 <description id=
"upgradeEvangelism">&evangelism.desc;
</description>
109 <separator id=
"upgradeEvangelismSep" flex=
"1"/>
111 <vbox id=
"moreInfoContent" flex=
"1">
112 <!-- note, the localized properties for this are prefixed by
113 the id. examples: updateMoreInfoContentNotFound
114 and updateMoreInfoContentDownloading -->
115 <remotecontent id=
"updateMoreInfoContent" flex=
"1"/>
117 <hbox id=
"moreInfoURL">
118 <label class=
"text-link" id=
"updateMoreInfoURL"
119 value=
"&clickHere.label;" onclick=
"openUpdateURL(event);"/>
124 <wizardpage id=
"license" pageid=
"license" next=
"incompatibleList"
125 object=
"gLicensePage" label=
"&license.titleText;"
126 onpageshow=
"gLicensePage.onPageShow();"
127 onextra1=
"gLicensePage.onExtra1();">
128 <label>&license.instructionText;
</label>
129 <separator class=
"thin"/>
130 <!-- note, the localized properties for this are prefixed by
131 the id. examples: licenseContentNotFound
132 and licenseContentDownloading -->
133 <remotecontent id=
"licenseContent" flex=
"1"/>
134 <separator class=
"thin"/>
135 <radiogroup id=
"acceptDeclineLicense"
136 onselect=
"gLicensePage.onAcceptDeclineRadio();">
137 <radio id=
"accept" label=
"&license.accept;"
138 accesskey=
"&license.accept.accesskey;"/>
139 <radio id=
"decline" label=
"&license.decline;"
140 accesskey=
"&license.decline.accesskey;"
145 <wizardpage id=
"incompatibleList" pageid=
"incompatibleList"
146 next=
"downloading" label=
"&incompatibleList.title;"
147 object=
"gIncompatibleListPage"
148 onpageshow=
"gIncompatibleListPage.onPageShow();"
149 onextra1=
"gIncompatibleListPage.onExtra1();">
150 <description id=
"incompatibleListDesc"/>
151 <separator class=
"thin"/>
152 <listbox id=
"incompatibleList.listbox" flex=
"1"/>
155 <wizardpage id=
"downloading" pageid=
"downloading" next=
"finished"
156 object=
"gDownloadingPage" label=
"&downloading.title;"
157 onpageshow=
"gDownloadingPage.onPageShow();"
158 onextra1=
"gDownloadingPage.onHide();">
159 <hbox id=
"downloadStatusTop">
160 <image id=
"downloadThrobber"/>
161 <label id=
"downloadName" crop=
"right">&downloading.intro;
</label>
163 <label id=
"downloadDetailsLink" class=
"text-link"
164 value=
"&details.link;" onclick=
"openUpdateURL(event);"/>
166 <separator class=
"thin"/>
167 <hbox id=
"downloadStatusProgress">
168 <progressmeter id=
"downloadProgress" mode=
"undetermined" flex=
"1"/>
169 <button id=
"pauseButton" oncommand=
"gDownloadingPage.onPause();"
172 <separator class=
"thin"/>
173 <hbox id=
"downloadStatusLine">
174 <description id=
"downloadStatus" flex=
"1">&connecting.label;
</description>
177 <hbox id=
"verificationFailed" align=
"start" hidden=
"true">
178 <image id=
"verificationFailedIcon"/>
179 <description flex=
"1">&verificationFailedText.label;
</description>
183 <wizardpage id=
"errors" pageid=
"errors" object=
"gErrorsPage"
184 onpageshow=
"gErrorsPage.onPageShow();">
185 <label id=
"errorIntro">&error.label;
</label>
187 <textbox class=
"plain" readonly=
"true" id=
"errorReason" multiline=
"true"
190 <label id=
"errorManual">&errorManual.label;
</label>
192 <label class=
"text-link" id=
"errorLinkLabel" value=
""
193 onclick=
"openUpdateURL(event);"/>
197 <wizardpage id=
"errorpatching" pageid=
"errorpatching" next=
"downloading"
198 label=
"&errorpatching.title;" object=
"gErrorsPage">
199 <label>&errorpatching.intro;
</label>
202 <wizardpage id=
"finished" pageid=
"finished"
203 label=
"&finishedPage.title;" object=
"gFinishedPage"
204 onpageshow=
"gFinishedPage.onPageShow();"
205 onextra1=
"gFinishedPage.onExtra1()">
206 <label>&finishedPage.text;
</label>
209 <wizardpage id=
"finishedBackground" pageid=
"finishedBackground"
210 label=
"&finishedPage.title;" object=
"gFinishedPage"
211 onpageshow=
"gFinishedPage.onPageShowBackground();"
212 onextra1=
"gFinishedPage.onExtra1()">
213 <label>&finishedBackgroundPage.text;
</label>
215 <hbox align=
"center">
216 <label>&finishedBackground.name;
</label>
217 <label id=
"updateFinishedName" flex=
"1" crop=
"right" value=
""/>
218 <label id=
"finishedBackgroundLink" class=
"text-link" disabled=
"true"
219 value=
"&details.link;" onclick=
"openUpdateURL(event);"/>
222 <label>&finishedBackground.more;
</label>
225 <wizardpage id=
"installed" pageid=
"installed"
226 label=
"&installed.title;" object=
"gInstalledPage"
227 onpageshow=
"gInstalledPage.onPageShow();">
228 <label>&installed.intro;
</label>
231 <label id=
"whatsnewLink" class=
"text-link" hidden=
"true"
232 value=
"&whatsnew.label;" onclick=
"openUpdateURL(event);"/>