From 76b89c848ea96557891f3200f089a02abcae3fe9 Mon Sep 17 00:00:00 2001 From: Carlos Eduardo Ramos Date: Tue, 27 Jul 2010 10:18:39 -0300 Subject: Implement gettext() calls on vpn_ipsec_keys.php --- usr/local/www/vpn_ipsec_keys.php | 24 ++++++++++++------------ 1 file 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.
You must apply the changes in order for them to take effect."); + print_info_box_np(gettext("The IPsec tunnel configuration has been changed") . ".
" . gettext("You must apply the changes in order for them to take effect.")); ?> @@ -101,13 +101,13 @@ if (is_subsystem_dirty('ipsec'))
- - + + @@ -120,7 +120,7 @@ if (is_subsystem_dirty('ipsec')) - @@ -133,8 +133,8 @@ if (is_subsystem_dirty('ipsec')) - + @@ -143,7 +143,7 @@ if (is_subsystem_dirty('ipsec'))
IdentifierPre-shared key - +
" width="17" height="17" border="0">
+ " width="17" height="17" border="0">  
-   " width="17" height="17" border="0"> +  ')">" width="17" height="17" border="0">
- +
" width="17" height="17" border="0">
-- cgit v1.1