WordPress.org

Ready to get started?Download WordPress

Forums

MarketPress Statistics
[resolved] Translation (2 posts)

  1. waila7
    Member
    Posted 1 year ago #

    Aristath, thanks for such a useful plugin. Love it :)

    Just to improve the plugin for none english speakers in plugin file you need to replace all 'date' to 'date_i18n':
    <?php echo date("M",strtotime("-12 Months")) ?>
    to
    <?php echo date_i18n("M",strtotime("-12 Months")) ?>

    and in line 141 replace:
    hAxis: {title: 'Year', titleTextStyle: {color: '#999999'}}
    to
    hAxis: {title: '<?php _e('Year', 'mp_st'); ?>', titleTextStyle: {color: '#999999'}}

    ps. by the way it looks better if you remove titlePosition: 'in' in line 382 :)

    Regards from Lithuania

    http://wordpress.org/extend/plugins/marketpress-statistics/

  2. Aristeides Stathopoulos
    WPMU DEV Support Staff
    Plugin Author

    Posted 1 year ago #

    Thanks!
    I'll make sure to include these in the next version!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic