Merge "LUKS quotas names easier to understand"
This commit is contained in:
commit
62cebd86a3
@ -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())
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user