Closed (duplicate)
Project:
Fivestar
Version:
5.x-1.12
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
23 Apr 2008 at 13:57 UTC
Updated:
26 Apr 2008 at 01:02 UTC
Is there any easy way to change the text that appears on a fivestar widget? i.e. Average and Your Rating. For the static display, this is not a problem as it can be done by overriding theme_fivestar_static_element, but I cannot find a function for the 'live' widget.
Comments
Comment #1
turco commentedYou can change it by "localization". I use it in Turkish and I can change these words
Comment #2
eeyorrIt's in theme_fivestar_summary.
Comment #3
davemybes commentedThanks for the tips. I might have to go the localization route, which is a bit of a pain, because I have a multisite setup. That means I have to modify each site. A theme function would be nicer and easier. The theme_fivestar_summary code only changes the text below the stars and not the text above them (which is what I want to change). I'm pretty sure there's no theme function for that text, as I had to modify the module code to get it to change. Guess I'll have to make this a feature request then :)
Comment #4
quicksketchIt's already a feature request (please search before posting): http://drupal.org/node/203162
However, you can also use the string overrides module if you don't want to the entire locale module.
Comment #5
davemybes commentedMy apologies for the duplicate feature request. I did search before, but I see now that the title of the previous request is truncated, so it doesn't show the important bits. Anyway, no worries, I'll keep an eye on the other issue queue. Thanks for the tip on string overrides - that's one useful module!