Issue #6569 - document_colors_disabled shouldn't escape quotes (compare-locales warning)
This commit is contained in:
parent
df46b64045
commit
27577a714f
@ -170,4 +170,4 @@ password_cancel=Cancel
|
|||||||
printing_not_supported=Warning: Printing is not fully supported by this browser.
|
printing_not_supported=Warning: Printing is not fully supported by this browser.
|
||||||
printing_not_ready=Warning: The PDF is not fully loaded for printing.
|
printing_not_ready=Warning: The PDF is not fully loaded for printing.
|
||||||
web_fonts_disabled=Web fonts are disabled: unable to use embedded PDF fonts.
|
web_fonts_disabled=Web fonts are disabled: unable to use embedded PDF fonts.
|
||||||
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.
|
document_colors_not_allowed=PDF documents are not allowed to use their own colors: 'Allow pages to choose their own colors' is deactivated in the browser.
|
||||||
|
@ -1667,7 +1667,7 @@ document.addEventListener('textlayerrendered', function (e) {
|
|||||||
if (pageView.textLayer && pageView.textLayer.textDivs &&
|
if (pageView.textLayer && pageView.textLayer.textDivs &&
|
||||||
pageView.textLayer.textDivs.length > 0 &&
|
pageView.textLayer.textDivs.length > 0 &&
|
||||||
!PDFViewerApplication.supportsDocumentColors) {
|
!PDFViewerApplication.supportsDocumentColors) {
|
||||||
console.error(mozL10n.get('document_colors_disabled', null,
|
console.error(mozL10n.get('document_colors_not_allowed', null,
|
||||||
'PDF documents are not allowed to use their own colors: ' +
|
'PDF documents are not allowed to use their own colors: ' +
|
||||||
'\'Allow pages to choose their own colors\' ' +
|
'\'Allow pages to choose their own colors\' ' +
|
||||||
'is deactivated in the browser.'));
|
'is deactivated in the browser.'));
|
||||||
|
Loading…
Reference in New Issue
Block a user