When I created a new two way relationship type 'contacts', and created one relationship the 'My relationships' block read:

"My relationships
(then the name of the first relationship)"

See screenshot below.

I fixed this by editing the user_relationships-block.tpl.php and on line 14 replacing:
t("@rel_plural_name", user_relationships_type_translations($relationship, TRUE));
t("@rel_name_plural", user_relationships_type_translations($relationship, TRUE));

and on line 18 replacing
$rtype_heading = t("@rel_plural_name", user_relationships_type_translations($relationship));
$rtype_heading = t("@rel_name_plural", user_relationships_type_translations($relationship));

This fixed up the problem. Hopefully documenting this error and fix may help someone else and / or make it through into the next module release. Cheers


paultrotter50’s picture

22.27 KB

here is the screenshot

madoen’s picture

Issue summary: View changes

Thanks Paul..

SebasGoin’s picture

Thanks bro!

laurencefass’s picture

this problem still remains. is an updated planned for the next release?

vishnu358’s picture

Hi @paul, thank you!!

I am wondering why a release is not yet with your fix !!!

Uploading a patch for the same.

vishnu358’s picture

Status: Active » Needs review
1.04 KB
vishnu358’s picture