From 820d2a8067215681ab91a550fd4645f8a9f15bb2 Mon Sep 17 00:00:00 2001 From: David Molineus Date: Fri, 9 Jan 2015 17:50:10 +0100 Subject: [PATCH] Small ui improvements. --- module/dca/tl_leaflet_map.php | 4 ++-- module/languages/en/tl_leaflet_vector.php | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/module/dca/tl_leaflet_map.php b/module/dca/tl_leaflet_map.php index 3d0b9c1..4b5854c 100644 --- a/module/dca/tl_leaflet_map.php +++ b/module/dca/tl_leaflet_map.php @@ -27,8 +27,8 @@ $GLOBALS['TL_DCA']['tl_leaflet_map'] = array ), 'label' => array ( - 'fields' => array('title'), - 'format' => '%s' + 'fields' => array('title', 'alias'), + 'format' => '%s [%s]' ), 'global_operations' => array ( diff --git a/module/languages/en/tl_leaflet_vector.php b/module/languages/en/tl_leaflet_vector.php index 1d65f48..9f05f5d 100644 --- a/module/languages/en/tl_leaflet_vector.php +++ b/module/languages/en/tl_leaflet_vector.php @@ -31,6 +31,8 @@ $GLOBALS['TL_LANG']['tl_leaflet_vector']['type'][0] = 'Type'; $GLOBALS['TL_LANG']['tl_leaflet_vector']['type'][1] = 'Choose the vector type.'; $GLOBALS['TL_LANG']['tl_leaflet_vector']['data'][0] = 'Vector data'; $GLOBALS['TL_LANG']['tl_leaflet_vector']['data'][1] = 'Define each coordinate of the vector on a line. Each line is a comma separated value (latitude, longitude [, altitude]).'; +$GLOBALS['TL_LANG']['tl_leaflet_vector']['multiData'][0] = 'Multi data'; +$GLOBALS['TL_LANG']['tl_leaflet_vector']['multiData'][1] = 'Define coordinates of each vector in a new textarea.'; $GLOBALS['TL_LANG']['tl_leaflet_vector']['addPopup'][0] = 'Add popup'; $GLOBALS['TL_LANG']['tl_leaflet_vector']['addPopup'][1] = 'Add a popup to the vector.'; $GLOBALS['TL_LANG']['tl_leaflet_vector']['popupContent'][0] = 'Popup content'; @@ -47,3 +49,5 @@ $GLOBALS['TL_LANG']['tl_leaflet_vector']['radius'][0] = 'Radius'; $GLOBALS['TL_LANG']['tl_leaflet_vector']['radius'][1] = 'Radius of the element. For a circle its defined in meters, for a circle marker in pixels.'; $GLOBALS['TL_LANG']['tl_leaflet_vector']['bounds'][0] = 'Bounds'; $GLOBALS['TL_LANG']['tl_leaflet_vector']['bounds'][1] = 'Each field defines a corner of the bounds as comma separated value (Latitude, longitude [, altitude]).'; +$GLOBALS['TL_LANG']['tl_leaflet_vector']['style'][0] = 'Style'; +$GLOBALS['TL_LANG']['tl_leaflet_vector']['style'][1] = 'Choose a style. If none defined, the default style of leaflet is used.';