[Vtigercrm-developers] Translation bug in 6.1?

Uma S uma.s at vtiger.com
Fri Oct 17 06:30:32 GMT 2014


Hi Alan,

In modules/Vtiger/models/RelationListView.php, the link object is generated
which is rendered in RelatedList.tpl.

In RelationListView.php getSelectRelationLinks() api, Label is generated as
below.

'linklabel' => vtranslate('LBL_SELECT')."
".vtranslate($relatedModel->get('label')),

As second variable for vtranslate is not passed, It's looking for
translation in Vtiger. Which is causing the problem.

On Thu, Oct 16, 2014 at 11:21 PM, Alan Lord (News) <alanslists at gmail.com>
wrote:

> On 16/10/14 18:46, Alan Lord (News) wrote:
>
>>
>>
>>> $languageStrings = array(
>>>     'LSGifts' => 'Gifts',
>>>     'SINGLE_LSGifts' => 'Gift',
>>>     'LBL_ADD_RECORD' => 'Add Gift',
>>>     'LBL_RECORDS_LIST' => 'Gifts List',
>>>
>>
>
> Think it's definitely a bug...
>
> See attached (Note the label in the right column). Maybe because the
> translation is looking in the wrong module for that button?
>
>
>
>
>
> --
> Libertus Solutions
> http://www.libertus.co.uk
>
> _______________________________________________
> http://www.vtiger.com/
>



-- 
With
Best Regards
Uma.S
Vtiger Team
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20141017/6367add1/attachment.html>


More information about the vtigercrm-developers mailing list