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

gettext cleanups

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