summaryrefslogtreecommitdiffstats
path: root/usr/local/www/vpn_ipsec_keys.php
diff options
context:
space:
mode:
authorCarlos Eduardo Ramos <carlos.ramos@bluepex.com>2010-07-27 10:18:39 -0300
committerCarlos Eduardo Ramos <carlos.ramos@bluepex.com>2010-07-27 10:18:39 -0300
commit76b89c848ea96557891f3200f089a02abcae3fe9 (patch)
tree733ebf0f80bf77a956ea87fa6aa7a526a7168c0f /usr/local/www/vpn_ipsec_keys.php
parent4b1f6c12edd6313ae6c8c95f332856199e4ccdd3 (diff)
downloadpfsense-76b89c848ea96557891f3200f089a02abcae3fe9.zip
pfsense-76b89c848ea96557891f3200f089a02abcae3fe9.tar.gz
Implement gettext() calls on vpn_ipsec_keys.php
Diffstat (limited to 'usr/local/www/vpn_ipsec_keys.php')
-rw-r--r--usr/local/www/vpn_ipsec_keys.php24
1 files changed, 12 insertions, 12 deletions
diff --git a/usr/local/www/vpn_ipsec_keys.php b/usr/local/www/vpn_ipsec_keys.php
index c446e05..d9d0d4c 100644
--- a/usr/local/www/vpn_ipsec_keys.php
+++ b/usr/local/www/vpn_ipsec_keys.php
@@ -68,7 +68,7 @@ if ($_GET['act'] == "del") {
}
}
-$pgtitle = "VPN: IPsec: Keys";
+$pgtitle = gettext("VPN: IPsec: Keys");
$statusurl = "diag_ipsec.php";
$logurl = "diag_logs_ipsec.php";
@@ -83,16 +83,16 @@ include("head.inc");
if ($savemsg)
print_info_box($savemsg);
if (is_subsystem_dirty('ipsec'))
- print_info_box_np("The IPsec tunnel configuration has been changed.<br>You must apply the changes in order for them to take effect.");
+ print_info_box_np(gettext("The IPsec tunnel configuration has been changed") . ".<br>" . gettext("You must apply the changes in order for them to take effect."));
?>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr><td class="tabnavtbl">
<?php
$tab_array = array();
- $tab_array[0] = array("Tunnels", false, "vpn_ipsec.php");
- $tab_array[1] = array("Mobile clients", false, "vpn_ipsec_mobile.php");
- $tab_array[2] = array("Pre-shared keys", true, "vpn_ipsec_keys.php");
+ $tab_array[0] = array(gettext("Tunnels"), false, "vpn_ipsec.php");
+ $tab_array[1] = array(gettext("Mobile clients"), false, "vpn_ipsec_mobile.php");
+ $tab_array[2] = array(gettext("Pre-shared keys"), true, "vpn_ipsec_keys.php");
display_top_tabs($tab_array);
?>
</td></tr>
@@ -101,13 +101,13 @@ if (is_subsystem_dirty('ipsec'))
<div id="mainarea">
<table class="tabcont" width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
- <td class="listhdrr">Identifier</td>
- <td class="listhdr">Pre-shared key</td>
+ <td class="listhdrr"><?=gettext("Identifier"); ?></td>
+ <td class="listhdr"><?=gettext("Pre-shared key"); ?></td>
<td class="list">
<table border="0" cellspacing="0" cellpadding="1">
<tr>
<td width="20" heigth="17"></td>
- <td><a href="vpn_ipsec_keys_edit.php"><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_plus.gif" title="add key" width="17" height="17" border="0"></a></td>
+ <td><a href="vpn_ipsec_keys_edit.php"><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_plus.gif" title="<?=gettext("add key"); ?>" width="17" height="17" border="0"></a></td>
</tr>
</table>
</td>
@@ -120,7 +120,7 @@ if (is_subsystem_dirty('ipsec'))
<td class="listr gray">
<?=htmlspecialchars($secretent['pre-shared-key']);?>
</td>
- <td class="list" nowrap><a href="system_usermanager.php?act=edit&id=<?=$secretent['id'];?>"><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_e.gif" title="edit key" width="17" height="17" border="0"></a>
+ <td class="list" nowrap><a href="system_usermanager.php?act=edit&id=<?=$secretent['id'];?>"><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_e.gif" title="<?=gettext("edit key"); ?>" width="17" height="17" border="0"></a>
&nbsp;</td>
</tr>
<?php $i++; endforeach; ?>
@@ -133,8 +133,8 @@ if (is_subsystem_dirty('ipsec'))
<td class="listr">
<?=htmlspecialchars($secretent['pre-shared-key']);?>
</td>
- <td class="list" nowrap> <a href="vpn_ipsec_keys_edit.php?id=<?=$i;?>"><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_e.gif" title="edit key" width="17" height="17" border="0"></a>
- &nbsp;<a href="vpn_ipsec_keys.php?act=del&id=<?=$i;?>" onclick="return confirm('Do you really want to delete this pre-shared key?')"><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_x.gif" title="delete key" width="17" height="17" border="0"></a></td>
+ <td class="list" nowrap> <a href="vpn_ipsec_keys_edit.php?id=<?=$i;?>"><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_e.gif" title="<?=gettext("edit key"); ?>" width="17" height="17" border="0"></a>
+ &nbsp;<a href="vpn_ipsec_keys.php?act=del&id=<?=$i;?>" onclick="return confirm('<?=gettext("Do you really want to delete this pre-shared key?"); ?>')"><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_x.gif" title="<?=gettext("delete key"); ?>" width="17" height="17" border="0"></a></td>
</tr>
<?php $i++; endforeach; ?>
<tr>
@@ -143,7 +143,7 @@ if (is_subsystem_dirty('ipsec'))
<table border="0" cellspacing="0" cellpadding="1">
<tr>
<td width="20" heigth="17"></td>
- <td><a href="vpn_ipsec_keys_edit.php"><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_plus.gif" title="add key" width="17" height="17" border="0"></a></td>
+ <td><a href="vpn_ipsec_keys_edit.php"><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_plus.gif" title="<?=gettext("add key"); ?>" width="17" height="17" border="0"></a></td>
</tr>
</table>
</td>
OpenPOWER on IntegriCloud