summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorVinicius Coque <vinicius.coque@bluepex.com>2010-04-27 17:11:51 -0300
committerVinicius Coque <vinicius.coque@bluepex.com>2010-04-27 17:11:51 -0300
commit1b99764bf1a15f217e9662a11e70490189e4faaf (patch)
tree16d5abe3f435636b15af6e6e170a7be2fe8bbeea /usr
parenta2927ebfc97c5b9d585e0a80670ca2fc88249303 (diff)
parentf851340968fd36b93f1fe0b2c3bc9c80fa99a887 (diff)
downloadpfsense-1b99764bf1a15f217e9662a11e70490189e4faaf.zip
pfsense-1b99764bf1a15f217e9662a11e70490189e4faaf.tar.gz
Merge branch 'gettext' of rcs.pfsense.org:pfsense/bluepex-clone into gettext
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/system_firmware.php2
-rwxr-xr-xusr/local/www/system_gateways.php28
2 files changed, 15 insertions, 15 deletions
diff --git a/usr/local/www/system_firmware.php b/usr/local/www/system_firmware.php
index a0c8792..e60c1bd 100755
--- a/usr/local/www/system_firmware.php
+++ b/usr/local/www/system_firmware.php
@@ -241,7 +241,7 @@ if(stristr($_FILES['ulfile']['name'],"nanobsd"))
<div id="mainarea">
<table class="tabcont" width="100%" border="0" cellpadding="6" cellspacing="0">
<tr>
- <td colspan="2" class="listtopic"><?=gettext("Invoke") ." ". $g['product_name'] ." ". gettext("Manual Upgrade"); ?></td>
+ <td colspan="2" class="listtopic"><?=gettext("Invoke") ." ". $g['product_name'] ." ". gettext("Manual Upgrade"); ?></td>
</tr>
<tr>
<td width="22%" valign="baseline" class="vncell">&nbsp;</td>
diff --git a/usr/local/www/system_gateways.php b/usr/local/www/system_gateways.php
index 38df88a..f23f782 100755
--- a/usr/local/www/system_gateways.php
+++ b/usr/local/www/system_gateways.php
@@ -94,7 +94,7 @@ if ($_GET['act'] == "del") {
}
-$pgtitle = array("System","Gateways");
+$pgtitle = array(gettext("System"),gettext("Gateways"));
include("head.inc");
?>
@@ -105,18 +105,18 @@ include("head.inc");
<input type="hidden" name="y1" value="1">
<?php if ($savemsg) print_info_box($savemsg); ?>
<?php if (is_subsystem_dirty('staticroutes')): ?><p>
-<?php print_info_box_np("The gateway configuration has been changed.<br>You must apply the changes in order for them to take
-effect.");?><br>
+<?php print_info_box_np(gettext("The gateway configuration has been changed.<br>You must apply the changes in order for them to take
+effect."));?><br>
<?php endif; ?>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
<?php
$tab_array = array();
- $tab_array[0] = array("Gateways", true, "system_gateways.php");
- $tab_array[1] = array("Routes", false, "system_routes.php");
- $tab_array[2] = array("Groups", false, "system_gateway_groups.php");
- $tab_array[3] = array("Settings", false, "system_gateways_settings.php");
+ $tab_array[0] = array(gettext("Gateways"), true, "system_gateways.php");
+ $tab_array[1] = array(gettext("Routes"), false, "system_routes.php");
+ $tab_array[2] = array(gettext("Groups"), false, "system_gateway_groups.php");
+ $tab_array[3] = array(gettext("Settings"), false, "system_gateways_settings.php");
display_top_tabs($tab_array);
?>
</td></tr>
@@ -125,11 +125,11 @@ effect.");?><br>
<div id="mainarea">
<table class="tabcont" width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
- <td width="15%" class="listhdrr">Name</td>
- <td width="15%" class="listhdrr">Interface</td>
- <td width="20%" class="listhdrr">Gateway</td>
- <td width="20%" class="listhdrr">Monitor IP</td>
- <td width="30%" class="listhdr">Description</td>
+ <td width="15%" class="listhdrr"><?=gettext("Name"); ?></td>
+ <td width="15%" class="listhdrr"><?=gettext("Interface"); ?></td>
+ <td width="20%" class="listhdrr"><?=gettext("Gateway"); ?></td>
+ <td width="20%" class="listhdrr"><?=gettext("Monitor IP"); ?></td>
+ <td width="30%" class="listhdr"><?=gettext("Description"); ?></td>
<td width="10%" class="list">
<table border="0" cellspacing="0" cellpadding="1">
<tr>
@@ -191,8 +191,8 @@ effect.");?><br>
<td><a href="system_gateways_edit.php?id=<?=$i;?>"><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_e.gif" width="17" height="17" border="0"></a>
<?php
if ($gateway['attribute'] != "system") : ?>
- <td><a href="system_gateways.php?act=del&id=<?=$i;?>" onclick="return confirm('Do you really want to delete this
-gateway?')"><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_x.gif" width="17" height="17" border="0"></a></td>
+ <td><a href="system_gateways.php?act=del&id=<?=$i;?>" onclick="return confirm('<?=gettext("Do you really want to delete this
+gateway?"); ?>')"><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_x.gif" width="17" height="17" border="0"></a></td>
<?php else : ?>
<td width='17'></td>
<?php endif; ?>
OpenPOWER on IntegriCloud