Merge pull request #270 from pschiffe/3.1

TLN Allow to translate column name `Select`
This commit is contained in:
Guy Sartorelli 2024-03-04 11:36:11 +13:00 committed by GitHub
commit bdefd141ec
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -248,7 +248,7 @@ class BulkManager implements GridField_HTMLProvider, GridField_ColumnProvider, G
public function getColumnMetadata($gridField, $columnName) public function getColumnMetadata($gridField, $columnName)
{ {
if ($columnName == 'BulkSelect') { if ($columnName == 'BulkSelect') {
return array('title' => 'Select'); return array('title' => _t('GRIDFIELD_BULK_MANAGER.SELECT_LABEL', 'Select'));
} }
} }