diff options
author | Rafael Lucas <rafalucas.unicamp@gmail.com> | 2010-06-18 16:00:56 -0300 |
---|---|---|
committer | Rafael Lucas <rafalucas.unicamp@gmail.com> | 2010-06-18 16:05:57 -0300 |
commit | 5a72665706296447b3a036c3b57a168bbb4db089 (patch) | |
tree | c4e898302bbedf87695db7c19f7a0df1f0276621 | |
parent | 4cd5a36e955f5de4b9a73ddfac052437788dc95f (diff) | |
download | pfsense-5a72665706296447b3a036c3b57a168bbb4db089.zip pfsense-5a72665706296447b3a036c3b57a168bbb4db089.tar.gz |
Implement gettext() calls
-rwxr-xr-x | usr/local/www/diag_logs_ipsec.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/diag_logs_ipsec.php b/usr/local/www/diag_logs_ipsec.php index 069fd53..2d7e952 100755 --- a/usr/local/www/diag_logs_ipsec.php +++ b/usr/local/www/diag_logs_ipsec.php @@ -116,7 +116,7 @@ include("head.inc"); $logent = preg_replace($search, $replace, $logent); } else { $searchs = "/(racoon: )([A-Z:].*?)([0-9].+\.[0-9].+.[0-9].+.[0-9].+\[[0-9].+\])(.*)/i"; - $replaces = "$1<strong><font color=red>[Unknown Gateway/Dynamic]</font></strong>: $2$3$4"; + $replaces = "$1<strong><font color=red>[".gettext("Unknown Gateway/Dynamic"."]</font></strong>: $2$3$4"; $logent = preg_replace($searchs, $replaces, $logent); } $logent = preg_split("/\s+/", $logent, 6); |