Skip to content
Snippets Groups Projects
Commit 6053b56c authored by Satish's avatar Satish
Browse files

Fixes #372, #326 - for translation bug

parent d0b03930
No related branches found
No related tags found
No related merge requests found
...@@ -31,7 +31,7 @@ class Inventory_RelationListView_Model extends Vtiger_RelationListView_Model { ...@@ -31,7 +31,7 @@ class Inventory_RelationListView_Model extends Vtiger_RelationListView_Model {
$addLinkList = array( $addLinkList = array(
array( array(
'linktype' => 'LISTVIEWBASIC', 'linktype' => 'LISTVIEWBASIC',
'linklabel' => vtranslate('LBL_ADD')." ".vtranslate($relatedModel->get('label')), 'linklabel' => vtranslate('LBL_ADD')." ".vtranslate('SINGLE_'.$relatedModel->getName(), $relatedModel->getName()),
'linkurl' => $this->getCreateViewUrl(), 'linkurl' => $this->getCreateViewUrl(),
'linkicon' => '', 'linkicon' => '',
) )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment