summaryrefslogtreecommitdiffstats
path: root/usr/local/www/interfaces.php
diff options
context:
space:
mode:
authorVinicius Coque <vinicius.coque@bluepex.com>2011-07-18 15:33:28 -0300
committerVinicius Coque <vinicius.coque@bluepex.com>2011-07-18 15:33:28 -0300
commitb1e4005f9fd3c3e4e7ef86cdf756cfc84c3f6efc (patch)
treecb1cb173d468581e832a78849e7084457a2a9533 /usr/local/www/interfaces.php
parent3f48162fdea51aa7a9ff64e4ebf4cc777dc9f029 (diff)
downloadpfsense-b1e4005f9fd3c3e4e7ef86cdf756cfc84c3f6efc.zip
pfsense-b1e4005f9fd3c3e4e7ef86cdf756cfc84c3f6efc.tar.gz
removes variables concatenation on gettext strings
Diffstat (limited to 'usr/local/www/interfaces.php')
-rwxr-xr-xusr/local/www/interfaces.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/interfaces.php b/usr/local/www/interfaces.php
index 95a8313..a62fee5 100755
--- a/usr/local/www/interfaces.php
+++ b/usr/local/www/interfaces.php
@@ -657,7 +657,7 @@ if ($_POST['apply']) {
}
if($skip == false) {
$gateway_item['gateway'] = "dynamic";
- $gateway_item['descr'] = gettext("Interface") . $if . gettext("dynamic gateway");
+ $gateway_item['descr'] = sprintf(gettext("Interface %s dynamic gateway"),$if);
$gateway_item['name'] = "GW_" . strtoupper($if);
$gateway_item['interface'] = "{$if}";
} else {
@@ -1617,7 +1617,7 @@ $types = array("none" => gettext("None"), "staticv4" => gettext("Static IPv4"),
<?php if(is_readable("/var/db/dhcp6c_duid")) {
// $current_duid = file_get_contents("/var/db/dhcp6c_duid");
}
- echo gettext("The current DUID is: '") . $current_duid ."'";
+ printf(gettext("The current DUID is: '%s'"),$current_duid);
?>
</td>
OpenPOWER on IntegriCloud