a6e6s / slimstat

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

i18n Support ommited into RSS #57

Closed GoogleCodeExporter closed 9 years ago

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

1. When displaying RSS stats

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

Please provide any additional information below.

* i18n support ommited into RSS fields. That could be corrected by adding these 
few lines of code:

/slimstats/page/details_rss.php (line #55 till #63)

if ( array_key_exists( 'yr', $data ) ) {
            echo $i18n->hsc( 'details', 'hits' ).': '.array_sum( $data['yr'] ).'<br />';
        }
        if ( array_key_exists( 'hits', $data ) ) {
            echo $i18n->hsc( 'details', 'visits' ).': '.array_sum( $data['hits'] ).'<br />';
        }
        if ( array_key_exists( 'remote_ip', $data ) ) {
            echo $i18n->hsc( 'details', 'unique_ips' ).': '.sizeof( $data['remote_ip'] ).'<br />';
        }

Best regards,
Patrick.

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

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

Original comment by step...@wettone.com on 12 Jul 2010 at 10:19