Support » Plugin: Rich Reviews » Snippet Translation

  • Hey there,

    I really like your Plugin. As I was translating some of its content I noticed that in the file views/frontend/snippets.php
    The strings for “based on” and “reviews” are not beeing translated.

    <span class="rating" itemprop="ratingValue" style="display: none !important;">
    						<?php echo $data['average']; ?>
    					</span> based on
    					<span class="votes" itemprop="reviewCount">
    						<?php echo $data['reviewsCount']; ?>
    					</span> reviews

    should be

    <span class="rating" itemprop="ratingValue" style="display: none !important;">
    						<?php echo $data['average']; ?>
    					</span> <?php _e('based on' , 'rich-reviews'); ?>
    					<span class="votes" itemprop="reviewCount">
    						<?php echo $data['reviewsCount']; ?>
    					</span> <?php _e('reviews' , 'rich-reviews'); ?>
  • The topic ‘Snippet Translation’ is closed to new replies.