Skip to content

Commit 40718bd

Browse files
JonasJonas
authored andcommitted
Fixes bug 863591
1 parent a081c2d commit 40718bd

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

l10n/en-US/viewer.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,4 +120,4 @@ request_password=PDF is protected by a password:
120120
printing_not_supported=Warning: Printing is not fully supported by this browser.
121121
printing_not_ready=Warning: The PDF is not fully loaded for printing.
122122
web_fonts_disabled=Web fonts are disabled: unable to use embedded PDF fonts.
123-
web_colors_disabled=Web colors are disabled.
123+
document_colors_disabled=PDF documents are not allowed to use their own colors: \'Allow pages to choose their own colors\' is deactivated in the browser.

web/viewer.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2377,8 +2377,10 @@ var PageView = function pageView(container, id, scale,
23772377
// if (self.textLayer && self.textLayer.textDivs &&
23782378
// self.textLayer.textDivs.length > 0 &&
23792379
// !PDFView.supportsDocumentColors) {
2380-
// console.error(mozL10n.get('web_colors_disabled', null,
2381-
// 'Web colors are disabled.'));
2380+
// console.error(mozL10n.get('document_colors_disabled', null,
2381+
// 'PDF documents are not allowed to use their own colors: ' +
2382+
// '\'Allow pages to choose their own colors\' ' +
2383+
// 'is deactivated in the browser.'));
23822384
// PDFView.fallback();
23832385
// }
23842386
//#endif

0 commit comments

Comments
 (0)