Use "flavor details" rather than "flavor data"

Be consistent with views using either "details" or "information".

Change-Id: I7d69ffede8934f3130bb3fcd740b9ae8e8d5d4a6
This commit is contained in:
Sascha Peilicke
2013-09-17 11:02:14 +02:00
parent 9c08d883ea
commit 89efbaaffd
2 changed files with 4 additions and 3 deletions

View File

@@ -40,7 +40,7 @@ class ExtraSpecMixin(object):
self.kwargs['id'])
except Exception:
exceptions.handle(self.request,
_("Unable to retrieve flavor data."))
_("Unable to retrieve flavor details."))
return context
@@ -85,7 +85,8 @@ class EditView(ExtraSpecMixin, forms.ModalFormView):
except Exception:
extra_specs = {}
exceptions.handle(self.request,
_("Unable to retrieve flavor extra spec data."))
_('Unable to retrieve flavor extra spec '
'details.'))
return {'flavor_id': flavor_id,
'key': key,
'value': extra_specs.get(key, '')}

View File

@@ -71,7 +71,7 @@ class UpdateView(workflows.WorkflowView):
flavor = api.nova.flavor_get(self.request, flavor_id)
except Exception:
exceptions.handle(self.request,
_('Unable to retrieve flavor data.'),
_('Unable to retrieve flavor details.'),
redirect=reverse_lazy(INDEX_URL))
return {'flavor_id': flavor.id,
'name': flavor.name,