summaryrefslogtreecommitdiffstats
path: root/toolkit/components/printing/content/printProgress.xul
diff options
context:
space:
mode:
authorMatt A. Tobin <mattatobin@localhost.localdomain>2018-02-02 04:16:08 -0500
committerMatt A. Tobin <mattatobin@localhost.localdomain>2018-02-02 04:16:08 -0500
commit5f8de423f190bbb79a62f804151bc24824fa32d8 (patch)
tree10027f336435511475e392454359edea8e25895d /toolkit/components/printing/content/printProgress.xul
parent49ee0794b5d912db1f95dce6eb52d781dc210db5 (diff)
downloadUXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.gz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.lz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.xz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.zip
Add m-esr52 at 52.6.0
Diffstat (limited to 'toolkit/components/printing/content/printProgress.xul')
-rw-r--r--toolkit/components/printing/content/printProgress.xul60
1 files changed, 60 insertions, 0 deletions
diff --git a/toolkit/components/printing/content/printProgress.xul b/toolkit/components/printing/content/printProgress.xul
new file mode 100644
index 000000000..2d724e54f
--- /dev/null
+++ b/toolkit/components/printing/content/printProgress.xul
@@ -0,0 +1,60 @@
+<?xml version="1.0"?>
+
+<!-- This Source Code Form is subject to the terms of the Mozilla Public
+ - License, v. 2.0. If a copy of the MPL was not distributed with this
+ - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
+
+<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
+
+<!DOCTYPE window SYSTEM "chrome://global/locale/printProgress.dtd">
+
+<dialog xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
+ buttons="cancel"
+ title="&printWindow.title;"
+ style="width: 36em;"
+ ondialogcancel="onCancel()"
+ onload="onLoad()"
+ onunload="onUnload()">
+
+ <script type="application/javascript" src="chrome://global/content/printProgress.js"/>
+
+ <!-- This is non-visible content that simply adds translatable string
+ into the document so that it is accessible to JS code.
+
+ XXX-TODO:
+ convert to use string bundles.
+ -->
+
+ <data id="dialog.strings.dialogCloseLabel">&dialogClose.label;</data>
+ <data id="dialog.strings.printComplete">&printComplete;</data>
+ <data id="dialog.strings.progressText">&percentPrint;</data>
+ <data id="dialog.strings.progressLabel">&progress;</data>
+ <data id="dialog.strings.preparing">&preparing;</data>
+
+ <grid flex="1">
+ <columns>
+ <column/>
+ <column/>
+ <column/>
+ </columns>
+
+ <rows>
+ <row>
+ <hbox pack="end">
+ <label id="dialog.titleLabel" value="&title;"/>
+ </hbox>
+ <label id="dialog.title"/>
+ </row>
+ <row class="thin-separator">
+ <hbox pack="end">
+ <label id="dialog.progressLabel" control="dialog.progress" value="&progress;"/>
+ </hbox>
+ <label id="dialog.tempLabel" value="&preparing;"/>
+ <progressmeter id="dialog.progress" mode="normal" value="0"/>
+ <hbox pack="end" style="min-width: 2.5em;">
+ <label id="dialog.progressText"/>
+ </hbox>
+ </row>
+ </rows>
+ </grid>
+</dialog>