LUKS quotas names easier to understand
Change-Id: I977d77d4360589bf335f7b036703e155088e0122 Closes-Bug: #1219085
This commit is contained in:
@@ -55,6 +55,10 @@ def get_quota_name(quota):
|
||||
'security_group_rules': _('Security Group Rules'),
|
||||
'key_pairs': _('Key Pairs'),
|
||||
'fixed_ips': _('Fixed IPs'),
|
||||
'volumes_volume_luks': _('LUKS Volumes'),
|
||||
'snapshots_volume_luks': _('LUKS Volumes Snapshots'),
|
||||
'gigabytes_volume_luks': _('LUKS Volumes Size (GB)'),
|
||||
'dm-crypt': _('dm-crypt'),
|
||||
}
|
||||
return QUOTA_NAMES.get(quota.name, quota.name.replace("_", " ").title())
|
||||
|
||||
|
Reference in New Issue
Block a user