qTranslate compatible
This commit is contained in:
parent
6aa1057262
commit
40c390beb0
|
@ -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.41
|
Stable tag: 1.1.42
|
||||||
|
|
||||||
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.
|
||||||
|
|
||||||
|
@ -180,6 +180,8 @@ Yes!
|
||||||
1. Altitude & Speed & Hearth rate
|
1. Altitude & Speed & Hearth rate
|
||||||
|
|
||||||
== Changelog ==
|
== Changelog ==
|
||||||
|
= 1.1.42 =
|
||||||
|
* qTranslate compatible
|
||||||
= 1.1.41 =
|
= 1.1.41 =
|
||||||
* Added Polish translation, thanks to Sebastian
|
* Added Polish translation, thanks to Sebastian
|
||||||
* Fix: Spanish translation
|
* Fix: Spanish translation
|
||||||
|
|
|
@ -3,24 +3,29 @@
|
||||||
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.41
|
Version: 1.1.42
|
||||||
Author: Bastianon Massimo
|
Author: Bastianon Massimo
|
||||||
Author URI: http://www.pedemontanadelgrappa.it/
|
Author URI: http://www.pedemontanadelgrappa.it/
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//error_reporting (E_ALL);
|
//error_reporting (E_ALL);
|
||||||
|
|
||||||
load_plugin_textdomain('wp-gpx-maps', "/wp-content/plugins/wp-gpx-maps/languages/");
|
|
||||||
|
|
||||||
include 'wp-gpx-maps_utils.php';
|
include 'wp-gpx-maps_utils.php';
|
||||||
include 'wp-gpx-maps_admin.php';
|
include 'wp-gpx-maps_admin.php';
|
||||||
|
|
||||||
add_action( 'wp_print_scripts', 'print_WP_GPX_Maps_scripts' );
|
|
||||||
add_shortcode('sgpx','handle_WP_GPX_Maps_Shortcodes');
|
add_shortcode('sgpx','handle_WP_GPX_Maps_Shortcodes');
|
||||||
register_activation_hook(__FILE__,'WP_GPX_Maps_install');
|
register_activation_hook(__FILE__,'WP_GPX_Maps_install');
|
||||||
register_deactivation_hook( __FILE__, 'WP_GPX_Maps_remove');
|
register_deactivation_hook( __FILE__, 'WP_GPX_Maps_remove');
|
||||||
add_filter('plugin_action_links', 'WP_GPX_Maps_action_links', 10, 2);
|
add_filter('plugin_action_links', 'WP_GPX_Maps_action_links', 10, 2);
|
||||||
|
add_action( 'wp_print_scripts', 'print_WP_GPX_Maps_scripts' );
|
||||||
add_action('wp_enqueue_scripts', 'enqueue_WP_GPX_Maps_scripts');
|
add_action('wp_enqueue_scripts', 'enqueue_WP_GPX_Maps_scripts');
|
||||||
|
add_action('plugins_loaded' ,'WP_GPX_Maps_lang_init');
|
||||||
|
|
||||||
|
function WP_GPX_Maps_lang_init() {
|
||||||
|
if (function_exists('load_plugin_textdomain')) {
|
||||||
|
load_plugin_textdomain('wp-gpx-maps', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
function WP_GPX_Maps_action_links($links, $file) {
|
function WP_GPX_Maps_action_links($links, $file) {
|
||||||
static $this_plugin;
|
static $this_plugin;
|
||||||
|
|
Loading…
Reference in New Issue