New Language and wp3.5 compatibility

This commit is contained in:
bastianonm 2012-12-21 13:46:55 +00:00
parent d85c628c4b
commit 5e154201e9
13 changed files with 762 additions and 663 deletions

View File

@ -756,7 +756,11 @@ function _wpgpxmaps(params)
var l_s; var l_s;
if (unitspeed == '4') // min/miles if (unitspeed == '5') // knos
{
l_s = { suf : "knos", dec : 2 };
}
else if (unitspeed == '4') // min/miles
{ {
l_s = { suf : "min/mi", dec : 2 }; l_s = { suf : "min/mi", 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: 2012-10-30 14:41+0100\n" "PO-Revision-Date: 2012-10-30 14:41+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-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ö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 "" 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 "Distanz" msgstr "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
#, fuzzy #, fuzzy
msgid "Total Time" msgid "Total Time"
msgstr "Distanz" msgstr "Distanz"
#: ../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: 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"
"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 "Altura" msgstr "Altura"
#: ../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 "" 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 "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
#, fuzzy #, fuzzy
msgid "Total Time" msgid "Total Time"
msgstr "Distancia total" msgstr "Distancia 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"

Binary file not shown.

View File

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

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: 2012-10-30 14:53+0100\n" "PO-Revision-Date: 2012-10-30 14:53+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 "Distanza totale" msgstr "Distanza 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,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: 3.4 Tested up to: 3.4
Stable tag: 1.1.38 Stable tag: 1.1.39
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.
@ -42,6 +42,7 @@ Translated into 7 languages:
- Swedish sv_SE - Swedish sv_SE
- Turkish tr_TR - Turkish tr_TR
- Hungarian hu_HU - Hungarian hu_HU
- French fr_FR
(many thanks to all the guys who helped me with the translations) (many thanks to all the guys who helped me with the translations)
@ -174,6 +175,9 @@ Yes!
1. Altitude & Speed & Hearth rate 1. Altitude & Speed & Hearth rate
== Changelog == == Changelog ==
= 1.1.39 =
* Added French translation, thanks to Hervé
* Added Nautical Miles per Hour (Knots) unit of measure
= 1.1.38 = = 1.1.38 =
* Fix: garmin gpx cadence and heart rate * Fix: garmin gpx cadence and heart rate
* Updated Turkish translation, thanks to Edip * Updated Turkish translation, thanks to Edip

View File

@ -3,7 +3,7 @@
Plugin Name: WP-GPX-Maps Plugin Name: WP-GPX-Maps
Plugin URI: http://www.darwinner.it/ Plugin URI: http://www.darwinner.it/
Description: Draws a gpx track with altitude graph Description: Draws a gpx track with altitude graph
Version: 1.1.38 Version: 1.1.39
Author: Bastianon Massimo Author: Bastianon Massimo
Author URI: http://www.pedemontanadelgrappa.it/ Author URI: http://www.pedemontanadelgrappa.it/
*/ */
@ -54,7 +54,7 @@ function enqueue_WP_GPX_Maps_scripts()
wp_enqueue_script( 'highcharts' ); wp_enqueue_script( 'highcharts' );
wp_deregister_script( 'WP-GPX-Maps' ); wp_deregister_script( 'WP-GPX-Maps' );
wp_register_script( 'WP-GPX-Maps', plugins_url('/WP-GPX-Maps.js', __FILE__), array('jquery','googlemaps','highcharts'), "1.1.34"); wp_register_script( 'WP-GPX-Maps', plugins_url('/WP-GPX-Maps.js', __FILE__), array('jquery','googlemaps','highcharts'), "1.1.39");
wp_enqueue_script( 'WP-GPX-Maps' ); wp_enqueue_script( 'WP-GPX-Maps' );
} }
@ -278,7 +278,7 @@ function handle_WP_GPX_Maps_Shortcodes($attr, $content='')
} }
else else
{ {
$points_maps .= '['.(float)$points_x_lat[$i].','.(float)$points_x_lon[$i].'],'; $points_maps .= '['.number_format((float)$points_x_lat[$i], 7 , '.' , '' ).','.number_format((float)$points_x_lon[$i], 7 , '.' , '' ).'],';
$_ele = (float)$points->ele[$i]; $_ele = (float)$points->ele[$i];
$_dist = (float)$points->dist[$i]; $_dist = (float)$points->dist[$i];
@ -294,8 +294,8 @@ function handle_WP_GPX_Maps_Shortcodes($attr, $content='')
$_dist = (float)($_dist / 1000); $_dist = (float)($_dist / 1000);
} }
$points_graph_dist .= $_dist.','; $points_graph_dist .= number_format ( $_dist , 2 , '.' , '' ).',';
$points_graph_ele .= $_ele.','; $points_graph_ele .= number_format ( $_ele , 2 , '.' , '' ).',';
if ($showSpeed == true) { if ($showSpeed == true) {
@ -306,12 +306,12 @@ function handle_WP_GPX_Maps_Shortcodes($attr, $content='')
if ($showHr == true) if ($showHr == true)
{ {
$points_graph_hr .= $points->hr[$i].','; $points_graph_hr .= number_format ( $points->hr[$i] , 2 , '.' , '' ).',';
} }
if ($showCad == true) if ($showCad == true)
{ {
$points_graph_cad .= $points->cad[$i].','; $points_graph_cad .= number_format ( $points->cad[$i] , 2 , '.' , '' ).',';
} }
} }
} }
@ -347,9 +347,13 @@ function handle_WP_GPX_Maps_Shortcodes($attr, $content='')
if ($showW == true) if ($showW == true)
{ {
$wpoints = getWayPoints($gpx); $wpoints = getWayPoints($gpx);
foreach ($wpoints as $p) { foreach ($wpoints as $p) {
$waypoints .= '['.(float)$p[0].','.(float)$p[1].',\''.unescape($p[4]).'\',\''.unescape($p[5]).'\',\''.unescape($p[7]).'\'],'; $waypoints .= '['.number_format ( (float)$p[0] , 7 , '.' , '' ).','.number_format ( (float)$p[1] , 7 , '.' , '' ).',\''.unescape($p[4]).'\',\''.unescape($p[5]).'\',\''.unescape($p[7]).'\'],';
} }
} }
@ -541,6 +545,11 @@ function convertSeconds($s)
function convertSpeed($speed,$uomspeed, $addUom = false) function convertSpeed($speed,$uomspeed, $addUom = false)
{ {
if ($uomspeed == '5') // knos
{
$speed *= 1.94384449;
if ($addUom == true) $speed = round($speed,2) . " knos";
}
if ($uomspeed == '4') // min/mi if ($uomspeed == '4') // min/mi
{ {
$speed = convertSeconds($speed * 0.037282272); $speed = convertSeconds($speed * 0.037282272);
@ -565,7 +574,7 @@ function convertSpeed($speed,$uomspeed, $addUom = false)
{ {
if ($addUom == true) $speed = round($speed,2) . " m/s"; if ($addUom == true) $speed = round($speed,2) . " m/s";
} }
return $speed; return number_format ( $speed , 2 , '.' , '' );
} }
function downloadRemoteFile($remoteFile) function downloadRemoteFile($remoteFile)

View File

@ -285,6 +285,7 @@
<option value="2" <?php if ($uomSpeed == '2') echo 'selected'; ?>>miles/h</option> <option value="2" <?php if ($uomSpeed == '2') echo 'selected'; ?>>miles/h</option>
<option value="3" <?php if ($uomSpeed == '3') echo 'selected'; ?>>min/km</option> <option value="3" <?php if ($uomSpeed == '3') echo 'selected'; ?>>min/km</option>
<option value="4" <?php if ($uomSpeed == '4') echo 'selected'; ?>>min/miles</option> <option value="4" <?php if ($uomSpeed == '4') echo 'selected'; ?>>min/miles</option>
<option value="5" <?php if ($uomSpeed == '5') echo 'selected'; ?>>Nautical Miles/Hour (Knots)</option>
</select> </select>
</td> </td>
</tr> </tr>