From e976f6dd3fcee674be6cee9cd259cdf9f1b7a1db Mon Sep 17 00:00:00 2001 From: David Lyle Date: Fri, 21 Jun 2013 11:16:45 -0600 Subject: [PATCH] Updates term tenant to project in error messages Fixes: bug #1193429 Change-Id: I07412d6909e4e9bf18e8d21a851e2652487e073f --- openstack_dashboard/dashboards/admin/instances/views.py | 2 +- openstack_dashboard/dashboards/admin/networks/views.py | 2 +- openstack_dashboard/dashboards/admin/volumes/views.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/openstack_dashboard/dashboards/admin/instances/views.py b/openstack_dashboard/dashboards/admin/instances/views.py index 554643198c..253f35a061 100644 --- a/openstack_dashboard/dashboards/admin/instances/views.py +++ b/openstack_dashboard/dashboards/admin/instances/views.py @@ -97,7 +97,7 @@ class AdminIndexView(tables.DataTableView): tenants, has_more = api.keystone.tenant_list(self.request) except: tenants = [] - msg = _('Unable to retrieve instance tenant information.') + msg = _('Unable to retrieve instance project information.') exceptions.handle(self.request, msg) full_flavors = SortedDict([(f.id, f) for f in flavors]) diff --git a/openstack_dashboard/dashboards/admin/networks/views.py b/openstack_dashboard/dashboards/admin/networks/views.py index 48efa9031b..cd0167bd6e 100644 --- a/openstack_dashboard/dashboards/admin/networks/views.py +++ b/openstack_dashboard/dashboards/admin/networks/views.py @@ -47,7 +47,7 @@ class IndexView(tables.DataTableView): tenants, has_more = api.keystone.tenant_list(self.request) except: tenants = [] - msg = _('Unable to retrieve instance tenant information.') + msg = _('Unable to retrieve instance project information.') exceptions.handle(self.request, msg) tenant_dict = SortedDict([(t.id, t) for t in tenants]) diff --git a/openstack_dashboard/dashboards/admin/volumes/views.py b/openstack_dashboard/dashboards/admin/volumes/views.py index d45d4b7692..8d27a6d4e4 100644 --- a/openstack_dashboard/dashboards/admin/volumes/views.py +++ b/openstack_dashboard/dashboards/admin/volumes/views.py @@ -54,7 +54,7 @@ class IndexView(tables.MultiTableView, VolumeTableMixIn): tenants, has_more = keystone.tenant_list(self.request) except: tenants = [] - msg = _('Unable to retrieve volume tenant information.') + msg = _('Unable to retrieve volume project information.') exceptions.handle(self.request, msg) tenant_dict = SortedDict([(t.id, t) for t in tenants])