diff options
author | bruno <bruno.stein@bluepex.com> | 2016-01-21 14:56:10 -0200 |
---|---|---|
committer | bruno <bruno.stein@bluepex.com> | 2016-01-21 14:56:10 -0200 |
commit | ff30e319d4239b4b6df55d2663f7c0f5efded5e1 (patch) | |
tree | 51a202b804c109c61b9560b39d68bf8facf1c944 /src/usr/local/www/diag_packet_capture.php | |
parent | bab790f20be61f0390364945cc5a40de82e0f73f (diff) | |
download | pfsense-ff30e319d4239b4b6df55d2663f7c0f5efded5e1.zip pfsense-ff30e319d4239b4b6df55d2663f7c0f5efded5e1.tar.gz |
add call gettext function for translate
Diffstat (limited to 'src/usr/local/www/diag_packet_capture.php')
-rw-r--r-- | src/usr/local/www/diag_packet_capture.php | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/usr/local/www/diag_packet_capture.php b/src/usr/local/www/diag_packet_capture.php index 5258f9b..64e2036 100644 --- a/src/usr/local/www/diag_packet_capture.php +++ b/src/usr/local/www/diag_packet_capture.php @@ -264,19 +264,19 @@ if ($_POST) { } $protocollist = array( - '' => 'Any', + '' => gettext('Any'), 'icmp' => 'ICMP', - '!icmp' => 'Exclude ICMP', + '!icmp' => gettext('Exclude ICMP'), 'icmp6' => 'ICMPv6', - '!icmp6' => 'Exclude ICMPv6', + '!icmp6' => gettext('Exclude ICMPv6'), 'tcp' => 'TCP', - '!tcp' => 'Exclude TCP', + '!tcp' => gettext('Exclude TCP'), 'udp' => 'UDP', - '!udp' => 'Exclude UDP', + '!udp' => gettext('Exclude UDP'), 'arp' => 'ARP', - '!arp' => 'Exclude ARP', + '!arp' => gettext('Exclude ARP'), 'carp' => 'CARP (VRRP)', - '!carp' => 'Exclude CARP (VRRP)', + '!carp' => gettext('Exclude CARP (VRRP)'), 'esp' => 'ESP' ); @@ -311,8 +311,8 @@ $section->addInput(new Form_Select( 'Address Family', $fam, array('' => 'Any', - 'ip' => 'IPv4 Only', - 'ip6' => 'IPv6 Only' + 'ip' => gettext('IPv4 Only'), + 'ip6' => gettext('IPv6 Only') ) ))->setHelp('Select the type of traffic to be captured'); @@ -361,10 +361,10 @@ $section->addInput(new Form_Select( 'detail', 'Level of detail', $detail, - array('normal' => 'Normal', - 'medium' => 'Medium', - 'high' => 'High', - 'full' => 'Full', + array('normal' => gettext('Normal'), + 'medium' => gettext('Medium'), + 'high' => gettext('High'), + 'full' => gettext('Full'), ) ))->setHelp('This is the level of detail that will be displayed after hitting "Stop" when the packets have been captured.' . '<br />' . 'This option does not affect the level of detail when downloading the packet capture. '); |