summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/services_captiveportal_filemanager.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_captiveportal_filemanager.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_captiveportal_filemanager.php')
-rw-r--r--src/usr/local/www/services_captiveportal_filemanager.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/usr/local/www/services_captiveportal_filemanager.php b/src/usr/local/www/services_captiveportal_filemanager.php
index fcbfbbe..bfa6908 100644
--- a/src/usr/local/www/services_captiveportal_filemanager.php
+++ b/src/usr/local/www/services_captiveportal_filemanager.php
@@ -96,7 +96,7 @@ if (!is_array($config['captiveportal'])) {
}
$a_cp =& $config['captiveportal'];
-$pgtitle = array(gettext("Services"), gettext("Captive Portal"), "Zone " . $a_cp[$cpzone]['zone'], gettext("File Manager"));
+$pgtitle = array(gettext("Services"), gettext("Captive Portal"), sprintf(gettext("Zone %s"), $a_cp[$cpzone]['zone']), gettext("File Manager"));
$shortcut_section = "captiveportal";
if (!is_array($a_cp[$cpzone]['element'])) {
@@ -242,7 +242,7 @@ if (is_array($a_cp[$cpzone]['element'])):
?>
<tr>
<th>
- Total
+ <?=gettext("Total");?>
</th>
<th>
<?=format_bytes($total_size);?>
@@ -272,7 +272,7 @@ endif;
// is provided so that you only see the notes if you ask for them
?>
<div class="infoblock panel panel-default">
- <div class="panel-heading"><h2 class="panel-title">Notes</h2></div>
+ <div class="panel-heading"><h2 class="panel-title"><?=gettext("Notes");?></h2></div>
<div class="panel-body">
<?=gettext("Any files that you upload here with the filename prefix of captiveportal- will " .
"be made available in the root directory of the captive portal HTTP(S) server. " .
OpenPOWER on IntegriCloud