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://mozapps/content/update/updates.js"/>
67 <stringbundleset id=
"updateSet">
68 <stringbundle id=
"brandStrings" src=
"chrome://branding/locale/brand.properties"/>
69 <stringbundle id=
"updateStrings" src=
"chrome://mozapps/locale/update/updates.properties"/>
72 <wizardpage id=
"dummy" pageid=
"dummy" firstpage=
"true"/>
74 <wizardpage id=
"checking" pageid=
"checking" next=
"updatesfound"
75 label=
"&checking.title;" object=
"gCheckingPage"
76 onpageshow=
"gCheckingPage.onPageShow();">
77 <label>&checking.label;
</label>
79 <progressmeter id=
"checkingProgress" mode=
"undetermined"/>
82 <wizardpage id=
"noupdatesautoenabled" pageid=
"noupdatesautoenabled"
83 label=
"&noupdatesfound.title;" object=
"gNoUpdatesPage"
84 onpageshow=
"gNoUpdatesPage.onPageShow();">
85 <label>&noupdatesautoenabled.intro;
</label>
88 <!-- if auto updates are disabled, show the following page instead -->
89 <wizardpage id=
"noupdatesautodisabled" pageid=
"noupdatesautodisabled"
90 label=
"&noupdatesfound.title;" object=
"gNoUpdatesPage"
91 onpageshow=
"gNoUpdatesPage.onPageShow();">
92 <label>&noupdatesautodisabled.intro;
</label>
95 <!-- next is "downloading" by default, but could change to "license"
96 if we have a licenseURL on the update and this is a major update -->
97 <wizardpage id=
"updatesfound" pageid=
"updatesfound" next=
"downloading"
98 object=
"gUpdatesAvailablePage" label=
""
99 onpageshow=
"gUpdatesAvailablePage.onPageShow();"
100 onextra1=
"gUpdates.later()"
101 onextra2=
"gUpdates.never()">
102 <description id=
"updateType"/>
103 <separator class=
"thin"/>
104 <label id=
"updateName" crop=
"right"/>
105 <separator id=
"updateNameSep" class=
"thin"/>
106 <description id=
"upgradeEvangelism">&upgrade.evangelism;
</description>
107 <separator id=
"upgradeEvangelismSep" flex=
"1"/>
108 <deck id=
"detailsDeck" flex=
"1">
111 <image id=
"incompatibleCheckingThrobber"/>
113 <description>&incompatibleChecking.label;
</description>
118 <vbox id=
"moreInfoContent" flex=
"1">
119 <!-- XXX hack sspitzer not a "license", but using this for the
120 display details of a major update (using a remote web page) -->
121 <!-- note, the localized properties for this are prefixed by
122 the id. examples: updateMoreInfoContentNotFound
123 and updateMoreInfoContentDownloading -->
124 <license id=
"updateMoreInfoContent" flex=
"1"/>
126 <hbox align=
"start" id=
"incompatibleWarning" hidden=
"true">
127 <image id=
"alertImage"/>
129 <description>&incompatible.warning;
</description>
131 <button label=
"&listIncompatible.label;" accesskey=
"&listIncompatible.accesskey;"
132 oncommand=
"gUpdatesAvailablePage.showIncompatibleItems();"/>
136 <hbox id=
"moreInfoURL">
137 <label class=
"text-link" id=
"updateMoreInfoURL"
138 value=
"&clickHere.label;"/>
144 <wizardpage id=
"license" pageid=
"license" next=
"downloading"
145 object=
"gLicensePage" label=
"&license.titleText;"
146 onpageshow=
"gLicensePage.onPageShow();">
147 <label>&license.instructionText;
</label>
148 <separator class=
"thin"/>
149 <!-- note, the localized properties for this are prefixed by
150 the id. examples: licenseContentNotFound
151 and licenseContentDownloading -->
152 <license id=
"licenseContent" flex=
"1"/>
153 <separator class=
"thin"/>
154 <radiogroup id=
"acceptDeclineLicense"
155 onselect=
"gLicensePage.onAcceptDeclineRadio();">
156 <radio id=
"accept" label=
"&license.accept;"
157 accesskey=
"&license.accept.accesskey;"/>
158 <radio id=
"decline" label=
"&license.decline;"
159 accesskey=
"&license.decline.accesskey;"
164 <wizardpage id=
"downloading" pageid=
"downloading" next=
"finished"
165 object=
"gDownloadingPage" label=
"&downloading.title;"
166 onpageshow=
"gDownloadingPage.onPageShow();">
168 <label id=
"downloadName" crop=
"right" flex=
"1">&downloading.intro;
</label>
169 <label class=
"text-link" id=
"detailsLink" value=
"&details.link;"/>
171 <progressmeter id=
"downloadProgress" mode=
"undetermined"/>
172 <hbox id=
"downloadStatusLine">
173 <image id=
"downloadThrobber"/>
174 <description id=
"downloadStatus" flex=
"1">&connecting.label;
</description>
175 <button id=
"pauseButton" oncommand=
"gDownloadingPage.onPause();"
176 label=
"&pause.label;" accesskey=
"&pause.accesskey;"/>
179 <hbox id=
"verificationFailed" align=
"start" hidden=
"true">
180 <image id=
"verificationFailedIcon"/>
181 <description flex=
"1">&verificationFailedText.label;
</description>
185 <wizardpage id=
"errors" pageid=
"errors" object=
"gErrorsPage"
186 onpageshow=
"gErrorsPage.onPageShow();">
187 <label id=
"errorIntro">&error.label;
</label>
189 <textbox class=
"plain" readonly=
"true" id=
"errorReason" multiline=
"true"
192 <label id=
"errorManual">&errorManual.label;
</label>
194 <label class=
"text-link" id=
"errorLinkLabel"/>
198 <wizardpage id=
"errorpatching" pageid=
"errorpatching" next=
"downloading"
199 label=
"&errorpatching.title;" object=
"gErrorsPage"
200 onpageshow=
"gErrorsPage.onPageShowPatching();">
201 <label>&errorpatching.intro;
</label>
204 <wizardpage id=
"finished" pageid=
"finished"
205 label=
"&finished.title;" object=
"gFinishedPage"
206 onpageshow=
"gFinishedPage.onPageShow();">
207 <label>&finished.text;
</label>
210 <wizardpage id=
"finishedBackground" pageid=
"finishedBackground"
211 label=
"&finishedBackground.title;" object=
"gFinishedPage"
212 onpageshow=
"gFinishedPage.onPageShowBackground();">
213 <label>&finishedBackground.text;
</label>
215 <hbox align=
"center">
216 <label>&finishedBackground.name;
</label>
217 <label id=
"updateFinishedName" flex=
"1" crop=
"right"/>
218 <label id=
"finishedBackgroundLink" class=
"text-link" value=
"&details.link;"/>
221 <label>&finishedBackground.more1;
</label>
222 <separator class=
"thin"/>
223 <label>&finishedBackground.textNotNow;
</label>
226 <wizardpage id=
"installed" pageid=
"installed"
227 label=
"&installed.title;" object=
"gInstalledPage"
228 onpageshow=
"gInstalledPage.onPageShow();">
229 <label>&installed.intro;
</label>
232 <label id=
"whatsnewLink" class=
"text-link" hidden=
"true" value=
"&whatsnew.label;"/>