Fix error messages.

This commit is contained in:
tastytea 2021-05-21 04:02:50 +02:00
parent a3eeb41f99
commit 1a80f770ff
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
2 changed files with 2 additions and 2 deletions

View File

@ -81,7 +81,7 @@ int main(int argc, char *argv[])
catch (const epubgrep::zip::exception &e)
{
cerr << translate("ERROR: ") << e.what() << '\n';
cerr << translate("Error while processing epub file.") << '\n';
cerr << translate("Error while processing EPUB file.") << '\n';
}
}
}

View File

@ -60,7 +60,7 @@ std::vector<std::string> list(const fs::path &filepath)
result = archive_read_free(zipfile);
if (result != ARCHIVE_OK)
{
throw exception{format(translate("ERROR: Could not close {0:s}.").str(),
throw exception{format(translate("Could not close {0:s}.").str(),
filepath.string())};
}