summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorjskyboo <jack@ron.hog.mooo.info>2017-01-25 19:52:44 -0800
committerRenato Botelho <renato@netgate.com>2017-01-27 11:24:17 -0200
commitd5f0b97e76086936a56b48a5584e22315fd63fdb (patch)
tree32da66304dc10a3a549b6ae2bba7033469ca2c52 /src
parent7533bdcff80a5b3643530fbb7b8a78e2ac201b30 (diff)
downloadpfsense-d5f0b97e76086936a56b48a5584e22315fd63fdb.zip
pfsense-d5f0b97e76086936a56b48a5584e22315fd63fdb.tar.gz
Changed max repeat alert to use sprintf get text
(cherry picked from commit 950342400bdc75b35c01442c400bd53a18015818)
Diffstat (limited to 'src')
-rw-r--r--src/usr/local/www/services_ntpd.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usr/local/www/services_ntpd.php b/src/usr/local/www/services_ntpd.php
index 7d1fbd3..11c2391 100644
--- a/src/usr/local/www/services_ntpd.php
+++ b/src/usr/local/www/services_ntpd.php
@@ -254,7 +254,7 @@ for ($counter=0; $counter < $maxrows; $counter++) {
$group = new Form_Group($counter == 0 ? 'Time Servers':'');
$group->addClass('repeatable');
$group->setAttribute('max_repeats', NUMTIMESERVERS);
- $group->setAttribute('max_repeats_alert', NUMTIMESERVERS . ' is the maximum number of configured servers.');
+ $group->setAttribute('max_repeats_alert', sprintf(gettext('%d is the maximum number of configured servers.'), NUMTIMESERVERS));
$group->add(new Form_Input(
'server' . $counter,
OpenPOWER on IntegriCloud