public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
* [PATCH 1/2] log.dat: fix missing quotation marks for 'ddns'
@ 2016-05-23 13:55 Matthias Fischer
  2016-05-23 13:55 ` [PATCH 2/2] log.dat: Added 'squid' and 'snort' plus translations Matthias Fischer
  0 siblings, 1 reply; 2+ messages in thread
From: Matthias Fischer @ 2016-05-23 13:55 UTC (permalink / raw)
  To: development

[-- Attachment #1: Type: text/plain, Size: 643 bytes --]

Signed-off-by: Matthias Fischer <matthias.fischer(a)ipfire.org>
---
 html/cgi-bin/logs.cgi/log.dat | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/html/cgi-bin/logs.cgi/log.dat b/html/cgi-bin/logs.cgi/log.dat
index 99c033e..44d6aeb 100644
--- a/html/cgi-bin/logs.cgi/log.dat
+++ b/html/cgi-bin/logs.cgi/log.dat
@@ -72,7 +72,7 @@ my %sections = (
 my %trsections = (
         'ipfire' => 'IPFire',
         'red' => 'RED',
-        'ddns' => $Lang::tr{'dynamic dns'},
+        'ddns' => "$Lang::tr{'dynamic dns'}",
         'dns' => 'DNS',
         'dma' => 'Mail',
         'dhcp' => "$Lang::tr{'dhcp server'}",
-- 
2.8.3


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH 2/2] log.dat: Added 'squid' and 'snort' plus translations
  2016-05-23 13:55 [PATCH 1/2] log.dat: fix missing quotation marks for 'ddns' Matthias Fischer
@ 2016-05-23 13:55 ` Matthias Fischer
  0 siblings, 0 replies; 2+ messages in thread
From: Matthias Fischer @ 2016-05-23 13:55 UTC (permalink / raw)
  To: development

[-- Attachment #1: Type: text/plain, Size: 1998 bytes --]

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(a)ipfire.org>
---
 config/menu/30-network.menu   | 4 ++--
 html/cgi-bin/logs.cgi/log.dat | 8 ++++++--
 2 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/config/menu/30-network.menu b/config/menu/30-network.menu
index c50508f..8e1336a 100644
--- a/config/menu/30-network.menu
+++ b/config/menu/30-network.menu
@@ -3,9 +3,9 @@
 			        'title' => "$Lang::tr{'net config'}",
 			        'enabled' => 0,
 			        };
-    $subnetwork->{'20.proxy'} = {'caption' => 'Webproxy',
+    $subnetwork->{'20.proxy'} = {'caption' => "$Lang::tr{'web proxy'}",
 			        'uri' => '/cgi-bin/proxy.cgi',
-			        'title' => "Webproxy",
+			        'title' => "$Lang::tr{'web proxy'}",
 			        'enabled' => 1,
 			        };
     $subnetwork->{'21.urlfilter'} = {'caption' => $Lang::tr{'url filter'},
diff --git a/html/cgi-bin/logs.cgi/log.dat b/html/cgi-bin/logs.cgi/log.dat
index 44d6aeb..a8a7ba4 100644
--- a/html/cgi-bin/logs.cgi/log.dat
+++ b/html/cgi-bin/logs.cgi/log.dat
@@ -65,7 +65,9 @@ my %sections = (
         'ipsec' => '(ipsec_[\w_]+: |pluto\[.*\]: |charon: |vpnwatch: )',
         'openvpn' => '(openvpnserver\[.*\]: |.*n2n\[.*\]: )',
         '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.
@@ -86,7 +88,9 @@ my %trsections = (
         'ipsec' => 'IPSec',
         'openvpn' => 'OpenVPN',
         'pakfire' => 'Pakfire',
-        'wireless' => 'Wireless'
+        'wireless' => 'Wireless',
+        'squid' => "$Lang::tr{'web proxy'}",
+        'snort' => "$Lang::tr{'intrusion detection'}"
 	);
 
 
-- 
2.8.3


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-05-23 13:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-23 13:55 [PATCH 1/2] log.dat: fix missing quotation marks for 'ddns' Matthias Fischer
2016-05-23 13:55 ` [PATCH 2/2] log.dat: Added 'squid' and 'snort' plus translations Matthias Fischer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox