From 7acb89ff4a006fa5e15a91b4697d0551c74912aa Mon Sep 17 00:00:00 2001 From: AlanCoding Date: Wed, 4 Jan 2017 09:21:50 -0500 Subject: [PATCH] wrap error message in internationalization marker --- awx/main/access.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/awx/main/access.py b/awx/main/access.py index f294aa6cda..70ac423098 100644 --- a/awx/main/access.py +++ b/awx/main/access.py @@ -1671,8 +1671,8 @@ class WorkflowJobAccess(BaseAccess): if not node_access.can_add({'reference_obj': node}): wj_add_perm = False if not wj_add_perm and self.save_messages: - self.messages['workflow_job_template'] = ('Template has been modified since job was launched, ' - 'and you do not have permission to its resources.') + self.messages['workflow_job_template'] = _('Template has been modified since job was launched, ' + 'and you do not have permission to its resources.') return wj_add_perm def can_cancel(self, obj):