Added Thunderforest Api Key on settings: for OpenCycleMap

This commit is contained in:
bastianonm 2017-03-01 09:12:32 +00:00
parent 030b1fe45b
commit 29d00aa301
21 changed files with 2330 additions and 2305 deletions

View File

@ -2,7 +2,7 @@
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.9 Version: 1.3.14
Author: Bastianon Massimo Author: Bastianon Massimo
Author URI: http://www.pedemontanadelgrappa.it/ Author URI: http://www.pedemontanadelgrappa.it/
*/ */
@ -122,7 +122,10 @@ Author URI: http://www.pedemontanadelgrappa.it/
var pluginUrl = params.pluginUrl; var pluginUrl = params.pluginUrl;
var usegpsposition = params.usegpsposition; var usegpsposition = params.usegpsposition;
var currentpositioncon= params.currentpositioncon; var currentpositioncon= params.currentpositioncon;
var ThunderforestApiKey = params.TFApiKey;
var hasThunderforestApiKey = (ThunderforestApiKey + '').length > 0;
// Unit of measure settings // Unit of measure settings
var l_s; var l_s;
var l_x; var l_x;
@ -195,7 +198,10 @@ Author URI: http://www.pedemontanadelgrappa.it/
map.mapTypes.set("OSM2", new google.maps.ImageMapType({ map.mapTypes.set("OSM2", new google.maps.ImageMapType({
getTileUrl: function(coord, zoom) { getTileUrl: function(coord, zoom) {
return "http://a.tile.opencyclemap.org/cycle/" + zoom + "/" + coord.x + "/" + coord.y + ".png"; if (hasThunderforestApiKey)
return "http://a.tile.thunderforest.com/cycle/" + zoom + "/" + coord.x + "/" + coord.y + ".png?apikey=" + ThunderforestApiKey;
else
return "http://a.tile.opencyclemap.org/cycle/" + zoom + "/" + coord.x + "/" + coord.y + ".png";
}, },
tileSize: new google.maps.Size(256, 256), tileSize: new google.maps.Size(256, 256),
name: "OCM", name: "OCM",
@ -205,7 +211,10 @@ Author URI: http://www.pedemontanadelgrappa.it/
map.mapTypes.set("OSM4", new google.maps.ImageMapType({ map.mapTypes.set("OSM4", new google.maps.ImageMapType({
getTileUrl: function(coord, zoom) { getTileUrl: function(coord, zoom) {
return "http://a.tile2.opencyclemap.org/transport/" + zoom + "/" + coord.x + "/" + coord.y + ".png"; if (hasThunderforestApiKey)
return "http://a.tile.thunderforest.com/transport/" + zoom + "/" + coord.x + "/" + coord.y + ".png?apikey=" + ThunderforestApiKey;
else
return "http://a.tile2.opencyclemap.org/transport/" + zoom + "/" + coord.x + "/" + coord.y + ".png";
}, },
tileSize: new google.maps.Size(256, 256), tileSize: new google.maps.Size(256, 256),
name: "OCM-Tran", name: "OCM-Tran",
@ -215,7 +224,10 @@ Author URI: http://www.pedemontanadelgrappa.it/
map.mapTypes.set("OSM5", new google.maps.ImageMapType({ map.mapTypes.set("OSM5", new google.maps.ImageMapType({
getTileUrl: function(coord, zoom) { getTileUrl: function(coord, zoom) {
return "http://a.tile3.opencyclemap.org/landscape/" + zoom + "/" + coord.x + "/" + coord.y + ".png"; if (hasThunderforestApiKey)
return "http://a.tile.thunderforest.com/landscape/" + zoom + "/" + coord.x + "/" + coord.y + ".png?apikey=" + ThunderforestApiKey;
else
return "http://a.tile3.opencyclemap.org/landscape/" + zoom + "/" + coord.x + "/" + coord.y + ".png";
}, },
tileSize: new google.maps.Size(256, 256), tileSize: new google.maps.Size(256, 256),
name: "OCM-Land", name: "OCM-Land",
@ -938,10 +950,7 @@ Author URI: http://www.pedemontanadelgrappa.it/
} }
if (graphSpeed != '') { if (graphSpeed != '') {
if (unitspeed == '6') /* min/100m */ if (unitspeed == '6') /* min/100m */ { l_s = { suf : "min/100m", dec : 2 }; }
{
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 };

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: 2015-11-21 11:14+0100\n" "POT-Creation-Date: 2015-11-21 11:14+0100\n"
"PO-Revision-Date: 2015-11-21 11:18+0100\n" "PO-Revision-Date: 2015-11-21 11:18+0100\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.8.6\n" "X-Generator: Poedit 1.8.6\n"
"Last-Translator: \n" "Last-Translator: \n"
"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" "Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
"Language: cs_CZ\n" "Language: cs_CZ\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 "Nadmořská výška" msgstr "Nadmořská výška"
#: ../wp-gpx-maps.php:468 #: ../wp-gpx-maps.php:468
msgid "Current Position" msgid "Current Position"
msgstr "Aktuální pozice" msgstr "Aktuální pozice"
#: ../wp-gpx-maps.php:469 #: ../wp-gpx-maps.php:469
msgid "Speed" msgid "Speed"
msgstr "Rychlost" msgstr "Rychlost"
#: ../wp-gpx-maps.php:470 #: ../wp-gpx-maps.php:470
msgid "Heart rate" msgid "Heart rate"
msgstr "Srdeční tep" msgstr "Srdeční tep"
#: ../wp-gpx-maps.php:471 #: ../wp-gpx-maps.php:471
msgid "Cadence" msgid "Cadence"
msgstr "Kadence" msgstr "Kadence"
#: ../wp-gpx-maps.php:472 #: ../wp-gpx-maps.php:472
msgid "Go Full Screen" msgid "Go Full Screen"
msgstr "Zvětšit" msgstr "Zvětšit"
#: ../wp-gpx-maps.php:473 #: ../wp-gpx-maps.php:473
msgid "Exit Full Screen" msgid "Exit Full Screen"
msgstr "Zmenšit" msgstr "Zmenšit"
#: ../wp-gpx-maps.php:474 #: ../wp-gpx-maps.php:474
msgid "Hide Images" msgid "Hide Images"
msgstr "Skrýt obrázky" msgstr "Skrýt obrázky"
#: ../wp-gpx-maps.php:475 #: ../wp-gpx-maps.php:475
msgid "Show Images" msgid "Show Images"
msgstr "Zobrazit obrázky" msgstr "Zobrazit obrázky"
#: ../wp-gpx-maps.php:476 #: ../wp-gpx-maps.php:476
msgid "Back to center" msgid "Back to center"
msgstr "Vycentrovat" msgstr "Vycentrovat"
#: ../wp-gpx-maps.php:489 #: ../wp-gpx-maps.php:489
msgid "Total distance" msgid "Total distance"
msgstr "Celková vzdálenost" msgstr "Celková vzdálenost"
#: ../wp-gpx-maps.php:494 #: ../wp-gpx-maps.php:494
msgid "Max elevation" msgid "Max elevation"
msgstr "Max. výška" msgstr "Max. výška"
#: ../wp-gpx-maps.php:496 #: ../wp-gpx-maps.php:496
msgid "Min elevation" msgid "Min elevation"
msgstr "Min. výška" msgstr "Min. výška"
#: ../wp-gpx-maps.php:498 #: ../wp-gpx-maps.php:498
msgid "Total climbing" msgid "Total climbing"
msgstr "Celkem nastoupáno" msgstr "Celkem nastoupáno"
#: ../wp-gpx-maps.php:500 #: ../wp-gpx-maps.php:500
msgid "Total descent" msgid "Total descent"
msgstr "Celkem naklesáno" msgstr "Celkem naklesáno"
#: ../wp-gpx-maps.php:504 #: ../wp-gpx-maps.php:504
msgid "Average speed" msgid "Average speed"
msgstr "Průměrná rychlost" msgstr "Průměrná rychlost"
#: ../wp-gpx-maps.php:509 #: ../wp-gpx-maps.php:509
msgid "Total Time" msgid "Total Time"
msgstr "Celkový čas" msgstr "Celkový čas"
#: ../wp-gpx-maps.php:525 #: ../wp-gpx-maps.php:525
msgid "Download" msgid "Download"
msgstr "Stáhnout" msgstr "Stáhnout"
#: ../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 "Uložit změny" msgstr "Uložit změny"

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

@ -5,7 +5,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i
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.7.2 Tested up to: 4.7.2
Stable tag: 1.3.13 Stable tag: 1.3.14
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.
@ -153,7 +153,10 @@ Yes!
1. Altitude & Speed 1. Altitude & Speed
1. Altitude & Speed & Hearth rate 1. Altitude & Speed & Hearth rate
== Changelog === 1.3.13 = == Changelog ==
= 1.3.14 =
* Added Thunderforest Api Key on settings: for OpenCycleMap
= 1.3.13 =
* Added google maps api key on settings * Added google maps api key on settings
* Removed parameter 'sensor' on google maps js * Removed parameter 'sensor' on google maps js
* Added unit of measure of speed for swimmers: min/100 meters * Added unit of measure of speed for swimmers: min/100 meters

View File

@ -3,7 +3,7 @@
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.13 Version: 1.3.14
Author: Bastianon Massimo Author: Bastianon Massimo
Author URI: http://www.pedemontanadelgrappa.it/ Author URI: http://www.pedemontanadelgrappa.it/
*/ */
@ -51,7 +51,7 @@ function enqueue_WP_GPX_Maps_scripts()
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( '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( '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.13"); wp_enqueue_script( 'WP-GPX-Maps', plugins_url('/WP-GPX-Maps.js', __FILE__), array('jquery','googlemaps','highcharts'), "1.3.14");
} }
function print_WP_GPX_Maps_styles() function print_WP_GPX_Maps_styles()
@ -669,6 +669,7 @@ function handle_WP_GPX_Maps_Shortcodes($attr, $content='')
ngGalleries : ['.$ngGalleries.'], ngGalleries : ['.$ngGalleries.'],
ngImages : ['.$ngImages.'], ngImages : ['.$ngImages.'],
pluginUrl : "'.plugins_url().'", pluginUrl : "'.plugins_url().'",
TFApiKey : "'.get_option('wpgpxmaps_openstreetmap_apikey').'",
langs : { altitude : "'.__("Altitude", "wp-gpx-maps").'", langs : { altitude : "'.__("Altitude", "wp-gpx-maps").'",
currentPosition : "'.__("Current Position", "wp-gpx-maps").'", currentPosition : "'.__("Current Position", "wp-gpx-maps").'",
speed : "'.__("Speed", "wp-gpx-maps").'", speed : "'.__("Speed", "wp-gpx-maps").'",
@ -744,8 +745,7 @@ function convertSeconds($s){
function convertSpeed($speed,$uomspeed, $addUom = false){ function convertSpeed($speed,$uomspeed, $addUom = false){
$uom = ''; $uom = '';
if ($uomspeed == '6') /* min/100 meters */ if ($uomspeed == '6') /* min/100 meters */ {
{
$speed = 1 / $speed * 100 / 60 ; $speed = 1 / $speed * 100 / 60 ;
$uom = " min/100m"; $uom = " min/100m";
} else if ($uomspeed == '5') /* knots */ { } else if ($uomspeed == '5') /* knots */ {
@ -766,6 +766,7 @@ function convertSpeed($speed,$uomspeed, $addUom = false){
} else /* dafault m/s */ { } else /* dafault m/s */ {
$uom = " m/s"; $uom = " m/s";
} }
if ($addUom == true) { if ($addUom == true) {
return number_format ( $speed , 2 , '.' , '' ) . $uom; return number_format ( $speed , 2 , '.' , '' ) . $uom;
} else { } else {

View File

@ -36,8 +36,8 @@
$total_time = get_option("wpgpxmaps_summary_total_time"); $total_time = get_option("wpgpxmaps_summary_total_time");
$usegpsposition = get_option("wpgpxmaps_usegpsposition"); $usegpsposition = get_option("wpgpxmaps_usegpsposition");
$distanceType = get_option("wpgpxmaps_distance_type"); $distanceType = get_option("wpgpxmaps_googlemapsv3_apikey"); $distanceType = get_option("wpgpxmaps_distance_type");
if (empty($showEle)) if (empty($showEle))
$showEle = "true"; $showEle = "true";
@ -102,11 +102,23 @@
<input name="wpgpxmaps_usegpsposition" type="checkbox" value="true" <?php if($usegpsposition == true){echo('checked');} ?> onchange="this.value = (this.checked)" /> <i>Allow users to use browser GPS in order to display their current position on map</i> <input name="wpgpxmaps_usegpsposition" type="checkbox" value="true" <?php if($usegpsposition == true){echo('checked');} ?> onchange="this.value = (this.checked)" /> <i>Allow users to use browser GPS in order to display their current position on map</i>
</td> </td>
</tr> </tr>
<tr> <th scope="row">Google maps api key:</th> <td> <input name="wpgpxmaps_googlemapsv3_apikey" type="text" id="wpgpxmaps_googlemapsv3_apikey" value="<?php echo get_option('wpgpxmaps_googlemapsv3_apikey'); ?>" style="width:400px" /> <em> Go to the <a href="https://developers.google.com/maps/documentation/javascript/" target="_blank">Google API Console</a> and click &#8216;Get A Key&#8217; </em> </td> </tr> </table> <tr>
<th scope="row">Google maps api key:</th>
<td>
<input name="wpgpxmaps_googlemapsv3_apikey" type="text" id="wpgpxmaps_googlemapsv3_apikey" value="<?php echo get_option('wpgpxmaps_googlemapsv3_apikey'); ?>" style="width:400px" /> <em> Go to the <a href="https://developers.google.com/maps/documentation/javascript/" target="_blank">Google API Console</a> and click &#8216;Get A Key&#8217; </em>
</td>
</tr>
<tr>
<th scope="row">Thunderforest api key (Open Cycle Map):</th>
<td>
<input name="wpgpxmaps_openstreetmap_apikey" type="text" id="wpgpxmaps_openstreetmap_apikey" value="<?php echo get_option('wpgpxmaps_openstreetmap_apikey'); ?>" style="width:400px" /> <em> Go to <a href="http://www.thunderforest.com/docs/apikeys/" target="_blank">Thunderforest API Keys</a> and click &#8216;signing in to your Thunderforest account&#8217; </em>
</td>
</tr>
</table>
<p class="submit"> <p class="submit">
<input type="hidden" name="action" value="update" /> <input type="hidden" name="action" value="update" />
<input name="page_options" type="hidden" value="wpgpxmaps_height,wpgpxmaps_graph_height,wpgpxmaps_width,wpgpxmaps_download,wpgpxmaps_skipcache,wpgpxmaps_distance_type,wpgpxmaps_usegpsposition,wpgpxmaps_googlemapsv3_apikey" /> <input name="page_options" type="hidden" value="wpgpxmaps_height,wpgpxmaps_graph_height,wpgpxmaps_width,wpgpxmaps_download,wpgpxmaps_skipcache,wpgpxmaps_distance_type,wpgpxmaps_usegpsposition,wpgpxmaps_googlemapsv3_apikey,wpgpxmaps_openstreetmap_apikey" />
<input type="submit" class="button-primary" value="<?php _e('Save Changes', "wp_gpx_maps") ?>" /> <input type="submit" class="button-primary" value="<?php _e('Save Changes', "wp_gpx_maps") ?>" />
</p> </p>

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;
} }
?> ?>