mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-14 22:53:21 +00:00
cleanup gettext translation for firewall panel
Avoid use of plural to minimize translation overhead.
This commit is contained in:
parent
6dd4c09492
commit
eef43bbd50
@ -70,7 +70,7 @@ Ext.define('PVE.FirewallAliases', {
|
|||||||
|
|
||||||
base_url: undefined,
|
base_url: undefined,
|
||||||
|
|
||||||
title: gettext('Aliases'),
|
title: gettext('Alias'),
|
||||||
|
|
||||||
initComponent : function() {
|
initComponent : function() {
|
||||||
/*jslint confusion: true */
|
/*jslint confusion: true */
|
||||||
|
@ -26,7 +26,7 @@ Ext.define('PVE.panel.Firewall', {
|
|||||||
var items = [
|
var items = [
|
||||||
{
|
{
|
||||||
xtype: 'pveFirewallRules',
|
xtype: 'pveFirewallRules',
|
||||||
title: 'Rules',
|
title: gettext('Rules'),
|
||||||
allow_iface: true,
|
allow_iface: true,
|
||||||
base_url: me.base_url + '/rules',
|
base_url: me.base_url + '/rules',
|
||||||
list_refs_url: list_refs_url,
|
list_refs_url: list_refs_url,
|
||||||
@ -37,7 +37,7 @@ Ext.define('PVE.panel.Firewall', {
|
|||||||
if (me.fwtype === 'dc') {
|
if (me.fwtype === 'dc') {
|
||||||
items.push({
|
items.push({
|
||||||
xtype: 'pveSecurityGroups',
|
xtype: 'pveSecurityGroups',
|
||||||
title: 'Security Groups',
|
title: gettext('Security Group'),
|
||||||
itemId: 'sg'
|
itemId: 'sg'
|
||||||
});
|
});
|
||||||
items.push({
|
items.push({
|
||||||
@ -69,7 +69,7 @@ Ext.define('PVE.panel.Firewall', {
|
|||||||
|
|
||||||
items.push({
|
items.push({
|
||||||
xtype: 'pveFirewallOptions',
|
xtype: 'pveFirewallOptions',
|
||||||
title: 'Options',
|
title: gettext('Options'),
|
||||||
base_url: me.base_url + '/options',
|
base_url: me.base_url + '/options',
|
||||||
fwtype: me.fwtype,
|
fwtype: me.fwtype,
|
||||||
itemId: 'options'
|
itemId: 'options'
|
||||||
|
Loading…
Reference in New Issue
Block a user