summaryrefslogtreecommitdiffstats
path: root/nova/api
diff options
context:
space:
mode:
authorjaypipes@gmail.com <>2011-01-20 12:52:02 -0500
committerjaypipes@gmail.com <>2011-01-20 12:52:02 -0500
commit13b4f32d1995a8c50bcf86786b6ee75d49bea701 (patch)
tree746eb0bc123386c81c7ff60028e0d039acc6207b /nova/api
parent2be5a31a95f264f26f3beb4aba6b9d947790d4b1 (diff)
i18n's strings that were missed or have been added since initial i18n strings branch.
Diffstat (limited to 'nova/api')
-rw-r--r--nova/api/ec2/cloud.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/api/ec2/cloud.py b/nova/api/ec2/cloud.py
index c94540793..f0aa8d813 100644
--- a/nova/api/ec2/cloud.py
+++ b/nova/api/ec2/cloud.py
@@ -59,7 +59,7 @@ def _gen_key(context, user_id, key_name):
# creation before creating key_pair
try:
db.key_pair_get(context, user_id, key_name)
- raise exception.Duplicate("The key_pair %s already exists"
+ raise exception.Duplicate(_("The key_pair %s already exists")
% key_name)
except exception.NotFound:
pass