From 7e940b497d36c2c6ae36d78d9f24745f14c23a4f Mon Sep 17 00:00:00 2001 From: tobes Date: Thu, 16 Aug 2012 09:27:36 +0100 Subject: [PATCH] Text message minor fix --- ckanext/harvest/controllers/view.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ckanext/harvest/controllers/view.py b/ckanext/harvest/controllers/view.py index a40ebb2..48b86bc 100644 --- a/ckanext/harvest/controllers/view.py +++ b/ckanext/harvest/controllers/view.py @@ -232,8 +232,8 @@ class ViewController(BaseController): abort(401,self.not_auth_message) except Exception, e: if 'Can not create jobs on inactive sources' in str(e): - h.flash_notice(_('Cannot create new harvest jobs on inactive sources. ' - + 'Please first change the status to \'active\'')) + h.flash_error(_('Cannot create new harvest jobs on inactive sources.' + + 'First, please change the source status to \'active\'.')) elif 'There already is an unrun job for this source' in str(e): h.flash_notice(_('A harvest job has already been scheduled for this source')) else: