Commit bc2d4d93 authored by Dietmar Maurer's avatar Dietmar Maurer

cleanup gettext translation for firewall panel

Avoid use of plural to minimize translation overhead.
parent 71a69316
...@@ -70,7 +70,7 @@ Ext.define('PVE.FirewallAliases', { ...@@ -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', { ...@@ -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', { ...@@ -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', { ...@@ -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'
......
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