Version Description
Download this release
Release Info
| Developer | rm2773 |
| Plugin | |
| Version | 4.0.3 |
| Comparing to | |
| See all releases | |
Code changes from version 4.0.2 to 4.0.3
- css/style.css +3 -0
- google-language-translator.php +5 -5
- readme.txt +5 -1
css/style.css
CHANGED
|
@@ -19,6 +19,9 @@ select.goog-te-combo {
|
|
| 19 |
#flags li {
|
| 20 |
float:left;
|
| 21 |
margin-bottom:0;
|
|
|
|
|
|
|
|
|
|
| 22 |
}
|
| 23 |
|
| 24 |
#flags a {
|
| 19 |
#flags li {
|
| 20 |
float:left;
|
| 21 |
margin-bottom:0;
|
| 22 |
+
padding:0;
|
| 23 |
+
border:none;
|
| 24 |
+
list-style:none;
|
| 25 |
}
|
| 26 |
|
| 27 |
#flags a {
|
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: 4.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/
|
|
@@ -112,8 +112,8 @@ class google_language_translator {
|
|
| 112 |
|
| 113 |
public function glt_activate() {
|
| 114 |
update_option('googlelanguagetranslator_active', 1);
|
| 115 |
-
|
| 116 |
-
|
| 117 |
update_option('language_display_settings',array ('en' => 1));
|
| 118 |
update_option('googlelanguagetranslator_flags','show_flags');
|
| 119 |
update_option('flag_display_settings',array ('flag-en' => 1));
|
|
@@ -131,8 +131,8 @@ class google_language_translator {
|
|
| 131 |
|
| 132 |
public function glt_deactivate() {
|
| 133 |
delete_option('googlelanguagetranslator_active');
|
| 134 |
-
|
| 135 |
-
|
| 136 |
delete_option('language_display_settings');
|
| 137 |
delete_option('googlelanguagetranslator_flags');
|
| 138 |
delete_option('flag_display_settings');
|
| 2 |
/*
|
| 3 |
Plugin Name: Google Language Translator
|
| 4 |
Plugin URI: http://www.studio88design.com/plugins/google-language-translator
|
| 5 |
+
Version: 4.0.3
|
| 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/
|
| 112 |
|
| 113 |
public function glt_activate() {
|
| 114 |
update_option('googlelanguagetranslator_active', 1);
|
| 115 |
+
update_option('googlelanguagetranslator_language','en');
|
| 116 |
+
update_option('googlelanguagetranslator_language_option','all');
|
| 117 |
update_option('language_display_settings',array ('en' => 1));
|
| 118 |
update_option('googlelanguagetranslator_flags','show_flags');
|
| 119 |
update_option('flag_display_settings',array ('flag-en' => 1));
|
| 131 |
|
| 132 |
public function glt_deactivate() {
|
| 133 |
delete_option('googlelanguagetranslator_active');
|
| 134 |
+
delete_option('googlelanguagetranslator_language');
|
| 135 |
+
delete_option('googlelanguagetranslator_language_option');
|
| 136 |
delete_option('language_display_settings');
|
| 137 |
delete_option('googlelanguagetranslator_flags');
|
| 138 |
delete_option('flag_display_settings');
|
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.9.1
|
| 8 |
-
stable tag: 4.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 |
|
|
@@ -27,6 +27,10 @@ Settings include: inline or vertical layout, show/hide specific languages, hide/
|
|
| 27 |
|
| 28 |
== Changelog ==
|
| 29 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 30 |
4.0.2
|
| 31 |
|
| 32 |
- Eliminated all (or most) HTML validation errors. Big improvement!
|
| 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.9.1
|
| 8 |
+
stable tag: 4.0.3
|
| 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 |
|
| 27 |
|
| 28 |
== Changelog ==
|
| 29 |
|
| 30 |
+
4.0.3
|
| 31 |
+
|
| 32 |
+
- Adjusted CSS styles for the flag display.
|
| 33 |
+
|
| 34 |
4.0.2
|
| 35 |
|
| 36 |
- Eliminated all (or most) HTML validation errors. Big improvement!
|
