Skip to content

Commit

Permalink
Added localization support.
Browse files Browse the repository at this point in the history
git-svn-id: http://plugins.svn.wordpress.org/debug-bar-query-tracer/trunk@444844 b8457f37-d9ea-0310-8a92-e5e31aec5664
  • Loading branch information
inxilpro committed Sep 28, 2011
1 parent 60e62ef commit bff77cc
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Panel.php
Expand Up @@ -10,7 +10,7 @@ class Galahad_Query_Tracer_Panel extends Debug_Bar_Panel
* Initialize Panel
*/
public function init() {
$this->title(__('Query Tracer', 'galahad-query_tracer'));
$this->title(__('Query Tracer', 'galahad-query-tracer'));
}

/**
Expand Down Expand Up @@ -54,12 +54,12 @@ protected function _renderData($data)
echo "<h2>{$pluginData['name']}</h2>";
foreach ($pluginData['backtrace'] as $filename => $data) {
$filename = htmlspecialchars($filename);
echo "<h3>$filename</h3>
printf('<h3>%s</h3>
<table>
<tr>
<th>Line</th>
<th>Query &amp; Function Chain</th>
</tr>";
<th>%s</th>
<th>%s</th>
</tr>', htmlspecialchars($filename), __('Line', 'galahad-query-tracer'), __('Query &amp; Function Chain', 'galahad-query-tracer'));
foreach ($data as $query) {
$query['query'] = htmlspecialchars($query['query']);
$functionChain = implode(' &#8594; ', $query['function_chain']);
Expand Down

0 comments on commit bff77cc

Please sign in to comment.