diff options
author | Renato Botelho <renato@netgate.com> | 2017-02-03 12:23:06 -0200 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2017-02-03 12:23:06 -0200 |
commit | 23afee6645a0c1069d80cd3ef4222b1130e7cc7f (patch) | |
tree | 395a41cf12dcfa3272a25438d0f89a8842c35580 /src/usr | |
parent | 042911d34ab846e7241deeb9fd6469a1460febcf (diff) | |
download | pfsense-23afee6645a0c1069d80cd3ef4222b1130e7cc7f.zip pfsense-23afee6645a0c1069d80cd3ef4222b1130e7cc7f.tar.gz |
Remove \n from gettext strings
Diffstat (limited to 'src/usr')
-rw-r--r-- | src/usr/local/www/index.php | 2 | ||||
-rw-r--r-- | src/usr/local/www/services_captiveportal.php | 16 | ||||
-rw-r--r-- | src/usr/local/www/system_gateways_edit.php | 8 |
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 />' . - '<form method="post" action="$PORTAL_ACTION$"><br /> - <input name="auth_user" type="text"><br /> - <input name="auth_pass" type="password"><br /> - <input name="auth_voucher" type="text"><br /> - <input name="redirurl" type="hidden" value="$PORTAL_REDIRURL$"><br /> - <input name="zone" type="hidden" value="$PORTAL_ZONE$"><br /> - <input name="accept" type="submit" value="Continue"><br /> - </form>')->addClass('btn btn-info btn-sm'); + '<form method="post" action="$PORTAL_ACTION$"><br />' . + ' <input name="auth_user" type="text"><br />' . + ' <input name="auth_pass" type="password"><br />' . + ' <input name="auth_voucher" type="text"><br />' . + ' <input name="redirurl" type="hidden" value="$PORTAL_REDIRURL$"><br />' . + ' <input name="zone" type="hidden" value="$PORTAL_ZONE$"><br />' . + ' <input name="accept" type="submit" value="Continue"><br />' . + '</form>')->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( |