Support » Plugin: MarketPress Statistics » Translation

  • Resolved waila7

    (@waila7)


    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/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Translation’ is closed to new replies.