We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7811d16 commit 1ed5b8eCopy full SHA for 1ed5b8e
src/app/code/community/FireGento/GridControl/Model/Processor.php
@@ -130,7 +130,11 @@ protected function _addAction($params)
130
$columnConfig[$attribute->getName()] = (string) $attribute;
131
}
132
133
-
+
134
+ if (isset($columnConfig['header'])) {
135
+ $columnConfig['header'] = $params->getBlock()->__($columnConfig['header']);
136
+ }
137
138
// add column to grid block
139
$params->getBlock()->addColumn($params->getColumn()->getName(), $columnConfig);
140
@@ -220,4 +224,4 @@ protected function removeGridColumn(Mage_Adminhtml_Block_Widget_Grid $grid, $col
220
224
$this->setGridProtectedPropertyValue($grid, $columnsPropertyName, $columns);
221
225
$this->setGridProtectedPropertyValue($grid, $lastColumnIdPropertyName, $lastColumnId);
222
226
223
-}
227
+}
0 commit comments