mirror of
https://github.com/netzmacht/contao-leaflet-maps.git
synced 2025-11-29 03:24:37 +01:00
Add translations.
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
<?php
|
||||
|
||||
\Controller::loadLanguageFile('leaflet');
|
||||
|
||||
$GLOBALS['TL_DCA']['tl_leaflet_layer'] = array
|
||||
(
|
||||
'config' => array(
|
||||
@@ -189,6 +191,7 @@ $GLOBALS['TL_DCA']['tl_leaflet_layer'] = array
|
||||
'includeBlankOption' => true,
|
||||
'submitOnChange' => true,
|
||||
'chosen' => true,
|
||||
'helpwizard' => true,
|
||||
),
|
||||
'options' => array_keys($GLOBALS['LEAFLET_LAYERS']),
|
||||
'reference' => &$GLOBALS['TL_LANG']['leaflet_layer'],
|
||||
|
||||
Reference in New Issue
Block a user