cleanup gettext translation for firewall panel

Avoid use of plural to minimize translation overhead.
This commit is contained in:
Dietmar Maurer 2014-08-13 12:57:51 +02:00
parent 6dd4c09492
commit eef43bbd50
2 changed files with 4 additions and 4 deletions

View File

@ -70,7 +70,7 @@ Ext.define('PVE.FirewallAliases', {
base_url: undefined,
title: gettext('Aliases'),
title: gettext('Alias'),
initComponent : function() {
/*jslint confusion: true */

View File

@ -26,7 +26,7 @@ Ext.define('PVE.panel.Firewall', {
var items = [
{
xtype: 'pveFirewallRules',
title: 'Rules',
title: gettext('Rules'),
allow_iface: true,
base_url: me.base_url + '/rules',
list_refs_url: list_refs_url,
@ -37,7 +37,7 @@ Ext.define('PVE.panel.Firewall', {
if (me.fwtype === 'dc') {
items.push({
xtype: 'pveSecurityGroups',
title: 'Security Groups',
title: gettext('Security Group'),
itemId: 'sg'
});
items.push({
@ -69,7 +69,7 @@ Ext.define('PVE.panel.Firewall', {
items.push({
xtype: 'pveFirewallOptions',
title: 'Options',
title: gettext('Options'),
base_url: me.base_url + '/options',
fwtype: me.fwtype,
itemId: 'options'