Index: trunk/coverager/coverager.tpl.php
===================================================================
--- trunk/coverager/coverager.tpl.php	(revision 33)
+++ trunk/coverager/coverager.tpl.php	(revision 124)
@@ -6,4 +6,5 @@
 echo <<<HEAD
 	<meta http-equiv="Content-Type" content="text/html; charset=$this->charset" />
+	<meta http-equiv="Content-Language" content="{$this->lang}" />
 	<script type="text/javascript" src="tablesort.js" charset="$this->charset"></script>
 HEAD;
@@ -11,7 +12,8 @@
 
 	<link rel="stylesheet" type="text/css" href="coverager.css" />
-	<title>XCache Coverage Viewer</title>
+	<title><?php echo _T("XCache PHP Code Coverage Viewer"); ?></title>
 </head>
 <body>
+<h1><?php echo _T("XCache PHP Code Coverage Viewer"); ?></h1>
 
 <?php
@@ -49,8 +51,13 @@
 	global $cycle;
 	$cycle = new Cycle('class="col1"', 'class="col2"');
+	$l_dir = _T("Directory");
+	$l_per = _T("Percent");
+	$l_hit = _T("Hits");
+	$l_lns = _T("Lines");
+	$l_tds = _T("TODO");
 	return <<<EOS
 	<table align="center" cellpadding="2" cellspacing="1" border="0" class="cycles">
 	<tr>
-		<th>Directory</th><th>Percent</th><th>Hits</th><th>Lines</th><th>TODO</th>
+		<th>{$l_dir}</th><th>{$l_per}</th><th>{$l_hit}</th><th>{$l_lns}</th><th>{$l_tds}</th>
 	</tr>
 EOS;
@@ -105,9 +112,13 @@
 	global $cycle;
 	$cycle = new Cycle('class="col1"', 'class="col2"');
+	$l_fil = _T("File");
+	$l_per = _T("Percent");
+	$l_hit = _T("Hits");
+	$l_lns = _T("Lines");
 	return <<<EOS
 	<br>
 	<table align="center" cellpadding="2" cellspacing="1" border="0" class="cycles">
 	<tr>
-		<th>File</th><th>Percent</th><th>Hits</th><th>Lines</th>
+		<th>{$l_fil}</th><th>{$l_per}</th><th>{$l_hit}</th><th>{$l_lns}</th>
 	</tr>
 EOS;
@@ -154,8 +165,12 @@
 }
 
+$l_root = _T("root");
 if ($action == 'dir') {
+	if (function_exists('ob_filter_path_nicer')) {
+		ob_start('ob_filter_path_nicer');
+	}
 	$path_html = htmlspecialchars($path);
 	echo <<<EOS
-	<a href="?">root</a> $path<br />
+	<a href="?">$l_root</a> $path<br />
 EOS;
 	echo dir_head($dirinfo);
@@ -178,8 +193,11 @@
 }
 else if ($action == 'file') {
+	if (function_exists('ob_filter_path_nicer')) {
+		ob_start('ob_filter_path_nicer');
+	}
 	$dir_url = urlencode($dir);
 	$dir_html = htmlspecialchars($dir);
 	echo <<<EOS
-	<a href="?">root</a> <a href="?path={$dir_url}">{$dir_html}</a>/<b>{$filename}</b><br />
+	<a href="?">$l_root</a> <a href="?path={$dir_url}">{$dir_html}</a>/<b>{$filename}</b><br />
 EOS;
 
@@ -194,4 +212,7 @@
 EOS;
 	}
+	if (function_exists('ob_filter_path_nicer')) {
+		ob_end_flush();
+	}
 	echo <<<EOS
 	<pre class="code"><ol>{$filecov}</ol></pre>
@@ -209,4 +230,8 @@
 ?>
 
+<div class="footnote">
+Powered By: XCache <?php echo $xcache_version; ?> coverager <?php echo _T("module"); ?>
+</div>
+
 </body>
 </html>
