mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-17 04:08:51 +00:00
further i18n simplifications
This commit is contained in:
parent
6603d0f6b2
commit
c25f9d307d
@ -371,27 +371,28 @@ Ext.define('PVE.Utils', { statics: {
|
|||||||
},
|
},
|
||||||
|
|
||||||
task_desc_table: {
|
task_desc_table: {
|
||||||
vncproxy: [ 'VM/CT', gettext('VNC connection to {0}') ],
|
vncproxy: [ 'VM/CT', gettext('Console') ],
|
||||||
vncshell: [ '', gettext('Shell') ],
|
vncshell: [ '', gettext('Shell') ],
|
||||||
qmcreate: [ 'VM', gettext('Create {0}') ],
|
qmcreate: [ 'VM', gettext('Create') ],
|
||||||
qmrestore: [ 'VM', gettext('Restore {0}') ],
|
qmrestore: [ 'VM', gettext('Restore') ],
|
||||||
qmdestroy: [ 'VM', gettext('Destroy {0}') ],
|
qmdestroy: [ 'VM', gettext('Destroy') ],
|
||||||
qmigrate: [ 'VM', gettext('Migrate {0}') ],
|
qmigrate: [ 'VM', gettext('Migrate') ],
|
||||||
qmstart: [ 'VM', gettext('Start {0}') ],
|
qmstart: [ 'VM', gettext('Start') ],
|
||||||
qmstop: [ 'VM', gettext('Stop {0}') ],
|
qmstop: [ 'VM', gettext('Stop') ],
|
||||||
qmreset: [ 'VM', gettext('Reset {0}') ],
|
qmreset: [ 'VM', gettext('Reset') ],
|
||||||
qmshutdown: [ 'VM', gettext('Shutdown {0}') ],
|
qmshutdown: [ 'VM', gettext('Shutdown') ],
|
||||||
qmsuspend: [ 'VM', gettext('Suspend {0}') ],
|
qmsuspend: [ 'VM', gettext('Suspend') ],
|
||||||
qmresume: [ 'VM', gettext('Resume {0}') ],
|
qmresume: [ 'VM', gettext('Resume') ],
|
||||||
vzcreate: ['CT', gettext('Create {0}') ],
|
vzcreate: ['CT', gettext('Create') ],
|
||||||
vzrestore: ['CT', gettext('Restore {0}') ],
|
vzrestore: ['CT', gettext('Restore') ],
|
||||||
vzdestroy: ['CT', gettext('Destroy {0}') ],
|
vzdestroy: ['CT', gettext('Destroy') ],
|
||||||
vzstart: ['CT', gettext('Start {0}') ],
|
vzmigrate: [ 'CT', gettext('Migrate') ],
|
||||||
vzstop: ['CT', gettext('Stop {0}') ],
|
vzstart: ['CT', gettext('Start') ],
|
||||||
srvstart: ['SRV', gettext('Start {0}') ],
|
vzstop: ['CT', gettext('Stop') ],
|
||||||
srvstop: ['SRV', gettext('Stop {0}') ],
|
srvstart: ['SRV', gettext('Start') ],
|
||||||
srvrestart: ['SRV', gettext('Restart {0}') ],
|
srvstop: ['SRV', gettext('Stop') ],
|
||||||
srvreload: ['SRV', gettext('Reload {0}') ],
|
srvrestart: ['SRV', gettext('Restart') ],
|
||||||
|
srvreload: ['SRV', gettext('Reload') ],
|
||||||
vzdump: ['', gettext('Backup') ]
|
vzdump: ['', gettext('Backup') ]
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -401,11 +402,11 @@ Ext.define('PVE.Utils', { statics: {
|
|||||||
return type;
|
return type;
|
||||||
}
|
}
|
||||||
var prefix = farray[0];
|
var prefix = farray[0];
|
||||||
var format = farray[1];
|
var text = farray[1];
|
||||||
if (prefix) {
|
if (prefix) {
|
||||||
return Ext.String.format(format, prefix + ' ' + id);
|
return prefix + ' ' + id + ' - ' + text;
|
||||||
}
|
}
|
||||||
return Ext.String.format(format, id);
|
return text
|
||||||
},
|
},
|
||||||
|
|
||||||
parse_task_upid: function(upid) {
|
parse_task_upid: function(upid) {
|
||||||
|
Loading…
Reference in New Issue
Block a user