Plugin Directory

Changeset 1833277


Ignore:
Timestamp:
03/04/2018 08:05:22 PM (8 years ago)
Author:
epointal
Message:

tile, pan on mobile, minimum step

Location:
lf-hiker/trunk
Files:
7 added
7 deleted
16 edited

Legend:

Unmodified
Added
Removed
  • lf-hiker/trunk/Controller/Front.php

    r1830724 r1833277  
    7070        }
    7171        $options = Lfh_Model_Map::filter_map_data($atts);
     72     
    7273        if(self::$_lfh_map_count == 0){
    7374            //if the first map in the page/article add a div for the fade in bottom fullscreen
  • lf-hiker/trunk/Model/Map.php

    r1830724 r1833277  
    2828    public static $tiles = array(
    2929            'osm'         => array(
     30                        'label'         => 'OpenStreetMap',
    3031                        'url'           => '//{s}.tile.openstreetmap.org/{z}/{x}/{y}.png',
    3132                        'attribution'   => ' &copy; <a href="http://osm.org/copyright">OpenStreetMap</a> contributors',
     
    3435                        'need_key'      => false),
    3536            'osm_fr'      => array(
     37                        'label'         => 'OpenStreetMap FR',
    3638                        'url'           => '//{s}.tile.openstreetmap.fr/osmfr/{z}/{x}/{y}.png',
    3739                        'attribution'   => 'donn&eacute;es &copy; <a href="https://plugins.trac.wordpress.org//osm.org/copyright">OpenStreetMap</a>/ODbL - rendu <a href="https://plugins.trac.wordpress.org//openstreetmap.fr">OSM France</a>',
     
    4042                        'need_key'      => false),
    4143            'arcgis_topo' => array(
     44                        'label'         => 'Arcgis topo',
    4245                        'url'           => '//server.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer/tile/{z}/{y}/{x}',
    4346                        'attribution'   => 'Tiles © <a href="https://services.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer">ArcGIS</a>',
     
    4548                        'need_key'      => false),
    4649            'stamen_water'=> array(
     50                        'label'         => 'Stamen Water',
    4751                       // 'url'           =>  'https://{s}.tile.stamen.com/watercolor/{z}/{x}/{y}.jpg',
    4852                        'url'           => '//stamen-tiles-{s}.a.ssl.fastly.net/watercolor/{z}/{x}/{y}.jpg',
     
    164168                 'type'      => 'select',
    165169                 'label'     => __('Tiles', 'lfh'),
    166                  'default'   => 'osm',
     170                 'default'   => Lfh_Model_Option::get_option('lfh_default_tiles'),
    167171                 'list'      => self::get_valide_tiles(),
    168172                 'filter'    => FILTER_CALLBACK,
     
    172176                 'type'      => 'checkbox',
    173177                 'label'     => ucfirst(__('Open profile automaticaly' , 'lfh')),
    174                  'default'   => Lfh_Model_Option::get_option('lfh_open_profile'),
     178                 'default'   => boolval( Lfh_Model_Option::get_option('lfh_open_profile')),
    175179                 'filter'    => FILTER_VALIDATE_BOOLEAN,
    176180                 'flags'   => FILTER_NULL_ON_FAILURE
     
    214218            return null;
    215219        }
     220
    216221        $options = array(
    217222                'src'        => $src,
     
    221226                'unit'       => isset($unit)  ? $unit:  Lfh_Model_Map::is_distance_unit(),
    222227                'unit_h'     => isset($unit_h)  ? $unit_h:  Lfh_Model_Map::is_height_unit(),
    223                 'button'     => isset($button)  ? $button: Lfh_Model_Option::get_option('lfh_download_gpx')
     228                'step_min'   => isset($step_min)? $step_min: Lfh_Model_Option::get_option('lfh_step_min'),
     229                'button'     => isset($button)  ? self::to_bool($button): boolval(Lfh_Model_Option::get_option('lfh_download_gpx'))
    224230        );
    225        
     231 
    226232        $args = array(
    227233                'src'   => array(
     
    253259                        'options'   => 'Lfh_Model_Map::is_height_unit'
    254260                ),
     261                'step_min' => array(
     262                        'filter'    => FILTER_VALIDATE_INT,
     263                        'options'   => array(
     264                                'default'   => Lfh_Model_Option::get_option('lfh_step_min'),
     265                                'min_range' => 10,
     266                                'max_range' => 500 )
     267                ),
    255268                'button' => array(
    256269                        'filter'    => FILTER_VALIDATE_BOOLEAN
     
    265278        return $return;
    266279     
     280       
     281    }
     282    public static function to_bool( $var ){
     283        if( strtolower( $var) === "true" || $var === '1' || $var === 1 || $var===true){
     284            return true;
     285        }else{
     286            return false;
     287        }
    267288       
    268289    }
     
    339360        }
    340361    }
     362    public static function valid_tile($var)
     363    {
     364        if(in_array(strtolower($var), self::get_valide_tiles())){
     365            return strtolower($var);
     366        }else{
     367            return 'osm';
     368        }
     369    }
     370    private static function is_button_download( $var ){
     371       // if( )
     372       return true;
     373    }
    341374    private static function is_url( $url ){
    342375       if( (strpos( $url, '.gpx') === false && strpos($url, '.GPX') === false)){
     
    398431        return $tiles;
    399432    }
    400     private static function valid_tile($var)
    401     {
    402         if(in_array(strtolower($var), self::get_valide_tiles())){
    403             return strtolower($var);
    404         }else{
    405             return 'osm';
    406         }
    407     }
     433 
    408434    private static function is_visibility($var)
    409435    {
  • lf-hiker/trunk/Model/Option.php

    r1830724 r1833277  
    6767                $distance_units = array_keys( Lfh_Model_Map::distance_units());
    6868                $height_units = array_keys(Lfh_Model_Map::height_units());
     69                $map_tiles = Lfh_Model_Map::$tiles;
    6970            return array(
    7071                 'lfh_download_gpx' => array(
     
    8586                'lfh_number_gpx_for_checkbox'=> array(
    8687                    'type'   => 'select',
    87                     'select_options' => Lfh_Model_Option::generate_range(0,20),
     88                    'select_options' => Lfh_Model_Option::generate_range(0,20,1),
    8889                    'label'  => __('Number of gpx to display a checkbox show/hide', 'lfh'),
    8990                    'default'=> '10',
     
    99100                        'label'  => __('Display button fullscreen', 'lfh'),
    100101                        'filter' => FILTER_VALIDATE_BOOLEAN,
    101                         'helper'  => esc_html__('You can change it for one map in shortcode by using property', 'lfh'). '<code>fullscreen</code>'
     102                        'helper' => esc_html__('You can change it for one map in shortcode by using property', 'lfh'). '<code>fullscreen</code>'
     103                ),
     104                'lfh_default_tiles' => array(
     105                        'type'   => 'select',
     106                        'select_options' => $map_tiles,
     107                        'default'=> 'osm',
     108                        'label'  => __('Default map tiles', 'lfh'),
     109                        'filter' => FILTER_CALLBACK,
     110                        'options' => 'Lfh_Model_Map::valid_tile',
     111                        'helper'  => esc_html__('You can change it for one map in shortcode by using property', 'lfh'). '<code>tile</code>'
    102112                ),
    103113                'lfh_distance_unit'=> array(
     
    117127                        'options'=> 'Lfh_Model_Map::is_height_unit'
    118128                ),
     129                'lfh_step_min' => array(
     130                        'type'   => 'select',
     131                        'select_options' => Lfh_Model_Option::generate_range(10,500,10),
     132                        'label'  => __('Minimum step on elevation axis in meters ( four steps in general)', 'lfh'),
     133                        'default'=> 50,
     134                        'filter' => FILTER_VALIDATE_INT,
     135                        'options' => array(
     136                                'min_range' => 10,
     137                                'max_range' => 500),
     138                        'helper'  => esc_html__('You can change it for one gpx in shortcode by using property', 'lfh'). ' <code>step_min</code>'
     139                       
     140                )
    119141               /* 'lfh_mapquest_key' => array(
    120142                    'type'    => 'text',
     
    156178       
    157179    }
    158     private static function generate_range( $min=0, $max=20){
     180    private static function generate_range( $min=0, $max=20, $step=1){
    159181        $result = array();
    160         for( $i=$min; $i<$max+1; $i++){
     182        for( $i=$min; $i<$max+1; $i +=$step){
    161183            $result[$i] = array('label' => strval($i));
    162184        }
     
    213235       switch($tab){
    214236           case 'config_tile':
    215           Lfh_Tools_Cache::clear_cache_dir();
     237          // Lfh_Tools_Cache::clear_cache_dir();
    216238           break;
    217239           case 'custom_css':
     
    225247       if($tab == 'config_lfh'){
    226248           //delete old cache
    227           Lfh_Tools_Cache::delete_cache_dir();
     249          // Lfh_Tools_Cache::delete_cache_dir();
    228250       }
    229251       $data = self::get_defaults($tab);
     
    233255       }
    234256       if( $tab == 'config_tile'){
    235           Lfh_Tools_Cache::clear_cache_dir();
     257          // Lfh_Tools_Cache::clear_cache_dir();
    236258       }
    237259       if($tab == 'config_lfh'){
    238260           //create new cache
    239            Lfh_Tools_Cache::create_cache_dir();
     261           //Lfh_Tools_Cache::create_cache_dir();
    240262       }
    241263       
  • lf-hiker/trunk/Tools/Editor.php

    r1830724 r1833277  
    272272            $width = empty($width)? Lfh_Model_Map::$default['stroke_width'] : $width;
    273273            $value = get_post_meta($id, 'lfh_download_gpx', true);
    274             $button = $value =='' ?  Lfh_Model_Option::get_option('lfh_download_gpx'):$value;
     274            $button = empty($value) ? 'false': 'true';
    275275            $filter = '';
    276276            $filter .= '[lfh-gpx src=' . $attachment['url'] .' title="' . $attachment['post_title'] .'"';
     
    344344            update_post_meta($post['ID'], 'lfh_stroke_color', $attachment['lfh_stroke_color']);
    345345            if( isset($attachment['lfh_download_gpx']) ){
    346                 update_post_meta($post['ID'], 'lfh_download_gpx', 1);
     346                update_post_meta($post['ID'], 'lfh_download_gpx', true);
    347347            }else{
    348348                update_post_meta($post['ID'], 'lfh_download_gpx', 0);
     
    364364            update_post_meta($post_id , 'lfh_stroke_color', $meta);
    365365            if(isset( $_POST['attachments'][$post_id ]['lfh_download_gpx']) ){
    366                 update_post_meta($post_id, 'lfh_download_gpx', 1);
     366                update_post_meta($post_id, 'lfh_download_gpx', true);
    367367            }else{
    368368                update_post_meta($post_id, 'lfh_download_gpx', 0);
  • lf-hiker/trunk/css/lfh-style.css

    r1830724 r1833277  
    453453  background: grey;
    454454  text-align: center;
    455   z-index: 1000;
     455  z-index: 99999;
    456456}
    457457#lfh-fade.actived {
     
    988988  width: 280px;
    989989  float: left;
    990   height: 167px;
     990  /*  height:@height - @height_title - 2*@padding_title;*/
    991991  max-height: 167px;
    992992  vertical-align: bottom;
     
    10341034div.lfh-min div.lfh-content > div {
    10351035  width: 280px;
    1036   height: 167px;
     1036  /*  height: @height - @height_title - 2*@padding_title;*/
    10371037  max-width: 280px;
    10381038  max-height: 167px;
  • lf-hiker/trunk/css/lfh-style.less

    r1830724 r1833277  
    204204    background:grey;
    205205    text-align:center;
    206     z-index:1000;
     206    z-index:99999;
    207207}
    208208#lfh-fade.actived{
     
    646646     width:@width;
    647647     float:left;
    648      height:@height - @height_title - 2*@padding_title;
     648   /*  height:@height - @height_title - 2*@padding_title;*/
    649649     max-height:@height - @height_title - 2*@padding_title;
    650650     vertical-align: bottom;
     
    698698div.lfh-min div.lfh-content > div{
    699699    width: @width;
    700     height: @height - @height_title - 2*@padding_title;
     700   /*  height: @height - @height_title - 2*@padding_title;*/
    701701    max-width: @width;
    702702    max-height: @height - @height_title - 2*@padding_title;
  • lf-hiker/trunk/gulpfile.js

    r1830724 r1833277  
    22//there are in files readme others version numbers: for releases, tested browsers, and the most important wordpress
    33
    4 var old_version = '1.4.3';
    5 var version = '1.5.0';
     4var old_version = '1.5.1';
     5var version = '1.6.0';
    66var gulp = require('gulp');
    77var less = require('gulp-less');
  • lf-hiker/trunk/js/lfh-plugin.js

    r1830724 r1833277  
    5656 lfh.Util.step_round = function(delta)
    5757 {
     58  // console.log( 'step = ' +delta);
    5859 /**  */
    5960   var precision = Math.round( Math.log(delta)/Math.log(10) );
     61  // console.log('precision = '+ precision);
    6062   var p = Math.pow (10, precision);
    6163   var max = Math.ceil(delta / p) * p;
    62    return max/2> delta ? max/2:max;
     64  // console.log( 'max =' +max);
     65   return max/2>= delta ? max/2:max;
    6366 }
    64 
     67// var result = lfh.Util.step_round();
     68//console.log( 'step_round =' +result);
     69// var result = lfh.Util.step_round(50);
     70//console.log( 'step_round =' +result);
    6571/**
    6672 * @const lfh.ZOOM_LIMIT the zoom limit for which some markers are displayed
     
    356362                          map.scrollWheelZoom.disable();
    357363                      }
     364                     
     365                     
    358366                  }else{
    359367                      // go to fullscreen
     
    364372                      map._container.h0 = map._container.style.height;
    365373                      map._container.style.height = "100%";
     374                     // map.dragging.enable();
    366375                  }
    367376                 
     
    377386        container.appendChild(div2);
    378387        //append list window to the map
    379         var link = new lfh.Link( map, div2, 'lfh-list-' + this._index , this._selected, null, null,null);
     388        var link = new lfh.Link( map, div2, 'lfh-list-' + this._index , this._selected, null, null,null, null);
    380389       
    381390        return container;
     
    556565            _center = [d.lat, d.lng];
    557566            _zoom = Math.min(d.zoom,lfh.tiles[d.tile].max_zoom);
    558             map = L.map(_map_id);
     567            map = L.map(_map_id, { dragging: !L.Browser.mobile, tap:!L.Browser.mobile });
     568           // map = L.map(_map_id, { dragging: false });
    559569            if( !_auto_center ){
    560570                map.setView( _center, _zoom);
     
    566576                map.scrollWheelZoom.disable();
    567577            }
    568            // map.touchZoom.disable();
     578            map.touchZoom.enable();
    569579            // Add layers
    570580            _add_move_marker(_center);
     
    841851                              _move_marker,
    842852                              _data.gpx[j].unit,
    843                               _data.gpx[j].unit_h);
     853                              _data.gpx[j].unit_h,
     854                              _data.gpx[j].step_min);
    844855                 }).on('failed', function(){
    845856                      e.target.options.isLoaded = true;
     
    908919 * @param {string} unit km or milles (important only for gpx)
    909920 * @param {string} unit_h m or ft (important only for gpx)
     921 * @param {integer} step_min the difference between max and min elevation axis (important only for gpx)
    910922 * @return {object <dom, layer, id >}
    911923 */
    912 lfh.Link = function( map, layer, elem_id, selected, move, unit, unit_h){
     924lfh.Link = function( map, layer, elem_id, selected, move, unit, unit_h, step_min){
    913925   
    914926    var _id = elem_id;
     
    920932    var _unit = unit;
    921933    var _unit_h = unit_h;
     934    var _step_min = step_min;
    922935   
    923936    function _initialize(){
     
    959972                        _move_marker,
    960973                        _unit,
    961                         _unit_h);
     974                        _unit_h,
     975                        _step_min);
    962976            }
    963977        }
     
    10961110 * @param {L.Marker} move, the move_marker on polyline path
    10971111 */
    1098 lfh.Profile = function( map, layer, dom, move, unit, unit_h){
     1112lfh.Profile = function( map, layer, dom, move, unit, unit_h, step_min){
    10991113     var _unit = unit;
    11001114     var _unit_h = unit_h;
     1115     var _step_min = step_min;
    11011116     if( _unit == "km"){
    11021117        var  _coeff = 1;
     
    11291144         var _max_km = _data[ i0 ][0] / _coeff;
    11301145         var _step_h =  lfh.Util.step_round((_max - _min)/3.5);
    1131          if( _step_h < 10 / _coeff_elevation ){
    1132            
    1133              _step_h = _coeff_elevation==1? 10 : 25 ;
    1134              if(_min -5 < 0){
    1135                  _max = _coeff_elevation==1? 40 : 100 ;
    1136              }else{
    1137                  _middle = lfh.Util.step_round((_max + _min)/2);
    1138                  _max = _middle + 30;
    1139              }
     1146         if( _step_h < _step_min / ( _coeff_elevation) ){
     1147           
     1148             _step_h = lfh.Util.step_round( _step_min/(_coeff_elevation)) ;
     1149             _middle = Math.ceil((_max + _min)/2);
     1150            _max = _middle + 2* _step_h;
     1151           // _min = _middle - 2* _step_h;
     1152
    11401153         }
    11411154        var _max_h = Math.ceil( _max/_step_h)*(_step_h);
     
    11621175         }
    11631176
    1164          d += _x(_data[i0][0]) + ','+ _h(_data[i0][1]) + ' L ';
     1177         d += Math.round(_x(_data[i0][0])) + ','+ Math.round(_h(_data[i0][1])) + ' L ';
    11651178         for(var i=i0; i < ln -add ; i = i + add){
    11661179           
     
    12051218                     node.querySelector('text').textContent = "";
    12061219                 }else{
    1207                      node.querySelector('text').textContent = i * _step_x;
     1220                     var tx = 1;
     1221                     if(_step_x < 1){ tx =100;}
     1222                     node.querySelector('text').textContent = Math.round( i * _step_x * tx)/tx;
    12081223                 }
    12091224             }
    12101225   
    12111226             //if()
     1227             _track.querySelector('.lfh-gpx-min-elevation').textContent = Math.round(_gpx.get_elevation_min()/_coeff_elevation) + ' ' + lfh.HEIGHT_UNIT[_unit_h].code;
     1228             _track.querySelector('.lfh-gpx-max-elevation').textContent = Math.round(_gpx.get_elevation_max()/_coeff_elevation) + ' ' + lfh.HEIGHT_UNIT[_unit_h].code;
    12121229             _track.querySelector('.lfh-gpx-elevation-gain').textContent = Math.round(_gpx.get_elevation_gain()/_coeff_elevation) + ' ' + lfh.HEIGHT_UNIT[_unit_h].code;
    12131230             _track.querySelector('.lfh-gpx-elevation-loss').textContent =  Math.round(_gpx.get_elevation_loss()/_coeff_elevation) + ' ' + lfh.HEIGHT_UNIT[_unit_h].code;
  • lf-hiker/trunk/languages/lfh-default.po

    r1830724 r1833277  
    22msgstr ""
    33"Project-Id-Version: lfh\n"
    4 "POT-Creation-Date: 2018-02-27 16:35+0100\n"
    5 "PO-Revision-Date: 2018-02-27 16:36+0100\n"
     4"POT-Creation-Date: 2018-03-04 14:51+0100\n"
     5"PO-Revision-Date: 2018-03-04 14:52+0100\n"
    66"Last-Translator: Elisabeth Pointal <elisabeth.pointal@free.fr>\n"
    77"Language-Team: elisabeth\n"
     
    2424"hiker\\Controller\n"
    2525
    26 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:57
     26#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:61
    2727msgid "kilometer"
    2828msgstr "kilometer"
    2929
    30 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:58
     30#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:62
    3131msgid "km"
    3232msgstr "km"
    3333
    34 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:61
     34#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:65
    3535msgid "milles"
    3636msgstr "milles"
    3737
    38 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:62
     38#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:66
    3939msgid "mi"
    4040msgstr "mi"
    4141
    42 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:68
     42#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:72
    4343msgid "meter"
    4444msgstr "meter"
    4545
    46 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:69
     46#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:73
    4747msgid "m"
    4848msgstr "m"
    4949
    50 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:72
     50#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:76
    5151msgid "foot"
    5252msgstr "foot"
    5353
    54 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:73
     54#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:77
    5555msgid "ft"
    5656msgstr "ft"
    5757
    58 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:82
     58#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:86
    5959msgid "Position auto"
    6060msgstr "Position auto"
    6161
    62 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:110
     62#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:114
    6363msgid "Width"
    6464msgstr "Width"
    6565
    66 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:120
     66#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:124
    6767msgid "Height"
    6868msgstr "Height"
    6969
    70 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:138
     70#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:142
    7171msgid "Fullscreen"
    7272msgstr "Fullscreen"
    7373
    74 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:145
     74#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:149
    7575#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\views/admin/settings.phtml:93
    7676#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\views/back/editor/map-form.phtml:113
     
    7878msgstr "reset"
    7979
    80 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:152
     80#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:156
    8181#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\views/front/map.phtml:20
    8282msgid "list"
    8383msgstr "list"
    8484
    85 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:159
     85#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:163
    8686msgid "Zoom on wheel"
    8787msgstr "Zoom on wheel"
    8888
    89 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:165
     89#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:169
    9090msgid "Tiles"
    9191msgstr "Tiles"
    9292
    93 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:173
     93#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:177
    9494msgid "Open profile automaticaly"
    9595msgstr "Open profile automaticaly"
    9696
    97 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:218
     97#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:222
    9898msgid "no named gpx"
    9999msgstr "no named gpx"
    100100
    101 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:281
     101#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:301
    102102msgid "no named marker"
    103103msgstr "no named marker"
     
    111111msgstr "Units, button, tiles"
    112112
    113 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Option.php:16
    114 msgid ""
    115 "You can add tiles layers which need key here, or choose unit for distance"
    116 msgstr ""
    117 "You can add tiles layers which need key here, or choose unit for distance"
    118 
    119113#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Option.php:18
    120114msgid "General"
     
    149143msgstr "Selected path color"
    150144
    151 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Option.php:73
     145#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Option.php:74
    152146msgid "Display button download gpx"
    153147msgstr "Display button download gpx"
    154148
    155 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Option.php:75
     149#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Option.php:76
    156150msgid ""
    157151"You can change it for one gpx in shortcode by using property <code>button</"
     
    161155"code>"
    162156
    163 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Option.php:80
     157#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Option.php:81
    164158msgid "Open profile window automatically"
    165159msgstr "Open profile window automatically"
    166160
    167 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Option.php:82
    168 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Option.php:101
     161#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Option.php:83
     162#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Option.php:102
     163#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Option.php:111
    169164msgid "You can change it for one map in shortcode by using property"
    170165msgstr "You can change it for one map in shortcode by using property"
    171166
    172 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Option.php:88
     167#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Option.php:89
    173168msgid "Number of gpx to display a checkbox show/hide"
    174169msgstr "Number of gpx to display a checkbox show/hide"
    175170
    176 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Option.php:99
     171#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Option.php:100
    177172msgid "Display button fullscreen"
    178173msgstr "Display button fullscreen"
    179174
    180 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Option.php:106
     175#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Option.php:108
     176msgid "Default map tiles"
     177msgstr "Default map tiles"
     178
     179#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Option.php:116
    181180msgid "Default distance unit"
    182181msgstr "Default distance unit"
    183182
    184 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Option.php:114
     183#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Option.php:124
    185184msgid "Default height unit"
    186185msgstr "Default height unit"
    187186
    188 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Option.php:121
    189 msgid "Mapquest key"
    190 msgstr "Mapquest key"
    191 
    192 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Option.php:126
    193 msgid "This option is deactived (mapquest using deprecated method)."
    194 msgstr "This option is deactived (mapquest using deprecated method)."
    195 
    196 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Option.php:126
    197 msgid "If you want MapQuest, you must provide an app key."
    198 msgstr "If you want MapQuest, you must provide an app key."
    199 
    200 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Option.php:128
    201 msgid "Sign up"
    202 msgstr "Sign up"
    203 
    204 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Option.php:129
    205 msgid "then"
    206 msgstr "then"
    207 
    208 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Option.php:130
    209 msgid "Create a new app"
    210 msgstr "Create a new app"
    211 
    212 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Option.php:131
    213 msgid "then supply the &laquo;Consumer Key&raquo; here."
    214 msgstr "then supply the &laquo;Consumer Key&raquo; here."
    215 
    216 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Option.php:142
    217 msgid "Cache dir"
    218 msgstr "Cache dir"
    219 
    220 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Option.php:181
     187#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Option.php:132
     188msgid "Minimum step on elevation axis in meters ( four steps in general)"
     189msgstr "Minimum step on elevation axis in meters ( four steps in general)"
     190
     191#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Option.php:138
     192msgid "You can change it for one gpx in shortcode by using property"
     193msgstr "You can change it for one gpx in shortcode by using property"
     194
     195#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Option.php:204
    221196msgid "Failed to create a new cache"
    222197msgstr "Failed to create a new cache"
    223198
    224 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Option.php:221
     199#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Option.php:244
    225200msgid "data updated"
    226201msgstr "data updated"
    227202
    228 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Option.php:241
     203#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Option.php:264
    229204msgid "data reseted"
    230205msgstr "data reseted"
     
    392367#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\views/back/editor/add-marker.phtml:80
    393368#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\views/front/marker.phtml:37
    394 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\views/front/track.phtml:109
     369#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\views/front/track.phtml:117
    395370msgid "description"
    396371msgstr "description"
     
    405380
    406381#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\views/back/about-page.phtml:58
    407 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\views/front/track.phtml:95
     382#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\views/front/track.phtml:103
    408383msgid "elevation loss"
    409384msgstr "elevation loss"
    410385
    411386#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\views/back/about-page.phtml:59
    412 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\views/front/track.phtml:91
     387#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\views/front/track.phtml:99
    413388msgid "elevation gain"
    414389msgstr "elevation gain"
     
    530505#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\views/front/track.phtml:92
    531506#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\views/front/track.phtml:96
    532 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\views/front/track.phtml:99
     507#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\views/front/track.phtml:100
     508#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\views/front/track.phtml:104
     509#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\views/front/track.phtml:107
    533510msgid "no data"
    534511msgstr "no data"
    535512
    536 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\views/front/track.phtml:98
     513#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\views/front/track.phtml:91
     514msgid "minimum elevation"
     515msgstr "minimum elevation"
     516
     517#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\views/front/track.phtml:95
     518msgid "maximum elevation"
     519msgstr "maximum elevation"
     520
     521#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\views/front/track.phtml:106
    537522msgid "duration"
    538523msgstr "duration"
    539524
     525#~ msgid ""
     526#~ "You can add tiles layers which need key here, or choose unit for distance"
     527#~ msgstr ""
     528#~ "You can add tiles layers which need key here, or choose unit for distance"
     529
     530#~ msgid "Mapquest key"
     531#~ msgstr "Mapquest key"
     532
     533#~ msgid "This option is deactived (mapquest using deprecated method)."
     534#~ msgstr "This option is deactived (mapquest using deprecated method)."
     535
     536#~ msgid "If you want MapQuest, you must provide an app key."
     537#~ msgstr "If you want MapQuest, you must provide an app key."
     538
     539#~ msgid "Sign up"
     540#~ msgstr "Sign up"
     541
     542#~ msgid "then"
     543#~ msgstr "then"
     544
     545#~ msgid "Create a new app"
     546#~ msgstr "Create a new app"
     547
     548#~ msgid "then supply the &laquo;Consumer Key&raquo; here."
     549#~ msgstr "then supply the &laquo;Consumer Key&raquo; here."
     550
     551#~ msgid "Cache dir"
     552#~ msgstr "Cache dir"
     553
    540554#~ msgid "Config  Map"
    541555#~ msgstr "Config  Map"
  • lf-hiker/trunk/languages/lfh-fr_FR.po

    r1830724 r1833277  
    22msgstr ""
    33"Project-Id-Version: lfh\n"
    4 "POT-Creation-Date: 2018-02-27 16:34+0100\n"
    5 "PO-Revision-Date: 2018-02-27 16:35+0100\n"
     4"POT-Creation-Date: 2018-03-04 14:52+0100\n"
     5"PO-Revision-Date: 2018-03-04 14:52+0100\n"
    66"Last-Translator: Elisabeth Pointal <elisabeth.pointal@free.fr>\n"
    77"Language-Team: elisabeth\n"
     
    121121msgstr "Votre configuration a &eacute;t&eacute; mise &agrave; jour"
    122122
    123 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:57
     123#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:61
    124124msgid "kilometer"
    125125msgstr "kilom&egrave;tre"
    126126
    127 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:58
     127#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:62
    128128msgid "km"
    129129msgstr "km"
    130130
    131 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:61
     131#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:65
    132132msgid "milles"
    133133msgstr "milles"
    134134
    135 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:62
     135#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:66
    136136msgid "mi"
    137137msgstr "mi"
    138138
    139 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:68
     139#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:72
    140140msgid "meter"
    141141msgstr "m&egrave;tre"
    142142
    143 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:69
     143#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:73
    144144msgid "m"
    145145msgstr "m"
    146146
    147 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:72
     147#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:76
    148148msgid "foot"
    149149msgstr "pied"
    150150
    151 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:73
     151#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:77
    152152msgid "ft"
    153153msgstr "ft"
    154154
    155 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:82
     155#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:86
    156156msgid "Position auto"
    157157msgstr "Position auto"
    158158
    159 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:110
     159#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:114
    160160msgid "Width"
    161161msgstr "Largeur"
    162162
    163 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:120
     163#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:124
    164164msgid "Height"
    165165msgstr "Hauteur"
    166166
    167 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:138
     167#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:142
    168168msgid "Fullscreen"
    169169msgstr "Plein &eacute;cran"
    170170
    171 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:145
     171#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:149
    172172#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\views/admin/settings.phtml:93
    173173#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\views/back/editor/map-form.phtml:113
     
    177177msgstr "initialiser"
    178178
    179 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:152
     179#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:156
    180180#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\views/front/map.phtml:20
    181181#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\views\front/map.phtml:20
     
    183183msgstr "liste"
    184184
    185 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:159
     185#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:163
    186186msgid "Zoom on wheel"
    187187msgstr "Zoom sur la mollette"
    188188
    189 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:165
     189#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:169
    190190msgid "Tiles"
    191191msgstr "Tuiles"
    192192
    193 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:173
     193#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:177
    194194msgid "Open profile automaticaly"
    195195msgstr "Ouvrir le profile automatiquemement"
    196196
    197 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:218
     197#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:222
    198198msgid "no named gpx"
    199199msgstr "gpx sans nom"
    200200
    201 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:281
     201#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Map.php:301
    202202msgid "no named marker"
    203203msgstr "marqueur sans nom"
     
    211211msgstr "Unit&eacute;s, bouton, tuiles"
    212212
    213 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Option.php:16
    214 msgid ""
    215 "You can add tiles layers which need key here, or choose unit for distance"
    216 msgstr ""
    217 "Vous pouvez ajouter les fonds de cartes qui demandent une cl&eacute; ici, ou "
    218 "choisir une unit&eacute; de distance."
    219 
    220213#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Option.php:18
    221214msgid "General"
     
    250243msgstr "Couleur du chemin s&eacute;lectionn&eacute;"
    251244
    252 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Option.php:73
     245#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Option.php:74
    253246msgid "Display button download gpx"
    254247msgstr "Afficher le bouton t&eacute;l&eacute;charger gpx"
    255248
    256 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Option.php:75
     249#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Option.php:76
    257250msgid ""
    258251"You can change it for one gpx in shortcode by using property <code>button</"
     
    262255"la propri&eacute;t&eacute; <code>button</code>"
    263256
    264 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Option.php:80
     257#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Option.php:81
    265258msgid "Open profile window automatically"
    266259msgstr "Ouvrir le profile automatiquement"
    267260
    268 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Option.php:82
    269 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Option.php:101
     261#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Option.php:83
     262#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Option.php:102
     263#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Option.php:111
    270264msgid "You can change it for one map in shortcode by using property"
    271265msgstr ""
     
    273267"propri&eacute;t&eacute; "
    274268
    275 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Option.php:88
     269#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Option.php:89
    276270msgid "Number of gpx to display a checkbox show/hide"
    277271msgstr "Nombre de gpx pour afficher une case &agrave; cocher montrer/cacher"
    278272
    279 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Option.php:99
     273#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Option.php:100
    280274msgid "Display button fullscreen"
    281275msgstr "Afficher le bouton plein &eacute;cran"
    282276
    283 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Option.php:106
     277#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Option.php:108
     278msgid "Default map tiles"
     279msgstr "Fond de carte par d&eacute;faut"
     280
     281#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Option.php:116
    284282msgid "Default distance unit"
    285283msgstr "Unit&eacute; de distance (d&eacute;faut)"
    286284
    287 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Option.php:114
     285#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Option.php:124
    288286msgid "Default height unit"
    289287msgstr "Unit&eacute; de hauteur (d&eacute;faut)"
    290288
    291 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Option.php:121
    292 msgid "Mapquest key"
    293 msgstr "La cl&eacute; MapQuest"
    294 
    295 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Option.php:126
    296 msgid "This option is deactived (mapquest using deprecated method)."
    297 msgstr "Cette option est d&eacute;sactiv&eacute;e ( fatale issue )"
    298 
    299 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Option.php:126
    300 msgid "If you want MapQuest, you must provide an app key."
    301 msgstr ""
    302 "Si vous souhaitez utiliser MapQuest, vous devez fournie une cl&eacute;."
    303 
    304 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Option.php:128
    305 msgid "Sign up"
    306 msgstr "S&rsquo;inscrire"
    307 
    308 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Option.php:129
    309 msgid "then"
    310 msgstr "alors"
    311 
    312 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Option.php:130
    313 msgid "Create a new app"
    314 msgstr "Cr&eacute;er une nouvelle application"
    315 
    316 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Option.php:131
    317 msgid "then supply the &laquo;Consumer Key&raquo; here."
    318 msgstr "ensuite entrer votre cl&acute; "
    319 
    320 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Option.php:142
    321 msgid "Cache dir"
    322 msgstr "Dossier du cache"
    323 
    324 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Option.php:181
     289#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Option.php:132
     290msgid "Minimum step on elevation axis in meters ( four steps in general)"
     291msgstr ""
     292"Pas minimum sur l&prime;axe des altitudes en m&egrave;tres ( 4 pas en "
     293"g&eacute;n&eacute;ral)"
     294
     295#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Option.php:138
     296msgid "You can change it for one gpx in shortcode by using property"
     297msgstr ""
     298"Vous pouvez le modifier pour un gpx dans le shortcode en utilisant la "
     299"propri&eacute;t&eacute; "
     300
     301#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Option.php:204
    325302msgid "Failed to create a new cache"
    326303msgstr "&Eacute;chec lors de la cr&eacute;ation du cache"
    327304
    328 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Option.php:221
     305#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Option.php:244
    329306msgid "data updated"
    330307msgstr "donn&eacute;es mises &agrave; jour"
    331308
    332 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Option.php:241
     309#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\Model/Option.php:264
    333310msgid "data reseted"
    334311msgstr "Donn&eacute;es initialis&eacute;es"
     
    440417#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\views/back/editor/add-marker.phtml:80
    441418#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\views/front/marker.phtml:37
    442 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\views/front/track.phtml:109
     419#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\views/front/track.phtml:117
    443420#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\views\front/marker.phtml:37
    444 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\views\front/track.phtml:109
     421#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\views\front/track.phtml:117
    445422#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\views\back/about-page.phtml:55
    446423#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\views\back/editor/add-marker.phtml:80
     
    459436
    460437#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\views/back/about-page.phtml:58
    461 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\views/front/track.phtml:95
    462 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\views\front/track.phtml:95
     438#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\views/front/track.phtml:103
     439#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\views\front/track.phtml:103
    463440#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\views\back/about-page.phtml:58
    464441msgid "elevation loss"
     
    466443
    467444#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\views/back/about-page.phtml:59
    468 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\views/front/track.phtml:91
    469 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\views\front/track.phtml:91
     445#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\views/front/track.phtml:99
     446#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\views\front/track.phtml:99
    470447#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\views\back/about-page.phtml:59
    471448msgid "elevation gain"
     
    626603#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\views/front/track.phtml:92
    627604#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\views/front/track.phtml:96
    628 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\views/front/track.phtml:99
     605#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\views/front/track.phtml:100
     606#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\views/front/track.phtml:104
     607#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\views/front/track.phtml:107
    629608#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\views\front/track.phtml:84
    630609#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\views\front/track.phtml:88
    631610#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\views\front/track.phtml:92
    632611#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\views\front/track.phtml:96
    633 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\views\front/track.phtml:99
     612#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\views\front/track.phtml:100
     613#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\views\front/track.phtml:104
     614#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\views\front/track.phtml:107
    634615msgid "no data"
    635616msgstr "aucune donn&eacute;e"
    636617
    637 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\views/front/track.phtml:98
    638 #: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\views\front/track.phtml:98
     618#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\views/front/track.phtml:91
     619#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\views\front/track.phtml:91
     620msgid "minimum elevation"
     621msgstr "altitude minimum"
     622
     623#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\views/front/track.phtml:95
     624#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\views\front/track.phtml:95
     625msgid "maximum elevation"
     626msgstr "altitude maximum"
     627
     628#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\views/front/track.phtml:106
     629#: C:\wamp\www\rancs\blog\wp-content\plugins\lf-hiker\views\front/track.phtml:106
    639630msgid "duration"
    640631msgstr "dur&eacute;e"
    641632
     633#~ msgid ""
     634#~ "You can add tiles layers which need key here, or choose unit for distance"
     635#~ msgstr ""
     636#~ "Vous pouvez ajouter les fonds de cartes qui demandent une cl&eacute; ici, "
     637#~ "ou choisir une unit&eacute; de distance."
     638
     639#~ msgid "Mapquest key"
     640#~ msgstr "La cl&eacute; MapQuest"
     641
     642#~ msgid "This option is deactived (mapquest using deprecated method)."
     643#~ msgstr "Cette option est d&eacute;sactiv&eacute;e ( fatale issue )"
     644
     645#~ msgid "If you want MapQuest, you must provide an app key."
     646#~ msgstr ""
     647#~ "Si vous souhaitez utiliser MapQuest, vous devez fournie une cl&eacute;."
     648
     649#~ msgid "Sign up"
     650#~ msgstr "S&rsquo;inscrire"
     651
     652#~ msgid "then"
     653#~ msgstr "alors"
     654
     655#~ msgid "Create a new app"
     656#~ msgstr "Cr&eacute;er une nouvelle application"
     657
     658#~ msgid "then supply the &laquo;Consumer Key&raquo; here."
     659#~ msgstr "ensuite entrer votre cl&acute; "
     660
     661#~ msgid "Cache dir"
     662#~ msgstr "Dossier du cache"
     663
    642664#~ msgid "Config  Map"
    643665#~ msgstr "Carte"
  • lf-hiker/trunk/lf-hiker.php

    r1830724 r1833277  
    66    Author: epointal
    77    Author URI: http://elisabeth.pointal.org/
    8     Version: 1.5.0
     8    Version: 1.6.0
    99    License: GPL2
    1010    Text domain: lfh
     
    1616class Lf_Hiker_Plugin
    1717{
    18     const VERSION = '1.5.0';
     18    const VERSION = '1.6.0';
    1919   
    2020    private static $_controller;
  • lf-hiker/trunk/package.json

    r1830724 r1833277  
    11{
    22  "name": "lf-hiker",
    3   "version": "1.4.3",
     3  "version": "1.6.0",
    44  "description": "plugin for wordpress for display track with profil elevation",
    55  "main": "index.js",
  • lf-hiker/trunk/readme.txt

    r1830724 r1833277  
    77Tested up to: 4.9 
    88Stable tag: 1.0 
    9 Version: 1.5.0
     9Version: 1.6.0
    1010License: GPLv2 or later 
    1111License URI: http://www.gnu.org/licenses/gpl-2.0.html 
     
    3232 * interactive **profile elevation**  according to path
    3333 * distance of the track
     34 * maximum elevation
     35 * minimum elevation
    3436 * elevation loss
    3537 * elevation gain
     
    5153 * stroke color
    5254 * stroke width
    53  * distance unit
    54  * elevation unit
    55  * display button download gpx file
     55 * display button download gpx file   
     56 And only in shortcode:
     57* the elevation unit
     58* the distance unit
     59* the minimum step on elevation axis (in meter)
    5660
    5761
     
    130134
    131135== Changelog ==
     136= 1.6.0 =
     137 * Ability to choose the default map tiles
     138 * Display minimum elevation under profile
     139 * Display maximum elevation under profile
     140 * Add parameter step_min for gpx profile elevation
     141 * Ability to choose the default step_min for elevation step in settings
     142 * Disable map pan with one finger
     143 * Fixed: path and marker button too high in little view
     144 
    132145= 1.5.0 =
    133146 * Ability to start with profile elevation displayed
  • lf-hiker/trunk/views/front/track.phtml

    r1830724 r1833277  
    8888                            <span class="lfh-gpx-distance"><em><?=ucfirst(__('no data', 'lfh'))?></em></span>
    8989                        </div>
     90                         <div>
     91                            <span><?=ucfirst(__('minimum elevation', 'lfh'))?>: </span>
     92                            <span  class="lfh-gpx-min-elevation" ><em><?=ucfirst(__('no data', 'lfh'))?></em></span>
     93                        </div>
     94                         <div>
     95                            <span><?=ucfirst(__('maximum elevation', 'lfh'))?>: </span>
     96                            <span  class="lfh-gpx-max-elevation" ><em><?=ucfirst(__('no data', 'lfh'))?></em></span>
     97                        </div>
    9098                        <div>
    9199                            <span><?=ucfirst(__('elevation gain', 'lfh'))?>: </span>
Note: See TracChangeset for help on using the changeset viewer.