Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
pve-manager
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
pve-manager
Commits
bc2d4d93
Commit
bc2d4d93
authored
Aug 13, 2014
by
Dietmar Maurer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cleanup gettext translation for firewall panel
Avoid use of plural to minimize translation overhead.
parent
71a69316
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
FirewallAliases.js
www/manager/grid/FirewallAliases.js
+1
-1
Firewall.js
www/manager/panel/Firewall.js
+3
-3
No files found.
www/manager/grid/FirewallAliases.js
View file @
bc2d4d93
...
@@ -70,7 +70,7 @@ Ext.define('PVE.FirewallAliases', {
...
@@ -70,7 +70,7 @@ Ext.define('PVE.FirewallAliases', {
base_url
:
undefined
,
base_url
:
undefined
,
title
:
gettext
(
'
Alias
es
'
),
title
:
gettext
(
'
Alias
'
),
initComponent
:
function
()
{
initComponent
:
function
()
{
/*jslint confusion: true */
/*jslint confusion: true */
...
...
www/manager/panel/Firewall.js
View file @
bc2d4d93
...
@@ -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
'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment