1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/toolkit/components/printing/content/printProgress.xul Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,65 @@ 1.4 +<?xml version="1.0"?> 1.5 + 1.6 +<!-- This Source Code Form is subject to the terms of the Mozilla Public 1.7 + - License, v. 2.0. If a copy of the MPL was not distributed with this 1.8 + - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> 1.9 + 1.10 +<?xml-stylesheet href="chrome://global/skin/" type="text/css"?> 1.11 +<?xul-overlay href="chrome://global/content/dialogOverlay.xul"?> 1.12 + 1.13 +<!DOCTYPE window SYSTEM "chrome://global/locale/printProgress.dtd"> 1.14 + 1.15 +<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" 1.16 + class="dialog" 1.17 + title="&printWindow.title;" 1.18 + style="width: 36em;" 1.19 + onload="onLoad()" 1.20 + onunload="onUnload()"> 1.21 + 1.22 + <script type="application/javascript" src="chrome://global/content/printProgress.js"/> 1.23 + 1.24 + <!-- This is non-visible content that simply adds translatable string 1.25 + into the document so that it is accessible to JS code. 1.26 + 1.27 + XXX-TODO: 1.28 + convert to use string bundles. 1.29 + --> 1.30 + 1.31 + <data id="dialog.strings.dialogCloseLabel">&dialogClose.label;</data> 1.32 + <data id="dialog.strings.printComplete">&printComplete;</data> 1.33 + <data id="dialog.strings.progressText">&percentPrint;</data> 1.34 + <data id="dialog.strings.progressLabel">&progress;</data> 1.35 + <data id="dialog.strings.preparing">&preparing;</data> 1.36 + 1.37 + <grid flex="1"> 1.38 + <columns> 1.39 + <column/> 1.40 + <column/> 1.41 + <column/> 1.42 + </columns> 1.43 + 1.44 + <rows> 1.45 + <row> 1.46 + <hbox pack="end"> 1.47 + <label id="dialog.titleLabel" value="&title;"/> 1.48 + </hbox> 1.49 + <label id="dialog.title"/> 1.50 + </row> 1.51 + <row class="thin-separator"> 1.52 + <hbox pack="end"> 1.53 + <label id="dialog.progressLabel" control="dialog.progress" value="&progress;"/> 1.54 + </hbox> 1.55 + <label id="dialog.tempLabel" value="&preparing;"/> 1.56 + <progressmeter id="dialog.progress" mode="normal" value="0"/> 1.57 + <hbox pack="end" style="min-width: 2.5em;"> 1.58 + <label id="dialog.progressText"/> 1.59 + </hbox> 1.60 + </row> 1.61 + </rows> 1.62 + </grid> 1.63 + <separator/> 1.64 + <hbox id="CancelButton" pack="end"> 1.65 + <button id="cancel" label="&dialogCancel.label;" icon="cancel" 1.66 + oncommand="doCancelButton()"/> 1.67 + </hbox> 1.68 +</window>