log.dat: Added 'squid' and 'snort' plus translations

Added 'squid' and 'snort' to section dropdown in LOGS / SYSTEM LOGS,
added translations.

Added translation string for 'web proxy' in '30-network.menu'.

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Matthias Fischer
2016-05-23 15:55:13 +02:00
committed by Michael Tremer
parent 9494c6112a
commit 9b39654d9e
2 changed files with 8 additions and 4 deletions

View File

@@ -3,9 +3,9 @@
'title' => "$Lang::tr{'net config'}", 'title' => "$Lang::tr{'net config'}",
'enabled' => 0, 'enabled' => 0,
}; };
$subnetwork->{'20.proxy'} = {'caption' => 'Webproxy', $subnetwork->{'20.proxy'} = {'caption' => "$Lang::tr{'web proxy'}",
'uri' => '/cgi-bin/proxy.cgi', 'uri' => '/cgi-bin/proxy.cgi',
'title' => "Webproxy", 'title' => "$Lang::tr{'web proxy'}",
'enabled' => 1, 'enabled' => 1,
}; };
$subnetwork->{'21.urlfilter'} = {'caption' => $Lang::tr{'url filter'}, $subnetwork->{'21.urlfilter'} = {'caption' => $Lang::tr{'url filter'},

View File

@@ -65,7 +65,9 @@ my %sections = (
'ipsec' => '(ipsec_[\w_]+: |pluto\[.*\]: |charon: |vpnwatch: )', 'ipsec' => '(ipsec_[\w_]+: |pluto\[.*\]: |charon: |vpnwatch: )',
'openvpn' => '(openvpnserver\[.*\]: |.*n2n\[.*\]: )', 'openvpn' => '(openvpnserver\[.*\]: |.*n2n\[.*\]: )',
'pakfire' => '(pakfire:) ', 'pakfire' => '(pakfire:) ',
'wireless' => '(hostapd:|kernel: ath.*:|kernel: wifi[0-9]:) ' 'wireless' => '(hostapd:|kernel: ath.*:|kernel: wifi[0-9]:) ',
'squid' => '(squid\[.*\]: |squid: )',
'snort' => '(snort\[.*\]: )'
); );
# Translations for the %sections array. # Translations for the %sections array.
@@ -86,7 +88,9 @@ my %trsections = (
'ipsec' => 'IPSec', 'ipsec' => 'IPSec',
'openvpn' => 'OpenVPN', 'openvpn' => 'OpenVPN',
'pakfire' => 'Pakfire', 'pakfire' => 'Pakfire',
'wireless' => 'Wireless' 'wireless' => 'Wireless',
'squid' => "$Lang::tr{'web proxy'}",
'snort' => "$Lang::tr{'intrusion detection'}"
); );