diff options
| author | Huanxuan Ao <huanxuan.ao@easystack.cn> | 2016-07-14 18:34:19 +0800 |
|---|---|---|
| committer | Huanxuan Ao <huanxuan.ao@easystack.cn> | 2016-07-14 18:34:19 +0800 |
| commit | 5e06d6a3a66d4f0e3115ce48f510fd81c5feee8c (patch) | |
| tree | 198dfa25d31cd84a1dfe6cd1e299d2ce072de480 /openstackclient/network | |
| parent | 63a6789addff3ccc9cb97f1fde63eb6233624319 (diff) | |
| download | python-openstackclient-5e06d6a3a66d4f0e3115ce48f510fd81c5feee8c.tar.gz | |
Change to plural form of object in multi delete error message in networkv2
Usually, the error message of multi delete is:
"'result' of 'total' 'objects' failed to delete"
the objects is a plural form.
To match the other multi delete error messages
in OSC, change the object in delete error message
in networkv2 to a plural form. Just add a 's' in
the message.
Change-Id: I17e0735d025bb61014db709d2639813565015b3d
Diffstat (limited to 'openstackclient/network')
| -rw-r--r-- | openstackclient/network/common.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openstackclient/network/common.py b/openstackclient/network/common.py index f62840fc..2b1a5656 100644 --- a/openstackclient/network/common.py +++ b/openstackclient/network/common.py @@ -111,7 +111,7 @@ class NetworkAndComputeDelete(NetworkAndComputeCommand): if ret: total = len(resources) - msg = _("%(num)s of %(total)s %(resource)s failed to delete.") % { + msg = _("%(num)s of %(total)s %(resource)ss failed to delete.") % { "num": ret, "total": total, "resource": self.resource, |
