Rename publishable to approved, add profile option to approve by default.
[redakcja.git] / src / documents / models / image.py
index fd3d8c4..c14cca0 100644 (file)
@@ -72,7 +72,7 @@ class Image(dvcs_models.Document):
                 return open(self.image.path)
 
         publishable = self.publishable()
                 return open(self.image.path)
 
         publishable = self.publishable()
-        assert publishable, _("There is no publishable revision")
+        assert publishable, _("There is no approved revision")
         picture_xml = publishable.materialize()
 
         try:
         picture_xml = publishable.materialize()
 
         try: