[Vtigercrm-commits] [vtiger development] #6364: Mailer export missing translation labels
vtiger development
vtiger-tickets at trac.vtiger.com
Fri Oct 16 17:54:16 EDT 2009
#6364: Mailer export missing translation labels
--------------------------------------------+-------------------------------
Reporter: joebordes | Owner: developer
Type: defect | Status: new
Priority: unassigned | Milestone: 5.2.0
Component: vtigercrm | Version: 5.1.0
Keywords: i18n translation mailer export |
--------------------------------------------+-------------------------------
With language pack installed two field labels are not translated in Mailer
Export (see attached screen capture).
This is due to the loading of the Contacts language file with
require_once. It seems it is already loaded and the current Accounts
language file $mod_strings doesn't get overwritten in function
getStdContactFlds() in line 52 of Accounts/MailerExport.php
I first changed require_once for require and it appeared correctly, but I
attach a fix based on the function getTranslatedString() which seems more
correct to me.
I have done very basic testing and it seems to work with this patch.
--
Ticket URL: <http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/6364>
vtiger development <http://trac.vtiger.com/>
vtigerCRM
More information about the vtigercrm-commits
mailing list