Change Text for Favourites Plugin

doubleviking

Joined: 2008-10-10
Posts: 8
Posted: Fri, 2008-10-10 01:15

Hello,

This question is for Alec, the creator of the "Add to Favourites" plugin:

I'm looking to change the text "Add Album To Favorites" under each photo to something else... which file would I have to edit? thanks!

 
alecmyers

Joined: 2006-08-01
Posts: 4342
Posted: Fri, 2008-10-10 01:17

module.inc, do a text search for "Add %s to Favorites"

 
doubleviking

Joined: 2008-10-10
Posts: 8
Posted: Fri, 2008-10-10 01:20

The module.inc file located in my favourites folder does not have that text. Is there another module.inc I should be looking for?

 
alecmyers

Joined: 2006-08-01
Posts: 4342
Posted: Fri, 2008-10-10 01:24

line 148 of module.inc should read

		  		  array('text' => $this->translate(array('text' => 'Add %s To Favorites',
 
doubleviking

Joined: 2008-10-10
Posts: 8
Posted: Fri, 2008-10-10 01:51

Ohhhh, there it is. Doh! Thanks so much!