what language file!

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
ameo
Regular
Posts: 143
Joined: Fri Sep 26, 2008 4:13 am

what language file!

Post by ameo »

what file holding that line
"Pavatar/Gravatar/Favatar/MyBlogLog author images supported."

that line shows up blow the comment text field ..

i'm looking for the corresponding lang file.

Thanks
Don Chambers
Regular
Posts: 3657
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

Post by Don Chambers »

check your plugins folder for a subfolder named serendipity_event_gravatar... I think it is there.
=Don=
judebert
Regular
Posts: 2478
Joined: Sat Oct 15, 2005 6:57 am
Location: Orlando, FL
Contact:

Post by judebert »

Oy.

Don got the directory correct, but it's just a bit more complicated than a simple language file change.

The "author images supported" portion of the text is in the lang_en.inc.php file. That much is straightforward.

However, the list of supported types is generated based on the options you choose in the plugin configuration. On line 372 of serendipity_event_gravatar.php, you can see that the plugin prints out the lines along with the "author images supported" bit.

The variable there is set in the preceding lines, starting at line 346. So, if you wanted to change the slash to a comma (for instance), you'd need to make the changes within those lines. Adding the word "and" before the last option would be rather more difficult, since there appears to be no way to determine when you've reached the last supported method.

If you let us know what you're trying to accomplish, we might be able to help a little more.
Judebert
---
Website | Wishlist | PayPal
Post Reply