diff options
author | cadu <cadu@cadu-desktop.(none)> | 2010-06-17 22:23:39 -0300 |
---|---|---|
committer | cadu <cadu@cadu-desktop.(none)> | 2010-06-17 22:23:39 -0300 |
commit | 0da88d50bdc5633726fa8c76cfdd307cf8989287 (patch) | |
tree | 7ed6b362d98148129a05be31590c45cf44a4cd63 /usr/local/www/diag_pkglogs.php | |
parent | 4a5430e37d3f21e2136ac26acbe3d6580c7073b5 (diff) | |
download | pfsense-0da88d50bdc5633726fa8c76cfdd307cf8989287.zip pfsense-0da88d50bdc5633726fa8c76cfdd307cf8989287.tar.gz |
Implement gettext() calls
Diffstat (limited to 'usr/local/www/diag_pkglogs.php')
-rwxr-xr-x | usr/local/www/diag_pkglogs.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr/local/www/diag_pkglogs.php b/usr/local/www/diag_pkglogs.php index d8f5436..a7b65c9 100755 --- a/usr/local/www/diag_pkglogs.php +++ b/usr/local/www/diag_pkglogs.php @@ -77,7 +77,7 @@ if(!$apkg) { // If we aren't looking for a specific package, locate the first pa $i = $apkgid; } -$pgtitle = array("Status","Package logs"); +$pgtitle = array(gettext("Status"),gettext("Package logs")); include("head.inc"); ?> @@ -88,7 +88,7 @@ include("head.inc"); <ul id="tabnav"> <?php if($pkgwithlogging == false) { - print_info_box("No packages with logging facilities are currently installed."); + print_info_box(gettext("No packages with logging facilities are currently installed.")); echo '</ul></td></tr></table>'; include("fend.inc"); exit; @@ -112,7 +112,7 @@ include("head.inc"); <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td colspan="2" class="listtopic"> - Last <?= $nentries ?> <?= $curtab ?> log entries</td> + <?= gettext("Last") $nentries $curtab gettext("log entries") ?></td> </tr> <?php $package =& $config['installedpackages']['package'][$apkgid]; |