Bug 1576639 - Fix Print Preview's Custom Scale prompt title. r=flod,fluent-reviewers

Differential Revision: https://phabricator.services.mozilla.com/D44670

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Dão Gottwald 2019-09-04 14:32:51 +00:00
parent 0aa6e0e7e7
commit d7d12d7186
2 changed files with 5 additions and 4 deletions

View File

@ -70,7 +70,7 @@ customElements.define(
<checkbox id="print-preview-simplify" checked="false" disabled="true" oncommand="this.parentNode.simplify();" data-l10n-id="printpreview-simplify-page-checkbox"/>
<toolbarseparator class="toolbarseparator-primary"/>
<button id="print-preview-toolbar-close-button" oncommand="PrintUtils.exitPrintPreview();" data-l10n-id="printpreview-close"/>
<data id="print-preview-prompt-title" data-l10n-id="printpreview-custom-prompt"/>
<data id="print-preview-custom-scale-prompt-title" data-l10n-id="printpreview-custom-scale-prompt-title"/>
`)
);
@ -283,7 +283,9 @@ customElements.define(
var value = Math.round(aValue);
var promptStr = document.getElementById("print-preview-scale-label")
.value;
var renameTitle = document.getElementById("print-preview-prompt-title");
var renameTitle = document.getElementById(
"print-preview-custom-scale-prompt-title"
).textContent;
var result = { value };
let { Services } = ChromeUtils.import(
"resource://gre/modules/Services.jsm"

View File

@ -31,8 +31,7 @@ printpreview-print =
.accesskey = P
printpreview-of =
.value = of
printpreview-custom-prompt =
.value = Custom Scale…
printpreview-custom-scale-prompt-title = Custom Scale
printpreview-page-setup =
.label = Page Setup…
.accesskey = u