summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/services_dhcp.php
diff options
context:
space:
mode:
authorbruno <bruno.stein@bluepex.com>2016-01-25 09:13:23 -0200
committerbruno <bruno.stein@bluepex.com>2016-01-25 09:13:23 -0200
commit4bb7c0d1488ff4ad7d690e54365a878c47f6d7f8 (patch)
treeb540d7ebcdccfcca2cd175d61bef061a513b511c /src/usr/local/www/services_dhcp.php
parenta2c5280d92c2707c27cbef318b1ced7122c32b0e (diff)
downloadpfsense-4bb7c0d1488ff4ad7d690e54365a878c47f6d7f8.zip
pfsense-4bb7c0d1488ff4ad7d690e54365a878c47f6d7f8.tar.gz
add call gettext function in the services menu
Diffstat (limited to 'src/usr/local/www/services_dhcp.php')
-rw-r--r--src/usr/local/www/services_dhcp.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr/local/www/services_dhcp.php b/src/usr/local/www/services_dhcp.php
index 31326b9..e9df1ed 100644
--- a/src/usr/local/www/services_dhcp.php
+++ b/src/usr/local/www/services_dhcp.php
@@ -369,7 +369,7 @@ if (isset($_POST['submit'])) {
}
if ($_POST['staticarp'] && $noip) {
- $input_errors[] = "Cannot enable static ARP when you have static map entries without IP addresses. Ensure all static maps have IP addresses and try again.";
+ $input_errors[] = gettext("Cannot enable static ARP when you have static map entries without IP addresses. Ensure all static maps have IP addresses and try again.");
}
if (is_array($pconfig['numberoptions']['item'])) {
@@ -804,7 +804,7 @@ $range_to--;
$rangestr = long2ip32($range_from) . ' - ' . long2ip32($range_to);
if (is_numeric($pool) || ($act == "newpool")) {
- $rangestr .= '<br />' . 'In-use DHCP Pool Ranges:';
+ $rangestr .= '<br />' . gettext('In-use DHCP Pool Ranges:');
if (is_array($config['dhcpd'][$if]['range'])) {
$rangestr .= '<br />' . $config['dhcpd'][$if]['range']['from'] . ' - ' . $config['dhcpd'][$if]['range']['to'];
}
OpenPOWER on IntegriCloud