From 9f6e5c768ee27f986b303f91dd42d07bc0ce4c56 Mon Sep 17 00:00:00 2001 From: Jan Paul Tuecking Date: Sun, 13 Jun 2010 02:26:52 +0200 Subject: [PATCH] This fixes Bug #0000642 - clearer description for p2p-block buttons on outgoing firewall page. --- html/cgi-bin/outgoingfw.cgi | 6 +++--- langs/de/cgi-bin/de.pl | 6 +++++- langs/en/cgi-bin/en.pl | 6 +++++- langs/es/cgi-bin/es.pl | 6 +++++- langs/fr/cgi-bin/fr.pl | 6 +++++- 5 files changed, 23 insertions(+), 7 deletions(-) diff --git a/html/cgi-bin/outgoingfw.cgi b/html/cgi-bin/outgoingfw.cgi index a9e8d92d8d..6e27262abe 100644 --- a/html/cgi-bin/outgoingfw.cgi +++ b/html/cgi-bin/outgoingfw.cgi @@ -559,13 +559,13 @@ END if ($p2pline[2] eq 'on') { print < - + END ; } else { print < - + END ; } @@ -576,7 +576,7 @@ END } print < -
$Lang::tr{'outgoingfw p2p description'} +
$Lang::tr{'outgoingfw p2p description 1'} $Lang::tr{ $Lang::tr{'outgoingfw p2p description 2'} $Lang::tr{ $Lang::tr{'outgoingfw p2p description 3'} END ; &Header::closebox(); diff --git a/langs/de/cgi-bin/de.pl b/langs/de/cgi-bin/de.pl index 3d776814f4..fd075ad2bc 100644 --- a/langs/de/cgi-bin/de.pl +++ b/langs/de/cgi-bin/de.pl @@ -1277,7 +1277,11 @@ 'outgoingfw mode0' => 'In diesem Modus ist es allen Rechnern im Netzwerk uneingeschränkt möglich Verbindungen ins Internet aufzubauen.', 'outgoingfw mode1' => 'In diesem Modus werden nur Verbindungen nach den oben definierten Regeln zugelassen.', 'outgoingfw mode2' => 'In diesem Modus werden sämtliche Verbindungen erlaubt, bis auf die oben definierten Block-Regeln.', -'outgoingfw p2p description' => 'Klicken Sie auf die Symbole um das entsprechende iptables P2P-Blockmodul zu (de-)aktivieren.', +'outgoingfw p2p description 1' => 'Das Symbole', +'outgoingfw p2p description 2' => 'bedeutet das, dass P2P-Protokoll erlaubt wird oder', +'outgoingfw p2p description 3' => 'das, dass P2P-Protokoll gesperrt wird.', +'outgoingfw p2p deny' => 'P2P-Protokoll ist gesperrt!', +'outgoingfw p2p allow' => 'P2P-Protokoll ist erlaubt!', 'outgoingfw reset' => 'Alle Regeln löschen', 'override mtu' => 'Überschreibe Standard MTU', 'ovpn' => 'OpenVPN', diff --git a/langs/en/cgi-bin/en.pl b/langs/en/cgi-bin/en.pl index e5390a52ee..dab1b943ed 100644 --- a/langs/en/cgi-bin/en.pl +++ b/langs/en/cgi-bin/en.pl @@ -1306,7 +1306,11 @@ 'outgoingfw mode0' => 'Using this mode, all clients are able to access the internet without any restrictions.', 'outgoingfw mode1' => 'Using this mode, only connections based on the defined rules are allowed.', 'outgoingfw mode2' => 'Using this mode, all connections are allowed despited off the defined ones.', -'outgoingfw p2p description' => 'Press the corresponding button to enable/disable the iptables p2p block modul.', +'outgoingfw p2p description 1' => 'The button', +'outgoingfw p2p description 2' => 'means that the p2p protocol is allowed or', +'outgoingfw p2p description 3' => 'that the p2p protocol is denied.', +'outgoingfw p2p deny' => 'p2p protocol is denied', +'outgoingfw p2p allow' => 'p2p protocol is allowed', 'outgoingfw reset' => 'Reset all', 'override mtu' => 'Override default MTU', 'ovpn' => 'OpenVPN', diff --git a/langs/es/cgi-bin/es.pl b/langs/es/cgi-bin/es.pl index e5390a52ee..dab1b943ed 100644 --- a/langs/es/cgi-bin/es.pl +++ b/langs/es/cgi-bin/es.pl @@ -1306,7 +1306,11 @@ 'outgoingfw mode0' => 'Using this mode, all clients are able to access the internet without any restrictions.', 'outgoingfw mode1' => 'Using this mode, only connections based on the defined rules are allowed.', 'outgoingfw mode2' => 'Using this mode, all connections are allowed despited off the defined ones.', -'outgoingfw p2p description' => 'Press the corresponding button to enable/disable the iptables p2p block modul.', +'outgoingfw p2p description 1' => 'The button', +'outgoingfw p2p description 2' => 'means that the p2p protocol is allowed or', +'outgoingfw p2p description 3' => 'that the p2p protocol is denied.', +'outgoingfw p2p deny' => 'p2p protocol is denied', +'outgoingfw p2p allow' => 'p2p protocol is allowed', 'outgoingfw reset' => 'Reset all', 'override mtu' => 'Override default MTU', 'ovpn' => 'OpenVPN', diff --git a/langs/fr/cgi-bin/fr.pl b/langs/fr/cgi-bin/fr.pl index 60a5ca0cc5..7c8c4f7146 100644 --- a/langs/fr/cgi-bin/fr.pl +++ b/langs/fr/cgi-bin/fr.pl @@ -1306,7 +1306,11 @@ 'outgoingfw mode0' => 'Using this mode, all clients are able to access the internet without any restrictions.', 'outgoingfw mode1' => 'Using this mode, only connections based on the defined rules are allowed.', 'outgoingfw mode2' => 'Using this mode, all connections are allowed despited off the defined ones.', -'outgoingfw p2p description' => 'Press the corresponding button to enable/disable the iptables p2p block modul.', +'outgoingfw p2p description 1' => 'The button', +'outgoingfw p2p description 2' => 'means that the p2p protocol is allowed or', +'outgoingfw p2p description 3' => 'that the p2p protocol is denied.', +'outgoingfw p2p deny' => 'p2p protocol is denied', +'outgoingfw p2p allow' => 'p2p protocol is allowed', 'outgoingfw reset' => 'Reset all', 'override mtu' => 'Override default MTU', 'ovpn' => 'OpenVPN', -- 2.39.2