X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/0b1bf765d6185ef20235e702b2969d951bca4de5..3ca475c8e10c811633dec531772e18da6e5fa33d:/src/documents/models/book.py diff --git a/src/documents/models/book.py b/src/documents/models/book.py index a13c00b2..bede8d09 100644 --- a/src/documents/models/book.py +++ b/src/documents/models/book.py @@ -286,7 +286,7 @@ class Book(models.Model): try: changes = self.get_current_changes(publishable=True) except self.NoTextError: - raise AssertionError(_('Not all chunks have publishable revisions.')) + raise AssertionError(_('Not all chunks have approved revisions.')) from librarian import NoDublinCore, ParseError, ValidationError