mirror of
https://github.com/colymba/GridFieldBulkEditingTools.git
synced 2024-10-22 11:05:57 +02:00
Merge branch '3.1' into 3
This commit is contained in:
commit
ea7946ac77
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
|
20
.tx/config
20
.tx/config
@ -1,17 +1,17 @@
|
||||
[main]
|
||||
host = https://www.transifex.com
|
||||
|
||||
[gridfieldbulkeditingtools.yml]
|
||||
file_filter = lang/<lang>.yml
|
||||
[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
|
||||
source_file = lang/en.yml
|
||||
source_lang = en
|
||||
type = YML
|
||||
|
||||
[gridfieldbulkeditingtools.js]
|
||||
file_filter = client/src/lang/<lang>.json
|
||||
[o:colymba:p:gridfieldbulkeditingtools:r:master]
|
||||
file_filter = lang/<lang>.yml
|
||||
source_file = lang/en.yml
|
||||
source_lang = en
|
||||
type = YML
|
||||
minimum_perc = 0
|
||||
source_file = client/src/lang/en.json
|
||||
source_lang = en
|
||||
type = JSON
|
||||
|
||||
|
14
lang/cs.yml
14
lang/cs.yml
@ -1,10 +1,10 @@
|
||||
cs:
|
||||
GRIDFIELD_BULK_MANAGER:
|
||||
EDIT_SELECT_LABEL: Upravit
|
||||
UNLINK_SELECT_LABEL: Odstranit vazbu
|
||||
DELETE_SELECT_LABEL: Smazat
|
||||
ACTION_BTN_LABEL: Provést
|
||||
SELECT_ALL_LABEL: Vybrat vše
|
||||
GRIDFIELD_BULKMANAGER_EDIT_HANDLER:
|
||||
SAVE_BTN_LABEL: Uložit vše
|
||||
CANCEL_BTN_LABEL: Storno
|
||||
SAVE_BTN_LABEL: 'Uložit vše'
|
||||
GRIDFIELD_BULK_MANAGER:
|
||||
ACTION_BTN_LABEL: Provést
|
||||
DELETE_SELECT_LABEL: Smazat
|
||||
EDIT_SELECT_LABEL: Upravit
|
||||
SELECT_ALL_LABEL: 'Vybrat vše'
|
||||
UNLINK_SELECT_LABEL: 'Odstranit vazbu'
|
||||
|
20
lang/de.yml
20
lang/de.yml
@ -1,14 +1,14 @@
|
||||
de:
|
||||
GRIDFIELD_BULK_MANAGER:
|
||||
COMPONENT_TITLE: Einen oder mehrere Einträge gleichzeitig bearbeiten
|
||||
EDIT_SELECT_LABEL: Bearbeiten
|
||||
UNLINK_SELECT_LABEL: Verbindung entfernen
|
||||
DELETE_SELECT_LABEL: Löschen
|
||||
ACTION_BTN_LABEL: Los
|
||||
SELECT_ALL_LABEL: Alle auswählen
|
||||
GRIDFIELD_BULKMANAGER_EDIT_HANDLER:
|
||||
HEADER_TEXT: Bearbeite {count} {class}
|
||||
TOGGLE_ALL_LINK: Alle Anzeigen/Verbergen
|
||||
SAVE_BTN_LABEL: Alle speichern
|
||||
CANCEL_BTN_LABEL: Abbrechen
|
||||
HEADER_TEXT: 'Bearbeite {count} {class}'
|
||||
SAVE_BTN_LABEL: 'Alle speichern'
|
||||
SAVE_RESULT_TEXT: '{count} {class} erfolgreich gespeichert.'
|
||||
TOGGLE_ALL_LINK: 'Alle Anzeigen/Verbergen'
|
||||
GRIDFIELD_BULK_MANAGER:
|
||||
ACTION_BTN_LABEL: Los
|
||||
COMPONENT_TITLE: 'Einen oder mehrere Einträge gleichzeitig bearbeiten'
|
||||
DELETE_SELECT_LABEL: Löschen
|
||||
EDIT_SELECT_LABEL: Bearbeiten
|
||||
SELECT_ALL_LABEL: 'Alle auswählen'
|
||||
UNLINK_SELECT_LABEL: 'Verbindung entfernen'
|
||||
|
36
lang/en.yml
36
lang/en.yml
@ -1,18 +1,18 @@
|
||||
en:
|
||||
GRIDFIELD_BULK_UPLOAD:
|
||||
GRIDFIELD_BULK_MANAGER:
|
||||
COMPONENT_TITLE: Modify one or more entry at a time.
|
||||
EDIT_SELECT_LABEL: Edit
|
||||
UNLINK_SELECT_LABEL: Unlink
|
||||
DELETE_SELECT_LABEL: Delete
|
||||
ACTION_BTN_LABEL: Go
|
||||
SELECT_ALL_LABEL: Select all
|
||||
PUBLISH_SELECT_LABEL: Publish
|
||||
UNPUBLISH_SELECT_LABEL: UnPublish
|
||||
ARCHIVE_SELECT_LABEL: Archive
|
||||
GRIDFIELD_BULKMANAGER_EDIT_HANDLER:
|
||||
HEADER_TEXT: Editing {count} {class}
|
||||
TOGGLE_ALL_LINK: Show/Hide all
|
||||
SAVE_BTN_LABEL: Save all
|
||||
CANCEL_BTN_LABEL: Cancel
|
||||
SAVE_RESULT_TEXT: '{count} {class} saved successfully.'
|
||||
en:
|
||||
GRIDFIELD_BULKMANAGER_EDIT_HANDLER:
|
||||
CANCEL_BTN_LABEL: Cancel
|
||||
HEADER_TEXT: 'Editing {count} {class}'
|
||||
SAVE_BTN_LABEL: 'Save all'
|
||||
SAVE_RESULT_TEXT: '{count} {class} saved successfully.'
|
||||
TOGGLE_ALL_LINK: 'Show/Hide all'
|
||||
GRIDFIELD_BULK_MANAGER:
|
||||
ACTION_BTN_LABEL: Go
|
||||
ARCHIVE_SELECT_LABEL: Archive
|
||||
COMPONENT_TITLE: 'Modify one or more entry at a time.'
|
||||
DELETE_SELECT_LABEL: Delete
|
||||
EDIT_SELECT_LABEL: Edit
|
||||
PUBLISH_SELECT_LABEL: Publish
|
||||
SELECT_ALL_LABEL: 'Select all'
|
||||
UNLINK_SELECT_LABEL: Unlink
|
||||
UNPUBLISH_SELECT_LABEL: UnPublish
|
||||
GRIDFIELD_BULK_UPLOAD: null
|
||||
|
20
lang/fi.yml
20
lang/fi.yml
@ -1,13 +1,13 @@
|
||||
fi:
|
||||
GRIDFIELD_BULK_MANAGER:
|
||||
COMPONENT_TITLE: Muokkaa yhtä tai useampaa merkintää kerrallaan.
|
||||
EDIT_SELECT_LABEL: Muokkaa
|
||||
UNLINK_SELECT_LABEL: Erota
|
||||
DELETE_SELECT_LABEL: Poista
|
||||
ACTION_BTN_LABEL: Suorita
|
||||
SELECT_ALL_LABEL: Valitse kaikki
|
||||
GRIDFIELD_BULKMANAGER_EDIT_HANDLER:
|
||||
HEADER_TEXT: Muokkaa {count} {class}
|
||||
TOGGLE_ALL_LINK: Näytä/Piilota kaikki
|
||||
SAVE_BTN_LABEL: Tallenna kaikki
|
||||
CANCEL_BTN_LABEL: Peruuta
|
||||
HEADER_TEXT: 'Muokkaa {count} {class}'
|
||||
SAVE_BTN_LABEL: 'Tallenna kaikki'
|
||||
TOGGLE_ALL_LINK: 'Näytä/Piilota kaikki'
|
||||
GRIDFIELD_BULK_MANAGER:
|
||||
ACTION_BTN_LABEL: Suorita
|
||||
COMPONENT_TITLE: 'Muokkaa yhtä tai useampaa merkintää kerrallaan.'
|
||||
DELETE_SELECT_LABEL: Poista
|
||||
EDIT_SELECT_LABEL: Muokkaa
|
||||
SELECT_ALL_LABEL: 'Valitse kaikki'
|
||||
UNLINK_SELECT_LABEL: Erota
|
||||
|
19
lang/fr.yml
19
lang/fr.yml
@ -1,14 +1,13 @@
|
||||
fr:
|
||||
GRIDFIELD_BULK_MANAGER:
|
||||
COMPONENT_TITLE: Modifier une ou plusieurs entrée à la fois.
|
||||
EDIT_SELECT_LABEL: Editer
|
||||
UNLINK_SELECT_LABEL: Dissocier
|
||||
DELETE_SELECT_LABEL: Supprimer
|
||||
ACTION_BTN_LABEL: Go
|
||||
SELECT_ALL_LABEL: Sélectionner tout
|
||||
GRIDFIELD_BULKMANAGER_EDIT_HANDLER:
|
||||
HEADER_TEXT: Edition de {count} {class}
|
||||
TOGGLE_ALL_LINK: Afficher/Masquer tout
|
||||
SAVE_BTN_LABEL: Sauvegarder tout
|
||||
CANCEL_BTN_LABEL: Annuler
|
||||
HEADER_TEXT: 'Edition de {count} {class}'
|
||||
SAVE_BTN_LABEL: 'Sauvegarder tout'
|
||||
SAVE_RESULT_TEXT: '{count} {class} sauvegardés avec succès.'
|
||||
TOGGLE_ALL_LINK: 'Afficher/Masquer tout'
|
||||
GRIDFIELD_BULK_MANAGER:
|
||||
COMPONENT_TITLE: 'Modifier une ou plusieurs entrée à la fois.'
|
||||
DELETE_SELECT_LABEL: Supprimer
|
||||
EDIT_SELECT_LABEL: Editer
|
||||
SELECT_ALL_LABEL: 'Sélectionner tout'
|
||||
UNLINK_SELECT_LABEL: Dissocier
|
||||
|
20
lang/it.yml
20
lang/it.yml
@ -1,14 +1,14 @@
|
||||
it:
|
||||
GRIDFIELD_BULK_MANAGER:
|
||||
COMPONENT_TITLE: Modifica una o più voci alla volta.
|
||||
EDIT_SELECT_LABEL: Modifica
|
||||
UNLINK_SELECT_LABEL: Scollega
|
||||
DELETE_SELECT_LABEL: Elimina
|
||||
ACTION_BTN_LABEL: Vai
|
||||
SELECT_ALL_LABEL: Seleziona tutto
|
||||
GRIDFIELD_BULKMANAGER_EDIT_HANDLER:
|
||||
HEADER_TEXT: Modifica di {count} {class}
|
||||
TOGGLE_ALL_LINK: Mostra/Nascondi tutto
|
||||
SAVE_BTN_LABEL: Salva tutto
|
||||
CANCEL_BTN_LABEL: Annulla
|
||||
HEADER_TEXT: 'Modifica di {count} {class}'
|
||||
SAVE_BTN_LABEL: 'Salva tutto'
|
||||
SAVE_RESULT_TEXT: '{count} {class} salvati con successo.'
|
||||
TOGGLE_ALL_LINK: 'Mostra/Nascondi tutto'
|
||||
GRIDFIELD_BULK_MANAGER:
|
||||
ACTION_BTN_LABEL: Vai
|
||||
COMPONENT_TITLE: 'Modifica una o più voci alla volta.'
|
||||
DELETE_SELECT_LABEL: Elimina
|
||||
EDIT_SELECT_LABEL: Modifica
|
||||
SELECT_ALL_LABEL: 'Seleziona tutto'
|
||||
UNLINK_SELECT_LABEL: Scollega
|
||||
|
20
lang/nl.yml
20
lang/nl.yml
@ -1,13 +1,13 @@
|
||||
nl:
|
||||
GRIDFIELD_BULK_MANAGER:
|
||||
COMPONENT_TITLE: Bewerk één of meerdere items tegelijkertijd
|
||||
EDIT_SELECT_LABEL: Bewerken
|
||||
UNLINK_SELECT_LABEL: Loskoppelen
|
||||
DELETE_SELECT_LABEL: Verwijderen
|
||||
ACTION_BTN_LABEL: Gaan
|
||||
SELECT_ALL_LABEL: Selecteer alles
|
||||
GRIDFIELD_BULKMANAGER_EDIT_HANDLER:
|
||||
HEADER_TEXT: '{count} {class} aan het bewerken'
|
||||
TOGGLE_ALL_LINK: Toon/verberg alle
|
||||
SAVE_BTN_LABEL: Alles opslaan
|
||||
CANCEL_BTN_LABEL: Annuleren
|
||||
HEADER_TEXT: '{count} {class} aan het bewerken'
|
||||
SAVE_BTN_LABEL: 'Alles opslaan'
|
||||
TOGGLE_ALL_LINK: 'Toon/verberg alle'
|
||||
GRIDFIELD_BULK_MANAGER:
|
||||
ACTION_BTN_LABEL: Gaan
|
||||
COMPONENT_TITLE: 'Bewerk één of meerdere items tegelijkertijd'
|
||||
DELETE_SELECT_LABEL: Verwijderen
|
||||
EDIT_SELECT_LABEL: Bewerken
|
||||
SELECT_ALL_LABEL: 'Selecteer alles'
|
||||
UNLINK_SELECT_LABEL: Loskoppelen
|
||||
|
20
lang/pl.yml
20
lang/pl.yml
@ -1,14 +1,14 @@
|
||||
pl:
|
||||
GRIDFIELD_BULK_MANAGER:
|
||||
COMPONENT_TITLE: Modyfikuj jednocześnie jedną lub więcej pozycji.
|
||||
EDIT_SELECT_LABEL: Edytuj
|
||||
UNLINK_SELECT_LABEL: Odłącz
|
||||
DELETE_SELECT_LABEL: Usuń
|
||||
ACTION_BTN_LABEL: Wykonaj
|
||||
SELECT_ALL_LABEL: Zaznacz wszystkie
|
||||
GRIDFIELD_BULKMANAGER_EDIT_HANDLER:
|
||||
HEADER_TEXT: Edycja {count} {class}
|
||||
TOGGLE_ALL_LINK: Pokaż/ukryj wszystkie
|
||||
SAVE_BTN_LABEL: Zapisz wszystkie
|
||||
CANCEL_BTN_LABEL: Anuluj
|
||||
HEADER_TEXT: 'Edycja {count} {class}'
|
||||
SAVE_BTN_LABEL: 'Zapisz wszystkie'
|
||||
SAVE_RESULT_TEXT: 'Zapisano pomyślnie {count} {class}'
|
||||
TOGGLE_ALL_LINK: 'Pokaż/ukryj wszystkie'
|
||||
GRIDFIELD_BULK_MANAGER:
|
||||
ACTION_BTN_LABEL: Wykonaj
|
||||
COMPONENT_TITLE: 'Modyfikuj jednocześnie jedną lub więcej pozycji.'
|
||||
DELETE_SELECT_LABEL: Usuń
|
||||
EDIT_SELECT_LABEL: Edytuj
|
||||
SELECT_ALL_LABEL: 'Zaznacz wszystkie'
|
||||
UNLINK_SELECT_LABEL: Odłącz
|
||||
|
19
lang/ru.yml
19
lang/ru.yml
@ -1,14 +1,13 @@
|
||||
ru:
|
||||
GRIDFIELD_BULKMANAGER_EDIT_HANDLER:
|
||||
CANCEL_BTN_LABEL: Отменить
|
||||
HEADER_TEXT: 'Редактировать {count} {class}'
|
||||
SAVE_BTN_LABEL: 'Сохранить все'
|
||||
SAVE_RESULT_TEXT: '{count} {class} успешно сохранены'
|
||||
TOGGLE_ALL_LINK: 'Показать/Скрыть все'
|
||||
GRIDFIELD_BULK_MANAGER:
|
||||
COMPONENT_TITLE: Редактировать одну или несколько записей одновременно
|
||||
ACTION_BTN_LABEL: Поехали
|
||||
COMPONENT_TITLE: 'Редактировать одну или несколько записей одновременно'
|
||||
DELETE_SELECT_LABEL: Удалить
|
||||
EDIT_SELECT_LABEL: Редактировать
|
||||
UNLINK_SELECT_LABEL: Отвязать
|
||||
DELETE_SELECT_LABEL: Удалить
|
||||
ACTION_BTN_LABEL: Поехали
|
||||
SELECT_ALL_LABEL: Выбрать все
|
||||
GRIDFIELD_BULKMANAGER_EDIT_HANDLER:
|
||||
HEADER_TEXT: Редактировать {count} {class}
|
||||
TOGGLE_ALL_LINK: Показать/Скрыть все
|
||||
SAVE_BTN_LABEL: Сохранить все
|
||||
CANCEL_BTN_LABEL: Отменить
|
||||
SAVE_RESULT_TEXT: '{count} {class} успешно сохранены'
|
||||
|
20
lang/sk.yml
20
lang/sk.yml
@ -1,14 +1,14 @@
|
||||
sk:
|
||||
GRIDFIELD_BULK_MANAGER:
|
||||
COMPONENT_TITLE: Uprav jednu alebo viac položiek súčasne.
|
||||
EDIT_SELECT_LABEL: Upraviť
|
||||
UNLINK_SELECT_LABEL: Odstrániť zo zoznamu
|
||||
DELETE_SELECT_LABEL: Zmazať
|
||||
ACTION_BTN_LABEL: Vykonaj
|
||||
SELECT_ALL_LABEL: Označiť všetky
|
||||
GRIDFIELD_BULKMANAGER_EDIT_HANDLER:
|
||||
HEADER_TEXT: Upravujem {count} {class}
|
||||
TOGGLE_ALL_LINK: Zobraziť/Skryť všetko
|
||||
SAVE_BTN_LABEL: Uložiť všetko
|
||||
CANCEL_BTN_LABEL: Zrušiť
|
||||
HEADER_TEXT: 'Upravujem {count} {class}'
|
||||
SAVE_BTN_LABEL: 'Uložiť všetko'
|
||||
SAVE_RESULT_TEXT: '{count} {class} úspešne uložené.'
|
||||
TOGGLE_ALL_LINK: 'Zobraziť/Skryť všetko'
|
||||
GRIDFIELD_BULK_MANAGER:
|
||||
ACTION_BTN_LABEL: Vykonaj
|
||||
COMPONENT_TITLE: 'Uprav jednu alebo viac položiek súčasne.'
|
||||
DELETE_SELECT_LABEL: Zmazať
|
||||
EDIT_SELECT_LABEL: Upraviť
|
||||
SELECT_ALL_LABEL: 'Označiť všetky'
|
||||
UNLINK_SELECT_LABEL: 'Odstrániť zo zoznamu'
|
||||
|
@ -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'));
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -197,7 +197,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