Version Description
Download this release
Release Info
| Developer | rm2773 |
| Plugin | |
| Version | 5.0.16 |
| Comparing to | |
| See all releases | |
Code changes from version 5.0.15 to 5.0.16
- css/style.css +25 -0
- google-language-translator.php +6 -6
- readme.txt +4 -1
css/style.css
CHANGED
|
@@ -687,6 +687,11 @@ code {
|
|
| 687 |
background:url('../images/flags22.png') -30px -380px no-repeat;
|
| 688 |
}
|
| 689 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 690 |
#flags.size22 a[title="Yiddish"],
|
| 691 |
.tool-container .tool-items a[title="Yiddish"] {
|
| 692 |
background:url('../images/flags22.png') -59px -380px no-repeat;
|
|
@@ -1165,6 +1170,11 @@ code {
|
|
| 1165 |
background:url('../images/flags18.png') -31px -381px no-repeat;
|
| 1166 |
}
|
| 1167 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1168 |
#flags.size18 a[title="Yiddish"],
|
| 1169 |
.tool-container .tool-items a[title="Yiddish"] {
|
| 1170 |
background:url('../images/flags18.png') -60px -381px no-repeat;
|
|
@@ -1643,6 +1653,11 @@ code {
|
|
| 1643 |
background:url('../images/flags20.png') -31px -381px no-repeat;
|
| 1644 |
}
|
| 1645 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1646 |
#flags.size20 a[title="Yiddish"],
|
| 1647 |
.tool-container .tool-items a[title="Yiddish"] {
|
| 1648 |
background:url('../images/flags20.png') -60px -381px no-repeat;
|
|
@@ -2121,6 +2136,11 @@ code {
|
|
| 2121 |
background:url('../images/flags16.png') -33px -382px no-repeat;
|
| 2122 |
}
|
| 2123 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2124 |
#flags.size16 a[title="Yiddish"],
|
| 2125 |
.tool-container .tool-items a[title="Yiddish"] {
|
| 2126 |
background:url('../images/flags16.png') -62px -382px no-repeat;
|
|
@@ -2603,6 +2623,11 @@ code {
|
|
| 2603 |
background:url('../images/flags.png') -29px -380px no-repeat;
|
| 2604 |
}
|
| 2605 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2606 |
#flags.size24 a[title="Yiddish"],
|
| 2607 |
.tool-container .tool-items a[title="Yiddish"] {
|
| 2608 |
background:url('../images/flags.png') -58px -380px no-repeat;
|
| 687 |
background:url('../images/flags22.png') -30px -380px no-repeat;
|
| 688 |
}
|
| 689 |
|
| 690 |
+
#flags.size22 a[title="Xhosa"],
|
| 691 |
+
.tool-container .tool-items a[title="Xhosa"] {
|
| 692 |
+
background:url('../images/flags22.png') -1px -3px no-repeat;
|
| 693 |
+
}
|
| 694 |
+
|
| 695 |
#flags.size22 a[title="Yiddish"],
|
| 696 |
.tool-container .tool-items a[title="Yiddish"] {
|
| 697 |
background:url('../images/flags22.png') -59px -380px no-repeat;
|
| 1170 |
background:url('../images/flags18.png') -31px -381px no-repeat;
|
| 1171 |
}
|
| 1172 |
|
| 1173 |
+
#flags.size18 a[title="Xhosa"],
|
| 1174 |
+
.tool-container .tool-items a[title="Xhosa"] {
|
| 1175 |
+
background:url('../images/flags18.png') -2px -4px no-repeat;
|
| 1176 |
+
}
|
| 1177 |
+
|
| 1178 |
#flags.size18 a[title="Yiddish"],
|
| 1179 |
.tool-container .tool-items a[title="Yiddish"] {
|
| 1180 |
background:url('../images/flags18.png') -60px -381px no-repeat;
|
| 1653 |
background:url('../images/flags20.png') -31px -381px no-repeat;
|
| 1654 |
}
|
| 1655 |
|
| 1656 |
+
#flags.size20 a[title="Xhosa"],
|
| 1657 |
+
.tool-container .tool-items a[title="Xhosa"] {
|
| 1658 |
+
background:url('../images/flags20.png') -2px -4px no-repeat;
|
| 1659 |
+
}
|
| 1660 |
+
|
| 1661 |
#flags.size20 a[title="Yiddish"],
|
| 1662 |
.tool-container .tool-items a[title="Yiddish"] {
|
| 1663 |
background:url('../images/flags20.png') -60px -381px no-repeat;
|
| 2136 |
background:url('../images/flags16.png') -33px -382px no-repeat;
|
| 2137 |
}
|
| 2138 |
|
| 2139 |
+
#flags.size16 a[title="Xhosa"],
|
| 2140 |
+
.tool-container .tool-items a[title="Xhosa"] {
|
| 2141 |
+
background:url('../images/flags16.png') -4px -5px no-repeat;
|
| 2142 |
+
}
|
| 2143 |
+
|
| 2144 |
#flags.size16 a[title="Yiddish"],
|
| 2145 |
.tool-container .tool-items a[title="Yiddish"] {
|
| 2146 |
background:url('../images/flags16.png') -62px -382px no-repeat;
|
| 2623 |
background:url('../images/flags.png') -29px -380px no-repeat;
|
| 2624 |
}
|
| 2625 |
|
| 2626 |
+
#flags.size24 a[title="Xhosa"],
|
| 2627 |
+
.tool-container .tool-items a[title="Xhosa"] {
|
| 2628 |
+
background:url('../images/flags.png') 0 -3px no-repeat;
|
| 2629 |
+
}
|
| 2630 |
+
|
| 2631 |
#flags.size24 a[title="Yiddish"],
|
| 2632 |
.tool-container .tool-items a[title="Yiddish"] {
|
| 2633 |
background:url('../images/flags.png') -58px -380px no-repeat;
|
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.
|
| 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/
|
|
@@ -106,6 +106,7 @@ class google_language_translator {
|
|
| 106 |
'uz' => 'Uzbek',
|
| 107 |
'vi' => 'Vietnamese',
|
| 108 |
'cy' => 'Welsh',
|
|
|
|
| 109 |
'yi' => 'Yiddish',
|
| 110 |
'yo' => 'Yoruba',
|
| 111 |
'zu' => 'Zulu'
|
|
@@ -213,7 +214,6 @@ class google_language_translator {
|
|
| 213 |
wp_register_style( 'jquery-ui.css', plugins_url('css/jquery-ui.css',__FILE__) );
|
| 214 |
wp_register_style( 'style.css', plugins_url('css/style.css', __FILE__) );
|
| 215 |
wp_enqueue_style( 'style.css' );
|
| 216 |
-
//wp_enqueue_style( 'jquery-ui.css' );
|
| 217 |
}
|
| 218 |
|
| 219 |
public function flags() {
|
|
@@ -691,12 +691,12 @@ class google_language_translator {
|
|
| 691 |
$language_codes = $language_code_array;
|
| 692 |
$item_count = count($items);
|
| 693 |
|
| 694 |
-
if ($item_count == 1 || $item_count ==
|
| 695 |
<div class="languages" style="width:25%; float:left">
|
| 696 |
<?php } ?>
|
| 697 |
<div><input type="checkbox" name="language_display_settings[<?php echo $language_code; ?>]" value="1"<?php checked( 1,$get_language_choices[''.$language_code.'']); ?>/><?php echo $language_name; ?></div>
|
| 698 |
<?php
|
| 699 |
-
if ($item_count ==
|
| 700 |
</div>
|
| 701 |
<?php }
|
| 702 |
} ?>
|
|
@@ -747,12 +747,12 @@ class google_language_translator {
|
|
| 747 |
$language_codes = $language_code_array;
|
| 748 |
$item_count = count($items);
|
| 749 |
|
| 750 |
-
if ($item_count == 1 || $item_count ==
|
| 751 |
<div class="flagdisplay" style="width:25%; float:left">
|
| 752 |
<?php } ?>
|
| 753 |
<div><input type="checkbox" name="flag_display_settings[flag-<?php echo $language_code; ?>]" value="1"<?php checked( 1,$get_flag_choices['flag-'.$language_code.'']); ?>/><?php echo $language_name; ?></div>
|
| 754 |
<?php
|
| 755 |
-
if ($item_count ==
|
| 756 |
</div>
|
| 757 |
<?php }
|
| 758 |
} ?>
|
| 2 |
/*
|
| 3 |
Plugin Name: Google Language Translator
|
| 4 |
Plugin URI: http://www.studio88design.com/plugins/google-language-translator
|
| 5 |
+
Version: 5.0.16
|
| 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/
|
| 106 |
'uz' => 'Uzbek',
|
| 107 |
'vi' => 'Vietnamese',
|
| 108 |
'cy' => 'Welsh',
|
| 109 |
+
'xh' => 'Xhosa',
|
| 110 |
'yi' => 'Yiddish',
|
| 111 |
'yo' => 'Yoruba',
|
| 112 |
'zu' => 'Zulu'
|
| 214 |
wp_register_style( 'jquery-ui.css', plugins_url('css/jquery-ui.css',__FILE__) );
|
| 215 |
wp_register_style( 'style.css', plugins_url('css/style.css', __FILE__) );
|
| 216 |
wp_enqueue_style( 'style.css' );
|
|
|
|
| 217 |
}
|
| 218 |
|
| 219 |
public function flags() {
|
| 691 |
$language_codes = $language_code_array;
|
| 692 |
$item_count = count($items);
|
| 693 |
|
| 694 |
+
if ($item_count == 1 || $item_count == 25 || $item_count == 49 || $item_count == 73) { ?>
|
| 695 |
<div class="languages" style="width:25%; float:left">
|
| 696 |
<?php } ?>
|
| 697 |
<div><input type="checkbox" name="language_display_settings[<?php echo $language_code; ?>]" value="1"<?php checked( 1,$get_language_choices[''.$language_code.'']); ?>/><?php echo $language_name; ?></div>
|
| 698 |
<?php
|
| 699 |
+
if ($item_count == 24 || $item_count == 48 || $item_count == 72 || $item_count == 93) { ?>
|
| 700 |
</div>
|
| 701 |
<?php }
|
| 702 |
} ?>
|
| 747 |
$language_codes = $language_code_array;
|
| 748 |
$item_count = count($items);
|
| 749 |
|
| 750 |
+
if ($item_count == 1 || $item_count == 25 || $item_count == 49 || $item_count == 73) { ?>
|
| 751 |
<div class="flagdisplay" style="width:25%; float:left">
|
| 752 |
<?php } ?>
|
| 753 |
<div><input type="checkbox" name="flag_display_settings[flag-<?php echo $language_code; ?>]" value="1"<?php checked( 1,$get_flag_choices['flag-'.$language_code.'']); ?>/><?php echo $language_name; ?></div>
|
| 754 |
<?php
|
| 755 |
+
if ($item_count == 24 || $item_count == 48 || $item_count == 72 || $item_count == 93) { ?>
|
| 756 |
</div>
|
| 757 |
<?php }
|
| 758 |
} ?>
|
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.
|
| 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.15
|
| 50 |
- Added Amharic as a new language with its associated flag.
|
| 51 |
|
| 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.16
|
| 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.16
|
| 50 |
+
- Added Xhosa as a new language with its associated flag.
|
| 51 |
+
|
| 52 |
5.0.15
|
| 53 |
- Added Amharic as a new language with its associated flag.
|
| 54 |
|
