Commit 446fc2de authored by Dietmar Maurer's avatar Dietmar Maurer

translate 'Directory'

parent 554e404a
...@@ -890,6 +890,7 @@ Ext.define('PVE.Utils', { statics: { ...@@ -890,6 +890,7 @@ Ext.define('PVE.Utils', { statics: {
neverText: gettext('never'), neverText: gettext('never'),
totalText: gettext('Total'), totalText: gettext('Total'),
usedText: gettext('Used'), usedText: gettext('Used'),
directoryText: gettext('Directory'),
format_expire: function(date) { format_expire: function(date) {
if (!date) { if (!date) {
...@@ -900,7 +901,7 @@ Ext.define('PVE.Utils', { statics: { ...@@ -900,7 +901,7 @@ Ext.define('PVE.Utils', { statics: {
format_storage_type: function(value) { format_storage_type: function(value) {
if (value === 'dir') { if (value === 'dir') {
return 'Directory'; return PVE.Utils.directoryText;
} else if (value === 'nfs') { } else if (value === 'nfs') {
return 'NFS'; return 'NFS';
} else if (value === 'glusterfs') { } else if (value === 'glusterfs') {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment