summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/services_ntpd_gps.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_ntpd_gps.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_ntpd_gps.php')
-rw-r--r--src/usr/local/www/services_ntpd_gps.php14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/usr/local/www/services_ntpd_gps.php b/src/usr/local/www/services_ntpd_gps.php
index 31357e0..7b8751f 100644
--- a/src/usr/local/www/services_ntpd_gps.php
+++ b/src/usr/local/www/services_ntpd_gps.php
@@ -83,7 +83,7 @@ function set_default_gps() {
$config['ntpd']['gps']['nmea'] = 0;
}
- write_config("Setting default NTPd settings");
+ write_config(gettext("Setting default NTPd settings"));
}
if ($_POST) {
@@ -186,7 +186,7 @@ if ($_POST) {
unset($config['ntpd']['gps']['initcmd']);
}
- write_config("Updated NTP GPS Settings");
+ write_config(gettext("Updated NTP GPS Settings"));
$retval = system_ntp_configure();
$savemsg = get_std_save_message($retval);
@@ -202,11 +202,11 @@ function build_nmea_list() {
$nmealist = array('options' => array(), 'selected' => array());
- $nmealist['options'][0] = 'All';
- $nmealist['options'][1] = 'RMC';
- $nmealist['options'][2] = 'GGA';
- $nmealist['options'][4] = 'GLL';
- $nmealist['options'][8] = 'ZDA or ZDG';
+ $nmealist['options'][0] = gettext('All');
+ $nmealist['options'][1] = gettext('RMC');
+ $nmealist['options'][2] = gettext('GGA');
+ $nmealist['options'][4] = gettext('GLL');
+ $nmealist['options'][8] = gettext('ZDA or ZDG');
if (!$pconfig['nmea']) {
array_push($nmealist['selected'], 0);
OpenPOWER on IntegriCloud