Migration from highcharts to chartjs

This commit is contained in:
bastianonm 2018-03-09 09:02:25 +00:00
parent 38451e9397
commit a42f2091c6
19 changed files with 2502 additions and 2484 deletions

View File

@ -2,9 +2,9 @@
Plugin Name: WP-GPX-Maps
Plugin URI: http://www.devfarm.it/
Description: Draws a gpx track with altitude graph
Version: 1.3.15
Version: 1.5.00
Author: Bastianon Massimo
Author URI: http://www.pedemontanadelgrappa.it/
Author URI: http://www.devfarm.it/
*/
(function ( $ ) {
@ -125,6 +125,8 @@ Author URI: http://www.pedemontanadelgrappa.it/
var ThunderforestApiKey = params.TFApiKey;
var hasThunderforestApiKey = (ThunderforestApiKey + '').length > 0;
var _formats=[];
// Unit of measure settings
var l_s;
@ -638,20 +640,32 @@ Author URI: http://www.pedemontanadelgrappa.it/
{
marker.setPosition(event.latLng);
marker.setTitle(lng.currentPosition);
if (hchart)
if (myChart)
{
var tooltip = hchart.tooltip;
var l1 = event.latLng.lat();
var l2 = event.latLng.lng();
var ci = getClosestIndex(mapData,l1,l2);
var items = [];
var seriesLen = hchart.series.length;
var activeElements = [];
var seriesLen = myChart.data.datasets.length;
for(var i=0; i<seriesLen;i++)
{
items.push(hchart.series[i].data[ci]);
activeElements.push(myChart.chart.getDatasetMeta(i).data[ci]);
}
if (items.length > 0)
tooltip.refresh(items);
if (activeElements.length > 0)
{
myChart.options.customLine.x = activeElements[0]._model.x;
if (isNaN(myChart.tooltip._eventPosition))
{
myChart.tooltip._eventPosition = {
x: activeElements[0]._model.x,
y: activeElements[0]._model.y
};
}
myChart.tooltip._active = activeElements;
myChart.tooltip.update(true);
myChart.draw();
}
}
}
});
@ -707,15 +721,14 @@ Author URI: http://www.pedemontanadelgrappa.it/
});
var graphh = jQuery('#hchart_' + params.targetId).css("height");
var graphh = jQuery('#myChart_' + params.targetId).css("height");
if (graphDist != '' && (graphEle != '' || graphSpeed != '' || graphHr != '' || graphAtemp != '' || graphCad != '') && graphh != "0px")
{
var valLen = graphDist.length;
var l_y_arr = [];
if (unit=="1")
{
l_x = { suf : "mi", dec : 1 };
@ -761,8 +774,94 @@ Author URI: http://www.pedemontanadelgrappa.it/
// define the options
var hoptions = {
chart: {
renderTo: 'hchart_' + params.targetId,
type: 'line',
data: {
datasets: [],
},
options: {
customLine: {
color: 'gray'
},
scales: {
yAxes: [],
            xAxes: [{
                type: 'linear',
ticks: {
suggestedMin: 0,
max: graphDist[graphDist.length-1],
// Include a dollar sign in the ticks
callback: function(value, index, values) {
var fpt = _formats[0];
return Math.round(value, fpt.dec) + fpt.suf;
}
}
            }]
},
tooltips: {
position: 'nearest',
mode: 'index',
intersect: true,
callbacks : {
title: function(tooltipItems, data) {
//Return value for title
var fpt = _formats[0];
return Math.round(tooltipItems[0].xLabel, fpt.dec) + fpt.suf;;
},
label : function(tooltipItem, data) {
// format list values
var label = data.datasets[tooltipItem.datasetIndex].label || '';
var fpt = _formats[tooltipItem.datasetIndex];
if (label) {
label += ': ';
}
label += Math.round(tooltipItem.yLabel, fpt.dec) + fpt.suf;
return label;
},
footer : function(tooltipItem){
// move the point in map
var i = tooltipItem[0].index;
if (marker)
{
var point = getItemFromArray(mapData,i)
if (point)
{
marker.setPosition(new google.maps.LatLng(point[0],point[1]));
}
marker.setTitle(lng.currentPosition);
}
}
}
},
},
plugins: [{
beforeEvent: function(chart, e) {
if ((e.type === 'mousemove')
&& (e.x >= e.chart.chartArea.left)
&& (e.x <= e.chart.chartArea.right)
) {
chart.options.customLine.x = e.x;
}
},
afterDraw: function(chart, easing) {
var ctx = chart.chart.ctx;
var chartArea = chart.chartArea;
var x = chart.options.customLine.x;
if (!isNaN(x)) {
ctx.save();
ctx.strokeStyle = chart.options.customLine.color;
ctx.moveTo(chart.options.customLine.x, chartArea.bottom);
ctx.lineTo(chart.options.customLine.x, chartArea.top);
ctx.stroke();
ctx.restore();
}
}
}],
labels : graphDist,
oldchart: {
renderTo: 'myChart_' + params.targetId,
type: 'area',
events: {
selection: function(event) {
@ -816,107 +915,23 @@ Author URI: http://www.pedemontanadelgrappa.it/
},
zoomType: 'x'
},
title: {
text: null
},
xAxis: {
type: 'integer',
//gridLineWidth: 1,
//tickInterval: 1000,
labels: {
formatter: function() {
return Highcharts.numberFormat(this.value, l_x.dec,decPoint,thousandsSep) + l_x.suf;
}
}
},
yAxis: [],
legend: {
align: 'center',
verticalAlign: 'top',
y: -5,
floating: true,
borderWidth: 0
},
tooltip: {
shared: true,
crosshairs: true,
formatter: function() {
if (marker)
{
var hchart_xserie = hchart.xAxis[0].series[0].data;
for(var i=0; i<hchart_xserie.length;i++){
var item = hchart_xserie[i];
if(item.x == this.x)
{
var point = getItemFromArray(mapData,i)
if (point)
{
marker.setPosition(new google.maps.LatLng(point[0],point[1]));
}
marker.setTitle(lng.currentPosition);
i+=10000000;
}
}
}
var tooltip = "<b>" + Highcharts.numberFormat(this.x, l_x.dec,decPoint,thousandsSep) + l_x.suf + "</b><br />";
for (i=0; i < this.points.length; i++)
{
tooltip += this.points[i].series.name + ": " + Highcharts.numberFormat(this.points[i].y, l_y_arr[i].dec,decPoint,thousandsSep) + l_y_arr[i].suf + "<br />";
}
return tooltip;
}
},
plotOptions: {
area: {
fillOpacity: 0.1,
connectNulls : true,
marker: {
enabled: false,
symbol: 'circle',
radius: 2,
states: {
hover: {
enabled: true
}
}
}
}
},
credits: {
enabled: false
},
series: []
};
if (graphEle != '')
{
var eleData = [];
var myelemin = 99999;
var myelemax = -99999;
for (i=0; i<valLen; i++)
{
if (graphDist[i] != null)
{
var _graphEle = graphEle[i];
eleData.push([graphDist[i],_graphEle]);
if (_graphEle > myelemax)
myelemax = _graphEle;
if (_graphEle < myelemin)
myelemin = _graphEle;
}
}
var myData = mergeArrayForChart(graphDist, graphEle);
var yaxe = {
title: { text: null },
labels: {
align: 'left',
formatter: function() {
return Highcharts.numberFormat(this.value, l_y.dec,decPoint,thousandsSep) + l_y.suf;
var yaxe = {
type: 'linear',
ticks: {
// Include a dollar sign in the ticks
callback: function(value, index, values) {
return Math.round(value, l_y.dec) + l_y.suf;
}
}
}
},
id: "y-axis-" + (hoptions.options.scales.yAxes.length + 1),
};
if ( chartFrom1 != '' )
{
@ -924,7 +939,7 @@ Author URI: http://www.pedemontanadelgrappa.it/
yaxe.startOnTick = false;
}
else {
yaxe.min = myelemin;
yaxe.min = myData.Min;
}
if ( chartTo1 != '' )
@ -933,24 +948,19 @@ Author URI: http://www.pedemontanadelgrappa.it/
yaxe.endOnTick = false;
}
else {
yaxe.max = myelemax;
yaxe.max = myData.Max;
}
hoptions.yAxis.push(yaxe);
hoptions.series.push({
name: lng.altitude,
lineWidth: 1,
marker: { radius: 0 },
data : eleData,
color: color2,
yAxis: hoptions.series.length
});
l_y_arr.push(l_y);
_formats.push(l_y)
hoptions.options.scales.yAxes.push(yaxe);
hoptions.data.datasets.push( getDataset(lng.altitude, myData.Items, color2, yaxe.id ));
}
if (graphSpeed != '') {
if (unitspeed == '6') /* min/100m */ { l_s = { suf : "min/100m", dec : 2 }; }
if (graphSpeed != '') {
if (unitspeed == '6') /* min/100m */
{
l_s = { suf : "min/100m", dec : 2 };
}
else if (unitspeed == '5') /* knots */
{
l_s = { suf : "knots", dec : 2 };
@ -976,222 +986,221 @@ Author URI: http://www.pedemontanadelgrappa.it/
l_s = { suf : "m/s", dec : 0 };
}
var speedData = [];
for (i=0; i<valLen; i++)
{
if (graphDist[i] != null)
speedData.push([graphDist[i],graphSpeed[i]]);
}
var myData = mergeArrayForChart(graphDist, graphSpeed);
var yaxe = {
title: { text: null },
labels: {
//align: 'right',
formatter: function() {
return Highcharts.numberFormat(this.value, l_s.dec,decPoint,thousandsSep) + l_s.suf;
type: 'linear',
ticks: {
// Include a dollar sign in the ticks
callback: function(value, index, values) {
return Math.round(value, l_s.dec) + l_s.suf;
}
},
opposite: true
}
position: 'right',
scalePositionLeft: false,
id: "y-axis-" + (hoptions.options.scales.yAxes.length + 1),
};
if ( chartFrom2 != '' )
{
yaxe.min = chartFrom2;
yaxe.startOnTick = false;
}
else {
yaxe.min = myData.Min;
}
if ( chartTo2 != '' )
{
yaxe.max = chartTo2;
yaxe.endOnTick = false;
}
hoptions.yAxis.push(yaxe);
hoptions.series.push({
name: lng.speed,
lineWidth: 1,
marker: { radius: 0 },
data : speedData,
color: color3,
yAxis: hoptions.series.length
});
else {
yaxe.max = myData.Max;
}
l_y_arr.push(l_s);
_formats.push(l_s);
hoptions.options.scales.yAxes.push(yaxe);
hoptions.data.datasets.push( getDataset(lng.speed, myData.Items, color3, yaxe.id ) );
}
if (graphHr != '')
{
var hrData = [];
for (i=0; i<valLen; i++)
{
if (graphDist[i] != null)
{
var c = graphHr[i];
if (c==0)
c = null;
hrData.push([graphDist[i],c]);
}
}
var myData = mergeArrayForChart(graphDist, graphHr);
var yaxe = {
title: { text: null },
labels: {
//align: 'right',
formatter: function() {
return Highcharts.numberFormat(this.value, l_hr.dec,decPoint,thousandsSep) + l_hr.suf;
var yaxe = {
type: 'linear',
ticks: {
// Include a dollar sign in the ticks
callback: function(value, index, values) {
return Math.round(value, l_hr.dec) + l_hr.suf;
}
},
opposite: true
}
position: 'right',
scalePositionLeft: false,
id: "y-axis-" + (hoptions.options.scales.yAxes.length + 1),
};
hoptions.yAxis.push(yaxe);
hoptions.series.push({
name: lng.heartRate,
lineWidth: 1,
marker: { radius: 0 },
data : hrData,
color: color4,
yAxis: hoptions.series.length
});
l_y_arr.push(l_hr);
hoptions.options.scales.yAxes.push(yaxe);
hoptions.data.datasets.push( getDataset(lng.heartRate, myData.Items, color4, yaxe.id ) );
_formats.push(l_hr);
}
if (graphAtemp != '')
{
var atempData = [];
for (i=0; i<valLen; i++)
{
if (graphDist[i] != null)
{
var c = graphAtemp[i];
if (c==0)
c = null;
atempData.push([graphDist[i],c]);
}
}
var myData = mergeArrayForChart(graphDist, graphAtemp);
var yaxe = {
title: { text: null },
labels: {
//align: 'right',
formatter: function() {
return Highcharts.numberFormat(this.value, 1, decPoint,thousandsSep) + " °C";
var yaxe = {
type: 'linear',
ticks: {
// Include a dollar sign in the ticks
callback: function(value, index, values) {
return Math.round(value, 1) + "°C";
}
},
opposite: true
}
hoptions.yAxis.push(yaxe);
hoptions.series.push({
name: lng.atemp,
lineWidth: 1,
marker: { radius: 0 },
data : atempData,
color: color7,
yAxis: hoptions.series.length
});
position: 'right',
scalePositionLeft: false,
id: "y-axis-" + (hoptions.options.scales.yAxes.length + 1),
};
hoptions.options.scales.yAxes.push(yaxe);
hoptions.data.datasets.push( getDataset(lng.atemp, myData,Items, color7, yaxe.id ) );
_formats.push({ suf : "°C", dec : 1 });
l_y_arr.push({ suf : "°C", dec : 1 });
}
if (graphCad != '')
{
var cadData = [];
for (i=0; i<valLen; i++)
{
if (graphDist[i] != null)
{
var c = graphCad[i];
if (c==0)
c = null;
cadData.push([graphDist[i],c]);
}
}
var yaxe = {
title: { text: null },
labels: {
//align: 'right',
formatter: function() {
return Highcharts.numberFormat(this.value, l_cad.dec,decPoint,thousandsSep) + l_cad.suf;
var myData = mergeArrayForChart(graphDist, graphCad, true);
var yaxe = {
type: 'linear',
ticks: {
// Include a dollar sign in the ticks
callback: function(value, index, values) {
return Math.round(value, l_cad.dec) + l_cad.suf;
}
},
opposite: true
}
position: 'right',
scalePositionLeft: false,
id: "y-axis-" + (hoptions.options.scales.yAxes.length + 1),
};
hoptions.yAxis.push(yaxe);
hoptions.series.push({
name: lng.cadence,
lineWidth: 1,
marker: { radius: 0 },
data : cadData,
color: color5,
yAxis: hoptions.series.length
});
hoptions.options.scales.yAxes.push(yaxe);
hoptions.data.datasets.push( getDataset(lng.cadence, myData.Items, color5, yaxe.id) );
_formats.push(l_cad);
l_y_arr.push(l_cad);
}
if (graphGrade != '')
{
var cadData = [];
for (i=0; i<valLen; i++)
{
if (graphDist[i] != null)
{
var c = graphGrade[i];
if (c==0)
c = null;
cadData.push([graphDist[i],c]);
}
}
var myData = mergeArrayForChart(graphDist, graphGrade);
var yaxe = {
title: { text: null },
labels: {
//align: 'right',
formatter: function() {
return Highcharts.numberFormat(this.value, l_grade.dec,decPoint,thousandsSep) + l_grade.suf;
var yaxe = {
type: 'linear',
ticks: {
// Include a dollar sign in the ticks
callback: function(value, index, values) {
return Math.round(value, l_grade.dec) + l_grade.suf;
}
},
opposite: true
}
hoptions.yAxis.push(yaxe);
hoptions.series.push({
name: lng.grade,
lineWidth: 1,
marker: { radius: 0 },
data : cadData,
color: color6,
yAxis: hoptions.series.length
});
position: 'right',
scalePositionLeft: false,
id: "y-axis-" + (hoptions.options.scales.yAxes.length + 1),
};
_formats.push(l_grade);
hoptions.options.scales.yAxes.push(yaxe);
hoptions.data.datasets.push( getDataset(lng.grade, myData.Items, color6, yaxe.id ) );
l_y_arr.push(l_grade);
}
var ctx = document.getElementById("myChart_" + params.targetId).getContext('2d');
var myChart = new Chart(ctx, hoptions);
var hchart = new Highcharts.Chart(hoptions);
}
else {
jQuery("#hchart_" + params.targetId).css("display","none");
jQuery("#myChart_" + params.targetId).css("display","none");
}
return this;
};
function mergeArrayForChart(distArr, dataArr, setZerosAsNull)
{
var l = distArr.length;
var items = new Array(l);
var min=10000;
var max=-10000;
for (i=0; i<l; i++)
{
if (distArr[i] != null)
{
var _item = dataArr[i];
if (setZerosAsNull === true && _item === 0)
{
_item = null;
}
items[i] = {
x: distArr[i],
y:_item
};
if (_item > max)
max = _item;
if (_item < min)
min = _item;
}
}
return {
Items : items,
Min : min,
Max : max,
}
}
function getDataset(name,data,color, id) {
return {
label: name,
data : data,
borderColor: color,
backgroundColor: hexToRgbA(color, .3),
pointRadius: 0,
borderWidth: 0,
pointHoverRadius: 1,
yAxisID: id,
}
}
function hexToRgbA(hex,a){
var c;
if(/^#([A-Fa-f0-9]{3}){1,2}$/.test(hex)){
c= hex.substring(1).split('');
if(c.length== 3){
c= [c[0], c[0], c[1], c[1], c[2], c[2]];
}
c= '0x'+c.join('');
return 'rgba('+[(c>>16)&255, (c>>8)&255, c&255].join(',')+',' + a +')';
}
throw new Error('Bad Hex');
}
function addWayPoint(map, image, shadow, lat, lon, title, descr)
{
var p = new google.maps.LatLng(lat, lon);

View File

@ -1,93 +1,93 @@
msgid ""
msgstr ""
"Project-Id-Version: wp-gpx-maps\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2012-10-30 14:41+0100\n"
"PO-Revision-Date: 2013-11-16 23:13+0200\n"
"Last-Translator: Svilen Savov <svilen@svilen.org>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Poedit-KeywordsList: __;_e\n"
"X-Poedit-Basepath: .\n"
"X-Generator: Poedit 1.5.7\n"
"X-Poedit-SearchPath-0: ..\n"
#: ../wp-gpx-maps.php:467
msgid "Altitude"
msgstr "Височина"
#: ../wp-gpx-maps.php:468
msgid "Current Position"
msgstr "Текуща Позиция"
#: ../wp-gpx-maps.php:469
msgid "Speed"
msgstr "Скорост"
#: ../wp-gpx-maps.php:470
msgid "Heart rate"
msgstr "Пулс"
#: ../wp-gpx-maps.php:471
msgid "Cadence"
msgstr "Ритъм"
#: ../wp-gpx-maps.php:472
msgid "Go Full Screen"
msgstr "Покажи на цял екран"
#: ../wp-gpx-maps.php:473
msgid "Exit Full Screen"
msgstr "Изход от цял екран"
#: ../wp-gpx-maps.php:474
msgid "Hide Images"
msgstr "Скрий Снимките"
#: ../wp-gpx-maps.php:475
msgid "Show Images"
msgstr "Покажи Снкмките"
#: ../wp-gpx-maps.php:476
msgid "Back to center"
msgstr "Центрирай"
#: ../wp-gpx-maps.php:489
msgid "Total distance"
msgstr "Обща дистанция"
#: ../wp-gpx-maps.php:494
msgid "Max elevation"
msgstr "Максимална височина"
#: ../wp-gpx-maps.php:496
msgid "Min elevation"
msgstr "Минимална височина"
#: ../wp-gpx-maps.php:498
msgid "Total climbing"
msgstr "Общо изкачване"
#: ../wp-gpx-maps.php:500
msgid "Total descent"
msgstr "Общо спускане"
#: ../wp-gpx-maps.php:504
msgid "Average speed"
msgstr "Средна скорост"
#: ../wp-gpx-maps.php:509
msgid "Total Time"
msgstr "Общо Време"
#: ../wp-gpx-maps.php:525
msgid "Download"
msgstr "Свали"
#: ../wp-gpx-maps_admin_settings.php:83 ../wp-gpx-maps_admin_settings.php:151
#: ../wp-gpx-maps_admin_settings.php:229 ../wp-gpx-maps_admin_settings.php:333
#: ../wp-gpx-maps_admin_settings.php:364
msgid "Save Changes"
msgstr "Запази Промените"
msgid ""
msgstr ""
"Project-Id-Version: wp-gpx-maps\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2012-10-30 14:41+0100\n"
"PO-Revision-Date: 2013-11-16 23:13+0200\n"
"Last-Translator: Svilen Savov <svilen@svilen.org>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Poedit-KeywordsList: __;_e\n"
"X-Poedit-Basepath: .\n"
"X-Generator: Poedit 1.5.7\n"
"X-Poedit-SearchPath-0: ..\n"
#: ../wp-gpx-maps.php:467
msgid "Altitude"
msgstr "Височина"
#: ../wp-gpx-maps.php:468
msgid "Current Position"
msgstr "Текуща Позиция"
#: ../wp-gpx-maps.php:469
msgid "Speed"
msgstr "Скорост"
#: ../wp-gpx-maps.php:470
msgid "Heart rate"
msgstr "Пулс"
#: ../wp-gpx-maps.php:471
msgid "Cadence"
msgstr "Ритъм"
#: ../wp-gpx-maps.php:472
msgid "Go Full Screen"
msgstr "Покажи на цял екран"
#: ../wp-gpx-maps.php:473
msgid "Exit Full Screen"
msgstr "Изход от цял екран"
#: ../wp-gpx-maps.php:474
msgid "Hide Images"
msgstr "Скрий Снимките"
#: ../wp-gpx-maps.php:475
msgid "Show Images"
msgstr "Покажи Снкмките"
#: ../wp-gpx-maps.php:476
msgid "Back to center"
msgstr "Центрирай"
#: ../wp-gpx-maps.php:489
msgid "Total distance"
msgstr "Обща дистанция"
#: ../wp-gpx-maps.php:494
msgid "Max elevation"
msgstr "Максимална височина"
#: ../wp-gpx-maps.php:496
msgid "Min elevation"
msgstr "Минимална височина"
#: ../wp-gpx-maps.php:498
msgid "Total climbing"
msgstr "Общо изкачване"
#: ../wp-gpx-maps.php:500
msgid "Total descent"
msgstr "Общо спускане"
#: ../wp-gpx-maps.php:504
msgid "Average speed"
msgstr "Средна скорост"
#: ../wp-gpx-maps.php:509
msgid "Total Time"
msgstr "Общо Време"
#: ../wp-gpx-maps.php:525
msgid "Download"
msgstr "Свали"
#: ../wp-gpx-maps_admin_settings.php:83 ../wp-gpx-maps_admin_settings.php:151
#: ../wp-gpx-maps_admin_settings.php:229 ../wp-gpx-maps_admin_settings.php:333
#: ../wp-gpx-maps_admin_settings.php:364
msgid "Save Changes"
msgstr "Запази Промените"

View File

@ -1,93 +1,93 @@
msgid ""
msgstr ""
"Project-Id-Version: wp-gpx-maps\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2012-10-30 14:41+0100\n"
"PO-Revision-Date: 2013-12-14 21:43+0100\n"
"Last-Translator: edgar <forced_to_confess@yahoo.com>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Poedit-KeywordsList: __;_e\n"
"X-Poedit-Basepath: .\n"
"X-Generator: Poedit 1.5.5\n"
"X-Poedit-SearchPath-0: ..\n"
#: ../wp-gpx-maps.php:467
msgid "Altitude"
msgstr "Altitud"
#: ../wp-gpx-maps.php:468
msgid "Current Position"
msgstr "Posició actual"
#: ../wp-gpx-maps.php:469
msgid "Speed"
msgstr "Velocitat"
#: ../wp-gpx-maps.php:470
msgid "Heart rate"
msgstr "Ritme cardíac"
#: ../wp-gpx-maps.php:471
msgid "Cadence"
msgstr "Cadència"
#: ../wp-gpx-maps.php:472
msgid "Go Full Screen"
msgstr "Anar a pantalla completa"
#: ../wp-gpx-maps.php:473
msgid "Exit Full Screen"
msgstr "Sortir de pantalla completa"
#: ../wp-gpx-maps.php:474
msgid "Hide Images"
msgstr "Amagar imatges"
#: ../wp-gpx-maps.php:475
msgid "Show Images"
msgstr "Mostrar imatges"
#: ../wp-gpx-maps.php:476
msgid "Back to center"
msgstr "Centrar"
#: ../wp-gpx-maps.php:489
msgid "Total distance"
msgstr "Distància total"
#: ../wp-gpx-maps.php:494
msgid "Max elevation"
msgstr "Altitud màxima"
#: ../wp-gpx-maps.php:496
msgid "Min elevation"
msgstr "Altitud mínima"
#: ../wp-gpx-maps.php:498
msgid "Total climbing"
msgstr "Ascensió total"
#: ../wp-gpx-maps.php:500
msgid "Total descent"
msgstr "Descens total"
#: ../wp-gpx-maps.php:504
msgid "Average speed"
msgstr "Velocitat mitjana"
#: ../wp-gpx-maps.php:509
msgid "Total Time"
msgstr "Temps total"
#: ../wp-gpx-maps.php:525
msgid "Download"
msgstr "Descarregar"
#: ../wp-gpx-maps_admin_settings.php:83 ../wp-gpx-maps_admin_settings.php:151
#: ../wp-gpx-maps_admin_settings.php:229 ../wp-gpx-maps_admin_settings.php:333
#: ../wp-gpx-maps_admin_settings.php:364
msgid "Save Changes"
msgstr "Desar canvis"
msgid ""
msgstr ""
"Project-Id-Version: wp-gpx-maps\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2012-10-30 14:41+0100\n"
"PO-Revision-Date: 2013-12-14 21:43+0100\n"
"Last-Translator: edgar <forced_to_confess@yahoo.com>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Poedit-KeywordsList: __;_e\n"
"X-Poedit-Basepath: .\n"
"X-Generator: Poedit 1.5.5\n"
"X-Poedit-SearchPath-0: ..\n"
#: ../wp-gpx-maps.php:467
msgid "Altitude"
msgstr "Altitud"
#: ../wp-gpx-maps.php:468
msgid "Current Position"
msgstr "Posició actual"
#: ../wp-gpx-maps.php:469
msgid "Speed"
msgstr "Velocitat"
#: ../wp-gpx-maps.php:470
msgid "Heart rate"
msgstr "Ritme cardíac"
#: ../wp-gpx-maps.php:471
msgid "Cadence"
msgstr "Cadència"
#: ../wp-gpx-maps.php:472
msgid "Go Full Screen"
msgstr "Anar a pantalla completa"
#: ../wp-gpx-maps.php:473
msgid "Exit Full Screen"
msgstr "Sortir de pantalla completa"
#: ../wp-gpx-maps.php:474
msgid "Hide Images"
msgstr "Amagar imatges"
#: ../wp-gpx-maps.php:475
msgid "Show Images"
msgstr "Mostrar imatges"
#: ../wp-gpx-maps.php:476
msgid "Back to center"
msgstr "Centrar"
#: ../wp-gpx-maps.php:489
msgid "Total distance"
msgstr "Distància total"
#: ../wp-gpx-maps.php:494
msgid "Max elevation"
msgstr "Altitud màxima"
#: ../wp-gpx-maps.php:496
msgid "Min elevation"
msgstr "Altitud mínima"
#: ../wp-gpx-maps.php:498
msgid "Total climbing"
msgstr "Ascensió total"
#: ../wp-gpx-maps.php:500
msgid "Total descent"
msgstr "Descens total"
#: ../wp-gpx-maps.php:504
msgid "Average speed"
msgstr "Velocitat mitjana"
#: ../wp-gpx-maps.php:509
msgid "Total Time"
msgstr "Temps total"
#: ../wp-gpx-maps.php:525
msgid "Download"
msgstr "Descarregar"
#: ../wp-gpx-maps_admin_settings.php:83 ../wp-gpx-maps_admin_settings.php:151
#: ../wp-gpx-maps_admin_settings.php:229 ../wp-gpx-maps_admin_settings.php:333
#: ../wp-gpx-maps_admin_settings.php:364
msgid "Save Changes"
msgstr "Desar canvis"

View File

@ -1,95 +1,95 @@
msgid ""
msgstr ""
"Project-Id-Version: wp-gpx-maps\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2012-10-30 14:41+0100\n"
"PO-Revision-Date: 2016-01-18 10:44+0100\n"
"Last-Translator: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Poedit-KeywordsList: __;_e\n"
"X-Poedit-Basepath: .\n"
"Language: de_DE\n"
"X-Generator: Poedit 1.7.5\n"
"X-Poedit-SearchPath-0: ..\n"
"X-Poedit-SearchPath-1: ..\n"
#: ../wp-gpx-maps.php:467
msgid "Altitude"
msgstr "Höhe"
#: ../wp-gpx-maps.php:468
msgid "Current Position"
msgstr "Aktuelle Position"
#: ../wp-gpx-maps.php:469
msgid "Speed"
msgstr "Geschwindigkeit"
#: ../wp-gpx-maps.php:470
msgid "Heart rate"
msgstr "Herzfrequenz"
#: ../wp-gpx-maps.php:471
msgid "Cadence"
msgstr "Trittfrequenz"
#: ../wp-gpx-maps.php:472
msgid "Go Full Screen"
msgstr "Vollbildansicht"
#: ../wp-gpx-maps.php:473
msgid "Exit Full Screen"
msgstr "Vollbildansicht beenden"
#: ../wp-gpx-maps.php:474
msgid "Hide Images"
msgstr "Bilder verbergen"
#: ../wp-gpx-maps.php:475
msgid "Show Images"
msgstr "Bilder anzeigen"
#: ../wp-gpx-maps.php:476
msgid "Back to center"
msgstr "Zurück zur Mitte"
#: ../wp-gpx-maps.php:489
msgid "Total distance"
msgstr "volle Distanz"
#: ../wp-gpx-maps.php:494
msgid "Max elevation"
msgstr "Maximale Höhe"
#: ../wp-gpx-maps.php:496
msgid "Min elevation"
msgstr "Minimale Höhe"
#: ../wp-gpx-maps.php:498
msgid "Total climbing"
msgstr "Gesamtanstieg"
#: ../wp-gpx-maps.php:500
msgid "Total descent"
msgstr "Gesamtabstieg"
#: ../wp-gpx-maps.php:504
msgid "Average speed"
msgstr "Durchschnittsgeschwindigkeit"
#: ../wp-gpx-maps.php:509
msgid "Total Time"
msgstr "Gesamtzeit"
#: ../wp-gpx-maps.php:525
msgid "Download"
msgstr "Download"
#: ../wp-gpx-maps_admin_settings.php:83 ../wp-gpx-maps_admin_settings.php:151
#: ../wp-gpx-maps_admin_settings.php:229 ../wp-gpx-maps_admin_settings.php:333
#: ../wp-gpx-maps_admin_settings.php:364
msgid "Save Changes"
msgstr "Änderungen speichern"
msgid ""
msgstr ""
"Project-Id-Version: wp-gpx-maps\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2012-10-30 14:41+0100\n"
"PO-Revision-Date: 2016-01-18 10:44+0100\n"
"Last-Translator: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Poedit-KeywordsList: __;_e\n"
"X-Poedit-Basepath: .\n"
"Language: de_DE\n"
"X-Generator: Poedit 1.7.5\n"
"X-Poedit-SearchPath-0: ..\n"
"X-Poedit-SearchPath-1: ..\n"
#: ../wp-gpx-maps.php:467
msgid "Altitude"
msgstr "Höhe"
#: ../wp-gpx-maps.php:468
msgid "Current Position"
msgstr "Aktuelle Position"
#: ../wp-gpx-maps.php:469
msgid "Speed"
msgstr "Geschwindigkeit"
#: ../wp-gpx-maps.php:470
msgid "Heart rate"
msgstr "Herzfrequenz"
#: ../wp-gpx-maps.php:471
msgid "Cadence"
msgstr "Trittfrequenz"
#: ../wp-gpx-maps.php:472
msgid "Go Full Screen"
msgstr "Vollbildansicht"
#: ../wp-gpx-maps.php:473
msgid "Exit Full Screen"
msgstr "Vollbildansicht beenden"
#: ../wp-gpx-maps.php:474
msgid "Hide Images"
msgstr "Bilder verbergen"
#: ../wp-gpx-maps.php:475
msgid "Show Images"
msgstr "Bilder anzeigen"
#: ../wp-gpx-maps.php:476
msgid "Back to center"
msgstr "Zurück zur Mitte"
#: ../wp-gpx-maps.php:489
msgid "Total distance"
msgstr "volle Distanz"
#: ../wp-gpx-maps.php:494
msgid "Max elevation"
msgstr "Maximale Höhe"
#: ../wp-gpx-maps.php:496
msgid "Min elevation"
msgstr "Minimale Höhe"
#: ../wp-gpx-maps.php:498
msgid "Total climbing"
msgstr "Gesamtanstieg"
#: ../wp-gpx-maps.php:500
msgid "Total descent"
msgstr "Gesamtabstieg"
#: ../wp-gpx-maps.php:504
msgid "Average speed"
msgstr "Durchschnittsgeschwindigkeit"
#: ../wp-gpx-maps.php:509
msgid "Total Time"
msgstr "Gesamtzeit"
#: ../wp-gpx-maps.php:525
msgid "Download"
msgstr "Download"
#: ../wp-gpx-maps_admin_settings.php:83 ../wp-gpx-maps_admin_settings.php:151
#: ../wp-gpx-maps_admin_settings.php:229 ../wp-gpx-maps_admin_settings.php:333
#: ../wp-gpx-maps_admin_settings.php:364
msgid "Save Changes"
msgstr "Änderungen speichern"

View File

@ -1,93 +1,93 @@
msgid ""
msgstr ""
"Project-Id-Version: wp-gpx-maps\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2012-10-30 14:42+0100\n"
"PO-Revision-Date: 2013-12-14 21:43+0100\n"
"Last-Translator: edgar <forced_to_confess@yahoo.com>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Poedit-KeywordsList: __;_e\n"
"X-Poedit-Basepath: .\n"
"X-Generator: Poedit 1.5.5\n"
"X-Poedit-SearchPath-0: ..\n"
#: ../wp-gpx-maps.php:467
msgid "Altitude"
msgstr "Altitud"
#: ../wp-gpx-maps.php:468
msgid "Current Position"
msgstr "Posición actual"
#: ../wp-gpx-maps.php:469
msgid "Speed"
msgstr "Velocidad"
#: ../wp-gpx-maps.php:470
msgid "Heart rate"
msgstr "Ritmo cardíaco"
#: ../wp-gpx-maps.php:471
msgid "Cadence"
msgstr "Cadencia"
#: ../wp-gpx-maps.php:472
msgid "Go Full Screen"
msgstr "Ir a pantalla completa"
#: ../wp-gpx-maps.php:473
msgid "Exit Full Screen"
msgstr "Salir de pantalla completa"
#: ../wp-gpx-maps.php:474
msgid "Hide Images"
msgstr "Ocultar Imágenes"
#: ../wp-gpx-maps.php:475
msgid "Show Images"
msgstr "Mostrar Imágenes"
#: ../wp-gpx-maps.php:476
msgid "Back to center"
msgstr "Centrar"
#: ../wp-gpx-maps.php:489
msgid "Total distance"
msgstr "Distancia total"
#: ../wp-gpx-maps.php:494
msgid "Max elevation"
msgstr "Elevación máxima"
#: ../wp-gpx-maps.php:496
msgid "Min elevation"
msgstr "Elevación mínima"
#: ../wp-gpx-maps.php:498
msgid "Total climbing"
msgstr "Total ascendido"
#: ../wp-gpx-maps.php:500
msgid "Total descent"
msgstr "Total descendido"
#: ../wp-gpx-maps.php:504
msgid "Average speed"
msgstr "Velocidad media"
#: ../wp-gpx-maps.php:509
msgid "Total Time"
msgstr "Tiempo total"
#: ../wp-gpx-maps.php:525
msgid "Download"
msgstr "Descargar"
#: ../wp-gpx-maps_admin_settings.php:83 ../wp-gpx-maps_admin_settings.php:151
#: ../wp-gpx-maps_admin_settings.php:229 ../wp-gpx-maps_admin_settings.php:333
#: ../wp-gpx-maps_admin_settings.php:364
msgid "Save Changes"
msgstr "Salvar cambios"
msgid ""
msgstr ""
"Project-Id-Version: wp-gpx-maps\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2012-10-30 14:42+0100\n"
"PO-Revision-Date: 2013-12-14 21:43+0100\n"
"Last-Translator: edgar <forced_to_confess@yahoo.com>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Poedit-KeywordsList: __;_e\n"
"X-Poedit-Basepath: .\n"
"X-Generator: Poedit 1.5.5\n"
"X-Poedit-SearchPath-0: ..\n"
#: ../wp-gpx-maps.php:467
msgid "Altitude"
msgstr "Altitud"
#: ../wp-gpx-maps.php:468
msgid "Current Position"
msgstr "Posición actual"
#: ../wp-gpx-maps.php:469
msgid "Speed"
msgstr "Velocidad"
#: ../wp-gpx-maps.php:470
msgid "Heart rate"
msgstr "Ritmo cardíaco"
#: ../wp-gpx-maps.php:471
msgid "Cadence"
msgstr "Cadencia"
#: ../wp-gpx-maps.php:472
msgid "Go Full Screen"
msgstr "Ir a pantalla completa"
#: ../wp-gpx-maps.php:473
msgid "Exit Full Screen"
msgstr "Salir de pantalla completa"
#: ../wp-gpx-maps.php:474
msgid "Hide Images"
msgstr "Ocultar Imágenes"
#: ../wp-gpx-maps.php:475
msgid "Show Images"
msgstr "Mostrar Imágenes"
#: ../wp-gpx-maps.php:476
msgid "Back to center"
msgstr "Centrar"
#: ../wp-gpx-maps.php:489
msgid "Total distance"
msgstr "Distancia total"
#: ../wp-gpx-maps.php:494
msgid "Max elevation"
msgstr "Elevación máxima"
#: ../wp-gpx-maps.php:496
msgid "Min elevation"
msgstr "Elevación mínima"
#: ../wp-gpx-maps.php:498
msgid "Total climbing"
msgstr "Total ascendido"
#: ../wp-gpx-maps.php:500
msgid "Total descent"
msgstr "Total descendido"
#: ../wp-gpx-maps.php:504
msgid "Average speed"
msgstr "Velocidad media"
#: ../wp-gpx-maps.php:509
msgid "Total Time"
msgstr "Tiempo total"
#: ../wp-gpx-maps.php:525
msgid "Download"
msgstr "Descargar"
#: ../wp-gpx-maps_admin_settings.php:83 ../wp-gpx-maps_admin_settings.php:151
#: ../wp-gpx-maps_admin_settings.php:229 ../wp-gpx-maps_admin_settings.php:333
#: ../wp-gpx-maps_admin_settings.php:364
msgid "Save Changes"
msgstr "Salvar cambios"

View File

@ -1,81 +1,81 @@
msgid ""
msgstr ""
"Project-Id-Version: wp-gpx-maps\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2012-08-01 13:41+0100\n"
"PO-Revision-Date: 2012-11-01 22:02+0100\n"
"Last-Translator: Hervé <herve.rieu@free.fr>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Poedit-KeywordsList: __;_e\n"
"X-Poedit-Basepath: .\n"
"X-Generator: Poedit 1.5.4\n"
"X-Poedit-SearchPath-0: ..\n"
#: ../wp-gpx-maps.php:473
msgid "Altitude"
msgstr "Altitude"
#: ../wp-gpx-maps.php:474
msgid "Current Position"
msgstr "Position actuelle"
#: ../wp-gpx-maps.php:475
msgid "Speed"
msgstr "Vitesse"
#: ../wp-gpx-maps.php:476
msgid "Heart rate"
msgstr "Fréquence cardiaque"
#: ../wp-gpx-maps.php:477
msgid "Cadence"
msgstr "Cadence"
#: ../wp-gpx-maps.php:478
msgid "Go Full Screen"
msgstr "Plein écran"
#: ../wp-gpx-maps.php:479
msgid "Exit Full Screen"
msgstr "Sortir du plein écran"
#: ../wp-gpx-maps.php:492
msgid "Total distance"
msgstr "Distance totale"
#: ../wp-gpx-maps.php:497
msgid "Max elevation"
msgstr "Altitude maximum"
#: ../wp-gpx-maps.php:499
msgid "Min elevation"
msgstr "Altitude minimum"
#: ../wp-gpx-maps.php:501
msgid "Total climbing"
msgstr "Denivelé total positif "
#: ../wp-gpx-maps.php:503
msgid "Total descent"
msgstr "Denivelé total négatif"
#: ../wp-gpx-maps.php:507
msgid "Average speed"
msgstr "Vitesse moyenne"
#: ../wp-gpx-maps.php:512
msgid "Total Time"
msgstr "Durée totale"
#: ../wp-gpx-maps.php:528
msgid "Download"
msgstr "Télécharger"
#: ../wp-gpx-maps_admin_settings.php:83 ../wp-gpx-maps_admin_settings.php:151
#: ../wp-gpx-maps_admin_settings.php:229 ../wp-gpx-maps_admin_settings.php:333
#: ../wp-gpx-maps_admin_settings.php:364
msgid "Save Changes"
msgstr "Enregistrer"
msgid ""
msgstr ""
"Project-Id-Version: wp-gpx-maps\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2012-08-01 13:41+0100\n"
"PO-Revision-Date: 2012-11-01 22:02+0100\n"
"Last-Translator: Hervé <herve.rieu@free.fr>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Poedit-KeywordsList: __;_e\n"
"X-Poedit-Basepath: .\n"
"X-Generator: Poedit 1.5.4\n"
"X-Poedit-SearchPath-0: ..\n"
#: ../wp-gpx-maps.php:473
msgid "Altitude"
msgstr "Altitude"
#: ../wp-gpx-maps.php:474
msgid "Current Position"
msgstr "Position actuelle"
#: ../wp-gpx-maps.php:475
msgid "Speed"
msgstr "Vitesse"
#: ../wp-gpx-maps.php:476
msgid "Heart rate"
msgstr "Fréquence cardiaque"
#: ../wp-gpx-maps.php:477
msgid "Cadence"
msgstr "Cadence"
#: ../wp-gpx-maps.php:478
msgid "Go Full Screen"
msgstr "Plein écran"
#: ../wp-gpx-maps.php:479
msgid "Exit Full Screen"
msgstr "Sortir du plein écran"
#: ../wp-gpx-maps.php:492
msgid "Total distance"
msgstr "Distance totale"
#: ../wp-gpx-maps.php:497
msgid "Max elevation"
msgstr "Altitude maximum"
#: ../wp-gpx-maps.php:499
msgid "Min elevation"
msgstr "Altitude minimum"
#: ../wp-gpx-maps.php:501
msgid "Total climbing"
msgstr "Denivelé total positif "
#: ../wp-gpx-maps.php:503
msgid "Total descent"
msgstr "Denivelé total négatif"
#: ../wp-gpx-maps.php:507
msgid "Average speed"
msgstr "Vitesse moyenne"
#: ../wp-gpx-maps.php:512
msgid "Total Time"
msgstr "Durée totale"
#: ../wp-gpx-maps.php:528
msgid "Download"
msgstr "Télécharger"
#: ../wp-gpx-maps_admin_settings.php:83 ../wp-gpx-maps_admin_settings.php:151
#: ../wp-gpx-maps_admin_settings.php:229 ../wp-gpx-maps_admin_settings.php:333
#: ../wp-gpx-maps_admin_settings.php:364
msgid "Save Changes"
msgstr "Enregistrer"

View File

@ -1,92 +1,92 @@
msgid ""
msgstr ""
"Project-Id-Version: wp-gpx-maps\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2012-10-30 14:42+0100\n"
"PO-Revision-Date: 2012-10-30 14:43+0100\n"
"Last-Translator: Biró Tamás <tami@freemail.hu>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Poedit-KeywordsList: __;_e\n"
"X-Poedit-Basepath: .\n"
"X-Poedit-SearchPath-0: ..\n"
#: ../wp-gpx-maps.php:467
msgid "Altitude"
msgstr "Magasság"
#: ../wp-gpx-maps.php:468
msgid "Current Position"
msgstr "Aktuális pozíció"
#: ../wp-gpx-maps.php:469
msgid "Speed"
msgstr "Sebesség"
#: ../wp-gpx-maps.php:470
msgid "Heart rate"
msgstr "Szívritmus"
#: ../wp-gpx-maps.php:471
msgid "Cadence"
msgstr "Kadencia"
#: ../wp-gpx-maps.php:472
msgid "Go Full Screen"
msgstr "Teljes képernyő BE"
#: ../wp-gpx-maps.php:473
msgid "Exit Full Screen"
msgstr "Teljes képernyő KI"
#: ../wp-gpx-maps.php:474
msgid "Hide Images"
msgstr ""
#: ../wp-gpx-maps.php:475
msgid "Show Images"
msgstr ""
#: ../wp-gpx-maps.php:476
msgid "Back to center"
msgstr ""
#: ../wp-gpx-maps.php:489
msgid "Total distance"
msgstr "Teljes távolság"
#: ../wp-gpx-maps.php:494
msgid "Max elevation"
msgstr "Max magasság"
#: ../wp-gpx-maps.php:496
msgid "Min elevation"
msgstr "Min magasság"
#: ../wp-gpx-maps.php:498
msgid "Total climbing"
msgstr "Össz. emelkedés"
#: ../wp-gpx-maps.php:500
msgid "Total descent"
msgstr "Össz. ereszkedés"
#: ../wp-gpx-maps.php:504
msgid "Average speed"
msgstr "Átlagsebesség"
#: ../wp-gpx-maps.php:509
msgid "Total Time"
msgstr "Teljes Idő"
#: ../wp-gpx-maps.php:525
msgid "Download"
msgstr "Letöltés"
#: ../wp-gpx-maps_admin_settings.php:83 ../wp-gpx-maps_admin_settings.php:151
#: ../wp-gpx-maps_admin_settings.php:229 ../wp-gpx-maps_admin_settings.php:333
#: ../wp-gpx-maps_admin_settings.php:364
msgid "Save Changes"
msgstr "Beállítások mentése"
msgid ""
msgstr ""
"Project-Id-Version: wp-gpx-maps\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2012-10-30 14:42+0100\n"
"PO-Revision-Date: 2012-10-30 14:43+0100\n"
"Last-Translator: Biró Tamás <tami@freemail.hu>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Poedit-KeywordsList: __;_e\n"
"X-Poedit-Basepath: .\n"
"X-Poedit-SearchPath-0: ..\n"
#: ../wp-gpx-maps.php:467
msgid "Altitude"
msgstr "Magasság"
#: ../wp-gpx-maps.php:468
msgid "Current Position"
msgstr "Aktuális pozíció"
#: ../wp-gpx-maps.php:469
msgid "Speed"
msgstr "Sebesség"
#: ../wp-gpx-maps.php:470
msgid "Heart rate"
msgstr "Szívritmus"
#: ../wp-gpx-maps.php:471
msgid "Cadence"
msgstr "Kadencia"
#: ../wp-gpx-maps.php:472
msgid "Go Full Screen"
msgstr "Teljes képernyő BE"
#: ../wp-gpx-maps.php:473
msgid "Exit Full Screen"
msgstr "Teljes képernyő KI"
#: ../wp-gpx-maps.php:474
msgid "Hide Images"
msgstr ""
#: ../wp-gpx-maps.php:475
msgid "Show Images"
msgstr ""
#: ../wp-gpx-maps.php:476
msgid "Back to center"
msgstr ""
#: ../wp-gpx-maps.php:489
msgid "Total distance"
msgstr "Teljes távolság"
#: ../wp-gpx-maps.php:494
msgid "Max elevation"
msgstr "Max magasság"
#: ../wp-gpx-maps.php:496
msgid "Min elevation"
msgstr "Min magasság"
#: ../wp-gpx-maps.php:498
msgid "Total climbing"
msgstr "Össz. emelkedés"
#: ../wp-gpx-maps.php:500
msgid "Total descent"
msgstr "Össz. ereszkedés"
#: ../wp-gpx-maps.php:504
msgid "Average speed"
msgstr "Átlagsebesség"
#: ../wp-gpx-maps.php:509
msgid "Total Time"
msgstr "Teljes Idő"
#: ../wp-gpx-maps.php:525
msgid "Download"
msgstr "Letöltés"
#: ../wp-gpx-maps_admin_settings.php:83 ../wp-gpx-maps_admin_settings.php:151
#: ../wp-gpx-maps_admin_settings.php:229 ../wp-gpx-maps_admin_settings.php:333
#: ../wp-gpx-maps_admin_settings.php:364
msgid "Save Changes"
msgstr "Beállítások mentése"

View File

@ -1,94 +1,94 @@
msgid ""
msgstr ""
"Project-Id-Version: wp-gpx-maps\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2012-10-30 14:48+0100\n"
"PO-Revision-Date: 2013-02-04 09:22+0100\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: it_IT\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Poedit-KeywordsList: __;_e\n"
"X-Poedit-Basepath: .\n"
"X-Generator: Poedit 1.5.4\n"
"X-Poedit-SearchPath-0: ..\n"
#: ../wp-gpx-maps.php:467
msgid "Altitude"
msgstr "Altitudine"
#: ../wp-gpx-maps.php:468
msgid "Current Position"
msgstr "Posizione Corrente"
#: ../wp-gpx-maps.php:469
msgid "Speed"
msgstr "Velocità"
#: ../wp-gpx-maps.php:470
msgid "Heart rate"
msgstr "Battito Cardiaco"
#: ../wp-gpx-maps.php:471
msgid "Cadence"
msgstr "Cadenza"
#: ../wp-gpx-maps.php:472
msgid "Go Full Screen"
msgstr "Schermo intero"
#: ../wp-gpx-maps.php:473
msgid "Exit Full Screen"
msgstr "Torna a dimensioni originali"
#: ../wp-gpx-maps.php:474
msgid "Hide Images"
msgstr "Nascondi immagini"
#: ../wp-gpx-maps.php:475
msgid "Show Images"
msgstr "Mostra immagini"
#: ../wp-gpx-maps.php:476
msgid "Back to center"
msgstr "Ritorna al centro della mappa"
#: ../wp-gpx-maps.php:489
msgid "Total distance"
msgstr "Distanza totale"
#: ../wp-gpx-maps.php:494
msgid "Max elevation"
msgstr "Altitudine massima"
#: ../wp-gpx-maps.php:496
msgid "Min elevation"
msgstr "Altitudine minima"
#: ../wp-gpx-maps.php:498
msgid "Total climbing"
msgstr "Totale salita"
#: ../wp-gpx-maps.php:500
msgid "Total descent"
msgstr "Totale discesa"
#: ../wp-gpx-maps.php:504
msgid "Average speed"
msgstr "Velocità media"
#: ../wp-gpx-maps.php:509
msgid "Total Time"
msgstr "Tempo totale"
#: ../wp-gpx-maps.php:525
msgid "Download"
msgstr "Scarica"
#: ../wp-gpx-maps_admin_settings.php:83 ../wp-gpx-maps_admin_settings.php:151
#: ../wp-gpx-maps_admin_settings.php:229 ../wp-gpx-maps_admin_settings.php:333
#: ../wp-gpx-maps_admin_settings.php:364
msgid "Save Changes"
msgstr "Salva"
msgid ""
msgstr ""
"Project-Id-Version: wp-gpx-maps\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2012-10-30 14:48+0100\n"
"PO-Revision-Date: 2013-02-04 09:22+0100\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: it_IT\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Poedit-KeywordsList: __;_e\n"
"X-Poedit-Basepath: .\n"
"X-Generator: Poedit 1.5.4\n"
"X-Poedit-SearchPath-0: ..\n"
#: ../wp-gpx-maps.php:467
msgid "Altitude"
msgstr "Altitudine"
#: ../wp-gpx-maps.php:468
msgid "Current Position"
msgstr "Posizione Corrente"
#: ../wp-gpx-maps.php:469
msgid "Speed"
msgstr "Velocità"
#: ../wp-gpx-maps.php:470
msgid "Heart rate"
msgstr "Battito Cardiaco"
#: ../wp-gpx-maps.php:471
msgid "Cadence"
msgstr "Cadenza"
#: ../wp-gpx-maps.php:472
msgid "Go Full Screen"
msgstr "Schermo intero"
#: ../wp-gpx-maps.php:473
msgid "Exit Full Screen"
msgstr "Torna a dimensioni originali"
#: ../wp-gpx-maps.php:474
msgid "Hide Images"
msgstr "Nascondi immagini"
#: ../wp-gpx-maps.php:475
msgid "Show Images"
msgstr "Mostra immagini"
#: ../wp-gpx-maps.php:476
msgid "Back to center"
msgstr "Ritorna al centro della mappa"
#: ../wp-gpx-maps.php:489
msgid "Total distance"
msgstr "Distanza totale"
#: ../wp-gpx-maps.php:494
msgid "Max elevation"
msgstr "Altitudine massima"
#: ../wp-gpx-maps.php:496
msgid "Min elevation"
msgstr "Altitudine minima"
#: ../wp-gpx-maps.php:498
msgid "Total climbing"
msgstr "Totale salita"
#: ../wp-gpx-maps.php:500
msgid "Total descent"
msgstr "Totale discesa"
#: ../wp-gpx-maps.php:504
msgid "Average speed"
msgstr "Velocità media"
#: ../wp-gpx-maps.php:509
msgid "Total Time"
msgstr "Tempo totale"
#: ../wp-gpx-maps.php:525
msgid "Download"
msgstr "Scarica"
#: ../wp-gpx-maps_admin_settings.php:83 ../wp-gpx-maps_admin_settings.php:151
#: ../wp-gpx-maps_admin_settings.php:229 ../wp-gpx-maps_admin_settings.php:333
#: ../wp-gpx-maps_admin_settings.php:364
msgid "Save Changes"
msgstr "Salva"

View File

@ -1,93 +1,93 @@
msgid ""
msgstr ""
"Project-Id-Version: wp-gpx-maps\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2012-10-30 14:41+0100\n"
"PO-Revision-Date: 2012-10-30 14:41+0100\n"
"Last-Translator: Simon Koelewijn\n"
"Language-Team: \n"
"Language: nl_NL\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Poedit-KeywordsList: __;_e\n"
"X-Poedit-Basepath: .\n"
"X-Poedit-SearchPath-0: ..\n"
#: ../wp-gpx-maps.php:467
msgid "Altitude"
msgstr "Hoogte"
#: ../wp-gpx-maps.php:468
msgid "Current Position"
msgstr "Huidige Positie"
#: ../wp-gpx-maps.php:469
msgid "Speed"
msgstr "Snelheid"
#: ../wp-gpx-maps.php:470
msgid "Heart rate"
msgstr "Hartslag"
#: ../wp-gpx-maps.php:471
msgid "Cadence"
msgstr "Cadans"
#: ../wp-gpx-maps.php:472
msgid "Go Full Screen"
msgstr "Volledige Scherm"
#: ../wp-gpx-maps.php:473
msgid "Exit Full Screen"
msgstr "Verlaat Volledige Scherm"
#: ../wp-gpx-maps.php:474
msgid "Hide Images"
msgstr ""
#: ../wp-gpx-maps.php:475
msgid "Show Images"
msgstr ""
#: ../wp-gpx-maps.php:476
msgid "Back to center"
msgstr ""
#: ../wp-gpx-maps.php:489
msgid "Total distance"
msgstr ""
#: ../wp-gpx-maps.php:494
msgid "Max elevation"
msgstr ""
#: ../wp-gpx-maps.php:496
msgid "Min elevation"
msgstr ""
#: ../wp-gpx-maps.php:498
msgid "Total climbing"
msgstr ""
#: ../wp-gpx-maps.php:500
msgid "Total descent"
msgstr ""
#: ../wp-gpx-maps.php:504
msgid "Average speed"
msgstr ""
#: ../wp-gpx-maps.php:509
msgid "Total Time"
msgstr ""
#: ../wp-gpx-maps.php:525
msgid "Download"
msgstr "Download"
#: ../wp-gpx-maps_admin_settings.php:83 ../wp-gpx-maps_admin_settings.php:151
#: ../wp-gpx-maps_admin_settings.php:229 ../wp-gpx-maps_admin_settings.php:333
#: ../wp-gpx-maps_admin_settings.php:364
msgid "Save Changes"
msgstr "Wijzigingen Opslaan"
msgid ""
msgstr ""
"Project-Id-Version: wp-gpx-maps\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2012-10-30 14:41+0100\n"
"PO-Revision-Date: 2012-10-30 14:41+0100\n"
"Last-Translator: Simon Koelewijn\n"
"Language-Team: \n"
"Language: nl_NL\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Poedit-KeywordsList: __;_e\n"
"X-Poedit-Basepath: .\n"
"X-Poedit-SearchPath-0: ..\n"
#: ../wp-gpx-maps.php:467
msgid "Altitude"
msgstr "Hoogte"
#: ../wp-gpx-maps.php:468
msgid "Current Position"
msgstr "Huidige Positie"
#: ../wp-gpx-maps.php:469
msgid "Speed"
msgstr "Snelheid"
#: ../wp-gpx-maps.php:470
msgid "Heart rate"
msgstr "Hartslag"
#: ../wp-gpx-maps.php:471
msgid "Cadence"
msgstr "Cadans"
#: ../wp-gpx-maps.php:472
msgid "Go Full Screen"
msgstr "Volledige Scherm"
#: ../wp-gpx-maps.php:473
msgid "Exit Full Screen"
msgstr "Verlaat Volledige Scherm"
#: ../wp-gpx-maps.php:474
msgid "Hide Images"
msgstr ""
#: ../wp-gpx-maps.php:475
msgid "Show Images"
msgstr ""
#: ../wp-gpx-maps.php:476
msgid "Back to center"
msgstr ""
#: ../wp-gpx-maps.php:489
msgid "Total distance"
msgstr ""
#: ../wp-gpx-maps.php:494
msgid "Max elevation"
msgstr ""
#: ../wp-gpx-maps.php:496
msgid "Min elevation"
msgstr ""
#: ../wp-gpx-maps.php:498
msgid "Total climbing"
msgstr ""
#: ../wp-gpx-maps.php:500
msgid "Total descent"
msgstr ""
#: ../wp-gpx-maps.php:504
msgid "Average speed"
msgstr ""
#: ../wp-gpx-maps.php:509
msgid "Total Time"
msgstr ""
#: ../wp-gpx-maps.php:525
msgid "Download"
msgstr "Download"
#: ../wp-gpx-maps_admin_settings.php:83 ../wp-gpx-maps_admin_settings.php:151
#: ../wp-gpx-maps_admin_settings.php:229 ../wp-gpx-maps_admin_settings.php:333
#: ../wp-gpx-maps_admin_settings.php:364
msgid "Save Changes"
msgstr "Wijzigingen Opslaan"

View File

@ -1,95 +1,95 @@
msgid ""
msgstr ""
"Project-Id-Version: wp-gpx-maps\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2012-10-30 14:41+0100\n"
"PO-Revision-Date: 2013-03-10 12:33+0100\n"
"Last-Translator: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Poedit-KeywordsList: __;_e\n"
"X-Poedit-Basepath: .\n"
"X-Generator: Poedit 1.5.5\n"
"Language: pl_PL\n"
"X-Poedit-SourceCharset: UTF-8\n"
"X-Poedit-SearchPath-0: ..\n"
#: ../wp-gpx-maps.php:467
msgid "Altitude"
msgstr "Wysokość"
#: ../wp-gpx-maps.php:468
msgid "Current Position"
msgstr "Aktualna pozycja"
#: ../wp-gpx-maps.php:469
msgid "Speed"
msgstr "Prędkość"
#: ../wp-gpx-maps.php:470
msgid "Heart rate"
msgstr "Tętno"
#: ../wp-gpx-maps.php:471
msgid "Cadence"
msgstr "Kadencja"
#: ../wp-gpx-maps.php:472
msgid "Go Full Screen"
msgstr "Pełny ekran"
#: ../wp-gpx-maps.php:473
msgid "Exit Full Screen"
msgstr "Zamknij pełny ekran"
#: ../wp-gpx-maps.php:474
msgid "Hide Images"
msgstr "Ukryj obrazy"
#: ../wp-gpx-maps.php:475
msgid "Show Images"
msgstr "Pokaż obrazy"
#: ../wp-gpx-maps.php:476
msgid "Back to center"
msgstr "Wyśrodkuj"
#: ../wp-gpx-maps.php:489
msgid "Total distance"
msgstr "Całkowity dystans"
#: ../wp-gpx-maps.php:494
msgid "Max elevation"
msgstr "Najwyższy punkt"
#: ../wp-gpx-maps.php:496
msgid "Min elevation"
msgstr "Najniższy punkt"
#: ../wp-gpx-maps.php:498
msgid "Total climbing"
msgstr "Wyskokość podjazdów"
#: ../wp-gpx-maps.php:500
msgid "Total descent"
msgstr "Wysokość zjazdów"
#: ../wp-gpx-maps.php:504
msgid "Average speed"
msgstr "Średnia prędkość"
#: ../wp-gpx-maps.php:509
msgid "Total Time"
msgstr "Łączny czas"
#: ../wp-gpx-maps.php:525
msgid "Download"
msgstr "Pobieranie"
#: ../wp-gpx-maps_admin_settings.php:83 ../wp-gpx-maps_admin_settings.php:151
#: ../wp-gpx-maps_admin_settings.php:229 ../wp-gpx-maps_admin_settings.php:333
#: ../wp-gpx-maps_admin_settings.php:364
msgid "Save Changes"
msgstr "Zapisz zmiany"
msgid ""
msgstr ""
"Project-Id-Version: wp-gpx-maps\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2012-10-30 14:41+0100\n"
"PO-Revision-Date: 2013-03-10 12:33+0100\n"
"Last-Translator: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Poedit-KeywordsList: __;_e\n"
"X-Poedit-Basepath: .\n"
"X-Generator: Poedit 1.5.5\n"
"Language: pl_PL\n"
"X-Poedit-SourceCharset: UTF-8\n"
"X-Poedit-SearchPath-0: ..\n"
#: ../wp-gpx-maps.php:467
msgid "Altitude"
msgstr "Wysokość"
#: ../wp-gpx-maps.php:468
msgid "Current Position"
msgstr "Aktualna pozycja"
#: ../wp-gpx-maps.php:469
msgid "Speed"
msgstr "Prędkość"
#: ../wp-gpx-maps.php:470
msgid "Heart rate"
msgstr "Tętno"
#: ../wp-gpx-maps.php:471
msgid "Cadence"
msgstr "Kadencja"
#: ../wp-gpx-maps.php:472
msgid "Go Full Screen"
msgstr "Pełny ekran"
#: ../wp-gpx-maps.php:473
msgid "Exit Full Screen"
msgstr "Zamknij pełny ekran"
#: ../wp-gpx-maps.php:474
msgid "Hide Images"
msgstr "Ukryj obrazy"
#: ../wp-gpx-maps.php:475
msgid "Show Images"
msgstr "Pokaż obrazy"
#: ../wp-gpx-maps.php:476
msgid "Back to center"
msgstr "Wyśrodkuj"
#: ../wp-gpx-maps.php:489
msgid "Total distance"
msgstr "Całkowity dystans"
#: ../wp-gpx-maps.php:494
msgid "Max elevation"
msgstr "Najwyższy punkt"
#: ../wp-gpx-maps.php:496
msgid "Min elevation"
msgstr "Najniższy punkt"
#: ../wp-gpx-maps.php:498
msgid "Total climbing"
msgstr "Wyskokość podjazdów"
#: ../wp-gpx-maps.php:500
msgid "Total descent"
msgstr "Wysokość zjazdów"
#: ../wp-gpx-maps.php:504
msgid "Average speed"
msgstr "Średnia prędkość"
#: ../wp-gpx-maps.php:509
msgid "Total Time"
msgstr "Łączny czas"
#: ../wp-gpx-maps.php:525
msgid "Download"
msgstr "Pobieranie"
#: ../wp-gpx-maps_admin_settings.php:83 ../wp-gpx-maps_admin_settings.php:151
#: ../wp-gpx-maps_admin_settings.php:229 ../wp-gpx-maps_admin_settings.php:333
#: ../wp-gpx-maps_admin_settings.php:364
msgid "Save Changes"
msgstr "Zapisz zmiany"

View File

@ -1,93 +1,93 @@
msgid ""
msgstr ""
"Project-Id-Version: wp-gpx-maps\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2012-10-30 14:42+0100\n"
"PO-Revision-Date: 2013-04-23 18:36-0300\n"
"Last-Translator: André Ramos <kurukuru@ig.com.br>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Poedit-KeywordsList: __;_e\n"
"X-Poedit-Basepath: .\n"
"X-Generator: Poedit 1.5.4\n"
"X-Poedit-SearchPath-0: ..\n"
#: ../wp-gpx-maps.php:467
msgid "Altitude"
msgstr "Altitude"
#: ../wp-gpx-maps.php:468
msgid "Current Position"
msgstr "Posição atual"
#: ../wp-gpx-maps.php:469
msgid "Speed"
msgstr "Velocidade"
#: ../wp-gpx-maps.php:470
msgid "Heart rate"
msgstr "Ritmo cardíaco"
#: ../wp-gpx-maps.php:471
msgid "Cadence"
msgstr "Cadência"
#: ../wp-gpx-maps.php:472
msgid "Go Full Screen"
msgstr "Tela cheia"
#: ../wp-gpx-maps.php:473
msgid "Exit Full Screen"
msgstr "Restaura janela"
#: ../wp-gpx-maps.php:474
msgid "Hide Images"
msgstr "Ocultar imagens"
#: ../wp-gpx-maps.php:475
msgid "Show Images"
msgstr ""
#: ../wp-gpx-maps.php:476
msgid "Back to center"
msgstr "Centralizar"
#: ../wp-gpx-maps.php:489
msgid "Total distance"
msgstr "Distância total"
#: ../wp-gpx-maps.php:494
msgid "Max elevation"
msgstr "Elevação máxima"
#: ../wp-gpx-maps.php:496
msgid "Min elevation"
msgstr "Elevação mínima"
#: ../wp-gpx-maps.php:498
msgid "Total climbing"
msgstr "Total subida"
#: ../wp-gpx-maps.php:500
msgid "Total descent"
msgstr "Total descida"
#: ../wp-gpx-maps.php:504
msgid "Average speed"
msgstr "Velocidade média"
#: ../wp-gpx-maps.php:509
msgid "Total Time"
msgstr "Tempo total"
#: ../wp-gpx-maps.php:525
msgid "Download"
msgstr "Baixar arquivo"
#: ../wp-gpx-maps_admin_settings.php:83 ../wp-gpx-maps_admin_settings.php:151
#: ../wp-gpx-maps_admin_settings.php:229 ../wp-gpx-maps_admin_settings.php:333
#: ../wp-gpx-maps_admin_settings.php:364
msgid "Save Changes"
msgstr "Salvar alterações"
msgid ""
msgstr ""
"Project-Id-Version: wp-gpx-maps\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2012-10-30 14:42+0100\n"
"PO-Revision-Date: 2013-04-23 18:36-0300\n"
"Last-Translator: André Ramos <kurukuru@ig.com.br>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Poedit-KeywordsList: __;_e\n"
"X-Poedit-Basepath: .\n"
"X-Generator: Poedit 1.5.4\n"
"X-Poedit-SearchPath-0: ..\n"
#: ../wp-gpx-maps.php:467
msgid "Altitude"
msgstr "Altitude"
#: ../wp-gpx-maps.php:468
msgid "Current Position"
msgstr "Posição atual"
#: ../wp-gpx-maps.php:469
msgid "Speed"
msgstr "Velocidade"
#: ../wp-gpx-maps.php:470
msgid "Heart rate"
msgstr "Ritmo cardíaco"
#: ../wp-gpx-maps.php:471
msgid "Cadence"
msgstr "Cadência"
#: ../wp-gpx-maps.php:472
msgid "Go Full Screen"
msgstr "Tela cheia"
#: ../wp-gpx-maps.php:473
msgid "Exit Full Screen"
msgstr "Restaura janela"
#: ../wp-gpx-maps.php:474
msgid "Hide Images"
msgstr "Ocultar imagens"
#: ../wp-gpx-maps.php:475
msgid "Show Images"
msgstr ""
#: ../wp-gpx-maps.php:476
msgid "Back to center"
msgstr "Centralizar"
#: ../wp-gpx-maps.php:489
msgid "Total distance"
msgstr "Distância total"
#: ../wp-gpx-maps.php:494
msgid "Max elevation"
msgstr "Elevação máxima"
#: ../wp-gpx-maps.php:496
msgid "Min elevation"
msgstr "Elevação mínima"
#: ../wp-gpx-maps.php:498
msgid "Total climbing"
msgstr "Total subida"
#: ../wp-gpx-maps.php:500
msgid "Total descent"
msgstr "Total descida"
#: ../wp-gpx-maps.php:504
msgid "Average speed"
msgstr "Velocidade média"
#: ../wp-gpx-maps.php:509
msgid "Total Time"
msgstr "Tempo total"
#: ../wp-gpx-maps.php:525
msgid "Download"
msgstr "Baixar arquivo"
#: ../wp-gpx-maps_admin_settings.php:83 ../wp-gpx-maps_admin_settings.php:151
#: ../wp-gpx-maps_admin_settings.php:229 ../wp-gpx-maps_admin_settings.php:333
#: ../wp-gpx-maps_admin_settings.php:364
msgid "Save Changes"
msgstr "Salvar alterações"

View File

@ -1,93 +1,93 @@
msgid ""
msgstr ""
"Project-Id-Version: wp-gpx-maps\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2012-10-30 14:41+0100\n"
"PO-Revision-Date: 2013-07-17 20:50+0400\n"
"Last-Translator: G.A.P <g.a.p@mail.ru>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Poedit-KeywordsList: __;_e\n"
"X-Poedit-Basepath: .\n"
"X-Generator: Poedit 1.5.7\n"
"X-Poedit-SearchPath-0: ..\n"
#: ../wp-gpx-maps.php:467
msgid "Altitude"
msgstr "Высота"
#: ../wp-gpx-maps.php:468
msgid "Current Position"
msgstr "Текущая позиция"
#: ../wp-gpx-maps.php:469
msgid "Speed"
msgstr "Скорость"
#: ../wp-gpx-maps.php:470
msgid "Heart rate"
msgstr "Пульс"
#: ../wp-gpx-maps.php:471
msgid "Cadence"
msgstr "Каденс"
#: ../wp-gpx-maps.php:472
msgid "Go Full Screen"
msgstr "На весь экран"
#: ../wp-gpx-maps.php:473
msgid "Exit Full Screen"
msgstr "Свернуть в окно"
#: ../wp-gpx-maps.php:474
msgid "Hide Images"
msgstr "Скрыть картинки"
#: ../wp-gpx-maps.php:475
msgid "Show Images"
msgstr "Показать картинки"
#: ../wp-gpx-maps.php:476
msgid "Back to center"
msgstr "По центру"
#: ../wp-gpx-maps.php:489
msgid "Total distance"
msgstr "Дистанция"
#: ../wp-gpx-maps.php:494
msgid "Max elevation"
msgstr "Максимальная высота"
#: ../wp-gpx-maps.php:496
msgid "Min elevation"
msgstr "Минимальная высота"
#: ../wp-gpx-maps.php:498
msgid "Total climbing"
msgstr "Подъём"
#: ../wp-gpx-maps.php:500
msgid "Total descent"
msgstr "Спуск"
#: ../wp-gpx-maps.php:504
msgid "Average speed"
msgstr "Средняя скорость"
#: ../wp-gpx-maps.php:509
msgid "Total Time"
msgstr "Время"
#: ../wp-gpx-maps.php:525
msgid "Download"
msgstr "Скачать"
#: ../wp-gpx-maps_admin_settings.php:83 ../wp-gpx-maps_admin_settings.php:151
#: ../wp-gpx-maps_admin_settings.php:229 ../wp-gpx-maps_admin_settings.php:333
#: ../wp-gpx-maps_admin_settings.php:364
msgid "Save Changes"
msgstr "Сохранить изменения"
msgid ""
msgstr ""
"Project-Id-Version: wp-gpx-maps\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2012-10-30 14:41+0100\n"
"PO-Revision-Date: 2013-07-17 20:50+0400\n"
"Last-Translator: G.A.P <g.a.p@mail.ru>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Poedit-KeywordsList: __;_e\n"
"X-Poedit-Basepath: .\n"
"X-Generator: Poedit 1.5.7\n"
"X-Poedit-SearchPath-0: ..\n"
#: ../wp-gpx-maps.php:467
msgid "Altitude"
msgstr "Высота"
#: ../wp-gpx-maps.php:468
msgid "Current Position"
msgstr "Текущая позиция"
#: ../wp-gpx-maps.php:469
msgid "Speed"
msgstr "Скорость"
#: ../wp-gpx-maps.php:470
msgid "Heart rate"
msgstr "Пульс"
#: ../wp-gpx-maps.php:471
msgid "Cadence"
msgstr "Каденс"
#: ../wp-gpx-maps.php:472
msgid "Go Full Screen"
msgstr "На весь экран"
#: ../wp-gpx-maps.php:473
msgid "Exit Full Screen"
msgstr "Свернуть в окно"
#: ../wp-gpx-maps.php:474
msgid "Hide Images"
msgstr "Скрыть картинки"
#: ../wp-gpx-maps.php:475
msgid "Show Images"
msgstr "Показать картинки"
#: ../wp-gpx-maps.php:476
msgid "Back to center"
msgstr "По центру"
#: ../wp-gpx-maps.php:489
msgid "Total distance"
msgstr "Дистанция"
#: ../wp-gpx-maps.php:494
msgid "Max elevation"
msgstr "Максимальная высота"
#: ../wp-gpx-maps.php:496
msgid "Min elevation"
msgstr "Минимальная высота"
#: ../wp-gpx-maps.php:498
msgid "Total climbing"
msgstr "Подъём"
#: ../wp-gpx-maps.php:500
msgid "Total descent"
msgstr "Спуск"
#: ../wp-gpx-maps.php:504
msgid "Average speed"
msgstr "Средняя скорость"
#: ../wp-gpx-maps.php:509
msgid "Total Time"
msgstr "Время"
#: ../wp-gpx-maps.php:525
msgid "Download"
msgstr "Скачать"
#: ../wp-gpx-maps_admin_settings.php:83 ../wp-gpx-maps_admin_settings.php:151
#: ../wp-gpx-maps_admin_settings.php:229 ../wp-gpx-maps_admin_settings.php:333
#: ../wp-gpx-maps_admin_settings.php:364
msgid "Save Changes"
msgstr "Сохранить изменения"

View File

@ -1,93 +1,93 @@
msgid ""
msgstr ""
"Project-Id-Version: wp-gpx-maps\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2012-10-30 14:41+0100\n"
"PO-Revision-Date: 2012-10-30 14:41+0100\n"
"Last-Translator: Per Bjälevik <per.bjalevik@tauzero.se>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Poedit-KeywordsList: __;_e\n"
"X-Poedit-Basepath: .\n"
"X-Poedit-SearchPath-0: ..\n"
#: ../wp-gpx-maps.php:467
msgid "Altitude"
msgstr "Höjd"
#: ../wp-gpx-maps.php:468
msgid "Current Position"
msgstr "Aktuell position"
#: ../wp-gpx-maps.php:469
msgid "Speed"
msgstr "Hastighet"
#: ../wp-gpx-maps.php:470
msgid "Heart rate"
msgstr "Hjärtfrekvens"
#: ../wp-gpx-maps.php:471
msgid "Cadence"
msgstr "Kadens"
#: ../wp-gpx-maps.php:472
msgid "Go Full Screen"
msgstr "Gå till fullskärm"
#: ../wp-gpx-maps.php:473
msgid "Exit Full Screen"
msgstr "Avsluta fullskärm"
#: ../wp-gpx-maps.php:474
msgid "Hide Images"
msgstr ""
#: ../wp-gpx-maps.php:475
msgid "Show Images"
msgstr ""
#: ../wp-gpx-maps.php:476
msgid "Back to center"
msgstr ""
#: ../wp-gpx-maps.php:489
msgid "Total distance"
msgstr "Total distans"
#: ../wp-gpx-maps.php:494
msgid "Max elevation"
msgstr "Max höjd"
#: ../wp-gpx-maps.php:496
msgid "Min elevation"
msgstr "Min höjd"
#: ../wp-gpx-maps.php:498
msgid "Total climbing"
msgstr "Höjdstigning"
#: ../wp-gpx-maps.php:500
msgid "Total descent"
msgstr "Höjdförlust"
#: ../wp-gpx-maps.php:504
msgid "Average speed"
msgstr "Medelhastighet"
#: ../wp-gpx-maps.php:509
#, fuzzy
msgid "Total Time"
msgstr "Total distans"
#: ../wp-gpx-maps.php:525
msgid "Download"
msgstr "Ladda ner"
#: ../wp-gpx-maps_admin_settings.php:83 ../wp-gpx-maps_admin_settings.php:151
#: ../wp-gpx-maps_admin_settings.php:229 ../wp-gpx-maps_admin_settings.php:333
#: ../wp-gpx-maps_admin_settings.php:364
msgid "Save Changes"
msgstr "Spara ändringar"
msgid ""
msgstr ""
"Project-Id-Version: wp-gpx-maps\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2012-10-30 14:41+0100\n"
"PO-Revision-Date: 2012-10-30 14:41+0100\n"
"Last-Translator: Per Bjälevik <per.bjalevik@tauzero.se>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Poedit-KeywordsList: __;_e\n"
"X-Poedit-Basepath: .\n"
"X-Poedit-SearchPath-0: ..\n"
#: ../wp-gpx-maps.php:467
msgid "Altitude"
msgstr "Höjd"
#: ../wp-gpx-maps.php:468
msgid "Current Position"
msgstr "Aktuell position"
#: ../wp-gpx-maps.php:469
msgid "Speed"
msgstr "Hastighet"
#: ../wp-gpx-maps.php:470
msgid "Heart rate"
msgstr "Hjärtfrekvens"
#: ../wp-gpx-maps.php:471
msgid "Cadence"
msgstr "Kadens"
#: ../wp-gpx-maps.php:472
msgid "Go Full Screen"
msgstr "Gå till fullskärm"
#: ../wp-gpx-maps.php:473
msgid "Exit Full Screen"
msgstr "Avsluta fullskärm"
#: ../wp-gpx-maps.php:474
msgid "Hide Images"
msgstr ""
#: ../wp-gpx-maps.php:475
msgid "Show Images"
msgstr ""
#: ../wp-gpx-maps.php:476
msgid "Back to center"
msgstr ""
#: ../wp-gpx-maps.php:489
msgid "Total distance"
msgstr "Total distans"
#: ../wp-gpx-maps.php:494
msgid "Max elevation"
msgstr "Max höjd"
#: ../wp-gpx-maps.php:496
msgid "Min elevation"
msgstr "Min höjd"
#: ../wp-gpx-maps.php:498
msgid "Total climbing"
msgstr "Höjdstigning"
#: ../wp-gpx-maps.php:500
msgid "Total descent"
msgstr "Höjdförlust"
#: ../wp-gpx-maps.php:504
msgid "Average speed"
msgstr "Medelhastighet"
#: ../wp-gpx-maps.php:509
#, fuzzy
msgid "Total Time"
msgstr "Total distans"
#: ../wp-gpx-maps.php:525
msgid "Download"
msgstr "Ladda ner"
#: ../wp-gpx-maps_admin_settings.php:83 ../wp-gpx-maps_admin_settings.php:151
#: ../wp-gpx-maps_admin_settings.php:229 ../wp-gpx-maps_admin_settings.php:333
#: ../wp-gpx-maps_admin_settings.php:364
msgid "Save Changes"
msgstr "Spara ändringar"

View File

@ -1,94 +1,94 @@
msgid ""
msgstr ""
"Project-Id-Version: wp-gpx-maps\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2012-10-30 14:42+0100\n"
"PO-Revision-Date: 2012-10-30 14:42+0100\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: tr_TR\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Poedit-KeywordsList: __;_e\n"
"X-Poedit-Basepath: .\n"
"X-Generator: Poedit 1.5.4\n"
"X-Poedit-SearchPath-0: ..\n"
#: ../wp-gpx-maps.php:467
msgid "Altitude"
msgstr "Rakım"
#: ../wp-gpx-maps.php:468
msgid "Current Position"
msgstr "Güncel Pozisyon"
#: ../wp-gpx-maps.php:469
msgid "Speed"
msgstr "Hız"
#: ../wp-gpx-maps.php:470
msgid "Heart rate"
msgstr "Nabız"
#: ../wp-gpx-maps.php:471
msgid "Cadence"
msgstr "Kadans"
#: ../wp-gpx-maps.php:472
msgid "Go Full Screen"
msgstr "Tam Ekran Gör"
#: ../wp-gpx-maps.php:473
msgid "Exit Full Screen"
msgstr "Tam Ekrandan Çık"
#: ../wp-gpx-maps.php:474
msgid "Hide Images"
msgstr ""
#: ../wp-gpx-maps.php:475
msgid "Show Images"
msgstr ""
#: ../wp-gpx-maps.php:476
msgid "Back to center"
msgstr ""
#: ../wp-gpx-maps.php:489
msgid "Total distance"
msgstr "Toplam Mesafe"
#: ../wp-gpx-maps.php:494
msgid "Max elevation"
msgstr "Maks. İrtifa"
#: ../wp-gpx-maps.php:496
msgid "Min elevation"
msgstr "Min. İrtifa"
#: ../wp-gpx-maps.php:498
msgid "Total climbing"
msgstr "Toplam Tırmanış"
#: ../wp-gpx-maps.php:500
msgid "Total descent"
msgstr "Toplam İniş"
#: ../wp-gpx-maps.php:504
msgid "Average speed"
msgstr "Ortalama Hız"
#: ../wp-gpx-maps.php:509
msgid "Total Time"
msgstr "Toplam Süre"
#: ../wp-gpx-maps.php:525
msgid "Download"
msgstr "İndir"
#: ../wp-gpx-maps_admin_settings.php:83 ../wp-gpx-maps_admin_settings.php:151
#: ../wp-gpx-maps_admin_settings.php:229 ../wp-gpx-maps_admin_settings.php:333
#: ../wp-gpx-maps_admin_settings.php:364
msgid "Save Changes"
msgstr "Değişiklikleri Kaydet"
msgid ""
msgstr ""
"Project-Id-Version: wp-gpx-maps\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2012-10-30 14:42+0100\n"
"PO-Revision-Date: 2012-10-30 14:42+0100\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: tr_TR\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Poedit-KeywordsList: __;_e\n"
"X-Poedit-Basepath: .\n"
"X-Generator: Poedit 1.5.4\n"
"X-Poedit-SearchPath-0: ..\n"
#: ../wp-gpx-maps.php:467
msgid "Altitude"
msgstr "Rakım"
#: ../wp-gpx-maps.php:468
msgid "Current Position"
msgstr "Güncel Pozisyon"
#: ../wp-gpx-maps.php:469
msgid "Speed"
msgstr "Hız"
#: ../wp-gpx-maps.php:470
msgid "Heart rate"
msgstr "Nabız"
#: ../wp-gpx-maps.php:471
msgid "Cadence"
msgstr "Kadans"
#: ../wp-gpx-maps.php:472
msgid "Go Full Screen"
msgstr "Tam Ekran Gör"
#: ../wp-gpx-maps.php:473
msgid "Exit Full Screen"
msgstr "Tam Ekrandan Çık"
#: ../wp-gpx-maps.php:474
msgid "Hide Images"
msgstr ""
#: ../wp-gpx-maps.php:475
msgid "Show Images"
msgstr ""
#: ../wp-gpx-maps.php:476
msgid "Back to center"
msgstr ""
#: ../wp-gpx-maps.php:489
msgid "Total distance"
msgstr "Toplam Mesafe"
#: ../wp-gpx-maps.php:494
msgid "Max elevation"
msgstr "Maks. İrtifa"
#: ../wp-gpx-maps.php:496
msgid "Min elevation"
msgstr "Min. İrtifa"
#: ../wp-gpx-maps.php:498
msgid "Total climbing"
msgstr "Toplam Tırmanış"
#: ../wp-gpx-maps.php:500
msgid "Total descent"
msgstr "Toplam İniş"
#: ../wp-gpx-maps.php:504
msgid "Average speed"
msgstr "Ortalama Hız"
#: ../wp-gpx-maps.php:509
msgid "Total Time"
msgstr "Toplam Süre"
#: ../wp-gpx-maps.php:525
msgid "Download"
msgstr "İndir"
#: ../wp-gpx-maps_admin_settings.php:83 ../wp-gpx-maps_admin_settings.php:151
#: ../wp-gpx-maps_admin_settings.php:229 ../wp-gpx-maps_admin_settings.php:333
#: ../wp-gpx-maps_admin_settings.php:364
msgid "Save Changes"
msgstr "Değişiklikleri Kaydet"

View File

@ -4,8 +4,8 @@ Contributors: bastianonm, Stephan Klein, Michel Selerin
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=8VHWLRW6JBTML
Tags: maps, gpx, gps, graph, chart, google maps, track, garmin, image, nextgen-gallery, nextgen, exif, OpenStreetMap, OpenCycleMap, Hike&Bike, heart rate, heartrate, cadence
Requires at least: 2.0.0
Tested up to: 4.8.2
Stable tag: 1.3.16
Tested up to: 4.9.4
Stable tag: 1.5.00
Draws a gpx track with altitude graph. You can also display your nextgen gallery images in the map.
@ -35,8 +35,6 @@ NextGen Gallery Integration:
Display your NextGen Gallery images inside the map!
Even if you don't have a gps camera, this plugin can retrive the image position starting from the image date and you gpx file.
Old NGGallery Images (without gps data) and gpx: <a href="http://www.pedemontanadelgrappa.it/mappe/itinerario-3-alta-via-degli-eroi/">http://www.pedemontanadelgrappa.it/mappe/itinerario-3-alta-via-degli-eroi/</a>
Post Attachments Integration:
This version is extended by Stephan Klein (https://klein-gedruckt.de/2015/03/wordpress-plugin-wp-gpx-maps/) and supports displaying all images attached to a post without using NGG.
@ -66,7 +64,7 @@ Translated into 14 languages:
- iphone/ipad/ipod Compatible
Try this plugin: <a href="http://www.pedemontanadelgrappa.it/category/mappe/">http://www.pedemontanadelgrappa.it/category/mappe/</a>
Try this plugin: <a href="https://devfarm.it/wp-gpx-maps-demo/">https://devfarm.it/wp-gpx-maps-demo/</a>
<a href="http://www.devfarm.it/forums/forum/wp-gpx-maps/">Support Forum</a>
@ -80,9 +78,7 @@ Supported gpx namespaces are:
1. http://www.garmin.com/xmlschemas/TrackPointExtension/v1
Thanks to: <a href="http://www.securcube.net/">www.securcube.net</a>, <a href="http://www.devfarm.it/">www.devfarm.it</a>, <a href="http://www.pedemontanadelgrappa.it/">www.pedemontanadelgrappa.it</a>
Up to version 1.1.15 [Highcharts-API](http://www.highcharts.com/) is the only available rendering engine. Please respect their license and pricing (only Free for Non-Commercial usage).
Thanks to: <a href="http://www.securcube.net/">www.securcube.net</a>, <a href="http://www.devfarm.it/">www.devfarm.it</a>
== Installation ==
@ -157,6 +153,8 @@ Yes!
1. Altitude & Speed & Hearth rate
== Changelog ==
= 1.5.00 =
* replaced highcharts with chartjs. This is a forced choice due highcharts license issue, view: https://devfarm.it/wordpress-plugin/wordpress-plugin-directory-notice-wp-gpx-maps-temporarily-disabled/
= 1.3.16 =
* Added Norwegian nb_NO translation (thanks to thordivel)
* Added Japanese ja_JP translation (thanks to dentos)

View File

@ -3,9 +3,9 @@
Plugin Name: WP-GPX-Maps
Plugin URI: http://www.devfarm.it/
Description: Draws a GPX track with altitude chart
Version: 1.3.16
Version: 1.5.00
Author: Bastianon Massimo
Author URI: http://www.pedemontanadelgrappa.it/
Author URI: http://www.devfarm.it/
*/
//error_reporting (E_ALL);
@ -47,16 +47,23 @@ function WP_GPX_Maps_action_links($links, $file) {
}
function enqueue_WP_GPX_Maps_scripts()
{ $wpgpxmaps_googlemapsv3_apikey = get_option('wpgpxmaps_googlemapsv3_apikey');
wp_enqueue_script( 'jquery' ); if ($wpgpxmaps_googlemapsv3_apikey) { wp_enqueue_script( 'googlemaps', '//maps.googleapis.com/maps/api/js?key='.$wpgpxmaps_googlemapsv3_apikey, null, null); } else { wp_enqueue_script( 'googlemaps', '//maps.googleapis.com/maps/api/js', null, null); }
wp_enqueue_script( 'highcharts', "//code.highcharts.com/3.0.10/highcharts.js", array('jquery'), "3.0.10", true);
wp_enqueue_script( 'WP-GPX-Maps', plugins_url('/WP-GPX-Maps.js', __FILE__), array('jquery','googlemaps','highcharts'), "1.3.15");
{
$wpgpxmaps_googlemapsv3_apikey = get_option('wpgpxmaps_googlemapsv3_apikey');
wp_enqueue_script( 'jquery' );
if ($wpgpxmaps_googlemapsv3_apikey) {
wp_enqueue_script( 'googlemaps', '//maps.googleapis.com/maps/api/js?key='.$wpgpxmaps_googlemapsv3_apikey, null, null);
}
else {
wp_enqueue_script( 'googlemaps', '//maps.googleapis.com/maps/api/js', null, null);
}
wp_enqueue_script( 'chartjs', '//cdnjs.cloudflare.com/ajax/libs/Chart.js/2.7.2/Chart.min.js', array(), "2.7.2" );
wp_enqueue_script( 'WP-GPX-Maps', plugins_url('/WP-GPX-Maps.js', __FILE__), array('jquery','googlemaps','chartjs'), "1.5.00");
}
function print_WP_GPX_Maps_styles()
{
?>
<style type="text/css">
.wpgpxmaps { clear:both; }
#content .wpgpxmaps img,
@ -627,13 +634,15 @@ function handle_WP_GPX_Maps_Shortcodes($attr, $content='')
<div id="map_'.$r.'" style="width:'.$w.'; height:'.$mh.'"></div>
<div id="wpgpxmaps_'.$r.'_osm_footer" class="wpgpxmaps_osm_footer" style="display:none;"><span> &copy; <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors</span></div>
</div>
<div id="hchart_'.$r.'" class="plot" style="width:'.$w.'; height:'.$gh.'"></div>
<canvas id="myChart_'.$r.'" class="plot" style="width:'.$w.'; height:'.$gh.'"></canvas>
<div id="ngimages_'.$r.'" class="ngimages" style="display:none">'.$ngimgs_data.'</div>
<div id="report_'.$r.'" class="report"></div>
</div>
'. $error .'
<script type="text/javascript">
jQuery(document).ready(function() {
jQuery("#wpgpxmaps_'.$r.'").wpgpxmaps({
targetId : "'.$r.'",
mapType : "'.$mt.'",
@ -683,8 +692,10 @@ function handle_WP_GPX_Maps_Shortcodes($attr, $content='')
showImages : "'.__("Show Images", "wp-gpx-maps").'",
backToCenter : "'.__("Back to center", "wp-gpx-maps").'"
}
});
});
});
</script>';
// print summary

View File

@ -1,153 +1,153 @@
<?php
if ( !is_admin() )
return;
$gpxRegEx = '/.gpx$/';
if ( isset($_POST['delete']) )
{
$del = $_POST['delete'];
if (preg_match($gpxRegEx, $del ) && file_exists($realGpxPath ."/". $del))
{
unlink($realGpxPath ."/". $del);
}
}
if ( isset($_POST['clearcache']) )
{
echo "Cache is now empty!";
recursive_remove_directory($cacheGpxPath,true);
}
if ( is_writable ( $realGpxPath ) ){
?>
<div class="tablenav top">
<form enctype="multipart/form-data" method="POST" style="float:left; margin:5px 20px 0 0">
Choose a file to upload: <input name="uploadedfile" type="file" onchange="submitgpx(this);" />
<?php
if ( isset($_FILES['uploadedfile']) )
{
$target_path = $realGpxPath ."/". basename( $_FILES['uploadedfile']['name']);
if (preg_match($gpxRegEx, $target_path))
{
if(move_uploaded_file($_FILES['uploadedfile']['tmp_name'], $target_path)) {
echo "File <b>". basename( $_FILES['uploadedfile']['name']). "</b> has been uploaded";
} else{
echo "There was an error uploading the file, please try again!";
}
}
else
{
echo "file not supported!";
}
}
?>
</form>
<form method="POST" style="float:left; margin:5px 20px 0 0">
<input type="submit" name="clearcache" value="Clear Cache" />
</form>
</div>
<?php
}
if ( is_readable ( $realGpxPath ) && $handle = opendir($realGpxPath)) {
while (false !== ($entry = readdir($handle))) {
if (preg_match($gpxRegEx,$entry ))
{
$filenames[] = $realGpxPath . "/" . $entry;
}
}
closedir($handle);
}
?>
<table cellspacing="0" class="wp-list-table widefat plugins">
<thead>
<tr>
<th style="" class="manage-column" id="name" scope="col">File</th>
<th style="" class="manage-column" id="name" scope="col">Last modified</th>
<th style="" class="manage-column" id="name" scope="col">File size (Byte)</th>
</tr>
</thead>
<tfoot>
<tr>
<th style="" class="manage-column" id="name" scope="col">File</th>
<th style="" class="manage-column" id="name" scope="col">Last modified</th>
<th style="" class="manage-column" id="name" scope="col">File size (Byte)</th>
</tr>
</tfoot>
<tbody id="the-list">
<?php
if ($filenames)
{
$filenames = array_reverse($filenames);
foreach ($filenames as $file) {
$entry = basename($file);
?>
<tr>
<td style="border:none; padding-bottom:0;">
<strong><?php echo $entry; ?></strong>
</td>
<td style="border:none; padding-bottom:0;">
<?php echo date ("F d Y H:i:s.", filemtime( $file ) ) ?>
</td>
<td style="border:none; padding-bottom:0;">
<?php echo number_format ( filesize( $file ) , 0, '.', ',' ) ?>
</td>
</tr>
<tr>
<td colspan=3 style="padding: 0px 7px 7px 7px;">
<a href="#" onclick="delgpx('<?php echo $entry ?>'); return false;">Delete</a>
|
<a href="../wp-content/uploads/gpx/<?php echo $entry?>">Download</a>
|
Shortcode: [sgpx gpx="<?php echo $relativeGpxPath . $entry; ?>"]
</td>
</tr>
<?php
}
}
?>
</tbody>
</table>
<script type="text/javascript">
function submitgpx(el)
{
var newEl = document.createElement('span');
newEl.innerHTML = 'Uploading file...';
el.parentNode.insertBefore(newEl,el.nextSibling);
el.parentNode.submit()
}
function delgpx(file)
{
if (confirm('Delete this file: ' + file + '?'))
{
document.formdelgpx.delete.value = file;
document.formdelgpx.submit();
}
}
</script>
<form method="post" name="formdelgpx" style="display:none;">
<input type="hidden" name="delete" />
</form>
<?php
if ( !is_admin() )
return;
$gpxRegEx = '/.gpx$/';
if ( isset($_POST['delete']) )
{
$del = $_POST['delete'];
if (preg_match($gpxRegEx, $del ) && file_exists($realGpxPath ."/". $del))
{
unlink($realGpxPath ."/". $del);
}
}
if ( isset($_POST['clearcache']) )
{
echo "Cache is now empty!";
recursive_remove_directory($cacheGpxPath,true);
}
if ( is_writable ( $realGpxPath ) ){
?>
<div class="tablenav top">
<form enctype="multipart/form-data" method="POST" style="float:left; margin:5px 20px 0 0">
Choose a file to upload: <input name="uploadedfile" type="file" onchange="submitgpx(this);" />
<?php
if ( isset($_FILES['uploadedfile']) )
{
$target_path = $realGpxPath ."/". basename( $_FILES['uploadedfile']['name']);
if (preg_match($gpxRegEx, $target_path))
{
if(move_uploaded_file($_FILES['uploadedfile']['tmp_name'], $target_path)) {
echo "File <b>". basename( $_FILES['uploadedfile']['name']). "</b> has been uploaded";
} else{
echo "There was an error uploading the file, please try again!";
}
}
else
{
echo "file not supported!";
}
}
?>
</form>
<form method="POST" style="float:left; margin:5px 20px 0 0">
<input type="submit" name="clearcache" value="Clear Cache" />
</form>
</div>
<?php
}
if ( is_readable ( $realGpxPath ) && $handle = opendir($realGpxPath)) {
while (false !== ($entry = readdir($handle))) {
if (preg_match($gpxRegEx,$entry ))
{
$filenames[] = $realGpxPath . "/" . $entry;
}
}
closedir($handle);
}
?>
<table cellspacing="0" class="wp-list-table widefat plugins">
<thead>
<tr>
<th style="" class="manage-column" id="name" scope="col">File</th>
<th style="" class="manage-column" id="name" scope="col">Last modified</th>
<th style="" class="manage-column" id="name" scope="col">File size (Byte)</th>
</tr>
</thead>
<tfoot>
<tr>
<th style="" class="manage-column" id="name" scope="col">File</th>
<th style="" class="manage-column" id="name" scope="col">Last modified</th>
<th style="" class="manage-column" id="name" scope="col">File size (Byte)</th>
</tr>
</tfoot>
<tbody id="the-list">
<?php
if ($filenames)
{
$filenames = array_reverse($filenames);
foreach ($filenames as $file) {
$entry = basename($file);
?>
<tr>
<td style="border:none; padding-bottom:0;">
<strong><?php echo $entry; ?></strong>
</td>
<td style="border:none; padding-bottom:0;">
<?php echo date ("F d Y H:i:s.", filemtime( $file ) ) ?>
</td>
<td style="border:none; padding-bottom:0;">
<?php echo number_format ( filesize( $file ) , 0, '.', ',' ) ?>
</td>
</tr>
<tr>
<td colspan=3 style="padding: 0px 7px 7px 7px;">
<a href="#" onclick="delgpx('<?php echo $entry ?>'); return false;">Delete</a>
|
<a href="../wp-content/uploads/gpx/<?php echo $entry?>">Download</a>
|
Shortcode: [sgpx gpx="<?php echo $relativeGpxPath . $entry; ?>"]
</td>
</tr>
<?php
}
}
?>
</tbody>
</table>
<script type="text/javascript">
function submitgpx(el)
{
var newEl = document.createElement('span');
newEl.innerHTML = 'Uploading file...';
el.parentNode.insertBefore(newEl,el.nextSibling);
el.parentNode.submit()
}
function delgpx(file)
{
if (confirm('Delete this file: ' + file + '?'))
{
document.formdelgpx.delete.value = file;
document.formdelgpx.submit();
}
}
</script>
<form method="post" name="formdelgpx" style="display:none;">
<input type="hidden" name="delete" />
</form>

File diff suppressed because it is too large Load Diff

View File

@ -1,147 +1,147 @@
<?php
function isNGGalleryActive() {
if (!function_exists('is_plugin_active')) {
require_once(sitePath() . '/wp-admin/includes/plugin.php');
}
return is_plugin_active("nextgen-gallery/nggallery.php");
}
function isNGGalleryProActive() {
if (!function_exists('is_plugin_active')) {
require_once(sitePath() . '/wp-admin/includes/plugin.php');
}
return is_plugin_active("nextgen-gallery-pro/nggallery-pro.php");
}
function getNGGalleryImages($ngGalleries, $ngImages, $dt, $lat, $lon, $dtoffset, &$error)
{
$result = array();
$galids = explode(',', $ngGalleries);
$imgids = explode(',', $ngImages);
if (!isNGGalleryActive())
return '';
try {
$pictures = array();
foreach ($galids as $g) {
$pictures = array_merge($pictures, nggdb::get_gallery($g));
}
foreach ($imgids as $i) {
array_push($pictures, nggdb::find_image($i));
}
foreach ($pictures as $p) {
$item = array();
$item["data"] = $p->thumbHTML;
if (is_callable('exif_read_data'))
{
$exif = @exif_read_data($p->imagePath);
if ($exif !== false)
{
$item["lon"] = getExifGps($exif["GPSLongitude"], $exif['GPSLongitudeRef']);
$item["lat"] = getExifGps($exif["GPSLatitude"], $exif['GPSLatitudeRef']);
if (($item["lat"] != 0) || ($item["lon"] != 0))
{
$result[] = $item;
}
else if (isset($p->imagedate))
{
$_dt = strtotime($p->imagedate) + $dtoffset;
$_item = findItemCoordinate($_dt, $dt, $lat, $lon);
if ($_item != null)
{
$item["lat"] = $_item["lat"];
$item["lon"] = $_item["lon"];
$result[] = $item;
}
}
}
}
else
{
$error .= "Sorry, <a href='http://php.net/manual/en/function.exif-read-data.php' target='_blank' >exif_read_data</a> function not found! check your hosting..<br />";
}
}
/* START FIX NEXT GEN GALLERY 2.x */
if ( class_exists("C_Component_Registry") )
{
$renderer = C_Component_Registry::get_instance()->get_utility('I_Displayed_Gallery_Renderer');
$params['gallery_ids'] = $ngGalleries;
$params['image_ids'] = $ngImages;
$params['display_type'] = NEXTGEN_GALLERY_BASIC_THUMBNAILS;
$params['images_per_page'] = 999;
// also add js references to get the gallery working
$dummy = $renderer->display_images($params, $inner_content);
/* START FIX NEXT GEN GALLERY PRO */
if (preg_match("/data-nplmodal-gallery-id=[\"'](.*?)[\"']/", $dummy, $m))
{
$galid = $m[1];
if ($galid)
{
for($i = 0; $i < count($result); ++$i)
{
$result[$i]["data"] = str_replace("%PRO_LIGHTBOX_GALLERY_ID%", $galid, $result[$i]["data"]);
}
}
}
/* END FIX NEXT GEN GALLERY PRO */
}
/* END FIX NEXT GEN GALLERY 2.x */
} catch (Exception $e) {
$error .= 'Error When Retrieving NextGen Gallery galleries/images: $e <br />';
}
return $result;
}
function findItemCoordinate($imgdt, $dt, $lat, $lon)
{
foreach(array_keys($dt) as $i)
{
if ($i!=0 && $imgdt >= $dt[$i-1] && $imgdt <= $dt[$i])
{
if ($lat[$i] != 0 && $lon[$i] != 0)
return array( "lat" => $lat[$i], "lon" => $lon[$i] );
}
}
return null;
}
function getExifGps($exifCoord, $hemi)
{
$degrees = count($exifCoord) > 0 ? gps2Num($exifCoord[0]) : 0;
$minutes = count($exifCoord) > 1 ? gps2Num($exifCoord[1]) : 0;
$seconds = count($exifCoord) > 2 ? gps2Num($exifCoord[2]) : 0;
$flip = ($hemi == 'W' or $hemi == 'S') ? -1 : 1;
return $flip * ($degrees + $minutes / 60 + $seconds / 3600);
}
function gps2Num($coordPart)
{
$parts = explode('/', $coordPart);
if (count($parts) <= 0)
return 0;
if (count($parts) == 1)
return $parts[0];
$lat = floatval($parts[0]);
$lon = floatval($parts[1]);
if ($lon == 0)
return $lat;
return $lat / $lon;
}
<?php
function isNGGalleryActive() {
if (!function_exists('is_plugin_active')) {
require_once(sitePath() . '/wp-admin/includes/plugin.php');
}
return is_plugin_active("nextgen-gallery/nggallery.php");
}
function isNGGalleryProActive() {
if (!function_exists('is_plugin_active')) {
require_once(sitePath() . '/wp-admin/includes/plugin.php');
}
return is_plugin_active("nextgen-gallery-pro/nggallery-pro.php");
}
function getNGGalleryImages($ngGalleries, $ngImages, $dt, $lat, $lon, $dtoffset, &$error)
{
$result = array();
$galids = explode(',', $ngGalleries);
$imgids = explode(',', $ngImages);
if (!isNGGalleryActive())
return '';
try {
$pictures = array();
foreach ($galids as $g) {
$pictures = array_merge($pictures, nggdb::get_gallery($g));
}
foreach ($imgids as $i) {
array_push($pictures, nggdb::find_image($i));
}
foreach ($pictures as $p) {
$item = array();
$item["data"] = $p->thumbHTML;
if (is_callable('exif_read_data'))
{
$exif = @exif_read_data($p->imagePath);
if ($exif !== false)
{
$item["lon"] = getExifGps($exif["GPSLongitude"], $exif['GPSLongitudeRef']);
$item["lat"] = getExifGps($exif["GPSLatitude"], $exif['GPSLatitudeRef']);
if (($item["lat"] != 0) || ($item["lon"] != 0))
{
$result[] = $item;
}
else if (isset($p->imagedate))
{
$_dt = strtotime($p->imagedate) + $dtoffset;
$_item = findItemCoordinate($_dt, $dt, $lat, $lon);
if ($_item != null)
{
$item["lat"] = $_item["lat"];
$item["lon"] = $_item["lon"];
$result[] = $item;
}
}
}
}
else
{
$error .= "Sorry, <a href='http://php.net/manual/en/function.exif-read-data.php' target='_blank' >exif_read_data</a> function not found! check your hosting..<br />";
}
}
/* START FIX NEXT GEN GALLERY 2.x */
if ( class_exists("C_Component_Registry") )
{
$renderer = C_Component_Registry::get_instance()->get_utility('I_Displayed_Gallery_Renderer');
$params['gallery_ids'] = $ngGalleries;
$params['image_ids'] = $ngImages;
$params['display_type'] = NEXTGEN_GALLERY_BASIC_THUMBNAILS;
$params['images_per_page'] = 999;
// also add js references to get the gallery working
$dummy = $renderer->display_images($params, $inner_content);
/* START FIX NEXT GEN GALLERY PRO */
if (preg_match("/data-nplmodal-gallery-id=[\"'](.*?)[\"']/", $dummy, $m))
{
$galid = $m[1];
if ($galid)
{
for($i = 0; $i < count($result); ++$i)
{
$result[$i]["data"] = str_replace("%PRO_LIGHTBOX_GALLERY_ID%", $galid, $result[$i]["data"]);
}
}
}
/* END FIX NEXT GEN GALLERY PRO */
}
/* END FIX NEXT GEN GALLERY 2.x */
} catch (Exception $e) {
$error .= 'Error When Retrieving NextGen Gallery galleries/images: $e <br />';
}
return $result;
}
function findItemCoordinate($imgdt, $dt, $lat, $lon)
{
foreach(array_keys($dt) as $i)
{
if ($i!=0 && $imgdt >= $dt[$i-1] && $imgdt <= $dt[$i])
{
if ($lat[$i] != 0 && $lon[$i] != 0)
return array( "lat" => $lat[$i], "lon" => $lon[$i] );
}
}
return null;
}
function getExifGps($exifCoord, $hemi)
{
$degrees = count($exifCoord) > 0 ? gps2Num($exifCoord[0]) : 0;
$minutes = count($exifCoord) > 1 ? gps2Num($exifCoord[1]) : 0;
$seconds = count($exifCoord) > 2 ? gps2Num($exifCoord[2]) : 0;
$flip = ($hemi == 'W' or $hemi == 'S') ? -1 : 1;
return $flip * ($degrees + $minutes / 60 + $seconds / 3600);
}
function gps2Num($coordPart)
{
$parts = explode('/', $coordPart);
if (count($parts) <= 0)
return 0;
if (count($parts) == 1)
return $parts[0];
$lat = floatval($parts[0]);
$lon = floatval($parts[1]);
if ($lon == 0)
return $lat;
return $lat / $lon;
}
?>