Google Language Translator - Version 3.0

Version Description

Download this release

Release Info

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

Code changes from version 2.9 to 3.0

Files changed (3) hide show
  1. css/style.css +0 -6
  2. google-language-translator.php +6 -4
  3. readme.txt +5 -1
css/style.css CHANGED
@@ -2,12 +2,6 @@
2
  min-height:60px;
3
  }
4
 
5
- .goog-te-banner-frame,
6
- .skiptranslate {
7
- width:100%;
8
- height:40px;
9
- }
10
-
11
  select.goog-te-combo {
12
  width:143px !important;
13
  background:#fff;
2
  min-height:60px;
3
  }
4
 
 
 
 
 
 
 
5
  select.goog-te-combo {
6
  width:143px !important;
7
  background:#fff;
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: 2.9
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.studio88design.com/
@@ -2179,6 +2179,7 @@ function googlelanguagetranslator_toolbar_yes(){
2179
  #google_language_translator {color: transparent;}
2180
  .goog-te-gadget .goog-te-combo {margin: 2px 0px !important;}
2181
  body { top:0px !important; }
 
2182
  </style>
2183
  <?php
2184
  }
@@ -2186,9 +2187,10 @@ function googlelanguagetranslator_toolbar_yes(){
2186
 
2187
  function googlelanguagetranslator_toolbar_no(){
2188
  if(get_option('googlelanguagetranslator_active')==1) { ?>
2189
- <style type="text/css">
2190
- .goog-te-banner-frame{visibility:hidden !important;}
2191
- body { top:0px !important;}
 
2192
  </style>
2193
  <?php
2194
  }
2
  /*
3
  Plugin Name: Google Language Translator
4
  Plugin URI: http://www.studio88design.com/plugins/google-language-translator
5
+ Version: 3.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.studio88design.com/
2179
  #google_language_translator {color: transparent;}
2180
  .goog-te-gadget .goog-te-combo {margin: 2px 0px !important;}
2181
  body { top:0px !important; }
2182
+ .goog-te-banner-frame,.skiptranslate { width:100%; height:40px; }
2183
  </style>
2184
  <?php
2185
  }
2187
 
2188
  function googlelanguagetranslator_toolbar_no(){
2189
  if(get_option('googlelanguagetranslator_active')==1) { ?>
2190
+ <style type="text/css">
2191
+ .goog-te-banner-frame{visibility:hidden !important;}
2192
+ body { top:0px !important;}
2193
+ .goog-te-banner-frame,.skiptranslate { width:100%; height:0px; }
2194
  </style>
2195
  <?php
2196
  }
readme.txt CHANGED
@@ -5,7 +5,7 @@ Plugin link: http://www.studio88design.com/plugins/google-language-translator
5
  Tags: language translator, google translator, language translate, google, google language translator, translation, translate, multi language
6
  Requires at least: 2.9
7
  Tested up to: 3.8
8
- stable tag: 2.9
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
 
@@ -128,6 +128,10 @@ Settings include: inline or vertical layout, show/hide specific languages, hide/
128
  - Removed some unneeded styles from the style sheet.
129
  - Fixed some CSS issues for the Google Branding display, which was affected by Google's most recent update
130
 
 
 
 
 
131
  == Screenshots ==
132
 
133
  1. Settings include: inline or vertical layout, hide/show Google toolbar, display specific languages, and show/hide Google branding. Add the shortcode to pages, posts, and widgets.
5
  Tags: language translator, google translator, language translate, google, google language translator, translation, translate, multi language
6
  Requires at least: 2.9
7
  Tested up to: 3.8
8
+ stable tag: 3.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
 
128
  - Removed some unneeded styles from the style sheet.
129
  - Fixed some CSS issues for the Google Branding display, which was affected by Google's most recent update
130
 
131
+ 3.0
132
+
133
+ - Correct a small CSS error that affected the showing/hiding of the Google toolbar.
134
+
135
  == Screenshots ==
136
 
137
  1. Settings include: inline or vertical layout, hide/show Google toolbar, display specific languages, and show/hide Google branding. Add the shortcode to pages, posts, and widgets.