summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarlos Eduardo Ramos <carlos.ramos@bluepex.com>2010-04-28 14:33:39 -0300
committerCarlos Eduardo Ramos <carlos.ramos@bluepex.com>2010-04-28 14:33:39 -0300
commit499fea071e11e3af37a499a33b9e7c303efb4318 (patch)
tree085766dfd759175d744310467fcf859d23e090f3
parent92936289c3da6ec58a908ebcac7c4b65e13d603c (diff)
downloadpfsense-499fea071e11e3af37a499a33b9e7c303efb4318.zip
pfsense-499fea071e11e3af37a499a33b9e7c303efb4318.tar.gz
Implement gettext()
-rwxr-xr-xusr/local/www/system_firmware_auto.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/usr/local/www/system_firmware_auto.php b/usr/local/www/system_firmware_auto.php
index 6a9a609..5eedd80 100755
--- a/usr/local/www/system_firmware_auto.php
+++ b/usr/local/www/system_firmware_auto.php
@@ -51,7 +51,7 @@ if(isset($curcfg['alturl']['enable']))
else
$updater_url = $g['update_url'];
-$pgtitle = array("Diagnostics","Firmware","Auto Update");
+$pgtitle = array(gettext("Diagnostics"),gettext("Firmware"),gettext("Auto Update"));
include("head.inc");
?>
@@ -70,9 +70,9 @@ include("head.inc");
<td>
<?php
$tab_array = array();
- $tab_array[0] = array("Manual Update", false, "system_firmware.php");
- $tab_array[1] = array("Auto Update", true, "system_firmware_check.php");
- $tab_array[2] = array("Updater Settings", false, "system_firmware_settings.php");
+ $tab_array[0] = array(gettext("Manual Update"), false, "system_firmware.php");
+ $tab_array[1] = array(gettext("Auto Update"), true, "system_firmware_check.php");
+ $tab_array[2] = array(gettext("Updater Settings"), false, "system_firmware_settings.php");
display_top_tabs($tab_array);
?>
</td>
@@ -104,7 +104,7 @@ include("head.inc");
</table>
<br>
<!-- status box -->
- <textarea cols="60" rows="1" name="status" id="status" wrap="hard">Beginning firmware upgrade.</textarea>
+ <textarea cols="60" rows="1" name="status" id="status" wrap="hard"><?=gettext("Beginning firmware upgrade"); ?>.</textarea>
<!-- command output box -->
<textarea cols="60" rows="25" name="output" id="output" wrap="hard"></textarea>
</center>
OpenPOWER on IntegriCloud