mirror of
https://github.com/colymba/GridFieldBulkEditingTools.git
synced 2024-10-22 11:05:57 +02:00
Merge branch '3' into 4.0
This commit is contained in:
commit
f6b96e7f4b
11
.github/workflows/ci.yml
vendored
Normal file
11
.github/workflows/ci.yml
vendored
Normal 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
|
@ -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
|
||||
|
@ -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'
|
||||
|
@ -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'));
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user