Version Description
Download this release
Release Info
Developer | rm2773 |
Plugin | Google Language Translator |
Version | 5.0.29 |
Comparing to | |
See all releases |
Code changes from version 5.0.27 to 5.0.29
- css/style.css +10 -0
- google-language-translator.php +1 -1
- js/load-toolbar.js +2 -3
- readme.txt +7 -1
css/style.css
CHANGED
@@ -8,6 +8,16 @@
|
|
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 |
+
}
|
16 |
+
|
17 |
+
.tool-container .tool-items a {
|
18 |
+
margin:4px;
|
19 |
+
}
|
20 |
+
|
21 |
.box-right {
|
22 |
clear:right;
|
23 |
}
|
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.
|
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.29
|
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 = '
|
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.
|
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,12 @@ 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.29
|
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.29
|
50 |
+
- Fixed CSS display issues with the floating widget.
|
51 |
+
|
52 |
+
5.0.28
|
53 |
+
- Fixed CSS display issues with the floating widget.
|
54 |
+
|
55 |
5.0.27
|
56 |
- Removed toolbar.js and flags.js and combined to existing files (to improve efficiency of page load and http requests).
|
57 |
- Added new setting to allow or prevent floating widget text to translate.
|