Version Description
Download this release
Release Info
| Developer | rm2773 |
| Plugin | |
| Version | 5.0.19 |
| Comparing to | |
| See all releases | |
Code changes from version 5.0.18 to 5.0.19
- css/style.css +25 -0
- google-language-translator.php +9 -8
- readme.txt +4 -1
css/style.css
CHANGED
|
@@ -368,6 +368,11 @@ code {
|
|
| 368 |
background:url('../images/flags22.png') -117px -90px no-repeat;
|
| 369 |
}
|
| 370 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 371 |
#flags.size22 a[title="Galician"],
|
| 372 |
.tool-container .tool-items a[title="Galician"] {
|
| 373 |
background:url('../images/flags22.png') -146px -90px no-repeat;
|
|
@@ -866,6 +871,11 @@ code {
|
|
| 866 |
background:url('../images/flags18.png') -118px -91px no-repeat;
|
| 867 |
}
|
| 868 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 869 |
#flags.size18 a[title="Galician"],
|
| 870 |
.tool-container .tool-items a[title="Galician"] {
|
| 871 |
background:url('../images/flags18.png') -147px -91px no-repeat;
|
|
@@ -1364,6 +1374,11 @@ code {
|
|
| 1364 |
background:url('../images/flags20.png') -118px -91px no-repeat;
|
| 1365 |
}
|
| 1366 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1367 |
#flags.size20 a[title="Galician"],
|
| 1368 |
.tool-container .tool-items a[title="Galician"] {
|
| 1369 |
background:url('../images/flags20.png') -147px -91px no-repeat;
|
|
@@ -1862,6 +1877,11 @@ code {
|
|
| 1862 |
background:url('../images/flags16.png') -120px -92px no-repeat;
|
| 1863 |
}
|
| 1864 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1865 |
#flags.size16 a[title="Galician"],
|
| 1866 |
.tool-container .tool-items a[title="Galician"] {
|
| 1867 |
background:url('../images/flags16.png') -149px -92px no-repeat;
|
|
@@ -2362,6 +2382,11 @@ code {
|
|
| 2362 |
background:url('../images/flags.png') -116px -90px no-repeat;
|
| 2363 |
}
|
| 2364 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2365 |
#flags.size24 a[title="Galician"],
|
| 2366 |
.tool-container .tool-items a[title="Galician"] {
|
| 2367 |
background:url('../images/flags.png') -145px -90px no-repeat;
|
| 368 |
background:url('../images/flags22.png') -117px -90px no-repeat;
|
| 369 |
}
|
| 370 |
|
| 371 |
+
#flags.size22 a[title="Frisian"],
|
| 372 |
+
.tool-container .tool-items a[title="Frisian"] {
|
| 373 |
+
background:url('../images/flags22.png') -146px -61px no-repeat;
|
| 374 |
+
}
|
| 375 |
+
|
| 376 |
#flags.size22 a[title="Galician"],
|
| 377 |
.tool-container .tool-items a[title="Galician"] {
|
| 378 |
background:url('../images/flags22.png') -146px -90px no-repeat;
|
| 871 |
background:url('../images/flags18.png') -118px -91px no-repeat;
|
| 872 |
}
|
| 873 |
|
| 874 |
+
#flags.size18 a[title="Frisian"],
|
| 875 |
+
.tool-container .tool-items a[title="Frisian"] {
|
| 876 |
+
background:url('../images/flags18.png') -147px -62px no-repeat;
|
| 877 |
+
}
|
| 878 |
+
|
| 879 |
#flags.size18 a[title="Galician"],
|
| 880 |
.tool-container .tool-items a[title="Galician"] {
|
| 881 |
background:url('../images/flags18.png') -147px -91px no-repeat;
|
| 1374 |
background:url('../images/flags20.png') -118px -91px no-repeat;
|
| 1375 |
}
|
| 1376 |
|
| 1377 |
+
#flags.size20 a[title="Frisian"],
|
| 1378 |
+
.tool-container .tool-items a[title="Frisian"] {
|
| 1379 |
+
background:url('../images/flags20.png') -147px -62px no-repeat;
|
| 1380 |
+
}
|
| 1381 |
+
|
| 1382 |
#flags.size20 a[title="Galician"],
|
| 1383 |
.tool-container .tool-items a[title="Galician"] {
|
| 1384 |
background:url('../images/flags20.png') -147px -91px no-repeat;
|
| 1877 |
background:url('../images/flags16.png') -120px -92px no-repeat;
|
| 1878 |
}
|
| 1879 |
|
| 1880 |
+
#flags.size16 a[title="Frisian"],
|
| 1881 |
+
.tool-container .tool-items a[title="Frisian"] {
|
| 1882 |
+
background:url('../images/flags16.png') -149px -63px no-repeat;
|
| 1883 |
+
}
|
| 1884 |
+
|
| 1885 |
#flags.size16 a[title="Galician"],
|
| 1886 |
.tool-container .tool-items a[title="Galician"] {
|
| 1887 |
background:url('../images/flags16.png') -149px -92px no-repeat;
|
| 2382 |
background:url('../images/flags.png') -116px -90px no-repeat;
|
| 2383 |
}
|
| 2384 |
|
| 2385 |
+
#flags.size24 a[title="Frisian"],
|
| 2386 |
+
.tool-container .tool-items a[title="Frisian"] {
|
| 2387 |
+
background:url('../images/flags.png') -145px -61px no-repeat;
|
| 2388 |
+
}
|
| 2389 |
+
|
| 2390 |
#flags.size24 a[title="Galician"],
|
| 2391 |
.tool-container .tool-items a[title="Galician"] {
|
| 2392 |
background:url('../images/flags.png') -145px -90px 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/
|
|
@@ -43,6 +43,7 @@ class google_language_translator {
|
|
| 43 |
'tl' => 'Filipino',
|
| 44 |
'fi' => 'Finnish',
|
| 45 |
'fr' => 'French',
|
|
|
|
| 46 |
'gl' => 'Galician',
|
| 47 |
'ka' => 'Georgian',
|
| 48 |
'de' => 'German',
|
|
@@ -694,12 +695,12 @@ class google_language_translator {
|
|
| 694 |
$language_codes = $language_code_array;
|
| 695 |
$item_count = count($items);
|
| 696 |
|
| 697 |
-
if ($item_count == 1 || $item_count ==
|
| 698 |
<div class="languages" style="width:25%; float:left">
|
| 699 |
<?php } ?>
|
| 700 |
<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>
|
| 701 |
<?php
|
| 702 |
-
if ($item_count ==
|
| 703 |
</div>
|
| 704 |
<?php }
|
| 705 |
} ?>
|
|
@@ -750,12 +751,12 @@ class google_language_translator {
|
|
| 750 |
$language_codes = $language_code_array;
|
| 751 |
$item_count = count($items);
|
| 752 |
|
| 753 |
-
if ($item_count == 1 || $item_count ==
|
| 754 |
<div class="flagdisplay" style="width:25%; float:left">
|
| 755 |
<?php } ?>
|
| 756 |
<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>
|
| 757 |
<?php
|
| 758 |
-
if ($item_count ==
|
| 759 |
</div>
|
| 760 |
<?php }
|
| 761 |
} ?>
|
|
@@ -1090,7 +1091,7 @@ class google_language_translator {
|
|
| 1090 |
</tr>
|
| 1091 |
|
| 1092 |
<tr class="notranslate">
|
| 1093 |
-
<td class="choose_flags_intro">Show flag images?<br/>(Display up to
|
| 1094 |
<td class="choose_flags_intro"><?php $this->googlelanguagetranslator_flags_cb(); ?></td>
|
| 1095 |
</tr>
|
| 1096 |
|
|
@@ -1266,12 +1267,12 @@ class google_language_translator {
|
|
| 1266 |
|
| 1267 |
<div class="metabox-holder box-right notranslate" style="float: right; width: 33%;">
|
| 1268 |
<div class="postbox">
|
| 1269 |
-
<h3>GLT Premium 5.0.
|
| 1270 |
<div class="inside"><a class="wp-studio-logo" href="http://www.wp-studio.net/" target="_blank"><img style="background:#444; border-radius:3px; -webkit-border-radius:3px; -moz-border-radius:3px; width:177px;" src="<?php echo plugins_url( 'images/logo.png' , __FILE__ ); ?>"></a><br />
|
| 1271 |
<ul id="features" style="margin-left:15px">
|
| 1272 |
<li style="list-style:square outside"><span style="color:red; font-weight:bold">New!</span> Edit translations! (Pages/Posts ONLY)</li>
|
| 1273 |
<li style="list-style:square outside">6 Floating Widget positions</li>
|
| 1274 |
-
<li style="list-style:square outside">
|
| 1275 |
<li style="list-style:square outside">Exclude specific areas from translation</li>
|
| 1276 |
<li style="list-style:square outside">jQuery-powered language switcher<br/>(No Adobe Flash required)</li>
|
| 1277 |
<li style="list-style:square outside">Add single languages to your menus/pages/posts</li>
|
| 2 |
/*
|
| 3 |
Plugin Name: Google Language Translator
|
| 4 |
Plugin URI: http://www.studio88design.com/plugins/google-language-translator
|
| 5 |
+
Version: 5.0.19
|
| 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/
|
| 43 |
'tl' => 'Filipino',
|
| 44 |
'fi' => 'Finnish',
|
| 45 |
'fr' => 'French',
|
| 46 |
+
'fy' => 'Frisian',
|
| 47 |
'gl' => 'Galician',
|
| 48 |
'ka' => 'Georgian',
|
| 49 |
'de' => 'German',
|
| 695 |
$language_codes = $language_code_array;
|
| 696 |
$item_count = count($items);
|
| 697 |
|
| 698 |
+
if ($item_count == 1 || $item_count == 26 || $item_count == 51 || $item_count == 76) { ?>
|
| 699 |
<div class="languages" style="width:25%; float:left">
|
| 700 |
<?php } ?>
|
| 701 |
<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>
|
| 702 |
<?php
|
| 703 |
+
if ($item_count == 25 || $item_count == 50 || $item_count == 75 || $item_count == 97) { ?>
|
| 704 |
</div>
|
| 705 |
<?php }
|
| 706 |
} ?>
|
| 751 |
$language_codes = $language_code_array;
|
| 752 |
$item_count = count($items);
|
| 753 |
|
| 754 |
+
if ($item_count == 1 || $item_count == 26 || $item_count == 51 || $item_count == 76) { ?>
|
| 755 |
<div class="flagdisplay" style="width:25%; float:left">
|
| 756 |
<?php } ?>
|
| 757 |
<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>
|
| 758 |
<?php
|
| 759 |
+
if ($item_count == 25 || $item_count == 50 || $item_count == 75 || $item_count == 97) { ?>
|
| 760 |
</div>
|
| 761 |
<?php }
|
| 762 |
} ?>
|
| 1091 |
</tr>
|
| 1092 |
|
| 1093 |
<tr class="notranslate">
|
| 1094 |
+
<td class="choose_flags_intro">Show flag images?<br/>(Display up to 97 flags above the translator)</td>
|
| 1095 |
<td class="choose_flags_intro"><?php $this->googlelanguagetranslator_flags_cb(); ?></td>
|
| 1096 |
</tr>
|
| 1097 |
|
| 1267 |
|
| 1268 |
<div class="metabox-holder box-right notranslate" style="float: right; width: 33%;">
|
| 1269 |
<div class="postbox">
|
| 1270 |
+
<h3>GLT Premium 5.0.24 is Here! $30</h3>
|
| 1271 |
<div class="inside"><a class="wp-studio-logo" href="http://www.wp-studio.net/" target="_blank"><img style="background:#444; border-radius:3px; -webkit-border-radius:3px; -moz-border-radius:3px; width:177px;" src="<?php echo plugins_url( 'images/logo.png' , __FILE__ ); ?>"></a><br />
|
| 1272 |
<ul id="features" style="margin-left:15px">
|
| 1273 |
<li style="list-style:square outside"><span style="color:red; font-weight:bold">New!</span> Edit translations! (Pages/Posts ONLY)</li>
|
| 1274 |
<li style="list-style:square outside">6 Floating Widget positions</li>
|
| 1275 |
+
<li style="list-style:square outside">97 Languages with flags</li>
|
| 1276 |
<li style="list-style:square outside">Exclude specific areas from translation</li>
|
| 1277 |
<li style="list-style:square outside">jQuery-powered language switcher<br/>(No Adobe Flash required)</li>
|
| 1278 |
<li style="list-style:square outside">Add single languages to your menus/pages/posts</li>
|
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.18
|
| 50 |
- Added Sindhi 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.19
|
| 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.19
|
| 50 |
+
- Added Frisian as a new language with its associated flag.
|
| 51 |
+
|
| 52 |
5.0.18
|
| 53 |
- Added Sindhi as a new language with its associated flag.
|
| 54 |
|
