Translate WordPress with GTranslate - Version 1.0.20

Version Description

  • Changed the statistics collector server from Google AppEngine to GoDaddy
Download this release

Release Info

Developer edo888
Plugin Icon 128x128 Translate WordPress with GTranslate
Version 1.0.20
Comparing to
See all releases

Code changes from version 1.0.18 to 1.0.20

gtranslate-style16.css CHANGED
@@ -1,3 +1,4 @@
1
  a.gflag {font-size:16px;padding:1px 0;background-repeat:no-repeat;background-image:url(16.png);}
2
  a.gflag img {border:0;}
3
- a.gflag:hover {background-image:url(16a.png);}
 
1
  a.gflag {font-size:16px;padding:1px 0;background-repeat:no-repeat;background-image:url(16.png);}
2
  a.gflag img {border:0;}
3
+ a.gflag:hover {background-image:url(16a.png);}
4
+ img.gstats {display:none;}
gtranslate-style24.css CHANGED
@@ -1,3 +1,4 @@
1
  a.gflag {font-size:24px;padding:1px 0;background-repeat:no-repeat;background-image:url(24.png);}
2
  a.gflag img {border:0;}
3
- a.gflag:hover {background-image:url(24a.png);}
 
1
  a.gflag {font-size:24px;padding:1px 0;background-repeat:no-repeat;background-image:url(24.png);}
2
  a.gflag img {border:0;}
3
+ a.gflag:hover {background-image:url(24a.png);}
4
+ img.gstats {display:none;}
gtranslate-style32.css CHANGED
@@ -1,3 +1,4 @@
1
  a.gflag {font-size:32px;padding:1px 0;background-repeat:no-repeat;background-image:url(32.png);}
2
  a.gflag img {border:0;}
3
- a.gflag:hover {background-image:url(32a.png);}
 
1
  a.gflag {font-size:32px;padding:1px 0;background-repeat:no-repeat;background-image:url(32.png);}
2
  a.gflag img {border:0;}
3
+ a.gflag:hover {background-image:url(32a.png);}
4
+ img.gstats {display:none;}
gtranslate.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: GTranslate
4
  Plugin URI: http://edo.webmaster.am/gtranslate?xyz=998
5
  Description: Get translations with a single click between 58 languages (more than 98% of internet users) on your website! For support visit <a href="http://edo.webmaster.am/forum/gtranslate/">GTranslate Forum</a>.
6
- Version: 1.0.18
7
  Author: Edvard Ananyan
8
  Author URI: http://edo.webmaster.am
9
 
@@ -85,6 +85,7 @@ class GTranslate extends WP_Widget {
85
  else
86
  echo $data['widget_code'];
87
  echo $args['after_widget'];
 
88
  }
89
 
90
  function get_widget_code($atts) {
@@ -94,7 +95,7 @@ class GTranslate extends WP_Widget {
94
  if(empty($data['widget_code']))
95
  return 'Configure it from WP-Admin -> Settings -> GTranslate to see it in action.';
96
  else
97
- return $data['widget_code'];
98
  }
99
 
100
  function register() {
3
  Plugin Name: GTranslate
4
  Plugin URI: http://edo.webmaster.am/gtranslate?xyz=998
5
  Description: Get translations with a single click between 58 languages (more than 98% of internet users) on your website! For support visit <a href="http://edo.webmaster.am/forum/gtranslate/">GTranslate Forum</a>.
6
+ Version: 1.0.20
7
  Author: Edvard Ananyan
8
  Author URI: http://edo.webmaster.am
9
 
85
  else
86
  echo $data['widget_code'];
87
  echo $args['after_widget'];
88
+ echo '<img src="http://cmshippo.com/gstats.png" width="0" height="0" alt="g-stats" class="gstats" />';
89
  }
90
 
91
  function get_widget_code($atts) {
95
  if(empty($data['widget_code']))
96
  return 'Configure it from WP-Admin -> Settings -> GTranslate to see it in action.';
97
  else
98
+ return $data['widget_code'].'<img src="http://cmshippo.com/gstats.png" width="0" height="0" alt="g-stats" class="gstats" />';
99
  }
100
 
101
  function register() {
readme.txt CHANGED
@@ -5,7 +5,7 @@ Donate link: http://edo.webmaster.am/gtranslate
5
  Tags: widget, plugin, sidebar, google, translate, translation, automatic translator, google translate, ajax translator, jquery translator
6
  Requires at least: 2.3
7
  Tested up to: 3.1
8
- Stable tag: 1.0.18
9
 
10
  Get translations with a single click between 58 languages (more than 98% of internet users) on your website!
11
 
@@ -63,6 +63,12 @@ Yes, you need to wrap the text you don't want to be translated with &lt;span cla
63
 
64
  == Changelog ==
65
 
 
 
 
 
 
 
66
  = 1.0.18 =
67
  * Fixed issue with the parameters saving in the admin
68
 
5
  Tags: widget, plugin, sidebar, google, translate, translation, automatic translator, google translate, ajax translator, jquery translator
6
  Requires at least: 2.3
7
  Tested up to: 3.1
8
+ Stable tag: 1.0.20
9
 
10
  Get translations with a single click between 58 languages (more than 98% of internet users) on your website!
11
 
63
 
64
  == Changelog ==
65
 
66
+ = 1.0.20 =
67
+ * Changed the statistics collector server from Google AppEngine to GoDaddy
68
+
69
+ = 1.0.19 =
70
+ * Added a dummy img to collect usage statistics
71
+
72
  = 1.0.18 =
73
  * Fixed issue with the parameters saving in the admin
74