From 5e154201e949f5eb859154e8d1aa076975d9058c Mon Sep 17 00:00:00 2001 From: bastianonm Date: Fri, 21 Dec 2012 13:46:55 +0000 Subject: [PATCH] New Language and wp3.5 compatibility --- WP-GPX-Maps.js | 6 +- languages/wp-gpx-maps-de_DE.po | 186 ++++++++++++++++---------------- languages/wp-gpx-maps-es_ES.po | 186 ++++++++++++++++---------------- languages/wp-gpx-maps-fr_FR.mo | Bin 0 -> 1241 bytes languages/wp-gpx-maps-fr_FR.po | 81 ++++++++++++++ languages/wp-gpx-maps-hu_HU.po | 184 ++++++++++++++++---------------- languages/wp-gpx-maps-it_IT.po | 188 ++++++++++++++++----------------- languages/wp-gpx-maps-nl_NL.po | 186 ++++++++++++++++---------------- languages/wp-gpx-maps-sv_SE.po | 186 ++++++++++++++++---------------- languages/wp-gpx-maps-tr_TR.po | 188 ++++++++++++++++----------------- readme.txt | 6 +- wp-gpx-maps.php | 27 +++-- wp-gpx-maps_admin_settings.php | 1 + 13 files changed, 762 insertions(+), 663 deletions(-) create mode 100644 languages/wp-gpx-maps-fr_FR.mo create mode 100644 languages/wp-gpx-maps-fr_FR.po diff --git a/WP-GPX-Maps.js b/WP-GPX-Maps.js index e3c91de..462b04d 100644 --- a/WP-GPX-Maps.js +++ b/WP-GPX-Maps.js @@ -756,7 +756,11 @@ function _wpgpxmaps(params) 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 }; } diff --git a/languages/wp-gpx-maps-de_DE.po b/languages/wp-gpx-maps-de_DE.po index 4fe571e..6aee221 100644 --- a/languages/wp-gpx-maps-de_DE.po +++ b/languages/wp-gpx-maps-de_DE.po @@ -1,93 +1,93 @@ -msgid "" -msgstr "" -"Project-Id-Version: wp-gpx-maps\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-10-30 14:41+0100\n" -"PO-Revision-Date: 2012-10-30 14:41+0100\n" -"Last-Translator: \n" -"Language-Team: \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Poedit-KeywordsList: __;_e\n" -"X-Poedit-Basepath: .\n" -"X-Poedit-SearchPath-0: ..\n" - -#: ../wp-gpx-maps.php:467 -msgid "Altitude" -msgstr "Höhe" - -#: ../wp-gpx-maps.php:468 -msgid "Current Position" -msgstr "Aktuelle Position" - -#: ../wp-gpx-maps.php:469 -msgid "Speed" -msgstr "Geschwindigkeit" - -#: ../wp-gpx-maps.php:470 -msgid "Heart rate" -msgstr "Herzfrequenz" - -#: ../wp-gpx-maps.php:471 -msgid "Cadence" -msgstr "Trittfrequenz" - -#: ../wp-gpx-maps.php:472 -msgid "Go Full Screen" -msgstr "Vollbildansicht" - -#: ../wp-gpx-maps.php:473 -msgid "Exit Full Screen" -msgstr "Vollbildansicht beenden" - -#: ../wp-gpx-maps.php:474 -msgid "Hide Images" -msgstr "" - -#: ../wp-gpx-maps.php:475 -msgid "Show Images" -msgstr "" - -#: ../wp-gpx-maps.php:476 -msgid "Back to center" -msgstr "" - -#: ../wp-gpx-maps.php:489 -msgid "Total distance" -msgstr "Distanz" - -#: ../wp-gpx-maps.php:494 -msgid "Max elevation" -msgstr "Maximale Höhe" - -#: ../wp-gpx-maps.php:496 -msgid "Min elevation" -msgstr "Minimale Höhe" - -#: ../wp-gpx-maps.php:498 -msgid "Total climbing" -msgstr "Gesamtanstieg" - -#: ../wp-gpx-maps.php:500 -msgid "Total descent" -msgstr "Gesamtabstieg" - -#: ../wp-gpx-maps.php:504 -msgid "Average speed" -msgstr "Durchschnittsgeschwindigkeit" - -#: ../wp-gpx-maps.php:509 -#, fuzzy -msgid "Total Time" -msgstr "Distanz" - -#: ../wp-gpx-maps.php:525 -msgid "Download" -msgstr "Download" - -#: ../wp-gpx-maps_admin_settings.php:83 ../wp-gpx-maps_admin_settings.php:151 -#: ../wp-gpx-maps_admin_settings.php:229 ../wp-gpx-maps_admin_settings.php:333 -#: ../wp-gpx-maps_admin_settings.php:364 -msgid "Save Changes" -msgstr "Änderungen speichern" +msgid "" +msgstr "" +"Project-Id-Version: wp-gpx-maps\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2012-10-30 14:41+0100\n" +"PO-Revision-Date: 2012-10-30 14:41+0100\n" +"Last-Translator: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Poedit-KeywordsList: __;_e\n" +"X-Poedit-Basepath: .\n" +"X-Poedit-SearchPath-0: ..\n" + +#: ../wp-gpx-maps.php:467 +msgid "Altitude" +msgstr "Höhe" + +#: ../wp-gpx-maps.php:468 +msgid "Current Position" +msgstr "Aktuelle Position" + +#: ../wp-gpx-maps.php:469 +msgid "Speed" +msgstr "Geschwindigkeit" + +#: ../wp-gpx-maps.php:470 +msgid "Heart rate" +msgstr "Herzfrequenz" + +#: ../wp-gpx-maps.php:471 +msgid "Cadence" +msgstr "Trittfrequenz" + +#: ../wp-gpx-maps.php:472 +msgid "Go Full Screen" +msgstr "Vollbildansicht" + +#: ../wp-gpx-maps.php:473 +msgid "Exit Full Screen" +msgstr "Vollbildansicht beenden" + +#: ../wp-gpx-maps.php:474 +msgid "Hide Images" +msgstr "" + +#: ../wp-gpx-maps.php:475 +msgid "Show Images" +msgstr "" + +#: ../wp-gpx-maps.php:476 +msgid "Back to center" +msgstr "" + +#: ../wp-gpx-maps.php:489 +msgid "Total distance" +msgstr "Distanz" + +#: ../wp-gpx-maps.php:494 +msgid "Max elevation" +msgstr "Maximale Höhe" + +#: ../wp-gpx-maps.php:496 +msgid "Min elevation" +msgstr "Minimale Höhe" + +#: ../wp-gpx-maps.php:498 +msgid "Total climbing" +msgstr "Gesamtanstieg" + +#: ../wp-gpx-maps.php:500 +msgid "Total descent" +msgstr "Gesamtabstieg" + +#: ../wp-gpx-maps.php:504 +msgid "Average speed" +msgstr "Durchschnittsgeschwindigkeit" + +#: ../wp-gpx-maps.php:509 +#, fuzzy +msgid "Total Time" +msgstr "Distanz" + +#: ../wp-gpx-maps.php:525 +msgid "Download" +msgstr "Download" + +#: ../wp-gpx-maps_admin_settings.php:83 ../wp-gpx-maps_admin_settings.php:151 +#: ../wp-gpx-maps_admin_settings.php:229 ../wp-gpx-maps_admin_settings.php:333 +#: ../wp-gpx-maps_admin_settings.php:364 +msgid "Save Changes" +msgstr "Änderungen speichern" diff --git a/languages/wp-gpx-maps-es_ES.po b/languages/wp-gpx-maps-es_ES.po index d8e6efa..857f92d 100644 --- a/languages/wp-gpx-maps-es_ES.po +++ b/languages/wp-gpx-maps-es_ES.po @@ -1,93 +1,93 @@ -msgid "" -msgstr "" -"Project-Id-Version: wp-gpx-maps\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-10-30 14:42+0100\n" -"PO-Revision-Date: 2012-10-30 14:42+0100\n" -"Last-Translator: \n" -"Language-Team: \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Poedit-KeywordsList: __;_e\n" -"X-Poedit-Basepath: .\n" -"X-Poedit-SearchPath-0: ..\n" - -#: ../wp-gpx-maps.php:467 -msgid "Altitude" -msgstr "Altura" - -#: ../wp-gpx-maps.php:468 -msgid "Current Position" -msgstr "Posición actual" - -#: ../wp-gpx-maps.php:469 -msgid "Speed" -msgstr "Velocidad" - -#: ../wp-gpx-maps.php:470 -msgid "Heart rate" -msgstr "Ritmo cardíaco" - -#: ../wp-gpx-maps.php:471 -msgid "Cadence" -msgstr "Cadencia" - -#: ../wp-gpx-maps.php:472 -msgid "Go Full Screen" -msgstr "Ir a pantalla completa" - -#: ../wp-gpx-maps.php:473 -msgid "Exit Full Screen" -msgstr "Salir de pantalla completa" - -#: ../wp-gpx-maps.php:474 -msgid "Hide Images" -msgstr "" - -#: ../wp-gpx-maps.php:475 -msgid "Show Images" -msgstr "" - -#: ../wp-gpx-maps.php:476 -msgid "Back to center" -msgstr "" - -#: ../wp-gpx-maps.php:489 -msgid "Total distance" -msgstr "Distancia total" - -#: ../wp-gpx-maps.php:494 -msgid "Max elevation" -msgstr "Elevación máxima" - -#: ../wp-gpx-maps.php:496 -msgid "Min elevation" -msgstr "Elevación mínima" - -#: ../wp-gpx-maps.php:498 -msgid "Total climbing" -msgstr "Total ascendido" - -#: ../wp-gpx-maps.php:500 -msgid "Total descent" -msgstr "Total descendido" - -#: ../wp-gpx-maps.php:504 -msgid "Average speed" -msgstr "Velocidad media" - -#: ../wp-gpx-maps.php:509 -#, fuzzy -msgid "Total Time" -msgstr "Distancia total" - -#: ../wp-gpx-maps.php:525 -msgid "Download" -msgstr "Descargar" - -#: ../wp-gpx-maps_admin_settings.php:83 ../wp-gpx-maps_admin_settings.php:151 -#: ../wp-gpx-maps_admin_settings.php:229 ../wp-gpx-maps_admin_settings.php:333 -#: ../wp-gpx-maps_admin_settings.php:364 -msgid "Save Changes" -msgstr "Salvar cambios" +msgid "" +msgstr "" +"Project-Id-Version: wp-gpx-maps\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2012-10-30 14:42+0100\n" +"PO-Revision-Date: 2012-10-30 14:42+0100\n" +"Last-Translator: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Poedit-KeywordsList: __;_e\n" +"X-Poedit-Basepath: .\n" +"X-Poedit-SearchPath-0: ..\n" + +#: ../wp-gpx-maps.php:467 +msgid "Altitude" +msgstr "Altura" + +#: ../wp-gpx-maps.php:468 +msgid "Current Position" +msgstr "Posición actual" + +#: ../wp-gpx-maps.php:469 +msgid "Speed" +msgstr "Velocidad" + +#: ../wp-gpx-maps.php:470 +msgid "Heart rate" +msgstr "Ritmo cardíaco" + +#: ../wp-gpx-maps.php:471 +msgid "Cadence" +msgstr "Cadencia" + +#: ../wp-gpx-maps.php:472 +msgid "Go Full Screen" +msgstr "Ir a pantalla completa" + +#: ../wp-gpx-maps.php:473 +msgid "Exit Full Screen" +msgstr "Salir de pantalla completa" + +#: ../wp-gpx-maps.php:474 +msgid "Hide Images" +msgstr "" + +#: ../wp-gpx-maps.php:475 +msgid "Show Images" +msgstr "" + +#: ../wp-gpx-maps.php:476 +msgid "Back to center" +msgstr "" + +#: ../wp-gpx-maps.php:489 +msgid "Total distance" +msgstr "Distancia total" + +#: ../wp-gpx-maps.php:494 +msgid "Max elevation" +msgstr "Elevación máxima" + +#: ../wp-gpx-maps.php:496 +msgid "Min elevation" +msgstr "Elevación mínima" + +#: ../wp-gpx-maps.php:498 +msgid "Total climbing" +msgstr "Total ascendido" + +#: ../wp-gpx-maps.php:500 +msgid "Total descent" +msgstr "Total descendido" + +#: ../wp-gpx-maps.php:504 +msgid "Average speed" +msgstr "Velocidad media" + +#: ../wp-gpx-maps.php:509 +#, fuzzy +msgid "Total Time" +msgstr "Distancia total" + +#: ../wp-gpx-maps.php:525 +msgid "Download" +msgstr "Descargar" + +#: ../wp-gpx-maps_admin_settings.php:83 ../wp-gpx-maps_admin_settings.php:151 +#: ../wp-gpx-maps_admin_settings.php:229 ../wp-gpx-maps_admin_settings.php:333 +#: ../wp-gpx-maps_admin_settings.php:364 +msgid "Save Changes" +msgstr "Salvar cambios" diff --git a/languages/wp-gpx-maps-fr_FR.mo b/languages/wp-gpx-maps-fr_FR.mo new file mode 100644 index 0000000000000000000000000000000000000000..e37ce2ef3713eed4b5ab046e3cbeb0a9cd96b9a1 GIT binary patch literal 1241 zcmZXSJ&e;Z6vxdsSH2Mfgc!UrfJ;(7bP8|++B-m8MMVo@JDKD)HAJkCpuiJc#`-U=92Zy0{+|e}nsBFKlOQ7kC_Wey2efcLsF+ zmn*vkK1WO!bUME7VC)e19dtT=f=>G{(8cZFiJagm(ADw5W8f0#^mZ#o;6B&|=<+-R zUHnV%B>1M{2hi2~3_?cfudMSsOWlheY;+qKD1TVXEze7 zY!MN=F(M;l;(10Cv8Iejhs2tNF{CZ;q`9&x)vT4S>m-#CTOKRRSBfOz-Ovzeb}RkI zyiL+rZlopFmSau{jbxdjt@IYFD@Vke1F2)mS+}g+ORY?JPYsD}{tXi~e5`a_nGxk7 zG|eoPTj`{BO!|aEEAB+%A(HrGPj~CHlL@5%2J*a zAEq0mH72Q=sM#cO8QOx91dlwOB-4rOCMLtWcqCMrcvg;mpZ|BD Qr;`{X(`T(}{AL;c0C3\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" diff --git a/languages/wp-gpx-maps-hu_HU.po b/languages/wp-gpx-maps-hu_HU.po index a41c9fd..5a446a2 100644 --- a/languages/wp-gpx-maps-hu_HU.po +++ b/languages/wp-gpx-maps-hu_HU.po @@ -1,92 +1,92 @@ -msgid "" -msgstr "" -"Project-Id-Version: wp-gpx-maps\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-10-30 14:42+0100\n" -"PO-Revision-Date: 2012-10-30 14:43+0100\n" -"Last-Translator: Biró Tamás \n" -"Language-Team: \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Poedit-KeywordsList: __;_e\n" -"X-Poedit-Basepath: .\n" -"X-Poedit-SearchPath-0: ..\n" - -#: ../wp-gpx-maps.php:467 -msgid "Altitude" -msgstr "Magasság" - -#: ../wp-gpx-maps.php:468 -msgid "Current Position" -msgstr "Aktuális pozíció" - -#: ../wp-gpx-maps.php:469 -msgid "Speed" -msgstr "Sebesség" - -#: ../wp-gpx-maps.php:470 -msgid "Heart rate" -msgstr "Szívritmus" - -#: ../wp-gpx-maps.php:471 -msgid "Cadence" -msgstr "Kadencia" - -#: ../wp-gpx-maps.php:472 -msgid "Go Full Screen" -msgstr "Teljes képernyő BE" - -#: ../wp-gpx-maps.php:473 -msgid "Exit Full Screen" -msgstr "Teljes képernyő KI" - -#: ../wp-gpx-maps.php:474 -msgid "Hide Images" -msgstr "" - -#: ../wp-gpx-maps.php:475 -msgid "Show Images" -msgstr "" - -#: ../wp-gpx-maps.php:476 -msgid "Back to center" -msgstr "" - -#: ../wp-gpx-maps.php:489 -msgid "Total distance" -msgstr "Teljes távolság" - -#: ../wp-gpx-maps.php:494 -msgid "Max elevation" -msgstr "Max magasság" - -#: ../wp-gpx-maps.php:496 -msgid "Min elevation" -msgstr "Min magasság" - -#: ../wp-gpx-maps.php:498 -msgid "Total climbing" -msgstr "Össz. emelkedés" - -#: ../wp-gpx-maps.php:500 -msgid "Total descent" -msgstr "Össz. ereszkedés" - -#: ../wp-gpx-maps.php:504 -msgid "Average speed" -msgstr "Átlagsebesség" - -#: ../wp-gpx-maps.php:509 -msgid "Total Time" -msgstr "Teljes Idő" - -#: ../wp-gpx-maps.php:525 -msgid "Download" -msgstr "Letöltés" - -#: ../wp-gpx-maps_admin_settings.php:83 ../wp-gpx-maps_admin_settings.php:151 -#: ../wp-gpx-maps_admin_settings.php:229 ../wp-gpx-maps_admin_settings.php:333 -#: ../wp-gpx-maps_admin_settings.php:364 -msgid "Save Changes" -msgstr "Beállítások mentése" +msgid "" +msgstr "" +"Project-Id-Version: wp-gpx-maps\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2012-10-30 14:42+0100\n" +"PO-Revision-Date: 2012-10-30 14:43+0100\n" +"Last-Translator: Biró Tamás \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Poedit-KeywordsList: __;_e\n" +"X-Poedit-Basepath: .\n" +"X-Poedit-SearchPath-0: ..\n" + +#: ../wp-gpx-maps.php:467 +msgid "Altitude" +msgstr "Magasság" + +#: ../wp-gpx-maps.php:468 +msgid "Current Position" +msgstr "Aktuális pozíció" + +#: ../wp-gpx-maps.php:469 +msgid "Speed" +msgstr "Sebesség" + +#: ../wp-gpx-maps.php:470 +msgid "Heart rate" +msgstr "Szívritmus" + +#: ../wp-gpx-maps.php:471 +msgid "Cadence" +msgstr "Kadencia" + +#: ../wp-gpx-maps.php:472 +msgid "Go Full Screen" +msgstr "Teljes képernyő BE" + +#: ../wp-gpx-maps.php:473 +msgid "Exit Full Screen" +msgstr "Teljes képernyő KI" + +#: ../wp-gpx-maps.php:474 +msgid "Hide Images" +msgstr "" + +#: ../wp-gpx-maps.php:475 +msgid "Show Images" +msgstr "" + +#: ../wp-gpx-maps.php:476 +msgid "Back to center" +msgstr "" + +#: ../wp-gpx-maps.php:489 +msgid "Total distance" +msgstr "Teljes távolság" + +#: ../wp-gpx-maps.php:494 +msgid "Max elevation" +msgstr "Max magasság" + +#: ../wp-gpx-maps.php:496 +msgid "Min elevation" +msgstr "Min magasság" + +#: ../wp-gpx-maps.php:498 +msgid "Total climbing" +msgstr "Össz. emelkedés" + +#: ../wp-gpx-maps.php:500 +msgid "Total descent" +msgstr "Össz. ereszkedés" + +#: ../wp-gpx-maps.php:504 +msgid "Average speed" +msgstr "Átlagsebesség" + +#: ../wp-gpx-maps.php:509 +msgid "Total Time" +msgstr "Teljes Idő" + +#: ../wp-gpx-maps.php:525 +msgid "Download" +msgstr "Letöltés" + +#: ../wp-gpx-maps_admin_settings.php:83 ../wp-gpx-maps_admin_settings.php:151 +#: ../wp-gpx-maps_admin_settings.php:229 ../wp-gpx-maps_admin_settings.php:333 +#: ../wp-gpx-maps_admin_settings.php:364 +msgid "Save Changes" +msgstr "Beállítások mentése" diff --git a/languages/wp-gpx-maps-it_IT.po b/languages/wp-gpx-maps-it_IT.po index bfda46d..8301051 100644 --- a/languages/wp-gpx-maps-it_IT.po +++ b/languages/wp-gpx-maps-it_IT.po @@ -1,94 +1,94 @@ -msgid "" -msgstr "" -"Project-Id-Version: wp-gpx-maps\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-10-30 14:48+0100\n" -"PO-Revision-Date: 2012-10-30 14:53+0100\n" -"Last-Translator: \n" -"Language-Team: \n" -"Language: it_IT\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Poedit-KeywordsList: __;_e\n" -"X-Poedit-Basepath: .\n" -"X-Generator: Poedit 1.5.4\n" -"X-Poedit-SearchPath-0: ..\n" - -#: ../wp-gpx-maps.php:467 -msgid "Altitude" -msgstr "Altitudine" - -#: ../wp-gpx-maps.php:468 -msgid "Current Position" -msgstr "Posizione Corrente" - -#: ../wp-gpx-maps.php:469 -msgid "Speed" -msgstr "Velocità" - -#: ../wp-gpx-maps.php:470 -msgid "Heart rate" -msgstr "Battito Cardiaco" - -#: ../wp-gpx-maps.php:471 -msgid "Cadence" -msgstr "Cadenza" - -#: ../wp-gpx-maps.php:472 -msgid "Go Full Screen" -msgstr "Schermo intero" - -#: ../wp-gpx-maps.php:473 -msgid "Exit Full Screen" -msgstr "Torna a dimensioni originali" - -#: ../wp-gpx-maps.php:474 -msgid "Hide Images" -msgstr "Nascondi immagini" - -#: ../wp-gpx-maps.php:475 -msgid "Show Images" -msgstr "Mostra immagini" - -#: ../wp-gpx-maps.php:476 -msgid "Back to center" -msgstr "Ritorna al centro della mappa" - -#: ../wp-gpx-maps.php:489 -msgid "Total distance" -msgstr "Distanza totale" - -#: ../wp-gpx-maps.php:494 -msgid "Max elevation" -msgstr "Altitudine massima" - -#: ../wp-gpx-maps.php:496 -msgid "Min elevation" -msgstr "Altitudine minima" - -#: ../wp-gpx-maps.php:498 -msgid "Total climbing" -msgstr "Totale salita" - -#: ../wp-gpx-maps.php:500 -msgid "Total descent" -msgstr "Totale discesa" - -#: ../wp-gpx-maps.php:504 -msgid "Average speed" -msgstr "Velocità media" - -#: ../wp-gpx-maps.php:509 -msgid "Total Time" -msgstr "Distanza totale" - -#: ../wp-gpx-maps.php:525 -msgid "Download" -msgstr "Scarica" - -#: ../wp-gpx-maps_admin_settings.php:83 ../wp-gpx-maps_admin_settings.php:151 -#: ../wp-gpx-maps_admin_settings.php:229 ../wp-gpx-maps_admin_settings.php:333 -#: ../wp-gpx-maps_admin_settings.php:364 -msgid "Save Changes" -msgstr "Salva" +msgid "" +msgstr "" +"Project-Id-Version: wp-gpx-maps\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2012-10-30 14:48+0100\n" +"PO-Revision-Date: 2012-10-30 14:53+0100\n" +"Last-Translator: \n" +"Language-Team: \n" +"Language: it_IT\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Poedit-KeywordsList: __;_e\n" +"X-Poedit-Basepath: .\n" +"X-Generator: Poedit 1.5.4\n" +"X-Poedit-SearchPath-0: ..\n" + +#: ../wp-gpx-maps.php:467 +msgid "Altitude" +msgstr "Altitudine" + +#: ../wp-gpx-maps.php:468 +msgid "Current Position" +msgstr "Posizione Corrente" + +#: ../wp-gpx-maps.php:469 +msgid "Speed" +msgstr "Velocità" + +#: ../wp-gpx-maps.php:470 +msgid "Heart rate" +msgstr "Battito Cardiaco" + +#: ../wp-gpx-maps.php:471 +msgid "Cadence" +msgstr "Cadenza" + +#: ../wp-gpx-maps.php:472 +msgid "Go Full Screen" +msgstr "Schermo intero" + +#: ../wp-gpx-maps.php:473 +msgid "Exit Full Screen" +msgstr "Torna a dimensioni originali" + +#: ../wp-gpx-maps.php:474 +msgid "Hide Images" +msgstr "Nascondi immagini" + +#: ../wp-gpx-maps.php:475 +msgid "Show Images" +msgstr "Mostra immagini" + +#: ../wp-gpx-maps.php:476 +msgid "Back to center" +msgstr "Ritorna al centro della mappa" + +#: ../wp-gpx-maps.php:489 +msgid "Total distance" +msgstr "Distanza totale" + +#: ../wp-gpx-maps.php:494 +msgid "Max elevation" +msgstr "Altitudine massima" + +#: ../wp-gpx-maps.php:496 +msgid "Min elevation" +msgstr "Altitudine minima" + +#: ../wp-gpx-maps.php:498 +msgid "Total climbing" +msgstr "Totale salita" + +#: ../wp-gpx-maps.php:500 +msgid "Total descent" +msgstr "Totale discesa" + +#: ../wp-gpx-maps.php:504 +msgid "Average speed" +msgstr "Velocità media" + +#: ../wp-gpx-maps.php:509 +msgid "Total Time" +msgstr "Distanza totale" + +#: ../wp-gpx-maps.php:525 +msgid "Download" +msgstr "Scarica" + +#: ../wp-gpx-maps_admin_settings.php:83 ../wp-gpx-maps_admin_settings.php:151 +#: ../wp-gpx-maps_admin_settings.php:229 ../wp-gpx-maps_admin_settings.php:333 +#: ../wp-gpx-maps_admin_settings.php:364 +msgid "Save Changes" +msgstr "Salva" diff --git a/languages/wp-gpx-maps-nl_NL.po b/languages/wp-gpx-maps-nl_NL.po index 58af2ed..51bfdfc 100644 --- a/languages/wp-gpx-maps-nl_NL.po +++ b/languages/wp-gpx-maps-nl_NL.po @@ -1,93 +1,93 @@ -msgid "" -msgstr "" -"Project-Id-Version: wp-gpx-maps\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-10-30 14:41+0100\n" -"PO-Revision-Date: 2012-10-30 14:41+0100\n" -"Last-Translator: Simon Koelewijn\n" -"Language-Team: \n" -"Language: nl_NL\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Poedit-KeywordsList: __;_e\n" -"X-Poedit-Basepath: .\n" -"X-Poedit-SearchPath-0: ..\n" - -#: ../wp-gpx-maps.php:467 -msgid "Altitude" -msgstr "Hoogte" - -#: ../wp-gpx-maps.php:468 -msgid "Current Position" -msgstr "Huidige Positie" - -#: ../wp-gpx-maps.php:469 -msgid "Speed" -msgstr "Snelheid" - -#: ../wp-gpx-maps.php:470 -msgid "Heart rate" -msgstr "Hartslag" - -#: ../wp-gpx-maps.php:471 -msgid "Cadence" -msgstr "Cadans" - -#: ../wp-gpx-maps.php:472 -msgid "Go Full Screen" -msgstr "Volledige Scherm" - -#: ../wp-gpx-maps.php:473 -msgid "Exit Full Screen" -msgstr "Verlaat Volledige Scherm" - -#: ../wp-gpx-maps.php:474 -msgid "Hide Images" -msgstr "" - -#: ../wp-gpx-maps.php:475 -msgid "Show Images" -msgstr "" - -#: ../wp-gpx-maps.php:476 -msgid "Back to center" -msgstr "" - -#: ../wp-gpx-maps.php:489 -msgid "Total distance" -msgstr "" - -#: ../wp-gpx-maps.php:494 -msgid "Max elevation" -msgstr "" - -#: ../wp-gpx-maps.php:496 -msgid "Min elevation" -msgstr "" - -#: ../wp-gpx-maps.php:498 -msgid "Total climbing" -msgstr "" - -#: ../wp-gpx-maps.php:500 -msgid "Total descent" -msgstr "" - -#: ../wp-gpx-maps.php:504 -msgid "Average speed" -msgstr "" - -#: ../wp-gpx-maps.php:509 -msgid "Total Time" -msgstr "" - -#: ../wp-gpx-maps.php:525 -msgid "Download" -msgstr "Download" - -#: ../wp-gpx-maps_admin_settings.php:83 ../wp-gpx-maps_admin_settings.php:151 -#: ../wp-gpx-maps_admin_settings.php:229 ../wp-gpx-maps_admin_settings.php:333 -#: ../wp-gpx-maps_admin_settings.php:364 -msgid "Save Changes" -msgstr "Wijzigingen Opslaan" +msgid "" +msgstr "" +"Project-Id-Version: wp-gpx-maps\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2012-10-30 14:41+0100\n" +"PO-Revision-Date: 2012-10-30 14:41+0100\n" +"Last-Translator: Simon Koelewijn\n" +"Language-Team: \n" +"Language: nl_NL\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Poedit-KeywordsList: __;_e\n" +"X-Poedit-Basepath: .\n" +"X-Poedit-SearchPath-0: ..\n" + +#: ../wp-gpx-maps.php:467 +msgid "Altitude" +msgstr "Hoogte" + +#: ../wp-gpx-maps.php:468 +msgid "Current Position" +msgstr "Huidige Positie" + +#: ../wp-gpx-maps.php:469 +msgid "Speed" +msgstr "Snelheid" + +#: ../wp-gpx-maps.php:470 +msgid "Heart rate" +msgstr "Hartslag" + +#: ../wp-gpx-maps.php:471 +msgid "Cadence" +msgstr "Cadans" + +#: ../wp-gpx-maps.php:472 +msgid "Go Full Screen" +msgstr "Volledige Scherm" + +#: ../wp-gpx-maps.php:473 +msgid "Exit Full Screen" +msgstr "Verlaat Volledige Scherm" + +#: ../wp-gpx-maps.php:474 +msgid "Hide Images" +msgstr "" + +#: ../wp-gpx-maps.php:475 +msgid "Show Images" +msgstr "" + +#: ../wp-gpx-maps.php:476 +msgid "Back to center" +msgstr "" + +#: ../wp-gpx-maps.php:489 +msgid "Total distance" +msgstr "" + +#: ../wp-gpx-maps.php:494 +msgid "Max elevation" +msgstr "" + +#: ../wp-gpx-maps.php:496 +msgid "Min elevation" +msgstr "" + +#: ../wp-gpx-maps.php:498 +msgid "Total climbing" +msgstr "" + +#: ../wp-gpx-maps.php:500 +msgid "Total descent" +msgstr "" + +#: ../wp-gpx-maps.php:504 +msgid "Average speed" +msgstr "" + +#: ../wp-gpx-maps.php:509 +msgid "Total Time" +msgstr "" + +#: ../wp-gpx-maps.php:525 +msgid "Download" +msgstr "Download" + +#: ../wp-gpx-maps_admin_settings.php:83 ../wp-gpx-maps_admin_settings.php:151 +#: ../wp-gpx-maps_admin_settings.php:229 ../wp-gpx-maps_admin_settings.php:333 +#: ../wp-gpx-maps_admin_settings.php:364 +msgid "Save Changes" +msgstr "Wijzigingen Opslaan" diff --git a/languages/wp-gpx-maps-sv_SE.po b/languages/wp-gpx-maps-sv_SE.po index 77f4500..2965727 100644 --- a/languages/wp-gpx-maps-sv_SE.po +++ b/languages/wp-gpx-maps-sv_SE.po @@ -1,93 +1,93 @@ -msgid "" -msgstr "" -"Project-Id-Version: wp-gpx-maps\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-10-30 14:41+0100\n" -"PO-Revision-Date: 2012-10-30 14:41+0100\n" -"Last-Translator: Per Bjälevik \n" -"Language-Team: \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Poedit-KeywordsList: __;_e\n" -"X-Poedit-Basepath: .\n" -"X-Poedit-SearchPath-0: ..\n" - -#: ../wp-gpx-maps.php:467 -msgid "Altitude" -msgstr "Höjd" - -#: ../wp-gpx-maps.php:468 -msgid "Current Position" -msgstr "Aktuell position" - -#: ../wp-gpx-maps.php:469 -msgid "Speed" -msgstr "Hastighet" - -#: ../wp-gpx-maps.php:470 -msgid "Heart rate" -msgstr "Hjärtfrekvens" - -#: ../wp-gpx-maps.php:471 -msgid "Cadence" -msgstr "Kadens" - -#: ../wp-gpx-maps.php:472 -msgid "Go Full Screen" -msgstr "Gå till fullskärm" - -#: ../wp-gpx-maps.php:473 -msgid "Exit Full Screen" -msgstr "Avsluta fullskärm" - -#: ../wp-gpx-maps.php:474 -msgid "Hide Images" -msgstr "" - -#: ../wp-gpx-maps.php:475 -msgid "Show Images" -msgstr "" - -#: ../wp-gpx-maps.php:476 -msgid "Back to center" -msgstr "" - -#: ../wp-gpx-maps.php:489 -msgid "Total distance" -msgstr "Total distans" - -#: ../wp-gpx-maps.php:494 -msgid "Max elevation" -msgstr "Max höjd" - -#: ../wp-gpx-maps.php:496 -msgid "Min elevation" -msgstr "Min höjd" - -#: ../wp-gpx-maps.php:498 -msgid "Total climbing" -msgstr "Höjdstigning" - -#: ../wp-gpx-maps.php:500 -msgid "Total descent" -msgstr "Höjdförlust" - -#: ../wp-gpx-maps.php:504 -msgid "Average speed" -msgstr "Medelhastighet" - -#: ../wp-gpx-maps.php:509 -#, fuzzy -msgid "Total Time" -msgstr "Total distans" - -#: ../wp-gpx-maps.php:525 -msgid "Download" -msgstr "Ladda ner" - -#: ../wp-gpx-maps_admin_settings.php:83 ../wp-gpx-maps_admin_settings.php:151 -#: ../wp-gpx-maps_admin_settings.php:229 ../wp-gpx-maps_admin_settings.php:333 -#: ../wp-gpx-maps_admin_settings.php:364 -msgid "Save Changes" -msgstr "Spara ändringar" +msgid "" +msgstr "" +"Project-Id-Version: wp-gpx-maps\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2012-10-30 14:41+0100\n" +"PO-Revision-Date: 2012-10-30 14:41+0100\n" +"Last-Translator: Per Bjälevik \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Poedit-KeywordsList: __;_e\n" +"X-Poedit-Basepath: .\n" +"X-Poedit-SearchPath-0: ..\n" + +#: ../wp-gpx-maps.php:467 +msgid "Altitude" +msgstr "Höjd" + +#: ../wp-gpx-maps.php:468 +msgid "Current Position" +msgstr "Aktuell position" + +#: ../wp-gpx-maps.php:469 +msgid "Speed" +msgstr "Hastighet" + +#: ../wp-gpx-maps.php:470 +msgid "Heart rate" +msgstr "Hjärtfrekvens" + +#: ../wp-gpx-maps.php:471 +msgid "Cadence" +msgstr "Kadens" + +#: ../wp-gpx-maps.php:472 +msgid "Go Full Screen" +msgstr "Gå till fullskärm" + +#: ../wp-gpx-maps.php:473 +msgid "Exit Full Screen" +msgstr "Avsluta fullskärm" + +#: ../wp-gpx-maps.php:474 +msgid "Hide Images" +msgstr "" + +#: ../wp-gpx-maps.php:475 +msgid "Show Images" +msgstr "" + +#: ../wp-gpx-maps.php:476 +msgid "Back to center" +msgstr "" + +#: ../wp-gpx-maps.php:489 +msgid "Total distance" +msgstr "Total distans" + +#: ../wp-gpx-maps.php:494 +msgid "Max elevation" +msgstr "Max höjd" + +#: ../wp-gpx-maps.php:496 +msgid "Min elevation" +msgstr "Min höjd" + +#: ../wp-gpx-maps.php:498 +msgid "Total climbing" +msgstr "Höjdstigning" + +#: ../wp-gpx-maps.php:500 +msgid "Total descent" +msgstr "Höjdförlust" + +#: ../wp-gpx-maps.php:504 +msgid "Average speed" +msgstr "Medelhastighet" + +#: ../wp-gpx-maps.php:509 +#, fuzzy +msgid "Total Time" +msgstr "Total distans" + +#: ../wp-gpx-maps.php:525 +msgid "Download" +msgstr "Ladda ner" + +#: ../wp-gpx-maps_admin_settings.php:83 ../wp-gpx-maps_admin_settings.php:151 +#: ../wp-gpx-maps_admin_settings.php:229 ../wp-gpx-maps_admin_settings.php:333 +#: ../wp-gpx-maps_admin_settings.php:364 +msgid "Save Changes" +msgstr "Spara ändringar" diff --git a/languages/wp-gpx-maps-tr_TR.po b/languages/wp-gpx-maps-tr_TR.po index b76d5d8..516d3f3 100644 --- a/languages/wp-gpx-maps-tr_TR.po +++ b/languages/wp-gpx-maps-tr_TR.po @@ -1,94 +1,94 @@ -msgid "" -msgstr "" -"Project-Id-Version: wp-gpx-maps\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-10-30 14:42+0100\n" -"PO-Revision-Date: 2012-10-30 14:42+0100\n" -"Last-Translator: \n" -"Language-Team: \n" -"Language: tr_TR\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Poedit-KeywordsList: __;_e\n" -"X-Poedit-Basepath: .\n" -"X-Generator: Poedit 1.5.4\n" -"X-Poedit-SearchPath-0: ..\n" - -#: ../wp-gpx-maps.php:467 -msgid "Altitude" -msgstr "Rakım" - -#: ../wp-gpx-maps.php:468 -msgid "Current Position" -msgstr "Güncel Pozisyon" - -#: ../wp-gpx-maps.php:469 -msgid "Speed" -msgstr "Hız" - -#: ../wp-gpx-maps.php:470 -msgid "Heart rate" -msgstr "Nabız" - -#: ../wp-gpx-maps.php:471 -msgid "Cadence" -msgstr "Kadans" - -#: ../wp-gpx-maps.php:472 -msgid "Go Full Screen" -msgstr "Tam Ekran Gör" - -#: ../wp-gpx-maps.php:473 -msgid "Exit Full Screen" -msgstr "Tam Ekrandan Çık" - -#: ../wp-gpx-maps.php:474 -msgid "Hide Images" -msgstr "" - -#: ../wp-gpx-maps.php:475 -msgid "Show Images" -msgstr "" - -#: ../wp-gpx-maps.php:476 -msgid "Back to center" -msgstr "" - -#: ../wp-gpx-maps.php:489 -msgid "Total distance" -msgstr "Toplam Mesafe" - -#: ../wp-gpx-maps.php:494 -msgid "Max elevation" -msgstr "Maks. İrtifa" - -#: ../wp-gpx-maps.php:496 -msgid "Min elevation" -msgstr "Min. İrtifa" - -#: ../wp-gpx-maps.php:498 -msgid "Total climbing" -msgstr "Toplam Tırmanış" - -#: ../wp-gpx-maps.php:500 -msgid "Total descent" -msgstr "Toplam İniş" - -#: ../wp-gpx-maps.php:504 -msgid "Average speed" -msgstr "Ortalama Hız" - -#: ../wp-gpx-maps.php:509 -msgid "Total Time" -msgstr "Toplam Süre" - -#: ../wp-gpx-maps.php:525 -msgid "Download" -msgstr "İndir" - -#: ../wp-gpx-maps_admin_settings.php:83 ../wp-gpx-maps_admin_settings.php:151 -#: ../wp-gpx-maps_admin_settings.php:229 ../wp-gpx-maps_admin_settings.php:333 -#: ../wp-gpx-maps_admin_settings.php:364 -msgid "Save Changes" -msgstr "Değişiklikleri Kaydet" +msgid "" +msgstr "" +"Project-Id-Version: wp-gpx-maps\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2012-10-30 14:42+0100\n" +"PO-Revision-Date: 2012-10-30 14:42+0100\n" +"Last-Translator: \n" +"Language-Team: \n" +"Language: tr_TR\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Poedit-KeywordsList: __;_e\n" +"X-Poedit-Basepath: .\n" +"X-Generator: Poedit 1.5.4\n" +"X-Poedit-SearchPath-0: ..\n" + +#: ../wp-gpx-maps.php:467 +msgid "Altitude" +msgstr "Rakım" + +#: ../wp-gpx-maps.php:468 +msgid "Current Position" +msgstr "Güncel Pozisyon" + +#: ../wp-gpx-maps.php:469 +msgid "Speed" +msgstr "Hız" + +#: ../wp-gpx-maps.php:470 +msgid "Heart rate" +msgstr "Nabız" + +#: ../wp-gpx-maps.php:471 +msgid "Cadence" +msgstr "Kadans" + +#: ../wp-gpx-maps.php:472 +msgid "Go Full Screen" +msgstr "Tam Ekran Gör" + +#: ../wp-gpx-maps.php:473 +msgid "Exit Full Screen" +msgstr "Tam Ekrandan Çık" + +#: ../wp-gpx-maps.php:474 +msgid "Hide Images" +msgstr "" + +#: ../wp-gpx-maps.php:475 +msgid "Show Images" +msgstr "" + +#: ../wp-gpx-maps.php:476 +msgid "Back to center" +msgstr "" + +#: ../wp-gpx-maps.php:489 +msgid "Total distance" +msgstr "Toplam Mesafe" + +#: ../wp-gpx-maps.php:494 +msgid "Max elevation" +msgstr "Maks. İrtifa" + +#: ../wp-gpx-maps.php:496 +msgid "Min elevation" +msgstr "Min. İrtifa" + +#: ../wp-gpx-maps.php:498 +msgid "Total climbing" +msgstr "Toplam Tırmanış" + +#: ../wp-gpx-maps.php:500 +msgid "Total descent" +msgstr "Toplam İniş" + +#: ../wp-gpx-maps.php:504 +msgid "Average speed" +msgstr "Ortalama Hız" + +#: ../wp-gpx-maps.php:509 +msgid "Total Time" +msgstr "Toplam Süre" + +#: ../wp-gpx-maps.php:525 +msgid "Download" +msgstr "İndir" + +#: ../wp-gpx-maps_admin_settings.php:83 ../wp-gpx-maps_admin_settings.php:151 +#: ../wp-gpx-maps_admin_settings.php:229 ../wp-gpx-maps_admin_settings.php:333 +#: ../wp-gpx-maps_admin_settings.php:364 +msgid "Save Changes" +msgstr "Değişiklikleri Kaydet" diff --git a/readme.txt b/readme.txt index eb5da30..0ec4d94 100644 --- a/readme.txt +++ b/readme.txt @@ -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 Requires at least: 2.0.0 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. @@ -42,6 +42,7 @@ Translated into 7 languages: - Swedish sv_SE - Turkish tr_TR - Hungarian hu_HU +- French fr_FR (many thanks to all the guys who helped me with the translations) @@ -174,6 +175,9 @@ Yes! 1. Altitude & Speed & Hearth rate == Changelog == += 1.1.39 = +* Added French translation, thanks to Herv +* Added Nautical Miles per Hour (Knots) unit of measure = 1.1.38 = * Fix: garmin gpx cadence and heart rate * Updated Turkish translation, thanks to Edip diff --git a/wp-gpx-maps.php b/wp-gpx-maps.php index f2b033b..f543096 100644 --- a/wp-gpx-maps.php +++ b/wp-gpx-maps.php @@ -3,7 +3,7 @@ Plugin Name: WP-GPX-Maps Plugin URI: http://www.darwinner.it/ Description: Draws a gpx track with altitude graph -Version: 1.1.38 +Version: 1.1.39 Author: Bastianon Massimo Author URI: http://www.pedemontanadelgrappa.it/ */ @@ -54,7 +54,7 @@ function enqueue_WP_GPX_Maps_scripts() wp_enqueue_script( 'highcharts' ); 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' ); } @@ -278,7 +278,7 @@ function handle_WP_GPX_Maps_Shortcodes($attr, $content='') } 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]; $_dist = (float)$points->dist[$i]; @@ -294,8 +294,8 @@ function handle_WP_GPX_Maps_Shortcodes($attr, $content='') $_dist = (float)($_dist / 1000); } - $points_graph_dist .= $_dist.','; - $points_graph_ele .= $_ele.','; + $points_graph_dist .= number_format ( $_dist , 2 , '.' , '' ).','; + $points_graph_ele .= number_format ( $_ele , 2 , '.' , '' ).','; if ($showSpeed == true) { @@ -306,12 +306,12 @@ function handle_WP_GPX_Maps_Shortcodes($attr, $content='') if ($showHr == true) { - $points_graph_hr .= $points->hr[$i].','; + $points_graph_hr .= number_format ( $points->hr[$i] , 2 , '.' , '' ).','; } 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) { + + + + $wpoints = getWayPoints($gpx); 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) { + if ($uomspeed == '5') // knos + { + $speed *= 1.94384449; + if ($addUom == true) $speed = round($speed,2) . " knos"; + } if ($uomspeed == '4') // min/mi { $speed = convertSeconds($speed * 0.037282272); @@ -565,7 +574,7 @@ function convertSpeed($speed,$uomspeed, $addUom = false) { if ($addUom == true) $speed = round($speed,2) . " m/s"; } - return $speed; + return number_format ( $speed , 2 , '.' , '' ); } function downloadRemoteFile($remoteFile) diff --git a/wp-gpx-maps_admin_settings.php b/wp-gpx-maps_admin_settings.php index 6981b17..f59396a 100644 --- a/wp-gpx-maps_admin_settings.php +++ b/wp-gpx-maps_admin_settings.php @@ -285,6 +285,7 @@ +