Commit a3fc6eda authored by Dietmar Maurer's avatar Dietmar Maurer

add more gettext markers

parent 30bb4d33
......@@ -19,21 +19,21 @@ Ext.define('PVE.node.DNSEdit', {
},
{
xtype: 'pvetextfield',
fieldLabel: 'First DNS server',
fieldLabel: gettext('DNS server') + " 1",
vtype: 'IPAddress',
skipEmptyText: true,
name: 'dns1'
},
{
xtype: 'pvetextfield',
fieldLabel: 'Second DNS server',
fieldLabel: gettext('DNS server') + " 2",
vtype: 'IPAddress',
skipEmptyText: true,
name: 'dns2'
},
{
xtype: 'pvetextfield',
fieldLabel: 'Third DNS server',
fieldLabel: gettext('DNS server') + " 3",
vtype: 'IPAddress',
skipEmptyText: true,
name: 'dns3'
......
......@@ -23,9 +23,9 @@ Ext.define('PVE.node.DNSView', {
interval: 1000,
rows: {
search: { header: 'Search domain', required: true },
dns1: { header: 'First DNS server', required: true },
dns2: { header: 'Second DNS server' },
dns3: { header: 'Third DNS server' }
dns1: { header: gettext('DNS server') + " 1", required: true },
dns2: { header: gettext('DNS server') + " 2" },
dns3: { header: gettext('DNS server') + " 3" }
},
tbar: [
{
......
......@@ -232,7 +232,7 @@ Ext.define('PVE.openvz.CreateWizard', {
},
{
xtype: 'pvetextfield',
fieldLabel: 'DNS server 1',
fieldLabel: gettext('DNS server') + " 1",
vtype: 'IPAddress',
allowBlank: true,
disabled: true,
......@@ -241,7 +241,7 @@ Ext.define('PVE.openvz.CreateWizard', {
},
{
xtype: 'pvetextfield',
fieldLabel: 'DNS server 2',
fieldLabel: gettext('DNS server') + " 2",
vtype: 'IPAddress',
skipEmptyText: true,
disabled: true,
......
......@@ -50,15 +50,15 @@ Ext.define('PVE.openvz.DNS', {
}
},
nameserver: {
header: 'DNS servers',
header: gettext('DNS server'),
defaultValue: '',
editor: {
xtype: 'pveWindowEdit',
title: 'DNS servers',
title: gettext('DNS server'),
items: {
xtype: 'pvetextfield',
name: 'nameserver',
fieldLabel: 'DNS servers',
fieldLabel: gettext('DNS server'),
allowBlank: false
}
}
......
......@@ -71,14 +71,14 @@ Ext.define('PVE.qemu.BootOrderPanel', {
list.push(['d', 'CD-ROM']);
}
if (sel1 !== 'n' && (sel2 !== 'n')) {
list.push(['n', 'Network']);
list.push(['n', gettext('Network')]);
}
//if (sel1 !== 'a' && (sel2 !== 'a')) {
// list.push(['a', 'Floppy']);
//}
if (includeNone) {
list.push(['', 'None']);
list.push(['', 'none']);
}
return list;
......@@ -111,7 +111,7 @@ Ext.define('PVE.qemu.BootOrderPanel', {
var me = this;
me.kv1 = Ext.create('PVE.form.KVComboBox', {
fieldLabel: 'First boot device',
fieldLabel: gettext('Boot device') + " 1",
labelWidth: 120,
name: 'bd1',
allowBlank: false,
......@@ -119,7 +119,7 @@ Ext.define('PVE.qemu.BootOrderPanel', {
});
me.kv2 = Ext.create('PVE.form.KVComboBox', {
fieldLabel: 'Second boot device',
fieldLabel: gettext('Boot device') + " 2",
labelWidth: 120,
name: 'bd2',
allowBlank: false,
......@@ -127,7 +127,7 @@ Ext.define('PVE.qemu.BootOrderPanel', {
});
me.kv3 = Ext.create('PVE.form.KVComboBox', {
fieldLabel: 'Third boot device',
fieldLabel: gettext('Boot device') + " 3",
labelWidth: 120,
name: 'bd3',
allowBlank: false,
......
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