ui: sdn: consistent usage of VNet & VLAN without gettext
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
4ab9632867
commit
5f936d95fc
@ -189,7 +189,7 @@ Ext.define('PVE.dc.Config', {
|
|||||||
{
|
{
|
||||||
xtype: 'pveSDNVnet',
|
xtype: 'pveSDNVnet',
|
||||||
groups: ['sdn'],
|
groups: ['sdn'],
|
||||||
title: gettext('Vnets'),
|
title: 'VNets',
|
||||||
hidden: true,
|
hidden: true,
|
||||||
iconCls: 'fa fa-network-wired',
|
iconCls: 'fa fa-network-wired',
|
||||||
itemId: 'sdnvnet',
|
itemId: 'sdnvnet',
|
||||||
|
@ -23,7 +23,7 @@ Ext.define('PVE.form.SDNVnetSelector', {
|
|||||||
listConfig: {
|
listConfig: {
|
||||||
columns: [
|
columns: [
|
||||||
{
|
{
|
||||||
header: gettext('Vnet'),
|
header: gettext('VNet'),
|
||||||
sortable: true,
|
sortable: true,
|
||||||
dataIndex: 'vnet',
|
dataIndex: 'vnet',
|
||||||
flex: 1,
|
flex: 1,
|
||||||
|
@ -59,7 +59,7 @@ Ext.define('PVE.sdn.VnetACLAdd', {
|
|||||||
minValue: 1,
|
minValue: 1,
|
||||||
maxValue: 4096,
|
maxValue: 4096,
|
||||||
allowBlank: true,
|
allowBlank: true,
|
||||||
fieldLabel: 'Vlan',
|
fieldLabel: 'VLAN',
|
||||||
emptyText: gettext('All'),
|
emptyText: gettext('All'),
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -164,7 +164,7 @@ Ext.define('PVE.sdn.VnetACLView', {
|
|||||||
dataIndex: 'roleid',
|
dataIndex: 'roleid',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
header: gettext('Vlan'),
|
header: gettext('VLAN'),
|
||||||
flex: 1,
|
flex: 1,
|
||||||
sortable: true,
|
sortable: true,
|
||||||
renderer: render_vlan,
|
renderer: render_vlan,
|
||||||
|
@ -2,7 +2,7 @@ Ext.define('PVE.sdn.Vnet', {
|
|||||||
extend: 'Ext.panel.Panel',
|
extend: 'Ext.panel.Panel',
|
||||||
alias: 'widget.pveSDNVnet',
|
alias: 'widget.pveSDNVnet',
|
||||||
|
|
||||||
title: 'Vnet',
|
title: 'VNet',
|
||||||
|
|
||||||
onlineHelp: 'pvesdn_config_vnet',
|
onlineHelp: 'pvesdn_config_vnet',
|
||||||
|
|
||||||
@ -16,7 +16,7 @@ Ext.define('PVE.sdn.Vnet', {
|
|||||||
});
|
});
|
||||||
|
|
||||||
var vnetview_panel = Ext.createWidget('pveSDNVnetView', {
|
var vnetview_panel = Ext.createWidget('pveSDNVnetView', {
|
||||||
title: 'Vnets',
|
title: 'VNets',
|
||||||
region: 'west',
|
region: 'west',
|
||||||
subnetview_panel: subnetview_panel,
|
subnetview_panel: subnetview_panel,
|
||||||
width: '50%',
|
width: '50%',
|
||||||
|
@ -2,7 +2,7 @@ Ext.define('PVE.sdn.ZoneContentPanel', {
|
|||||||
extend: 'Ext.panel.Panel',
|
extend: 'Ext.panel.Panel',
|
||||||
alias: 'widget.pveSDNZoneContentPanel',
|
alias: 'widget.pveSDNZoneContentPanel',
|
||||||
|
|
||||||
title: 'Vnet',
|
title: 'VNet',
|
||||||
|
|
||||||
onlineHelp: 'pvesdn_config_vnet',
|
onlineHelp: 'pvesdn_config_vnet',
|
||||||
|
|
||||||
@ -10,13 +10,13 @@ Ext.define('PVE.sdn.ZoneContentPanel', {
|
|||||||
var me = this;
|
var me = this;
|
||||||
|
|
||||||
var permissions_panel = Ext.createWidget('pveSDNVnetACLView', {
|
var permissions_panel = Ext.createWidget('pveSDNVnetACLView', {
|
||||||
title: gettext('Vnet Permissions'),
|
title: gettext('VNet Permissions'),
|
||||||
region: 'center',
|
region: 'center',
|
||||||
border: false,
|
border: false,
|
||||||
});
|
});
|
||||||
|
|
||||||
var vnetview_panel = Ext.createWidget('pveSDNZoneContentView', {
|
var vnetview_panel = Ext.createWidget('pveSDNZoneContentView', {
|
||||||
title: 'Vnets',
|
title: 'VNets',
|
||||||
region: 'west',
|
region: 'west',
|
||||||
permissions_panel: permissions_panel,
|
permissions_panel: permissions_panel,
|
||||||
nodename: me.nodename,
|
nodename: me.nodename,
|
||||||
|
Loading…
Reference in New Issue
Block a user