Alex Trofimov 12 лет назад
Родитель
Сommit
3317905e6c

+ 3 - 3
inc/classes/BxDolGridConnections.php

@@ -119,9 +119,9 @@ class BxDolGridConnections extends BxTemplGrid
                 $iProfileId = array_pop($a);
                 bx_import('BxDolProfile');
                 $oProfile = BxDolProfile::getInstance($iProfileId);
-                $s = _t('_bx_persons_txt_one_mutual_friend', $oProfile->getUrl(), $oProfile->getDisplayName());
+                $s = _t('_sys_txt_one_mutual_friend', $oProfile->getUrl(), $oProfile->getDisplayName());
             } elseif ($i) {
-                $s = _t('_bx_persons_txt_n_mutual_friends', $i);
+                $s = _t('_sys_txt_n_mutual_friends', $i);
             }
         }
 
@@ -129,7 +129,7 @@ class BxDolGridConnections extends BxTemplGrid
         if (!$s) {
             $a = $oConn->getConnectedContent($aRow['id'], true);
             $i = count($a);
-            $s = _t('_bx_persons_txt_n_friends', $i);
+            $s = _t('_sys_txt_n_friends', $i);
         }
 
         return parent::_getCellDefault ($s, $sKey, $aField, $aRow);

+ 3 - 0
modules/boonex/english/data/langs/system.xml

@@ -1907,6 +1907,9 @@ If it is not enabled then please consider implement this optimization, since it
 	<string name="_sys_txt_login_invalid_role"><![CDATA[Access denied]]></string>
     <string name="_sys_txt_new_picture"><![CDATA[New Picture]]></string>
     <string name="_sys_txt_no_picture_uploaded"><![CDATA[No picture uploaded]]></string>
+    <string name="_sys_txt_n_friends"><![CDATA[{0} friends]]></string>
+    <string name="_sys_txt_n_mutual_friends"><![CDATA[{0} mutual friends]]></string>
+    <string name="_sys_txt_one_mutual_friend"><![CDATA[<a href="{0}">{1}</a> mutual friend]]></string>
 	<string name="_sys_txt_reset_pasword_email_send_failed"><![CDATA[Your new password is <b>{0}</b>, please make sure to save it somewhere becuase we wasn't able to send it to your email. You can change it to any other password after first login.]]></string>
 	<string name="_sys_txt_reset_pasword_email_sent"><![CDATA[Your new password - <b>{0}</b> - was sent to your email. You can change it once you login to your account.]]></string>
 	<string name="_sys_txt_reset_pasword_error_occured"><![CDATA[Error occured, please <a href="{0}">try again</a>.]]></string>