Commit 2c94fbdd authored by Dietmar Maurer's avatar Dietmar Maurer

gettext cleanups

parent f8f25665
......@@ -69,9 +69,9 @@ Ext.define('PVE.window.HDResize', {
var submitBtn;
me.title = 'Resize Disk';
me.title = gettext('Resize disk');
submitBtn = Ext.create('Ext.Button', {
text: gettext('Resize'),
text: gettext('Resize disk'),
handler: function() {
if (form.isValid()) {
var values = form.getValues();
......
......@@ -139,9 +139,9 @@ Ext.define('PVE.window.Snapshot', {
}
});
} else {
me.title = "Take Snapshot of VM " + me.vmid;
me.title ="VM " + me.vmid + ': ' + gettext('Take Snapshot');
submitBtn = Ext.create('Ext.Button', {
text: 'Take Snapshot',
text: gettext('Take Snapshot'),
handler: function() {
if (form.isValid()) {
var values = form.getValues();
......
......@@ -258,7 +258,7 @@ Ext.define('PVE.qemu.SnapshotTree', {
}
},
{
text: gettext('Date') + "/" + gettext("State"),
text: gettext('Date') + "/" + gettext("Status"),
dataIndex: 'snaptime',
resizable: false,
width: 120,
......
......@@ -32,7 +32,7 @@ Ext.define('PVE.qemu.StartupInputPanel', {
name: 'order',
defaultValue: '',
emptyText: 'any',
fieldLabel: gettext('Start order')
fieldLabel: gettext('Start/Shutdown order')
},
{
xtype: 'textfield',
......
......@@ -53,7 +53,7 @@ Ext.define('PVE.storage.RBDInputPanel', {
height: 22, // hack: set same height as text fields
name: 'username',
value: 'admin',
fieldLabel: gettext('username'),
fieldLabel: gettext('User name'),
allowBlank: true
}
];
......
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