-
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
243 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<?php | ||
|
||
/* | ||
* Node Bundle for Contao Open Source CMS. | ||
* | ||
* @copyright Copyright (c) 2019, terminal42 gmbh | ||
* @author terminal42 <https://terminal42.ch> | ||
* @license MIT | ||
*/ | ||
|
||
/* | ||
* Content elements | ||
*/ | ||
$GLOBALS['TL_LANG']['CTE']['nodes'] = ['Nodes', 'Ein oder mehrere Nodes mit Inhaltselementen einbinden.']; | ||
|
||
/* | ||
* Errors | ||
*/ | ||
$GLOBALS['TL_LANG']['ERR']['invalidNodes'] = 'Die Nodes vom Typ "Ordner" sind nicht erlaubt: %s'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<?php | ||
|
||
/* | ||
* Node Bundle for Contao Open Source CMS. | ||
* | ||
* @copyright Copyright (c) 2019, terminal42 gmbh | ||
* @author terminal42 <https://terminal42.ch> | ||
* @license MIT | ||
*/ | ||
|
||
/* | ||
* Backend modules | ||
*/ | ||
$GLOBALS['TL_LANG']['MOD']['nodes'] = ['Nodes', 'Nodes mit Inhaltselementen erzeugen und verwalten.']; | ||
|
||
/* | ||
* Frontend modules | ||
*/ | ||
$GLOBALS['TL_LANG']['FMD']['nodes'] = &$GLOBALS['TL_LANG']['CTE']['nodes']; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?php | ||
|
||
/* | ||
* Node Bundle for Contao Open Source CMS. | ||
* | ||
* @copyright Copyright (c) 2019, terminal42 gmbh | ||
* @author terminal42 <https://terminal42.ch> | ||
* @license MIT | ||
*/ | ||
|
||
$GLOBALS['TL_LANG']['tl_cfg_tag']['sourceRef']['terminal42_node'] = 'Node'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<?php | ||
|
||
/* | ||
* Node Bundle for Contao Open Source CMS. | ||
* | ||
* @copyright Copyright (c) 2019, terminal42 gmbh | ||
* @author terminal42 <https://terminal42.ch> | ||
* @license MIT | ||
*/ | ||
|
||
$GLOBALS['TL_LANG']['tl_content']['nodes'] = ['Nodes', 'Wählen Sie ein oder mehrere Nodes aus.']; | ||
$GLOBALS['TL_LANG']['tl_content']['nodesWrapper'] = ['Wrapper hinzufügen', 'Einen Wrapper um die ausgewählten Nodes ausgeben.']; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
<?php | ||
|
||
/* | ||
* Node Bundle for Contao Open Source CMS. | ||
* | ||
* @copyright Copyright (c) 2019, terminal42 gmbh | ||
* @author terminal42 <https://terminal42.ch> | ||
* @license MIT | ||
*/ | ||
|
||
$GLOBALS['TL_LANG']['tl_node']['name'] = ['Name', 'Bitte einen internen Namen des Nodes vergeben.']; | ||
$GLOBALS['TL_LANG']['tl_node']['type'] = ['Typ', 'Hier können Sie den Typ des Nodes auswählen.']; | ||
$GLOBALS['TL_LANG']['tl_node']['languages'] = ['Sprachen', 'Hier können Sprachen für den Noden eingestellt werden, nach denen im Backend gefiltert werden kann.']; | ||
$GLOBALS['TL_LANG']['tl_node']['tags'] = ['Tags', 'Hier können Sie Tags für den Node vergeben, nach denen Im Backend gefiltert werden kann.']; | ||
$GLOBALS['TL_LANG']['tl_node']['pid'] = ['Parent node']; | ||
$GLOBALS['TL_LANG']['tl_node']['tstamp'] = ['Revision date']; | ||
|
||
/* | ||
* Legends | ||
*/ | ||
$GLOBALS['TL_LANG']['tl_node']['name_legend'] = 'Name und Typ'; | ||
$GLOBALS['TL_LANG']['tl_node']['filter_legend'] = 'Filter Einstellungen'; | ||
|
||
/* | ||
* Reference | ||
*/ | ||
$GLOBALS['TL_LANG']['tl_node']['typeRef'] = [ | ||
\Terminal42\NodeBundle\Model\NodeModel::TYPE_CONTENT => 'Inhalt', | ||
\Terminal42\NodeBundle\Model\NodeModel::TYPE_FOLDER => 'Ordner', | ||
]; | ||
|
||
/* | ||
* Buttons | ||
*/ | ||
$GLOBALS['TL_LANG']['tl_node']['new'] = ['Neuer Node', 'Neuen Node erzeugen']; | ||
$GLOBALS['TL_LANG']['tl_node']['show'] = ['Node Details', 'Details des Node ID %s anzeigen']; | ||
$GLOBALS['TL_LANG']['tl_node']['edit'] = ['Node bearbeiten', 'Node ID %s bearbeiten']; | ||
$GLOBALS['TL_LANG']['tl_node']['editheader'] = ['Node Einstellungen bearbeiten', 'Die Node Einstellungen bearbeiten']; | ||
$GLOBALS['TL_LANG']['tl_node']['cut'] = ['Node verschieben', 'Node ID %s verschieben']; | ||
$GLOBALS['TL_LANG']['tl_node']['copy'] = ['Node duplizieren', 'Node ID %s duplizieren']; | ||
$GLOBALS['TL_LANG']['tl_node']['copyChilds'] = ['Node mit Subnodes duplizieren', 'Node ID %s inklusive Subnodes duplizieren']; | ||
$GLOBALS['TL_LANG']['tl_node']['delete'] = ['Node löschen', 'Node ID %s löschen']; | ||
$GLOBALS['TL_LANG']['tl_node']['pasteafter'] = ['Einfügen in', 'Nach dem Node ID %s einfügen']; | ||
$GLOBALS['TL_LANG']['tl_node']['pasteinto'] = ['Einfügen nach', 'In den Node ID %s einfügen']; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<?php | ||
|
||
/* | ||
* Node Bundle for Contao Open Source CMS. | ||
* | ||
* @copyright Copyright (c) 2019, terminal42 gmbh | ||
* @author terminal42 <https://terminal42.ch> | ||
* @license MIT | ||
*/ | ||
|
||
$GLOBALS['TL_LANG']['tl_user']['nodeMounts'] = ['Node-Mounts', 'Hier können Sie den Zugriff auf ein oder mehrere Nodes gewähren (Subnodes werden automatisch inkludiert).']; | ||
$GLOBALS['TL_LANG']['tl_user']['nodePermissions'] = ['Node-Rechte', 'Hier können Sie die Node Rechte einstellen.']; | ||
|
||
/* | ||
* Reference | ||
*/ | ||
$GLOBALS['TL_LANG']['tl_user']['nodePermissionsRef'] = [ | ||
\Terminal42\NodeBundle\PermissionChecker::PERMISSION_CREATE => 'Nodes erstellen', | ||
\Terminal42\NodeBundle\PermissionChecker::PERMISSION_EDIT => 'Nodes bearbeiten', | ||
\Terminal42\NodeBundle\PermissionChecker::PERMISSION_DELETE => 'Nodes löschen', | ||
\Terminal42\NodeBundle\PermissionChecker::PERMISSION_CONTENT => 'Nodes verwalten', | ||
\Terminal42\NodeBundle\PermissionChecker::PERMISSION_ROOT => 'Root Nodes verwalten', | ||
]; | ||
|
||
/* | ||
* Legends | ||
*/ | ||
$GLOBALS['TL_LANG']['tl_user']['node_legend'] = 'Node Einstellungen'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?php | ||
|
||
/* | ||
* Node Bundle for Contao Open Source CMS. | ||
* | ||
* @copyright Copyright (c) 2019, terminal42 gmbh | ||
* @author terminal42 <https://terminal42.ch> | ||
* @license MIT | ||
*/ | ||
|
||
\Contao\System::loadLanguageFile('tl_user_group'); | ||
|
||
/* | ||
* Legends | ||
*/ | ||
$GLOBALS['TL_LANG']['tl_user_group']['node_legend'] = &$GLOBALS['TL_LANG']['tl_user']['node_legend']; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,9 @@ | ||
<?php if ($this->nodesWrapper): ?> | ||
<div<?php if ($this->class): ?> class="<?= $this->class ?>"<?php endif; ?><?= $this->cssID ?>> | ||
<?php endif; ?> | ||
|
||
<?= implode("\n", $this->nodes) ?> | ||
|
||
<?php if ($this->nodesWrapper): ?> | ||
</div> | ||
<?php endif; ?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,9 @@ | ||
<?php if ($this->nodesWrapper): ?> | ||
<div<?php if ($this->class): ?> class="<?= $this->class ?>"<?php endif; ?><?= $this->cssID ?>> | ||
<?php endif; ?> | ||
|
||
<?= implode("\n", $this->nodes) ?> | ||
|
||
<?php if ($this->nodesWrapper): ?> | ||
</div> | ||
<?php endif; ?> |