=gettext("Packets matching this rule will be mapped to the IP address given here.");?>
- =gettext("If you want this rule to apply to another IP address rather than the IP address of the interface chosen above, ".
- "select it here (you will need to define ");?>
- =gettext("Virtual IP");?>
- =gettext("addresses on the interface first).");?>
+ =sprintf(gettext("If you want this rule to apply to another IP address rather than the IP address of the interface chosen above, ".
+ "select it here (you will need to define %sVirtual IP addresses%s on the interface first)."),'','')?>
+
- =gettext("No internal Certificate Authorities have been defined. You must");?>
- =gettext("create");?>
- =gettext("an internal CA before creating an internal certificate.");?>
+ =sprintf(gettext("No internal Certificate Authorities have been defined. You must %screate%s an internal CA before creating an internal certificate."),'','');?>
=gettext("Do not use 'local' as a domain name. It will cause local hosts running mDNS (avahi, bonjour, etc.) to be unable to resolve local hosts not running mDNS."); ?>
- =gettext("e.g."); ?> =gettext("mycorp.com, home, office, private, etc."); ?>
+ =sprintf(gettext("e.g. %smycorp.com, home, office, private, etc.%s"),'','') ?>
- =gettext("This can be either an IP address, fully qualified domain name or an e-mail address"); ?>.
+ =gettext("This can be either an IP address, fully qualified domain name or an e-mail address."); ?>
diff --git a/src/www/vpn_ipsec_phase1.php b/src/www/vpn_ipsec_phase1.php
index d849ccbf6..d5fcf026b 100644
--- a/src/www/vpn_ipsec_phase1.php
+++ b/src/www/vpn_ipsec_phase1.php
@@ -598,7 +598,7 @@ function dpdchkbox_change() {
=gettext("Disable this phase1 entry"); ?>
=gettext("Set this option to disable this phase1 without " .
- "removing it from the list"); ?>.
+ "removing it from the list."); ?>
@@ -633,7 +633,7 @@ function dpdchkbox_change() {
?>
- =gettext("Select the KeyExchange Protocol version to be used. Usually known as IKEv1 or IKEv2."); ?>.
+ =gettext("Select the KeyExchange Protocol version to be used. Usually known as IKEv1 or IKEv2."); ?>
@@ -652,7 +652,7 @@ function dpdchkbox_change() {
?>
- =gettext("Select the Internet Protocol family from this dropdown"); ?>.
+ =gettext("Select the Internet Protocol family from this dropdown."); ?>
@@ -692,7 +692,7 @@ function dpdchkbox_change() {
?>
- =gettext("Select the interface for the local endpoint of this phase1 entry"); ?>.
+ =gettext("Select the interface for the local endpoint of this phase1 entry."); ?>
@@ -716,7 +716,7 @@ function dpdchkbox_change() {
=gettext("You may enter a description here " .
- "for your reference (not parsed)"); ?>.
+ "for your reference (not parsed)."); ?>
@@ -750,7 +750,7 @@ function dpdchkbox_change() {
?>
- =gettext("Must match the setting chosen on the remote side"); ?>.
+ =gettext("Must match the setting chosen on the remote side."); ?>
@@ -769,7 +769,7 @@ function dpdchkbox_change() {
?>
- =gettext("Aggressive is more flexible, but less secure"); ?>.
+ =gettext("Aggressive is more flexible, but less secure."); ?>
@@ -827,7 +827,7 @@ endforeach; ?>
- =gettext("NOTE: This is known as the \"group\" setting on some VPN client implementations"); ?>.
+ =gettext("NOTE: This is known as the \"group\" setting on some VPN client implementations."); ?>
@@ -838,7 +838,7 @@ endforeach; ?>
" />
- =gettext("Input your Pre-Shared Key string"); ?>.
+ =gettext("Input your Pre-Shared Key string."); ?>
@@ -858,7 +858,7 @@ endforeach; ?>
?>
- =gettext("Select a certificate previously configured in the Certificate Manager"); ?>.
+ =gettext("Select a certificate previously configured in the Certificate Manager."); ?>
@@ -881,7 +881,7 @@ endforeach; ?>
?>
- =gettext("Select a certificate authority previously configured in the Certificate Manager"); ?>.
+ =gettext("Select a certificate authority previously configured in the Certificate Manager."); ?>
@@ -929,7 +929,7 @@ endforeach; ?>
?>
- =gettext("Must match the setting chosen on the remote side"); ?>.
+ =gettext("Must match the setting chosen on the remote side."); ?>
@@ -960,7 +960,7 @@ endforeach; ?>
?>
- =gettext("Must match the setting chosen on the remote side"); ?>.
+ =gettext("Must match the setting chosen on the remote side."); ?>
@@ -1010,7 +1010,7 @@ endforeach; ?>
=gettext("Set this option to enable the use of NAT-T (i.e. the encapsulation of ESP in UDP packets) if needed, " .
- "which can help with clients that are behind restrictive firewalls"); ?>.
+ "which can help with clients that are behind restrictive firewalls."); ?>
- =gettext("Delay between requesting peer acknowledgement"); ?>.
+ =gettext("Delay between requesting peer acknowledgement."); ?>
=gettext("retries"); ?>
- =gettext("Number of consecutive failures allowed before disconnect"); ?>.
+ =gettext("Number of consecutive failures allowed before disconnect."); ?>
- =gettext("Don't add or remove routes automatically. Instead pass routes to ");?>
- --route-up =gettext("script using environmental variables"); ?>.
+ =sprintf(gettext("Don't add or remove routes automatically. Instead pass routes to %s--route-up%s script using environmental variables"),'','') ?>.
@@ -1009,11 +1008,11 @@ endif; ?>
- =gettext("Each level shows all info from the previous levels. Level 3 is recommended if you want a good summary of what's happening without being swamped by output"); ?>.
- none -- =gettext("No output except fatal errors"); ?>.
- default-4 -- =gettext("Normal usage range"); ?>.
- 5 -- =gettext("Output R and W characters to the console for each packet read and write, uppercase is used for TCP/UDP packets and lowercase is used for TUN/TAP packets"); ?>.
- 6-11 -- =gettext("Debug info range"); ?>.
+ =gettext("Each level shows all info from the previous levels. Level 3 is recommended if you want a good summary of what's happening without being swamped by output.") ?>
+ =sprintf(gettext("%snone%s -- No output except fatal errors."),'','') ?>
+ =sprintf(gettext("%sdefault%s-%s4%s -- Normal usage range."),'','','',''); ?>
+ =sprintf(gettext("%s5%s -- Output R and W characters to the console for each packet read and write, uppercase is used for TCP/UDP packets and lowercase is used for TUN/TAP packets."),'','') ?>
+ =sprintf(gettext("%s6%s-%s11%s -- Debug info range."),'','','','') ?>
diff --git a/src/www/vpn_pptp.php b/src/www/vpn_pptp.php
index ae6f36018..c81d0625f 100644
--- a/src/www/vpn_pptp.php
+++ b/src/www/vpn_pptp.php
@@ -515,10 +515,7 @@ function enable_change(enable_over) {
-
=gettext("Note");?>:
- =gettext("don't forget to ");
-?>=gettext("add a firewall rule"); ?> =gettext("to permit ".
- "traffic from PPTP clients");?>!
+
=sprintf(gettext("Note: don't forget to %sadd a firewall rule%s to permit traffic from PPTP clients!"),'','') ?>