a6e6s / slimstat

Automatically exported from code.google.com/p/slimstat
GNU General Public License v2.0
1 stars 0 forks source link

i18n ommited support #54

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

* On "details_html.php" page

What is the expected output? What do you see instead?

* Support for i18n

What version of the product are you using? On what operating system?

 Latest v2.2.b2

Please provide any additional information below.

* Some titles are hardcoded and don't support i18n

/slimstats/page/detauls_html.php (line #1118):

echo '<h3>Hits / Hour</h3>';

Could be:

echo '<h3>'.ucfirst($i18n->hsc( 'details', 'hit' )).'s / '.ucfirst($i18n->hsc( 
'details', 'hour' )).'</h3>';

/slimstats/page/detauls_html.php (line #1224):

echo '<h3>Hits / Day</h3>';

Could be:

echo '<h3>'.ucfirst($i18n->hsc( 'details', 'hit' )).'s / '.ucfirst($i18n->hsc( 
'details', 'day' )).'</h3>';

Best regards,
Patrick.

Original issue reported on code.google.com by patrick....@gmail.com on 3 Jul 2010 at 9:07

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r117.

Original comment by step...@wettone.com on 8 Jul 2010 at 8:47