Details
Description
When you have the activity dashlet on your dashboard. You open a popup when you click on the zoom icon.
At this moment, with the french translation, an error is raised.
This is due to a not generalized way of handling localization.
In the file templates/CRM/Activity/Selector/Selector.tpl, we find :
"""
ZeroRecordText +=
' for Activity Type = "'
{/ts} {literal}"""
Two errors occured in this string :
- First the position of the ' which is inside the translated string.
- Second, there is no escape="js" provided.
A quick solution is given in the attached patch.
Important note : the two elements 'First' and 'Second' described here above are the source of plenty of bugs when you are using localization (for example the one with the Dashboard configuration).