summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2017-02-03 12:23:06 -0200
committerRenato Botelho <renato@netgate.com>2017-02-03 12:23:06 -0200
commit23afee6645a0c1069d80cd3ef4222b1130e7cc7f (patch)
tree395a41cf12dcfa3272a25438d0f89a8842c35580 /src/usr/local/www
parent042911d34ab846e7241deeb9fd6469a1460febcf (diff)
downloadpfsense-23afee6645a0c1069d80cd3ef4222b1130e7cc7f.zip
pfsense-23afee6645a0c1069d80cd3ef4222b1130e7cc7f.tar.gz
Remove \n from gettext strings
Diffstat (limited to 'src/usr/local/www')
-rw-r--r--src/usr/local/www/index.php2
-rw-r--r--src/usr/local/www/services_captiveportal.php16
-rw-r--r--src/usr/local/www/system_gateways_edit.php8
3 files changed, 13 insertions, 13 deletions
diff --git a/src/usr/local/www/index.php b/src/usr/local/www/index.php
index 59e56c2..f413a83 100644
--- a/src/usr/local/www/index.php
+++ b/src/usr/local/www/index.php
@@ -188,7 +188,7 @@ if (file_exists('/conf/trigger_initial_wizard')) {
<div class="container">
<div class="col-sm-offset-3 col-sm-6 col-xs-12">
<font color="white">
- <p><h3><?=sprintf(gettext("Welcome to %s!\n"), $g['product_name'])?></h3></p>
+ <p><h3><?=sprintf(gettext("Welcome to %s!") . "\n", $g['product_name'])?></h3></p>
<p><?=gettext("One moment while the initial setup wizard starts.")?></p>
<p><?=gettext("Embedded platform users: Please be patient, the wizard takes a little longer to run than the normal GUI.")?></p>
<p><?=sprintf(gettext("To bypass the wizard, click on the %s logo on the initial page."), $g['product_name'])?></p>
diff --git a/src/usr/local/www/services_captiveportal.php b/src/usr/local/www/services_captiveportal.php
index d856356..ffd46e8 100644
--- a/src/usr/local/www/services_captiveportal.php
+++ b/src/usr/local/www/services_captiveportal.php
@@ -1059,14 +1059,14 @@ $section->addInput(new Form_Input(
'with a submit button (name="accept") and a hidden field with name="redirurl" and value="$PORTAL_REDIRURL$". ' .
'Include the "auth_user" and "auth_pass" and/or "auth_voucher" input fields if authentication is enabled, otherwise it will always fail.' . '<br />' .
'Example code for the form:' . '<br />' .
- '&lt;form method=&quot;post&quot; action=&quot;$PORTAL_ACTION$&quot;&gt;<br />
- &nbsp;&nbsp;&nbsp;&lt;input name=&quot;auth_user&quot; type=&quot;text&quot;&gt;<br />
- &nbsp;&nbsp;&nbsp;&lt;input name=&quot;auth_pass&quot; type=&quot;password&quot;&gt;<br />
- &nbsp;&nbsp;&nbsp;&lt;input name=&quot;auth_voucher&quot; type=&quot;text&quot;&gt;<br />
- &nbsp;&nbsp;&nbsp;&lt;input name=&quot;redirurl&quot; type=&quot;hidden&quot; value=&quot;$PORTAL_REDIRURL$&quot;&gt;<br />
- &nbsp;&nbsp;&nbsp;&lt;input name=&quot;zone&quot; type=&quot;hidden&quot; value=&quot;$PORTAL_ZONE$&quot;&gt;<br />
- &nbsp;&nbsp;&nbsp;&lt;input name=&quot;accept&quot; type=&quot;submit&quot; value=&quot;Continue&quot;&gt;<br />
- &lt;/form&gt;')->addClass('btn btn-info btn-sm');
+ '&lt;form method=&quot;post&quot; action=&quot;$PORTAL_ACTION$&quot;&gt;<br />' .
+ '&nbsp;&nbsp;&nbsp;&lt;input name=&quot;auth_user&quot; type=&quot;text&quot;&gt;<br />' .
+ '&nbsp;&nbsp;&nbsp;&lt;input name=&quot;auth_pass&quot; type=&quot;password&quot;&gt;<br />' .
+ '&nbsp;&nbsp;&nbsp;&lt;input name=&quot;auth_voucher&quot; type=&quot;text&quot;&gt;<br />' .
+ '&nbsp;&nbsp;&nbsp;&lt;input name=&quot;redirurl&quot; type=&quot;hidden&quot; value=&quot;$PORTAL_REDIRURL$&quot;&gt;<br />' .
+ '&nbsp;&nbsp;&nbsp;&lt;input name=&quot;zone&quot; type=&quot;hidden&quot; value=&quot;$PORTAL_ZONE$&quot;&gt;<br />' .
+ '&nbsp;&nbsp;&nbsp;&lt;input name=&quot;accept&quot; type=&quot;submit&quot; value=&quot;Continue&quot;&gt;<br />' .
+ '&lt;/form&gt;')->addClass('btn btn-info btn-sm');
list($host) = explode(":", $_SERVER['HTTP_HOST']);
$zoneid = $pconfig['zoneid'] ? $pconfig['zoneid'] : 8000;
diff --git a/src/usr/local/www/system_gateways_edit.php b/src/usr/local/www/system_gateways_edit.php
index b8afd21..c56dcd8 100644
--- a/src/usr/local/www/system_gateways_edit.php
+++ b/src/usr/local/www/system_gateways_edit.php
@@ -737,8 +737,8 @@ $group->add(new Form_Input(
$pconfig['latencyhigh'],
['placeholder' => $dpinger_default['latencyhigh']]
));
-$group->setHelp('Low and high thresholds for latency in milliseconds.
- Default is %d/%d.', [$dpinger_default['latencylow'], $dpinger_default['latencyhigh']]);
+$group->setHelp('Low and high thresholds for latency in milliseconds. ' .
+ 'Default is %d/%d.', [$dpinger_default['latencylow'], $dpinger_default['latencyhigh']]);
$section->add($group);
@@ -757,8 +757,8 @@ $group->add(new Form_Input(
$pconfig['losshigh'],
['placeholder' => $dpinger_default['losshigh']]
));
-$group->setHelp('Low and high thresholds for packet loss in %%.
- Default is %d/%d.', [$dpinger_default['losslow'], $dpinger_default['losshigh']]);
+$group->setHelp('Low and high thresholds for packet loss in %%. ' .
+ 'Default is %d/%d.', [$dpinger_default['losslow'], $dpinger_default['losshigh']]);
$section->add($group);
$section->addInput(new Form_Input(
OpenPOWER on IntegriCloud