ui: sdn: consistent usage of VNet & VLAN without gettext

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2023-06-14 14:10:17 +02:00
parent 4ab9632867
commit 5f936d95fc
5 changed files with 9 additions and 9 deletions

View File

@ -189,7 +189,7 @@ Ext.define('PVE.dc.Config', {
{
xtype: 'pveSDNVnet',
groups: ['sdn'],
title: gettext('Vnets'),
title: 'VNets',
hidden: true,
iconCls: 'fa fa-network-wired',
itemId: 'sdnvnet',

View File

@ -23,7 +23,7 @@ Ext.define('PVE.form.SDNVnetSelector', {
listConfig: {
columns: [
{
header: gettext('Vnet'),
header: gettext('VNet'),
sortable: true,
dataIndex: 'vnet',
flex: 1,

View File

@ -59,7 +59,7 @@ Ext.define('PVE.sdn.VnetACLAdd', {
minValue: 1,
maxValue: 4096,
allowBlank: true,
fieldLabel: 'Vlan',
fieldLabel: 'VLAN',
emptyText: gettext('All'),
});
@ -164,7 +164,7 @@ Ext.define('PVE.sdn.VnetACLView', {
dataIndex: 'roleid',
},
{
header: gettext('Vlan'),
header: gettext('VLAN'),
flex: 1,
sortable: true,
renderer: render_vlan,

View File

@ -2,7 +2,7 @@ Ext.define('PVE.sdn.Vnet', {
extend: 'Ext.panel.Panel',
alias: 'widget.pveSDNVnet',
title: 'Vnet',
title: 'VNet',
onlineHelp: 'pvesdn_config_vnet',
@ -16,7 +16,7 @@ Ext.define('PVE.sdn.Vnet', {
});
var vnetview_panel = Ext.createWidget('pveSDNVnetView', {
title: 'Vnets',
title: 'VNets',
region: 'west',
subnetview_panel: subnetview_panel,
width: '50%',

View File

@ -2,7 +2,7 @@ Ext.define('PVE.sdn.ZoneContentPanel', {
extend: 'Ext.panel.Panel',
alias: 'widget.pveSDNZoneContentPanel',
title: 'Vnet',
title: 'VNet',
onlineHelp: 'pvesdn_config_vnet',
@ -10,13 +10,13 @@ Ext.define('PVE.sdn.ZoneContentPanel', {
var me = this;
var permissions_panel = Ext.createWidget('pveSDNVnetACLView', {
title: gettext('Vnet Permissions'),
title: gettext('VNet Permissions'),
region: 'center',
border: false,
});
var vnetview_panel = Ext.createWidget('pveSDNZoneContentView', {
title: 'Vnets',
title: 'VNets',
region: 'west',
permissions_panel: permissions_panel,
nodename: me.nodename,