diff options
Diffstat (limited to 'backend/djvu')
-rw-r--r-- | backend/djvu/djvu-document.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/backend/djvu/djvu-document.c b/backend/djvu/djvu-document.c index 31fbd94..de85c1d 100644 --- a/backend/djvu/djvu-document.c +++ b/backend/djvu/djvu-document.c @@ -168,6 +168,10 @@ djvu_document_load (EvDocument *document, if (!doc) { g_free (filename); + g_set_error_literal (error, + EV_DOCUMENT_ERROR, + EV_DOCUMENT_ERROR_INVALID, + _("DJVU document has incorrect format")); return FALSE; } @@ -244,7 +248,7 @@ djvu_document_load (EvDocument *document, g_set_error_literal (error, G_FILE_ERROR, G_FILE_ERROR_EXIST, - _("The document is composed by several files. " + _("The document is composed of several files. " "One or more of such files cannot be accessed.")); return FALSE; |