Google Language Translator - Version 5.0.28

Version Description

Download this release

Release Info

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

Code changes from version 5.0.27 to 5.0.28

css/style.css CHANGED
@@ -8,6 +8,17 @@
8
  cursor:pointer;
9
  }
10
 
 
 
 
 
 
 
 
 
 
 
 
11
  .box-right {
12
  clear:right;
13
  }
8
  cursor:pointer;
9
  }
10
 
11
+ .tool-container {
12
+ bottom:50px !important;
13
+ top:auto !important;
14
+ z-index:9999 !important;
15
+ width:95% !important;
16
+ }
17
+
18
+ .tool-container .tool-items a {
19
+ margin:4px;
20
+ }
21
+
22
  .box-right {
23
  clear:right;
24
  }
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.27
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/
2
  /*
3
  Plugin Name: Google Language Translator
4
  Plugin URI: http://www.studio88design.com/plugins/google-language-translator
5
+ Version: 5.0.28
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/
js/load-toolbar.js CHANGED
@@ -4,8 +4,7 @@ jQuery(document).ready(function($) {
4
  position: 'top',
5
  hideOnClick: true,
6
  event: 'click',
7
- style: 'primary',
8
- adjustment: 110
9
  });
10
 
11
  $('#glt-translate-trigger').on('toolbarItemClick',function(event) {
@@ -193,7 +192,7 @@ if ( typeof Object.create !== 'function' ) {
193
  var self = this;
194
  self.arrowCss = {};
195
  self.toolbarCss = self.getCoordinates(self.options.position, self.options.adjustment);
196
- self.toolbarCss.position = 'absolute';
197
  self.toolbarCss.zIndex = self.options.zIndex;
198
  self.collisionDetection();
199
  self.toolbar.css(self.toolbarCss);
4
  position: 'top',
5
  hideOnClick: true,
6
  event: 'click',
7
+ style: 'primary'
 
8
  });
9
 
10
  $('#glt-translate-trigger').on('toolbarItemClick',function(event) {
192
  var self = this;
193
  self.arrowCss = {};
194
  self.toolbarCss = self.getCoordinates(self.options.position, self.options.adjustment);
195
+ self.toolbarCss.position = 'fixed';
196
  self.toolbarCss.zIndex = self.options.zIndex;
197
  self.collisionDetection();
198
  self.toolbar.css(self.toolbarCss);
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.27
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.27
50
  - Removed toolbar.js and flags.js and combined to existing files (to improve efficiency of page load and http requests).
51
  - Added new setting to allow or prevent floating widget text to translate.
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.28
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.28
50
+ - Fixed CSS display issues with the floating widget.
51
+
52
  5.0.27
53
  - Removed toolbar.js and flags.js and combined to existing files (to improve efficiency of page load and http requests).
54
  - Added new setting to allow or prevent floating widget text to translate.