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

"My relationships
@rel_plural_name
(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));
with
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));
with
$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

Members fund testing for the Drupal project. Drupal Association Learn more

Comments

paultrotter50’s picture

FileSize
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
FileSize
1.04 KB
vishnu358’s picture