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 Name: WP-GPX-Maps
Plugin URI: http://www.devfarm.it/ Plugin URI: http://www.devfarm.it/
Description: Draws a gpx track with altitude graph Description: Draws a gpx track with altitude graph
Version: 1.3.15 Version: 1.5.00
Author: Bastianon Massimo Author: Bastianon Massimo
Author URI: http://www.pedemontanadelgrappa.it/ Author URI: http://www.devfarm.it/
*/ */
(function ( $ ) { (function ( $ ) {
@ -125,6 +125,8 @@ Author URI: http://www.pedemontanadelgrappa.it/
var ThunderforestApiKey = params.TFApiKey; var ThunderforestApiKey = params.TFApiKey;
var hasThunderforestApiKey = (ThunderforestApiKey + '').length > 0; var hasThunderforestApiKey = (ThunderforestApiKey + '').length > 0;
var _formats=[];
// Unit of measure settings // Unit of measure settings
var l_s; var l_s;
@ -638,20 +640,32 @@ Author URI: http://www.pedemontanadelgrappa.it/
{ {
marker.setPosition(event.latLng); marker.setPosition(event.latLng);
marker.setTitle(lng.currentPosition); marker.setTitle(lng.currentPosition);
if (hchart) if (myChart)
{ {
var tooltip = hchart.tooltip;
var l1 = event.latLng.lat(); var l1 = event.latLng.lat();
var l2 = event.latLng.lng(); var l2 = event.latLng.lng();
var ci = getClosestIndex(mapData,l1,l2); var ci = getClosestIndex(mapData,l1,l2);
var items = []; var activeElements = [];
var seriesLen = hchart.series.length; var seriesLen = myChart.data.datasets.length;
for(var i=0; i<seriesLen;i++) 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) if (activeElements.length > 0)
tooltip.refresh(items); {
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") if (graphDist != '' && (graphEle != '' || graphSpeed != '' || graphHr != '' || graphAtemp != '' || graphCad != '') && graphh != "0px")
{ {
var valLen = graphDist.length; var valLen = graphDist.length;
var l_y_arr = [];
if (unit=="1") if (unit=="1")
{ {
l_x = { suf : "mi", dec : 1 }; l_x = { suf : "mi", dec : 1 };
@ -761,8 +774,94 @@ Author URI: http://www.pedemontanadelgrappa.it/
// define the options // define the options
var hoptions = { var hoptions = {
chart: { type: 'line',
renderTo: 'hchart_' + params.targetId, 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', type: 'area',
events: { events: {
selection: function(event) { selection: function(event) {
@ -816,107 +915,23 @@ Author URI: http://www.pedemontanadelgrappa.it/
}, },
zoomType: 'x' 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 != '') if (graphEle != '')
{ {
var eleData = []; var myData = mergeArrayForChart(graphDist, graphEle);
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 yaxe = { var yaxe = {
title: { text: null }, type: 'linear',
labels: { ticks: {
align: 'left', // Include a dollar sign in the ticks
formatter: function() { callback: function(value, index, values) {
return Highcharts.numberFormat(this.value, l_y.dec,decPoint,thousandsSep) + l_y.suf; return Math.round(value, l_y.dec) + l_y.suf;
} }
} },
} id: "y-axis-" + (hoptions.options.scales.yAxes.length + 1),
};
if ( chartFrom1 != '' ) if ( chartFrom1 != '' )
{ {
@ -924,7 +939,7 @@ Author URI: http://www.pedemontanadelgrappa.it/
yaxe.startOnTick = false; yaxe.startOnTick = false;
} }
else { else {
yaxe.min = myelemin; yaxe.min = myData.Min;
} }
if ( chartTo1 != '' ) if ( chartTo1 != '' )
@ -933,24 +948,19 @@ Author URI: http://www.pedemontanadelgrappa.it/
yaxe.endOnTick = false; yaxe.endOnTick = false;
} }
else { else {
yaxe.max = myelemax; yaxe.max = myData.Max;
} }
_formats.push(l_y)
hoptions.yAxis.push(yaxe); hoptions.options.scales.yAxes.push(yaxe);
hoptions.series.push({ hoptions.data.datasets.push( getDataset(lng.altitude, myData.Items, color2, yaxe.id ));
name: lng.altitude,
lineWidth: 1,
marker: { radius: 0 },
data : eleData,
color: color2,
yAxis: hoptions.series.length
});
l_y_arr.push(l_y);
} }
if (graphSpeed != '') { if (graphSpeed != '') {
if (unitspeed == '6') /* min/100m */ { l_s = { suf : "min/100m", dec : 2 }; } if (unitspeed == '6') /* min/100m */
{
l_s = { suf : "min/100m", dec : 2 };
}
else if (unitspeed == '5') /* knots */ else if (unitspeed == '5') /* knots */
{ {
l_s = { suf : "knots", dec : 2 }; l_s = { suf : "knots", dec : 2 };
@ -976,222 +986,221 @@ Author URI: http://www.pedemontanadelgrappa.it/
l_s = { suf : "m/s", dec : 0 }; l_s = { suf : "m/s", dec : 0 };
} }
var speedData = []; var myData = mergeArrayForChart(graphDist, graphSpeed);
for (i=0; i<valLen; i++)
{
if (graphDist[i] != null)
speedData.push([graphDist[i],graphSpeed[i]]);
}
var yaxe = { var yaxe = {
title: { text: null }, type: 'linear',
labels: { ticks: {
//align: 'right', // Include a dollar sign in the ticks
formatter: function() { callback: function(value, index, values) {
return Highcharts.numberFormat(this.value, l_s.dec,decPoint,thousandsSep) + l_s.suf; 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 != '' ) if ( chartFrom2 != '' )
{ {
yaxe.min = chartFrom2; yaxe.min = chartFrom2;
yaxe.startOnTick = false; yaxe.startOnTick = false;
} }
else {
yaxe.min = myData.Min;
}
if ( chartTo2 != '' ) if ( chartTo2 != '' )
{ {
yaxe.max = chartTo2; yaxe.max = chartTo2;
yaxe.endOnTick = false; yaxe.endOnTick = false;
} }
else {
hoptions.yAxis.push(yaxe); yaxe.max = myData.Max;
hoptions.series.push({ }
name: lng.speed,
lineWidth: 1,
marker: { radius: 0 },
data : speedData,
color: color3,
yAxis: hoptions.series.length
});
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 != '') if (graphHr != '')
{ {
var hrData = []; var myData = mergeArrayForChart(graphDist, graphHr);
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 yaxe = { var yaxe = {
title: { text: null }, type: 'linear',
labels: { ticks: {
//align: 'right', // Include a dollar sign in the ticks
formatter: function() { callback: function(value, index, values) {
return Highcharts.numberFormat(this.value, l_hr.dec,decPoint,thousandsSep) + l_hr.suf; 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.options.scales.yAxes.push(yaxe);
hoptions.series.push({ hoptions.data.datasets.push( getDataset(lng.heartRate, myData.Items, color4, yaxe.id ) );
name: lng.heartRate, _formats.push(l_hr);
lineWidth: 1,
marker: { radius: 0 },
data : hrData,
color: color4,
yAxis: hoptions.series.length
});
l_y_arr.push(l_hr);
} }
if (graphAtemp != '') if (graphAtemp != '')
{ {
var atempData = []; var myData = mergeArrayForChart(graphDist, graphAtemp);
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 yaxe = { var yaxe = {
title: { text: null }, type: 'linear',
labels: { ticks: {
//align: 'right', // Include a dollar sign in the ticks
formatter: function() { callback: function(value, index, values) {
return Highcharts.numberFormat(this.value, 1, decPoint,thousandsSep) + " °C"; return Math.round(value, 1) + "°C";
} }
}, },
opposite: true position: 'right',
} scalePositionLeft: false,
id: "y-axis-" + (hoptions.options.scales.yAxes.length + 1),
hoptions.yAxis.push(yaxe); };
hoptions.series.push({
name: lng.atemp, hoptions.options.scales.yAxes.push(yaxe);
lineWidth: 1, hoptions.data.datasets.push( getDataset(lng.atemp, myData,Items, color7, yaxe.id ) );
marker: { radius: 0 }, _formats.push({ suf : "°C", dec : 1 });
data : atempData,
color: color7,
yAxis: hoptions.series.length
});
l_y_arr.push({ suf : "°C", dec : 1 });
} }
if (graphCad != '') if (graphCad != '')
{ {
var cadData = []; var myData = mergeArrayForChart(graphDist, graphCad, true);
for (i=0; i<valLen; i++) var yaxe = {
{ type: 'linear',
if (graphDist[i] != null) ticks: {
{ // Include a dollar sign in the ticks
var c = graphCad[i]; callback: function(value, index, values) {
if (c==0) return Math.round(value, l_cad.dec) + l_cad.suf;
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;
} }
}, },
opposite: true position: 'right',
} scalePositionLeft: false,
id: "y-axis-" + (hoptions.options.scales.yAxes.length + 1),
};
hoptions.yAxis.push(yaxe); hoptions.options.scales.yAxes.push(yaxe);
hoptions.series.push({ hoptions.data.datasets.push( getDataset(lng.cadence, myData.Items, color5, yaxe.id) );
name: lng.cadence, _formats.push(l_cad);
lineWidth: 1,
marker: { radius: 0 },
data : cadData,
color: color5,
yAxis: hoptions.series.length
});
l_y_arr.push(l_cad);
} }
if (graphGrade != '') if (graphGrade != '')
{ {
var cadData = []; var myData = mergeArrayForChart(graphDist, graphGrade);
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 yaxe = { var yaxe = {
title: { text: null }, type: 'linear',
labels: { ticks: {
//align: 'right', // Include a dollar sign in the ticks
formatter: function() { callback: function(value, index, values) {
return Highcharts.numberFormat(this.value, l_grade.dec,decPoint,thousandsSep) + l_grade.suf; return Math.round(value, l_grade.dec) + l_grade.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.grade, _formats.push(l_grade);
lineWidth: 1, hoptions.options.scales.yAxes.push(yaxe);
marker: { radius: 0 }, hoptions.data.datasets.push( getDataset(lng.grade, myData.Items, color6, yaxe.id ) );
data : cadData,
color: color6,
yAxis: hoptions.series.length
});
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 { else {
jQuery("#hchart_" + params.targetId).css("display","none"); jQuery("#myChart_" + params.targetId).css("display","none");
} }
return this; 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) function addWayPoint(map, image, shadow, lat, lon, title, descr)
{ {
var p = new google.maps.LatLng(lat, lon); var p = new google.maps.LatLng(lat, lon);

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,94 +1,94 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: wp-gpx-maps\n" "Project-Id-Version: wp-gpx-maps\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2012-10-30 14:42+0100\n" "POT-Creation-Date: 2012-10-30 14:42+0100\n"
"PO-Revision-Date: 2012-10-30 14:42+0100\n" "PO-Revision-Date: 2012-10-30 14:42+0100\n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: \n" "Language-Team: \n"
"Language: tr_TR\n" "Language: tr_TR\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"X-Poedit-KeywordsList: __;_e\n" "X-Poedit-KeywordsList: __;_e\n"
"X-Poedit-Basepath: .\n" "X-Poedit-Basepath: .\n"
"X-Generator: Poedit 1.5.4\n" "X-Generator: Poedit 1.5.4\n"
"X-Poedit-SearchPath-0: ..\n" "X-Poedit-SearchPath-0: ..\n"
#: ../wp-gpx-maps.php:467 #: ../wp-gpx-maps.php:467
msgid "Altitude" msgid "Altitude"
msgstr "Rakım" msgstr "Rakım"
#: ../wp-gpx-maps.php:468 #: ../wp-gpx-maps.php:468
msgid "Current Position" msgid "Current Position"
msgstr "Güncel Pozisyon" msgstr "Güncel Pozisyon"
#: ../wp-gpx-maps.php:469 #: ../wp-gpx-maps.php:469
msgid "Speed" msgid "Speed"
msgstr "Hız" msgstr "Hız"
#: ../wp-gpx-maps.php:470 #: ../wp-gpx-maps.php:470
msgid "Heart rate" msgid "Heart rate"
msgstr "Nabız" msgstr "Nabız"
#: ../wp-gpx-maps.php:471 #: ../wp-gpx-maps.php:471
msgid "Cadence" msgid "Cadence"
msgstr "Kadans" msgstr "Kadans"
#: ../wp-gpx-maps.php:472 #: ../wp-gpx-maps.php:472
msgid "Go Full Screen" msgid "Go Full Screen"
msgstr "Tam Ekran Gör" msgstr "Tam Ekran Gör"
#: ../wp-gpx-maps.php:473 #: ../wp-gpx-maps.php:473
msgid "Exit Full Screen" msgid "Exit Full Screen"
msgstr "Tam Ekrandan Çık" msgstr "Tam Ekrandan Çık"
#: ../wp-gpx-maps.php:474 #: ../wp-gpx-maps.php:474
msgid "Hide Images" msgid "Hide Images"
msgstr "" msgstr ""
#: ../wp-gpx-maps.php:475 #: ../wp-gpx-maps.php:475
msgid "Show Images" msgid "Show Images"
msgstr "" msgstr ""
#: ../wp-gpx-maps.php:476 #: ../wp-gpx-maps.php:476
msgid "Back to center" msgid "Back to center"
msgstr "" msgstr ""
#: ../wp-gpx-maps.php:489 #: ../wp-gpx-maps.php:489
msgid "Total distance" msgid "Total distance"
msgstr "Toplam Mesafe" msgstr "Toplam Mesafe"
#: ../wp-gpx-maps.php:494 #: ../wp-gpx-maps.php:494
msgid "Max elevation" msgid "Max elevation"
msgstr "Maks. İrtifa" msgstr "Maks. İrtifa"
#: ../wp-gpx-maps.php:496 #: ../wp-gpx-maps.php:496
msgid "Min elevation" msgid "Min elevation"
msgstr "Min. İrtifa" msgstr "Min. İrtifa"
#: ../wp-gpx-maps.php:498 #: ../wp-gpx-maps.php:498
msgid "Total climbing" msgid "Total climbing"
msgstr "Toplam Tırmanış" msgstr "Toplam Tırmanış"
#: ../wp-gpx-maps.php:500 #: ../wp-gpx-maps.php:500
msgid "Total descent" msgid "Total descent"
msgstr "Toplam İniş" msgstr "Toplam İniş"
#: ../wp-gpx-maps.php:504 #: ../wp-gpx-maps.php:504
msgid "Average speed" msgid "Average speed"
msgstr "Ortalama Hız" msgstr "Ortalama Hız"
#: ../wp-gpx-maps.php:509 #: ../wp-gpx-maps.php:509
msgid "Total Time" msgid "Total Time"
msgstr "Toplam Süre" msgstr "Toplam Süre"
#: ../wp-gpx-maps.php:525 #: ../wp-gpx-maps.php:525
msgid "Download" msgid "Download"
msgstr "İndir" msgstr "İndir"
#: ../wp-gpx-maps_admin_settings.php:83 ../wp-gpx-maps_admin_settings.php:151 #: ../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:229 ../wp-gpx-maps_admin_settings.php:333
#: ../wp-gpx-maps_admin_settings.php:364 #: ../wp-gpx-maps_admin_settings.php:364
msgid "Save Changes" msgid "Save Changes"
msgstr "Değişiklikleri Kaydet" 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 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 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 Requires at least: 2.0.0
Tested up to: 4.8.2 Tested up to: 4.9.4
Stable tag: 1.3.16 Stable tag: 1.5.00
Draws a gpx track with altitude graph. You can also display your nextgen gallery images in the map. 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! 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. 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: 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. 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 - 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> <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 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> Thanks to: <a href="http://www.securcube.net/">www.securcube.net</a>, <a href="http://www.devfarm.it/">www.devfarm.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).
== Installation == == Installation ==
@ -157,6 +153,8 @@ Yes!
1. Altitude & Speed & Hearth rate 1. Altitude & Speed & Hearth rate
== Changelog == == 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 = = 1.3.16 =
* Added Norwegian nb_NO translation (thanks to thordivel) * Added Norwegian nb_NO translation (thanks to thordivel)
* Added Japanese ja_JP translation (thanks to dentos) * Added Japanese ja_JP translation (thanks to dentos)

View File

@ -3,9 +3,9 @@
Plugin Name: WP-GPX-Maps Plugin Name: WP-GPX-Maps
Plugin URI: http://www.devfarm.it/ Plugin URI: http://www.devfarm.it/
Description: Draws a GPX track with altitude chart Description: Draws a GPX track with altitude chart
Version: 1.3.16 Version: 1.5.00
Author: Bastianon Massimo Author: Bastianon Massimo
Author URI: http://www.pedemontanadelgrappa.it/ Author URI: http://www.devfarm.it/
*/ */
//error_reporting (E_ALL); //error_reporting (E_ALL);
@ -47,16 +47,23 @@ function WP_GPX_Maps_action_links($links, $file) {
} }
function enqueue_WP_GPX_Maps_scripts() 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); } $wpgpxmaps_googlemapsv3_apikey = get_option('wpgpxmaps_googlemapsv3_apikey');
wp_enqueue_script( 'jquery' );
wp_enqueue_script( 'highcharts', "//code.highcharts.com/3.0.10/highcharts.js", array('jquery'), "3.0.10", true); if ($wpgpxmaps_googlemapsv3_apikey) {
wp_enqueue_script( 'WP-GPX-Maps', plugins_url('/WP-GPX-Maps.js', __FILE__), array('jquery','googlemaps','highcharts'), "1.3.15"); 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() function print_WP_GPX_Maps_styles()
{ {
?> ?>
<style type="text/css"> <style type="text/css">
.wpgpxmaps { clear:both; } .wpgpxmaps { clear:both; }
#content .wpgpxmaps img, #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="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 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>
<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="ngimages_'.$r.'" class="ngimages" style="display:none">'.$ngimgs_data.'</div>
<div id="report_'.$r.'" class="report"></div> <div id="report_'.$r.'" class="report"></div>
</div> </div>
'. $error .' '. $error .'
<script type="text/javascript"> <script type="text/javascript">
jQuery(document).ready(function() { jQuery(document).ready(function() {
jQuery("#wpgpxmaps_'.$r.'").wpgpxmaps({ jQuery("#wpgpxmaps_'.$r.'").wpgpxmaps({
targetId : "'.$r.'", targetId : "'.$r.'",
mapType : "'.$mt.'", mapType : "'.$mt.'",
@ -683,8 +692,10 @@ function handle_WP_GPX_Maps_Shortcodes($attr, $content='')
showImages : "'.__("Show Images", "wp-gpx-maps").'", showImages : "'.__("Show Images", "wp-gpx-maps").'",
backToCenter : "'.__("Back to center", "wp-gpx-maps").'" backToCenter : "'.__("Back to center", "wp-gpx-maps").'"
} }
}); });
}); });
</script>'; </script>';
// print summary // print summary

View File

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

File diff suppressed because it is too large Load Diff

View File

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