mirror of
https://github.com/symbiote/silverstripe-gridfieldextensions.git
synced 2024-10-22 17:05:39 +02:00
Merge branch '4' into 5
This commit is contained in:
commit
166f71a4aa
14
client/lang/de.js
Normal file
14
client/lang/de.js
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
// This file was generated by silverstripe/tx-translator from client/lang/src/de.json.
|
||||||
|
// See https://github.com/silverstripe/silverstripe-tx-translator for details
|
||||||
|
if (typeof(ss) === 'undefined' || typeof(ss.i18n) === 'undefined') {
|
||||||
|
if (typeof(console) !== 'undefined') { // eslint-disable-line no-console
|
||||||
|
console.error('Class ss.i18n not defined'); // eslint-disable-line no-console
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
ss.i18n.addDictionary('de', {
|
||||||
|
"GridFieldExtensions.ADD_CLASS": "{classname} hinzufügen",
|
||||||
|
"GridFieldExtensions.CONFIRMDEL": "Sind Sie sicher, dass Sie das löschen wollen?",
|
||||||
|
"GridFieldExtensions.OPEN_SEARCH_FILTER": "Suche und Filter öffnen",
|
||||||
|
"GridFieldExtensions.SAVE_PUBLISH": "Speichern und Veröffentlichen"
|
||||||
|
});
|
||||||
|
}
|
6
client/lang/src/de.json
Normal file
6
client/lang/src/de.json
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"GridFieldExtensions.ADD_CLASS": "{classname} hinzufügen",
|
||||||
|
"GridFieldExtensions.CONFIRMDEL": "Sind Sie sicher, dass Sie das löschen wollen?",
|
||||||
|
"GridFieldExtensions.OPEN_SEARCH_FILTER": "Suche und Filter öffnen",
|
||||||
|
"GridFieldExtensions.SAVE_PUBLISH": "Speichern und Veröffentlichen"
|
||||||
|
}
|
17
lang/de.yml
Normal file
17
lang/de.yml
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
de:
|
||||||
|
GridFieldExtensions:
|
||||||
|
ADD: Hinzufügen
|
||||||
|
ADDEXISTING: 'Bestehenden Eintrag hinzufügen'
|
||||||
|
BACK: Zurück
|
||||||
|
CURRENT: (aktuell)
|
||||||
|
Next: Nächste
|
||||||
|
PREVIOUS: Vorherige
|
||||||
|
RESULTS: Ergebnisse
|
||||||
|
SEARCH: Suche
|
||||||
|
SELECTTYPETOCREATE: '(Bitte Typ auswählen)'
|
||||||
|
Symbiote\GridFieldExtensions\Extensions\GridFieldDetailFormItemRequestExtension:
|
||||||
|
NEW: 'Neuen Eintrag hinzufügen'
|
||||||
|
Symbiote\GridFieldExtensions\GridFieldConfigurablePaginator:
|
||||||
|
SHOW: Anzeigen
|
||||||
|
Symbiote\GridFieldExtensions\GridFieldOrderableRows:
|
||||||
|
REORDERED: 'Einträge neu sortiert.'
|
@ -14,3 +14,5 @@ eo:
|
|||||||
NEW: 'Aldoni novan rikordon'
|
NEW: 'Aldoni novan rikordon'
|
||||||
Symbiote\GridFieldExtensions\GridFieldConfigurablePaginator:
|
Symbiote\GridFieldExtensions\GridFieldConfigurablePaginator:
|
||||||
SHOW: Vidigi
|
SHOW: Vidigi
|
||||||
|
Symbiote\GridFieldExtensions\GridFieldOrderableRows:
|
||||||
|
REORDERED: 'Reordigis rikordojn.'
|
||||||
|
@ -447,7 +447,7 @@ class GridFieldNestedForm extends AbstractGridFieldComponent implements
|
|||||||
|
|
||||||
public function handleSave(GridField $gridField, DataObjectInterface $record)
|
public function handleSave(GridField $gridField, DataObjectInterface $record)
|
||||||
{
|
{
|
||||||
$postKey = self::POST_KEY;
|
$postKey = GridFieldNestedForm::POST_KEY;
|
||||||
$value = $gridField->Value();
|
$value = $gridField->Value();
|
||||||
if (isset($value['GridState']) && $value['GridState']) {
|
if (isset($value['GridState']) && $value['GridState']) {
|
||||||
// set grid state from value, to store open/closed toggle state for nested forms
|
// set grid state from value, to store open/closed toggle state for nested forms
|
||||||
|
Loading…
Reference in New Issue
Block a user