Translations.

This commit is contained in:
David Molineus
2015-01-07 09:32:47 +01:00
parent df7b8d3c94
commit da46294a73
3 changed files with 12 additions and 4 deletions

View File

@@ -107,7 +107,7 @@ $GLOBALS['TL_DCA']['tl_leaflet_icon'] = array
'iconRetinaImage',
'iconAnchor',
'popupAnchor',
'iconClassName',
'className',
),
'shadow' => array(
'shadowImage',
@@ -280,8 +280,8 @@ $GLOBALS['TL_DCA']['tl_leaflet_icon'] = array
'label' => &$GLOBALS['TL_LANG']['tl_leaflet_icon']['className'],
'exclude' => true,
'inputType' => 'text',
'eval' => array('mandatory' => false, 'maxlength' => 255, 'tl_class' => 'w50'),
'sql' => "varchar(255) NOT NULL default ''"
'eval' => array('mandatory' => false, 'maxlength' => 64, 'tl_class' => 'w50'),
'sql' => "varchar(64) NOT NULL default ''"
),
),
);

View File

@@ -1,4 +1,10 @@
<?php
$GLOBALS['TL_LANG']['MOD']['leaflet'][0] = 'Leaflet maps';
$GLOBALS['TL_LANG']['MOD']['leaflet'][0] = 'Leaflet Maps';
$GLOBALS['TL_LANG']['MOD']['leaflet'][1] = 'Manage Leaflet maps';
$GLOBALS['TL_LANG']['MOD']['tl_leaflet_map'] = 'Maps';
$GLOBALS['TL_LANG']['MOD']['tl_leaflet_layer'] = 'Layers';
$GLOBALS['TL_LANG']['MOD']['tl_leaflet_icon'] = 'Icons';
$GLOBALS['TL_LANG']['MOD']['tl_leaflet_marker'] = 'Markers';
$GLOBALS['TL_LANG']['MOD']['tl_leaflet_control'] = 'Controls';

View File

@@ -27,3 +27,5 @@ $GLOBALS['TL_LANG']['tl_leaflet_icon']['shadowAnchor'][0] = 'Shadow anchor'
$GLOBALS['TL_LANG']['tl_leaflet_icon']['shadowAnchor'][1] = 'The coordinates of the "tip" of the shadow (relative to its top left corner) (the same as iconAnchor if not specified).';
$GLOBALS['TL_LANG']['tl_leaflet_icon']['active'][0] = 'Activate the icon';
$GLOBALS['TL_LANG']['tl_leaflet_icon']['active'][1] = 'Activate the icon.';
$GLOBALS['TL_LANG']['tl_leaflet_icon']['className'][0] = 'Class name';
$GLOBALS['TL_LANG']['tl_leaflet_icon']['className'][1] = 'A custom class name to assign to both icon and shadow images. Empty by default.';