Browse Source

Updated wording for invalid PDF documents.

pull/70/head
Joachim Bauch 12 years ago
parent
commit
ce5bfce04e
  1. 2
      static/js/directives/pdfcanvas.js

2
static/js/directives/pdfcanvas.js

@ -102,7 +102,7 @@ define(['require', 'underscore', 'jquery', 'pdf'], function(require, _, $, pdf)
var loadErrorMessage; var loadErrorMessage;
switch (error) { switch (error) {
case "InvalidPDFException": case "InvalidPDFException":
loadErrorMessage = translation._("Could not load PDF: Invalid or corrupted PDF file."); loadErrorMessage = translation._("Could not load PDF: Please make sure to select a PDF document.");
break; break;
case "MissingPDFException": case "MissingPDFException":
loadErrorMessage = translation._("'Could not load PDF: Missing PDF file."); loadErrorMessage = translation._("'Could not load PDF: Missing PDF file.");

Loading…
Cancel
Save