Skip to content

Commit

Permalink
Merge branch '3' into 4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
emteknetnz committed May 9, 2024
2 parents dfd07f7 + ea7946a commit f6b96e7
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 5 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -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
4 changes: 2 additions & 2 deletions .tx/config
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion lang/sk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
2 changes: 1 addition & 1 deletion src/BulkManager/BulkManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ public function getColumnAttributes($gridField, $record, $columnName)
public function getColumnMetadata($gridField, $columnName)
{
if ($columnName == 'BulkSelect') {
return array('title' => 'Select');
return array('title' => _t('GRIDFIELD_BULK_MANAGER.SELECT_LABEL', 'Select'));
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/BulkTools/HTTPBulkToolsResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ public function addSuccessRecord($record)
*/
public function addSuccessRecords(SS_List $records)
{
array_push($this->successRecords, $records->toArray());
$this->successRecords = array_merge($this->successRecords, $records->toArray());
return $this;
}

Expand Down

0 comments on commit f6b96e7

Please sign in to comment.