mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-20 00:35:44 +00:00
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:
parent
0aa6e0e7e7
commit
d7d12d7186
@ -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"
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user