[Pkg-javascript-commits] [pdf.js] 40/115: Issue #6569 - document_colors_disabled shouldn't escape quotes (compare-locales warning)

David Prévot taffit at moszumanska.debian.org
Wed Dec 16 20:03:12 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository pdf.js.

commit 27577a714f6403441b0e1c92879399e40e46ae5e
Author: Sebastian Hengst <archaeopteryx at coole-files.de>
Date:   Sun Nov 22 10:14:25 2015 +0100

    Issue #6569 - document_colors_disabled shouldn't escape quotes (compare-locales warning)
---
 l10n/en-US/viewer.properties | 2 +-
 web/viewer.js                | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/l10n/en-US/viewer.properties b/l10n/en-US/viewer.properties
index 5c43b50..20c9195 100644
--- a/l10n/en-US/viewer.properties
+++ b/l10n/en-US/viewer.properties
@@ -170,4 +170,4 @@ password_cancel=Cancel
 printing_not_supported=Warning: Printing is not fully supported by this browser.
 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.
-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.
diff --git a/web/viewer.js b/web/viewer.js
index b7d1cca..6a50400 100644
--- a/web/viewer.js
+++ b/web/viewer.js
@@ -1667,7 +1667,7 @@ document.addEventListener('textlayerrendered', function (e) {
   if (pageView.textLayer && pageView.textLayer.textDivs &&
       pageView.textLayer.textDivs.length > 0 &&
       !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: ' +
       '\'Allow pages to choose their own colors\' ' +
       'is deactivated in the browser.'));

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/pdf.js.git



More information about the Pkg-javascript-commits mailing list