summaryrefslogtreecommitdiffstats
path: root/usr/local
diff options
context:
space:
mode:
authorErik Fonnesbeck <efonnes@gmail.com>2010-08-11 18:21:07 -0600
committerErik Fonnesbeck <efonnes@gmail.com>2010-08-11 18:21:07 -0600
commitea6be4a7526700caa0102e271644658353065218 (patch)
tree68040f12e6ed7182f50425ec0a643fb926ccccd2 /usr/local
parent3a3fb8eabaec1b4eb5ba86a124028916931a2011 (diff)
downloadpfsense-ea6be4a7526700caa0102e271644658353065218.zip
pfsense-ea6be4a7526700caa0102e271644658353065218.tar.gz
Remove extra quotes that were added around some strings when adding printf+gettext in some areas.
Diffstat (limited to 'usr/local')
-rwxr-xr-xusr/local/www/diag_traceroute.php2
-rwxr-xr-xusr/local/www/interfaces.php6
-rwxr-xr-xusr/local/www/interfaces_assign.php6
-rwxr-xr-xusr/local/www/system.php2
4 files changed, 8 insertions, 8 deletions
diff --git a/usr/local/www/diag_traceroute.php b/usr/local/www/diag_traceroute.php
index 62b42e5..9a949a2 100755
--- a/usr/local/www/diag_traceroute.php
+++ b/usr/local/www/diag_traceroute.php
@@ -63,7 +63,7 @@ if ($_POST || $_REQUEST['host']) {
do_input_validation($_REQUEST, $reqdfields, $reqdfieldsn, &$input_errors);
if (($_REQUEST['ttl'] < 1) || ($_REQUEST['ttl'] > MAX_TTL)) {
- $input_errors[] = sprintf(gettext("Maximum number of hops must be between 1 and '%s'"), MAX_TLL);
+ $input_errors[] = sprintf(gettext("Maximum number of hops must be between 1 and %s"), MAX_TTL);
}
if (!$input_errors) {
diff --git a/usr/local/www/interfaces.php b/usr/local/www/interfaces.php
index db6cee4..0ef439b 100755
--- a/usr/local/www/interfaces.php
+++ b/usr/local/www/interfaces.php
@@ -178,7 +178,7 @@ $pconfig['enable'] = isset($wancfg['enable']);
if (is_array($config['aliases']['alias'])) {
foreach($config['aliases']['alias'] as $alias) {
if($alias['name'] == $wancfg['descr']) {
- $input_errors[] = sprintf(gettext("Sorry, an alias with the name '%s' already exists."),$wancfg['descr']);
+ $input_errors[] = sprintf(gettext("Sorry, an alias with the name %s already exists."),$wancfg['descr']);
}
}
}
@@ -845,7 +845,7 @@ function check_wireless_mode() {
}
}
-$pgtitle = array(gettext("Interfaces"),sprintf(gettext("'%s'"),$pconfig['descr']));
+$pgtitle = array(gettext("Interfaces"), $pconfig['descr']);
$statusurl = "status_interfaces.php";
$closehead = false;
@@ -1015,7 +1015,7 @@ $types = array("none" => gettext("None"), "static" => gettext("Static"), "dhcp"
<form action="interfaces.php" method="post" name="iform" id="iform">
<?php if ($input_errors) print_input_errors($input_errors); ?>
<?php if (is_subsystem_dirty('interfaces')): ?><p>
- <?php print_info_box_np(sprintf(gettext("The '%s' configuration has been changed."),$wancfg['descr'])."<p>".gettext("You must apply the changes in order for them to take effect.")."<p>".gettext("Don't forget to adjust the DHCP Server range if needed after applying."));?><br />
+ <?php print_info_box_np(sprintf(gettext("The %s configuration has been changed."),$wancfg['descr'])."<p>".gettext("You must apply the changes in order for them to take effect.")."<p>".gettext("Don't forget to adjust the DHCP Server range if needed after applying."));?><br />
<?php endif; ?>
<?php if ($savemsg) print_info_box($savemsg); ?>
<table width="100%" border="0" cellpadding="6" cellspacing="0">
diff --git a/usr/local/www/interfaces_assign.php b/usr/local/www/interfaces_assign.php
index 9addbfa..1acebd5 100755
--- a/usr/local/www/interfaces_assign.php
+++ b/usr/local/www/interfaces_assign.php
@@ -182,8 +182,8 @@ if ($_POST['apply']) {
/* Deliver error message for any port with more than one assignment */
foreach ($portifmap as $portname => $ifnames) {
if (count($ifnames) > 1) {
- $errstr = sprintf(gettext("Port '%s' ".
- " was assigned to '%s'" .
+ $errstr = sprintf(gettext("Port %s ".
+ " was assigned to %s" .
" interfaces:"), $portname, count($ifnames));
foreach ($portifmap[$portname] as $ifn)
@@ -429,7 +429,7 @@ if(file_exists("/var/run/interface_mismatch_reboot_needed"))
<?php foreach ($portlist as $portname => $portinfo): ?>
<option value="<?=$portname;?>" <?php if ($portname == $iface['if']) echo " selected";?>>
<?php if ($portinfo['isvlan']) {
- $descr = sprintf(gettext("VLAN '%s' on '%s'"),$portinfo['tag'],$portinfo['if']);
+ $descr = sprintf(gettext("VLAN %s on %s"),$portinfo['tag'],$portinfo['if']);
if ($portinfo['descr'])
$descr .= " (" . $portinfo['descr'] . ")";
echo htmlspecialchars($descr);
diff --git a/usr/local/www/system.php b/usr/local/www/system.php
index a9f55a5..9a319b3 100755
--- a/usr/local/www/system.php
+++ b/usr/local/www/system.php
@@ -334,7 +334,7 @@ include("head.inc");
<?=gettext("Allow DNS server list to be overridden by DHCP/PPP on WAN"); ?>
</strong>
<br/>
- <?php printf(gettext("If this option is set, '%s' will " .
+ <?php printf(gettext("If this option is set, %s will " .
"use DNS servers assigned by a DHCP/PPP server on WAN " .
"for its own purposes (including the DNS forwarder). " .
"However, they will not be assigned to DHCP and PPTP " .
OpenPOWER on IntegriCloud