Google Language Translator - Version 5.0.14

Version Description

Download this release

Release Info

Developer rm2773
Plugin Icon wp plugin Google Language Translator
Version 5.0.14
Comparing to
See all releases

Code changes from version 5.0.13 to 5.0.14

Files changed (2) hide show
  1. google-language-translator.php +4 -4
  2. readme.txt +4 -1
google-language-translator.php CHANGED
@@ -2,7 +2,7 @@
2
  /*
3
  Plugin Name: Google Language Translator
4
  Plugin URI: http://www.studio88design.com/plugins/google-language-translator
5
- Version: 5.0.13
6
  Description: The MOST SIMPLE Google Translator plugin. This plugin adds Google Translator to your website by using a single shortcode, [google-translator]. Settings include: layout style, hide/show specific languages, hide/show Google toolbar, and hide/show Google branding. Add the shortcode to pages, posts, and widgets.
7
  Author: Rob Myrick
8
  Author URI: http://www.wp-studio.net/
@@ -221,12 +221,12 @@ class google_language_translator {
221
  if (get_option ('googlelanguagetranslator_floating_widget') == 'yes') {
222
  wp_enqueue_script( 'glt-toolbar', plugins_url('js/toolbar.js',__FILE__), array('jquery'));
223
  wp_enqueue_script( 'glt-load-toolbar', plugins_url('js/load-toolbar.js',__FILE__), array('jquery'));
224
- wp_register_style( 'glt-toolbar.css', plugins_url('css/toolbar.css', __FILE__) );
225
- wp_enqueue_style( 'toolbar.css' );
226
  }
227
 
228
  wp_register_style( 'google-language-translator', plugins_url('css/style.css', __FILE__) );
229
- wp_enqueue_style( 'style.css' );
230
  }
231
 
232
  public function load_css() {
2
  /*
3
  Plugin Name: Google Language Translator
4
  Plugin URI: http://www.studio88design.com/plugins/google-language-translator
5
+ Version: 5.0.14
6
  Description: The MOST SIMPLE Google Translator plugin. This plugin adds Google Translator to your website by using a single shortcode, [google-translator]. Settings include: layout style, hide/show specific languages, hide/show Google toolbar, and hide/show Google branding. Add the shortcode to pages, posts, and widgets.
7
  Author: Rob Myrick
8
  Author URI: http://www.wp-studio.net/
221
  if (get_option ('googlelanguagetranslator_floating_widget') == 'yes') {
222
  wp_enqueue_script( 'glt-toolbar', plugins_url('js/toolbar.js',__FILE__), array('jquery'));
223
  wp_enqueue_script( 'glt-load-toolbar', plugins_url('js/load-toolbar.js',__FILE__), array('jquery'));
224
+ wp_register_style( 'glt-toolbar-styles', plugins_url('css/toolbar.css', __FILE__) );
225
+ wp_enqueue_style( 'glt-toolbar-styles' );
226
  }
227
 
228
  wp_register_style( 'google-language-translator', plugins_url('css/style.css', __FILE__) );
229
+ wp_enqueue_style( 'google-language-translator' );
230
  }
231
 
232
  public function load_css() {
readme.txt CHANGED
@@ -5,7 +5,7 @@ Plugin link: http://wp-studio.net/how-it-works
5
  Tags: language translator, google translator, language translate, translate wordpress, google language translator, translation, translate, multi language
6
  Requires at least: 2.9
7
  Tested up to: 4.6
8
- Stable tag: 5.0.13
9
 
10
  Welcome to Google Language Translator! This plugin allows you to insert the Google Language Translator tool anywhere on your website using shortcode.
11
 
@@ -46,6 +46,9 @@ A: Yes! Add the "notranslate" class to the HTML element containing your text. Fo
46
 
47
  == Changelog ==
48
 
 
 
 
49
  5.0.13
50
  - Renamed some of the wp_enqueue_script calls to include more unique file names, thus avoiding conflict with other plugins overriding these files.
51
  - Correct some file paths to be more accurate/secure.
5
  Tags: language translator, google translator, language translate, translate wordpress, google language translator, translation, translate, multi language
6
  Requires at least: 2.9
7
  Tested up to: 4.6
8
+ Stable tag: 5.0.14
9
 
10
  Welcome to Google Language Translator! This plugin allows you to insert the Google Language Translator tool anywhere on your website using shortcode.
11
 
46
 
47
  == Changelog ==
48
 
49
+ 5.0.14
50
+ - Fixed a file naming error in google-language-translator.php. This caused flags not to display - we apologize for the inconvenience.
51
+
52
  5.0.13
53
  - Renamed some of the wp_enqueue_script calls to include more unique file names, thus avoiding conflict with other plugins overriding these files.
54
  - Correct some file paths to be more accurate/secure.