Closed (fixed)
Project:
Fivestar
Version:
5.x-1.7
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
21 Sep 2007 at 14:38 UTC
Updated:
12 Nov 2007 at 22:42 UTC
Here's a patch for fivestar_field.inc that makes more stuff translatable.
| Comment | File | Size | Author |
|---|---|---|---|
| fivestar_field_inc_translation.patch | 1.79 KB | henrrrik |
Comments
Comment #1
Muskwa commentedHi,
Is it possible to translate also "Give it x/5" alternate texts when hovering the stars?
Could you please tell me what I should do with this .patch file to make it work? I haven't a clue what to do with it to incorporate to drupal... :(
Thanks a lot!
Comment #2
henrrrik commentedThe "Give it" string is located in the JavaScript and hence isn't properly translatable in Drupal 5 (version 6 solves this problem).
You can change the string directly in the .js file, but you would need to redo it every time Fivestar is updated.
You can find information about applying patches here: http://drupal.org/patch/apply
Comment #3
anders.fajerson commentedThose strings should probably be moved to the rendered HTML form and then picked up by the JavaScript.
Comment #4
henrrrik commentedComment #5
quicksketchThanks henrrrik! Applied to 5.x CVS. It'll be in the next release. fajerstarter, you're right the "Give it..." string should be translated by PHP then passed to javascript. This sounds like a good opportunity to revisit http://drupal.org/node/137193.
Comment #6
(not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.