diff options
Diffstat (limited to 'openstack_dashboard/dashboards')
-rw-r--r-- | openstack_dashboard/dashboards/project/images_and_snapshots/images/forms.py | 4 | ||||
-rw-r--r-- | openstack_dashboard/dashboards/project/loadbalancers/workflows.py | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/openstack_dashboard/dashboards/project/images_and_snapshots/images/forms.py b/openstack_dashboard/dashboards/project/images_and_snapshots/images/forms.py index d2150ca8a..2f0f3f7db 100644 --- a/openstack_dashboard/dashboards/project/images_and_snapshots/images/forms.py +++ b/openstack_dashboard/dashboards/project/images_and_snapshots/images/forms.py @@ -154,8 +154,8 @@ class CreateImageForm(forms.SelfHandlingForm): try: image = api.glance.image_create(request, **meta) messages.success(request, - _('Your image %s has been queued for creation.' % - data['name'])) + _('Your image %s has been queued for creation.') % + data['name']) return image except: exceptions.handle(request, _('Unable to create new image.')) diff --git a/openstack_dashboard/dashboards/project/loadbalancers/workflows.py b/openstack_dashboard/dashboards/project/loadbalancers/workflows.py index 69e7067bb..5667d6773 100644 --- a/openstack_dashboard/dashboards/project/loadbalancers/workflows.py +++ b/openstack_dashboard/dashboards/project/loadbalancers/workflows.py @@ -558,8 +558,8 @@ class DeletePMAssociationAction(workflows.Action): request, *args, **kwargs) def populate_monitor_id_choices(self, request, context): - self.fields['monitor_id'].label = _("Select a health monitor of %s" % - context['pool_name']) + self.fields['monitor_id'].label = (_("Select a health monitor of %s") % + context['pool_name']) monitor_id_choices = [('', _("Select a Monitor"))] try: |