Closed (fixed)
Project:
Advanced Poll
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
18 Jul 2007 at 17:58 UTC
Updated:
14 Aug 2007 at 06:33 UTC
I'm using the Voting API module in conjunction with the Advanced Poll module.
When the poll is displayed the action button reads "Vote". This tends to go against the enduser usability standards styles sheets. For the life of me I can not locate where this word "Vote" is being generated and would like to change it to read as "Submit". Anyone know which file contains this?
Thank you.
Comments
Comment #1
eaton commentedThe UI for that module is defined entirely by Advanced Poll module, and VotingAPI doesn't affect the text of its UI buttons. :)
Comment #2
sohopub commentedThat's what I figured but I still don't see that line. I did find
$header[] = array('data' => t('<b>Vote</b>'), '');as well as
But neither stand out as the spot that would make the submit button read as 'Submit' instead of 'Vote'.
What are your thoughts?
Thank you!
Comment #3
sohopub commentedplease disregard the tags. I tried to make the 'Vote' stand out in this post. the 's aren't really in the code
Comment #4
anders.fajerson commentedYou can use the Localisation module included with core (create you own language and translate the strings you want to change).
You could also change this by using hook_form_alter in an own custom module, please see the form API documentation for this.
Comment #5
anders.fajerson commentedComment #6
(not verified) commented