[Vtigercrm-commits] [vtiger development] #6366: Find Duplicates is missing Delete button when language pack is installed
vtiger development
vtiger-tickets at trac.vtiger.com
Fri Oct 16 18:21:51 EDT 2009
#6366: Find Duplicates is missing Delete button when language pack is installed
---------------------------------------+------------------------------------
Reporter: joebordes | Owner: developer
Type: defect | Status: new
Priority: unassigned | Milestone: 5.2.0
Component: vtigercrm | Version: 5.1.0
Keywords: i18n translate duplicates |
---------------------------------------+------------------------------------
This is due to early translation of the button label.
FindDuplicateAjax.tpl expects {if $DELETE eq 'Delete'}, but $DELETE has
already been translated in FindDuplicateRecords.php.
The next change fixes the problem in Contacts but this has to be repeated
in all affected modules (and vtlib base new module files)
{{{
Index: modules/Contacts/FindDuplicateRecords.php
===================================================================
--- modules/Contacts/FindDuplicateRecords.php (revisión: 1679)
+++ modules/Contacts/FindDuplicateRecords.php (copia de trabajo)
@@ -85,7 +85,7 @@
$smarty->assign("CATEGORY",$parenttab);
$smarty->assign("ALL_VALUES",$fld_values);
if(isPermitted($req_module,'Delete','') == 'yes')
- $button_del = $app_strings['LBL_MASS_DELETE'];
+ $button_del = 'Delete';
$smarty->assign("DELETE",$button_del);
$smarty->assign("MOD",
return_module_language($current_language,$req_module));
}}}
--
Ticket URL: <http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/6366>
vtiger development <http://trac.vtiger.com/>
vtigerCRM
More information about the vtigercrm-commits
mailing list