summaryrefslogtreecommitdiffstats
path: root/usr/local/www/interfaces_assign.php
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/www/interfaces_assign.php
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/www/interfaces_assign.php')
-rwxr-xr-xusr/local/www/interfaces_assign.php6
1 files changed, 3 insertions, 3 deletions
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);
OpenPOWER on IntegriCloud