Change package to category in DeleteCategory error message

Now the delete category error message not suitable,

And fix a typo

Change-Id: I93e0c1b8b01dd63cdd93ec8fb3d50af6b3475abc
This commit is contained in:
zhu.rong
2015-09-16 21:24:10 +08:00
parent 9b208e3de6
commit 977fc4c6d8
2 changed files with 2 additions and 2 deletions

View File

@@ -49,7 +49,7 @@ class DeleteCategory(tables.DeleteAction):
LOG.exception(_('Unable to delete category'))
url = reverse('horizon:murano:categories:index')
exceptions.handle(request,
_('Unable to remove package.'),
_('Unable to delete category.'),
redirect=url)

View File

@@ -58,7 +58,7 @@ def is_app(wizard):
"""Check if we're uploading an application
Return true if uploading package is an application.
In that case, category selection from need to be shown.
In that case, category selection form need to be shown.
"""
step_data = wizard.storage.get_step_data('upload')
if step_data: