Merge branch '3' into 4.0

This commit is contained in:
Steve Boyd 2024-05-09 12:35:53 +12:00
commit f6b96e7f4b
5 changed files with 16 additions and 5 deletions

11
.github/workflows/ci.yml vendored Normal file
View File

@ -0,0 +1,11 @@
name: CI
on:
push:
pull_request:
workflow_dispatch:
jobs:
ci:
name: CI
uses: silverstripe/gha-ci/.github/workflows/ci.yml@v1

View File

@ -1,14 +1,14 @@
[main]
host = https://www.transifex.com
[o:colymba:p:gridfieldbulkeditingtools:r:js]
[o:colymba:p:gridfieldbulkeditingtools:r:en.json]
file_filter = client/src/lang/<lang>.json
source_file = client/src/lang/en.json
source_lang = en
type = JSON
minimum_perc = 0
[o:colymba:p:gridfieldbulkeditingtools:r:yml]
[o:colymba:p:gridfieldbulkeditingtools:r:master]
file_filter = lang/<lang>.yml
source_file = lang/en.yml
source_lang = en

View File

@ -9,7 +9,7 @@ sk:
ACTION_BTN_LABEL: Vykonaj
ARCHIVE_SELECT_LABEL: Archivovať
COMPONENT_TITLE: 'Uprav jednu alebo viac položiek súčasne.'
DELETE_SELECT_LABEL: Odstrániť
DELETE_SELECT_LABEL: Zmazať
EDIT_SELECT_LABEL: Upraviť
PUBLISH_SELECT_LABEL: Zverejniť
SELECT_ALL_LABEL: 'Označiť všetky'

View File

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

View File

@ -196,7 +196,7 @@ class HTTPBulkToolsResponse extends HTTPResponse
*/
public function addSuccessRecords(SS_List $records)
{
array_push($this->successRecords, $records->toArray());
$this->successRecords = array_merge($this->successRecords, $records->toArray());
return $this;
}