= 1.1.41 =

* Added Polish translation, thanks to Sebastian
* Fix: Spanish translation 
* Minor javascript improvement
This commit is contained in:
bastianonm 2013-03-11 08:43:53 +00:00
parent 79f820827e
commit 6aa1057262
5 changed files with 106 additions and 11 deletions

View File

@ -410,14 +410,9 @@ function _wpgpxmaps(params)
if (mapData[i] == null) if (mapData[i] == null)
{ {
if ( polyline_number < color1.length )
{ color=color1[polyline_number % color1.length];
color=color1[polyline_number];
}
else
{
color=color1[color1.length-1];
}
var poly = new google.maps.Polyline({ var poly = new google.maps.Polyline({
path: points.slice(lastCut,i), path: points.slice(lastCut,i),

Binary file not shown.

View File

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

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.5 Tested up to: 3.5
Stable tag: 1.1.40 Stable tag: 1.1.41
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.
@ -43,6 +43,7 @@ Translated into 7 languages:
- Turkish tr_TR - Turkish tr_TR
- Hungarian hu_HU - Hungarian hu_HU
- French fr_FR - French fr_FR
- Polish pl_PL
(many thanks to all the guys who helped me with the translations) (many thanks to all the guys who helped me with the translations)
@ -179,6 +180,10 @@ Yes!
1. Altitude & Speed & Hearth rate 1. Altitude & Speed & Hearth rate
== Changelog == == Changelog ==
= 1.1.41 =
* Added Polish translation, thanks to Sebastian
* Fix: Spanish translation
* Minor javascript improvement
= 1.1.40 = = 1.1.40 =
* Improved italian translation * Improved italian translation
* Added grade chart (beta) * Added grade chart (beta)

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.40 Version: 1.1.41
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.40"); wp_register_script( 'WP-GPX-Maps', plugins_url('/WP-GPX-Maps.js', __FILE__), array('jquery','googlemaps','highcharts'), "1.1.41");
wp_enqueue_script( 'WP-GPX-Maps' ); wp_enqueue_script( 'WP-GPX-Maps' );
} }