Google Language Translator - Version 2.9

Version Description

Download this release

Release Info

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

Code changes from version 2.8 to 2.9

Files changed (3) hide show
  1. css/style.css +26 -99
  2. google-language-translator.php +4 -3
  3. readme.txt +11 -2
css/style.css CHANGED
@@ -1,5 +1,16 @@
 
 
 
 
 
 
 
 
 
 
1
  select.goog-te-combo {
2
- width:143px !important;
 
3
  box-shadow:none !important;
4
  -moz-box-shadow:none !important;
5
  -webkit-box-shadow:none !important;
@@ -11,6 +22,16 @@ select.goog-te-combo {
11
  -moz-border-radius:0px !important;
12
  }
13
 
 
 
 
 
 
 
 
 
 
 
14
  select.goog-te-combo:focus {
15
  box-shadow:none !important;
16
  -moz-box-shadow:none !important;
@@ -57,94 +78,6 @@ p.hello {
57
  padding:0px !important;
58
  }
59
 
60
- .switcher{
61
- width:150px;
62
- margin-top:3px;
63
- font-family:Arial;
64
- font-size:10pt;
65
- text-align:left;
66
- cursor:pointer;
67
- overflow:hidden;
68
- /*position:absolute;*/
69
- z-index:9999;
70
- top:0px;
71
- left:0px;
72
- line-height:1.5 !important;
73
- }
74
-
75
- .switcher a{
76
- text-decoration:none;
77
- display:block;
78
- font-size:10pt;
79
- position:relative;
80
- z-index:9999;
81
- }
82
-
83
- .switcher a span{
84
- margin-right:3px;
85
- padding:0;
86
- display:block;
87
- float:left;
88
- position:relative;
89
- z-index:9999;
90
- }
91
-
92
- .switcher .selected{
93
- position:relative;
94
- z-index:9999;
95
- float:none !important;
96
-
97
- }
98
-
99
- .switcher .selected a {
100
- border:1px solid #CCCCCC;
101
- color:#666666;
102
- padding:2px 0px 2px 5px;
103
- position:relative;
104
- z-index:9999;
105
- }
106
-
107
- .switcher .selected a:hover{
108
- background:#F0F0F0 url(/modules/mod_gtranslate/tmpl/arrow_down.png) 146px center no-repeat;
109
- text-decoration:none;
110
- }
111
-
112
- .switcher .option{
113
- border-left:1px solid #CCCCCC;
114
- border-right:1px solid #CCCCCC;
115
- border-bottom:1px solid #CCCCCC;
116
- background-color:#EEEEEE;
117
- display:none;
118
- position:relative;
119
- z-index:9999;
120
- height:400px;
121
- overflow-y:scroll;
122
- overflow-x:hidden;
123
- }
124
-
125
- .switcher .option a{
126
- color:#000;
127
- padding:3px 5px;
128
- position:relative;
129
- z-index:9999;
130
- }
131
-
132
- .switcher .option a:hover{
133
- background:#FFC;
134
- }
135
-
136
- #language{
137
- /*position:relative;
138
- z-index:9999;*/
139
- height:30px;
140
- }
141
-
142
- #language_inner {
143
- width:100%;
144
- height:100%;
145
-
146
- }
147
-
148
  .attribution {
149
  width:152px;
150
  line-height:1em;
@@ -170,7 +103,6 @@ span.goog-branding {
170
  font-weight: bold;
171
  color: rgb(68, 68, 68);
172
  text-decoration: none;
173
- /*float: right;*/
174
  line-height:0.8em;
175
  }
176
 
@@ -197,13 +129,8 @@ span.vertical-translator {
197
  z-index: 9999;
198
  }
199
 
 
200
 
201
-
202
- #language > div > div:first-child > div { width:100%; }
203
-
204
- /* Force overflow content to show so that the drop-down will show */
205
-
206
- .widget { overflow:visible !important; }
207
-
208
-
209
- #features { list-style:square; margin-left:30px; }
1
+ #google_language_translator {
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;
14
  box-shadow:none !important;
15
  -moz-box-shadow:none !important;
16
  -webkit-box-shadow:none !important;
22
  -moz-border-radius:0px !important;
23
  }
24
 
25
+ .goog-te-gadget {
26
+ color:#444;
27
+ font-size:11px;
28
+ font-family:"Arial",sans,sans-serif;
29
+ }
30
+
31
+ .goog-te-gadget img {
32
+ vertical-align:middle;
33
+ }
34
+
35
  select.goog-te-combo:focus {
36
  box-shadow:none !important;
37
  -moz-box-shadow:none !important;
78
  padding:0px !important;
79
  }
80
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
81
  .attribution {
82
  width:152px;
83
  line-height:1em;
103
  font-weight: bold;
104
  color: rgb(68, 68, 68);
105
  text-decoration: none;
 
106
  line-height:0.8em;
107
  }
108
 
129
  z-index: 9999;
130
  }
131
 
132
+ /* Hide the edit translation box */
133
 
134
+ #goog-gt-tt {
135
+ display:none !important;
136
+ }
 
 
 
 
 
 
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.8
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/
@@ -2177,7 +2177,8 @@ function googlelanguagetranslator_toolbar_yes(){
2177
  if(get_option('googlelanguagetranslator_active')==1) { ?>
2178
  <style type="text/css">
2179
  #google_language_translator {color: transparent;}
2180
- .goog-te-gadget .goog-te-combo {margin: 2px 0px !important;}
 
2181
  </style>
2182
  <?php
2183
  }
@@ -2187,7 +2188,7 @@ function googlelanguagetranslator_toolbar_no(){
2187
  if(get_option('googlelanguagetranslator_active')==1) { ?>
2188
  <style type="text/css">
2189
  .goog-te-banner-frame{visibility:hidden !important;}
2190
- body {top:0px !important;}
2191
  </style>
2192
  <?php
2193
  }
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/
2177
  if(get_option('googlelanguagetranslator_active')==1) { ?>
2178
  <style type="text/css">
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
  }
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
  }
readme.txt CHANGED
@@ -4,8 +4,8 @@ Donate link: http://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id
4
  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.6.1
8
- stable tag: 2.8
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
 
@@ -119,6 +119,15 @@ Settings include: inline or vertical layout, show/hide specific languages, hide/
119
  - Added an option to allow users to turn on/off Google's multilanguagePage option, that when activated, the original website content will be a forced translation, instead of original content (but only after a translation is made.)
120
  - Added more flexible styles to the settings page, so that left and right panels display nicely to the user.
121
 
 
 
 
 
 
 
 
 
 
122
  == Screenshots ==
123
 
124
  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.
4
  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
 
119
  - Added an option to allow users to turn on/off Google's multilanguagePage option, that when activated, the original website content will be a forced translation, instead of original content (but only after a translation is made.)
120
  - Added more flexible styles to the settings page, so that left and right panels display nicely to the user.
121
 
122
+ 2.9
123
+
124
+ ***IMPORTANT: Google's most recent server update is producing display issues for website translation tool. There are major display issues with the translation toolbar and also the translations editing interface. Version 2.9 temporarily hides the edit translation functionality until Google decides to fix this issue, although you can still edit translations directly through your Google account at translate.google.com. Please direct any support requests through Wordpress.org and we will be happy to assist you.
125
+
126
+ - Fixed Google Translation toolbar display issue
127
+ - Fixed the Edit Translation interface by hiding it temporarily until Google fixes this
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.