Fix english grammar in the quota error messages.

The first one was already correct, but the verb was
missing from the minimum- and maximum-related errors.

Change-Id: I41a80db5d405e9882e356be4bb75ef26724f9824
This commit is contained in:
Zoltan Arnold Nagy
2014-02-09 11:24:10 +01:00
parent a710452674
commit efbef496dc
3 changed files with 6 additions and 6 deletions

View File

@@ -253,10 +253,10 @@ class ProjectCommands(object):
return(2)
if ((int(value) < minimum) and
(maximum != -1 or (maximum == -1 and int(value) != -1))):
print(_('Quota limit must greater than %s.') % minimum)
print(_('Quota limit must be greater than %s.') % minimum)
return(2)
if maximum != -1 and int(value) > maximum:
print(_('Quota limit must less than %s.') % maximum)
print(_('Quota limit must be less than %s.') % maximum)
return(2)
try:
db.quota_create(ctxt, project_id, key, value,