Google Language Translator - Version 5.0.26

Version Description

Download this release

Release Info

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

Code changes from version 5.0.25 to 5.0.26

Files changed (2) hide show
  1. google-language-translator.php +3 -2
  2. readme.txt +4 -1
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.25
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/
@@ -163,6 +163,7 @@ class google_language_translator {
163
  add_option('googlelanguagetranslator_english_flag_choice','');
164
  add_option('googlelanguagetranslator_spanish_flag_choice','');
165
  add_option('googlelanguagetranslator_portuguese_flag_choice','');
 
166
  delete_option('googlelanguagetranslator_manage_translations',0);
167
  }
168
 
@@ -791,7 +792,7 @@ class google_language_translator {
791
  public function googlelanguagetranslator_floating_widget_text_cb() {
792
 
793
  $option_name = 'googlelanguagetranslator_floating_widget_text' ;
794
- $new_value = 'yes';
795
 
796
  if ( get_option( $option_name ) === false ) {
797
  // The option does not exist, so we update it.
2
  /*
3
  Plugin Name: Google Language Translator
4
  Plugin URI: http://www.studio88design.com/plugins/google-language-translator
5
+ Version: 5.0.26
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/
163
  add_option('googlelanguagetranslator_english_flag_choice','');
164
  add_option('googlelanguagetranslator_spanish_flag_choice','');
165
  add_option('googlelanguagetranslator_portuguese_flag_choice','');
166
+ add_option('googlelanguagetranslator_floating_widget_text', 'Translate »');
167
  delete_option('googlelanguagetranslator_manage_translations',0);
168
  }
169
 
792
  public function googlelanguagetranslator_floating_widget_text_cb() {
793
 
794
  $option_name = 'googlelanguagetranslator_floating_widget_text' ;
795
+ $new_value = 'Translate »';
796
 
797
  if ( get_option( $option_name ) === false ) {
798
  // The option does not exist, so we update it.
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.25
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.25
50
  - Added new setting for custom text in the Floating Widget.
51
  - Removed "notranslate" class from the Floating Widget text to allow for translation.
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.26
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.26
50
+ - Fixed a small error in adding the setting for Floating Widget text.
51
+
52
  5.0.25
53
  - Added new setting for custom text in the Floating Widget.
54
  - Removed "notranslate" class from the Floating Widget text to allow for translation.