How do I change the out put of the "Average" text in the fivestar module? I want to change it to Rating. It appears like this Average: 1 (1 vote)

Comments

pixelsweatshop’s picture

You can do it in several ways. The easiest is either to use the string overrides module or place some string overrides in your settings.php

Around line 416 in your settings.php file, modify the following

$conf['locale_custom_strings_en'][''] = array(
   'Average'      => 'Your new text',
 );
sp09’s picture

I did it but nothing changed

pixelsweatshop’s picture

Did you flush drupal, caches?

sp09’s picture

Yep I cleared the cache. Here's the code

* Remove the leading hash signs to enable.
*/
$conf['locale_custom_strings_en'][''] = array(
'forum' => 'Discussion board',
'@count min' => '@count minutes',
'Average' => 'Rating',
);

/**