From 65f25700b73ff922d932db91fefbbb7852f58999 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Auswo=CC=88ger?= Date: Tue, 27 May 2014 11:54:33 +0200 Subject: [PATCH] Added label for rsce_data --- dca/tl_content.php | 1 + dca/tl_module.php | 1 + languages/de/tl_content.php | 15 +++++++++++++++ languages/de/tl_module.php | 15 +++++++++++++++ languages/en/tl_content.php | 15 +++++++++++++++ languages/en/tl_module.php | 15 +++++++++++++++ 6 files changed, 62 insertions(+) create mode 100755 languages/de/tl_content.php create mode 100755 languages/de/tl_module.php create mode 100755 languages/en/tl_content.php create mode 100755 languages/en/tl_module.php diff --git a/dca/tl_content.php b/dca/tl_content.php index 72c2e72..ad21e35 100644 --- a/dca/tl_content.php +++ b/dca/tl_content.php @@ -15,6 +15,7 @@ $GLOBALS['TL_DCA']['tl_content']['config']['onload_callback'][] = array('MadeYourDay\Contao\CustomElements', 'onloadCallback'); $GLOBALS['TL_DCA']['tl_content']['config']['onsubmit_callback'][] = array('MadeYourDay\Contao\CustomElements', 'onsubmitCallback'); $GLOBALS['TL_DCA']['tl_content']['fields']['rsce_data'] = array( + 'label' => &$GLOBALS['TL_LANG']['tl_content']['rsce_data'], 'inputType' => 'rsce_list_hidden', 'sql' => "mediumblob NULL", 'save_callback' => array( diff --git a/dca/tl_module.php b/dca/tl_module.php index 02e73a9..caaaf36 100644 --- a/dca/tl_module.php +++ b/dca/tl_module.php @@ -15,6 +15,7 @@ $GLOBALS['TL_DCA']['tl_module']['config']['onload_callback'][] = array('MadeYourDay\Contao\CustomElements', 'onloadCallback'); $GLOBALS['TL_DCA']['tl_module']['config']['onsubmit_callback'][] = array('MadeYourDay\Contao\CustomElements', 'onsubmitCallback'); $GLOBALS['TL_DCA']['tl_module']['fields']['rsce_data'] = array( + 'label' => &$GLOBALS['TL_LANG']['tl_module']['rsce_data'], 'inputType' => 'rsce_list_hidden', 'sql' => "mediumblob NULL", 'save_callback' => array( diff --git a/languages/de/tl_content.php b/languages/de/tl_content.php new file mode 100755 index 0000000..7794e99 --- /dev/null +++ b/languages/de/tl_content.php @@ -0,0 +1,15 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +/** + * RockSolid Custom Elements tl_content translations + * + * @author Martin Auswöger + */ + +$GLOBALS['TL_LANG']['tl_content']['rsce_data'][0] = 'Element-Daten'; diff --git a/languages/de/tl_module.php b/languages/de/tl_module.php new file mode 100755 index 0000000..d939b5c --- /dev/null +++ b/languages/de/tl_module.php @@ -0,0 +1,15 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +/** + * RockSolid Custom Elements tl_module translations + * + * @author Martin Auswöger + */ + +$GLOBALS['TL_LANG']['tl_module']['rsce_data'][0] = 'Element-Daten'; diff --git a/languages/en/tl_content.php b/languages/en/tl_content.php new file mode 100755 index 0000000..72e55d5 --- /dev/null +++ b/languages/en/tl_content.php @@ -0,0 +1,15 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +/** + * RockSolid Custom Elements tl_content translations + * + * @author Martin Auswöger + */ + +$GLOBALS['TL_LANG']['tl_content']['rsce_data'][0] = 'Element data'; diff --git a/languages/en/tl_module.php b/languages/en/tl_module.php new file mode 100755 index 0000000..1f1d4d9 --- /dev/null +++ b/languages/en/tl_module.php @@ -0,0 +1,15 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +/** + * RockSolid Custom Elements tl_module translations + * + * @author Martin Auswöger + */ + +$GLOBALS['TL_LANG']['tl_module']['rsce_data'][0] = 'Element data';