summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/interfaces_lagg_edit.php
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@inf.org>2016-01-25 10:21:04 +0545
committerPhil Davis <phil.davis@inf.org>2016-01-25 10:21:04 +0545
commit0fc3de67462f6e735484933e5abf2bbb9be4bd30 (patch)
tree88ed04a3efc64d27c8b833cc2b819ac737741eee /src/usr/local/www/interfaces_lagg_edit.php
parenta2c5280d92c2707c27cbef318b1ced7122c32b0e (diff)
downloadpfsense-0fc3de67462f6e735484933e5abf2bbb9be4bd30.zip
pfsense-0fc3de67462f6e735484933e5abf2bbb9be4bd30.tar.gz
Internationalize interfaces UI code
Diffstat (limited to 'src/usr/local/www/interfaces_lagg_edit.php')
-rw-r--r--src/usr/local/www/interfaces_lagg_edit.php62
1 files changed, 31 insertions, 31 deletions
diff --git a/src/usr/local/www/interfaces_lagg_edit.php b/src/usr/local/www/interfaces_lagg_edit.php
index 6c38740..8417834 100644
--- a/src/usr/local/www/interfaces_lagg_edit.php
+++ b/src/usr/local/www/interfaces_lagg_edit.php
@@ -70,56 +70,56 @@ $a_laggs = &$config['laggs']['lagg'];
$portlist = get_interface_list();
$laggprotos = array("none", "lacp", "failover", "fec", "loadbalance", "roundrobin");
-$laggprotosuc = array("NONE", "LACP", "FAILOVER", "FEC", "LOADBALANCE", "ROUNDROBIN");
+$laggprotosuc = array(gettext("NONE"), gettext("LACP"), gettext("FAILOVER"), gettext("FEC"), gettext("LOADBALANCE"), gettext("ROUNDROBIN"));
$protohelp =
'<ul>' .
'<li>' .
- '<strong>' . gettext($laggprotos[0]) . '</strong><br />' .
- gettext('This protocol is intended to do nothing: it disables any ' .
- 'traffic without disabling the lagg interface itself') .
+ '<strong>' . $laggprotosuc[0] . '</strong><br />' .
+ gettext('This protocol is intended to do nothing: it disables any ' .
+ 'traffic without disabling the lagg interface itself') .
'</li>' .
'<li>' .
- '<strong>' . gettext($laggprotos[1]) . '</strong><br />' .
- gettext('Supports the IEEE 802.3ad Link Aggregation Control Protocol ' .
- '(LACP) and the Marker Protocol. LACP will negotiate a set ' .
- 'of aggregable links with the peer in to one or more Link ' .
- 'Aggregated Groups. Each LAG is composed of ports of the ' .
- 'same speed, set to full-duplex operation. The traffic will ' .
- 'be balanced across the ports in the LAG with the greatest ' .
- 'total speed, in most cases there will only be one LAG which ' .
- 'contains all ports. In the event of changes in physical ' .
- 'connectivity, Link Aggregation will quickly converge to a ' .
- 'new configuration.') .
+ '<strong>' . $laggprotosuc[1] . '</strong><br />' .
+ gettext('Supports the IEEE 802.3ad Link Aggregation Control Protocol ' .
+ '(LACP) and the Marker Protocol. LACP will negotiate a set ' .
+ 'of aggregable links with the peer in to one or more Link ' .
+ 'Aggregated Groups. Each LAG is composed of ports of the ' .
+ 'same speed, set to full-duplex operation. The traffic will ' .
+ 'be balanced across the ports in the LAG with the greatest ' .
+ 'total speed, in most cases there will only be one LAG which ' .
+ 'contains all ports. In the event of changes in physical ' .
+ 'connectivity, Link Aggregation will quickly converge to a ' .
+ 'new configuration.') .
'</li>' .
'<li>' .
- '<strong>' . gettext($laggprotos[2]) . '</strong><br />' .
+ '<strong>' . $laggprotosuc[2] . '</strong><br />' .
gettext('Sends and receives traffic only through the master port. If ' .
'the master port becomes unavailable, the next active port is ' .
'used. The first interface added is the master port; any ' .
'interfaces added after that are used as failover devices.') .
'</li>' .
'<li>' .
- '<strong>' . gettext($laggprotos[3]) . '</strong><br />' .
+ '<strong>' . $laggprotosuc[3] . '</strong><br />' .
gettext('Supports Cisco EtherChannel. This is a static setup and ' .
- 'does not negotiate aggregation with the peer or exchange ' .
- 'frames to monitor the link.') .
+ 'does not negotiate aggregation with the peer or exchange ' .
+ 'frames to monitor the link.') .
'</li>' .
'<li>' .
- '<strong>' . gettext($laggprotos[4]) . '</strong><br />' .
- gettext('Balances outgoing traffic across the active ports based on ' .
- 'hashed protocol header information and accepts incoming ' .
- 'traffic from any active port. This is a static setup and ' .
- 'does not negotiate aggregation with the peer or exchange ' .
- 'frames to monitor the link. The hash includes the Ethernet ' .
- 'source and destination address, and, if available, the VLAN ' .
- 'tag, and the IP source and destination address') .
+ '<strong>' . $laggprotosuc[4] . '</strong><br />' .
+ gettext('Balances outgoing traffic across the active ports based on ' .
+ 'hashed protocol header information and accepts incoming ' .
+ 'traffic from any active port. This is a static setup and ' .
+ 'does not negotiate aggregation with the peer or exchange ' .
+ 'frames to monitor the link. The hash includes the Ethernet ' .
+ 'source and destination address, and, if available, the VLAN ' .
+ 'tag, and the IP source and destination address') .
'</li>' .
'<li>' .
- '<strong>' . gettext($laggprotos[5]) . '</strong><br />' .
- gettext('Distributes outgoing traffic using a round-robin scheduler ' .
- 'through all active ports and accepts incoming traffic from ' .
- 'any active port') .
+ '<strong>' . $laggprotosuc[5] . '</strong><br />' .
+ gettext('Distributes outgoing traffic using a round-robin scheduler ' .
+ 'through all active ports and accepts incoming traffic from ' .
+ 'any active port') .
'</li>' .
'</ul>';
OpenPOWER on IntegriCloud