ISSUE SUMMARY:
I see when trying to make a override of COM_COMMUNITY_MUTUAL_FRIENDS in singular, I get up friends in plural for those who have only one friend which should be in singular. How can I fix this so it show up right?
It works right for friends in plural.
STEPS TO REPLICATE:
1
2
3
4
5
RESULT
EXPECTED RESULT
BROWSER
Hi,
In which page do you mean? can you provide me the screenshoot, please?
thank you
Hi Dimas,
It is on the Friend tab. Look att the screenshot below and you will se this:
prntscr.com/8xg6hz
Both are in plural, bit the right one shoud be singular.
Oh this is a bug, I will report this..
thank you!
I will give you the patch once the fix available
ok, here it is..
open this file components/com_community/templates/jomsocial/layouts/friends/list.php, find this code :
<span class="joms-text--title"><?php echo JText::sprintf('COM_COMMUNITY_TOTAL_MUTUAL_FRIENDS',
<span class="joms-text--title"><?php echo JText::sprintf((CFriendsHelper::getTotalMutualFriends($user->id)) ? 'COM_COMMUNITY_TOTAL_MUTUAL_FRIEND' : 'COM_COMMUNITY_TOTAL_MUTUAL_FRIENDS',
COM_COMMUNITY_TOTAL_MUTUAL_FRIEND="%1$s mutual friend"
please provide me FTP access, I will fix it..
still, the access is not working
I think you are using IP restriction for your FTP, but well if possible can you provide m cpanel too, please?