Google Language Translator - Version 5.0.17

Version Description

Download this release

Release Info

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

Code changes from version 5.0.16 to 5.0.17

css/style.css CHANGED
@@ -3,6 +3,10 @@
3
  display:none !important;
4
  }
5
 
 
 
 
 
6
  a.wp-studio-logo:focus,
7
  a.wp-helpdesk-logo:focus {
8
  box-shadow:none !important;
@@ -583,6 +587,11 @@ code {
583
  background:url('../images/flags22.png') -30px -293px no-repeat;
584
  }
585
 
 
 
 
 
 
586
  #flags.size22 a[title="Serbian"],
587
  .tool-container .tool-items a[title="Serbian"] {
588
  background:url('../images/flags22.png') -59px -293px no-repeat;
@@ -1066,6 +1075,11 @@ code {
1066
  background:url('../images/flags18.png') -31px -294px no-repeat;
1067
  }
1068
 
 
 
 
 
 
1069
  #flags.size18 a[title="Serbian"],
1070
  .tool-container .tool-items a[title="Serbian"] {
1071
  background:url('../images/flags18.png') -60px -294px no-repeat;
@@ -1549,6 +1563,11 @@ code {
1549
  background:url('../images/flags20.png') -31px -294px no-repeat;
1550
  }
1551
 
 
 
 
 
 
1552
  #flags.size20 a[title="Serbian"],
1553
  .tool-container .tool-items a[title="Serbian"] {
1554
  background:url('../images/flags20.png') -60px -294px no-repeat;
@@ -2032,6 +2051,11 @@ code {
2032
  background:url('../images/flags16.png') -33px -295px no-repeat;
2033
  }
2034
 
 
 
 
 
 
2035
  #flags.size16 a[title="Serbian"],
2036
  .tool-container .tool-items a[title="Serbian"] {
2037
  background:url('../images/flags16.png') -62px -295px no-repeat;
@@ -2518,6 +2542,11 @@ code {
2518
  background:url('../images/flags.png') -29px -293px no-repeat;
2519
  }
2520
 
 
 
 
 
 
2521
  #flags.size24 a[title="Serbian"],
2522
  .tool-container .tool-items a[title="Serbian"] {
2523
  background:url('../images/flags.png') -58px -293px no-repeat;
@@ -2641,4 +2670,23 @@ code {
2641
  #flags.size24 a[title="Zulu"],
2642
  .tool-container .tool-items a[title="Zulu"] {
2643
  background:url('../images/flags.png') -116px -380px no-repeat;
2644
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  display:none !important;
4
  }
5
 
6
+ .box-right {
7
+ clear:right;
8
+ }
9
+
10
  a.wp-studio-logo:focus,
11
  a.wp-helpdesk-logo:focus {
12
  box-shadow:none !important;
587
  background:url('../images/flags22.png') -30px -293px no-repeat;
588
  }
589
 
590
+ #flags.size22 a[title="Samoan"],
591
+ .tool-container .tool-items a[title="Samoan"] {
592
+ background:url('../images/flags22.png') -30px -467px no-repeat;
593
+ }
594
+
595
  #flags.size22 a[title="Serbian"],
596
  .tool-container .tool-items a[title="Serbian"] {
597
  background:url('../images/flags22.png') -59px -293px no-repeat;
1075
  background:url('../images/flags18.png') -31px -294px no-repeat;
1076
  }
1077
 
1078
+ #flags.size18 a[title="Samoan"],
1079
+ .tool-container .tool-items a[title="Samoan"] {
1080
+ background:url('../images/flags18.png') -31px -468px no-repeat;
1081
+ }
1082
+
1083
  #flags.size18 a[title="Serbian"],
1084
  .tool-container .tool-items a[title="Serbian"] {
1085
  background:url('../images/flags18.png') -60px -294px no-repeat;
1563
  background:url('../images/flags20.png') -31px -294px no-repeat;
1564
  }
1565
 
1566
+ #flags.size20 a[title="Samoan"],
1567
+ .tool-container .tool-items a[title="Samoan"] {
1568
+ background:url('../images/flags20.png') -31px -468px no-repeat;
1569
+ }
1570
+
1571
  #flags.size20 a[title="Serbian"],
1572
  .tool-container .tool-items a[title="Serbian"] {
1573
  background:url('../images/flags20.png') -60px -294px no-repeat;
2051
  background:url('../images/flags16.png') -33px -295px no-repeat;
2052
  }
2053
 
2054
+ #flags.size16 a[title="Samoan"],
2055
+ .tool-container .tool-items a[title="Samoan"] {
2056
+ background:url('../images/flags16.png') -33px -469px no-repeat;
2057
+ }
2058
+
2059
  #flags.size16 a[title="Serbian"],
2060
  .tool-container .tool-items a[title="Serbian"] {
2061
  background:url('../images/flags16.png') -62px -295px no-repeat;
2542
  background:url('../images/flags.png') -29px -293px no-repeat;
2543
  }
2544
 
2545
+ #flags.size24 a[title="Samoan"],
2546
+ .tool-container .tool-items a[title="Samoan"] {
2547
+ background:url('../images/flags.png') -29px -467px no-repeat;
2548
+ }
2549
+
2550
  #flags.size24 a[title="Serbian"],
2551
  .tool-container .tool-items a[title="Serbian"] {
2552
  background:url('../images/flags.png') -58px -293px no-repeat;
2670
  #flags.size24 a[title="Zulu"],
2671
  .tool-container .tool-items a[title="Zulu"] {
2672
  background:url('../images/flags.png') -116px -380px no-repeat;
2673
+ }
2674
+
2675
+ /* Some Dashboard mobile styles */
2676
+
2677
+ @media only screen and (max-width:767px) {
2678
+ .metabox-holder {
2679
+ float:none !important;
2680
+ width:100% !important;
2681
+ }
2682
+
2683
+ .flagdisplay {
2684
+ float:none !important;
2685
+ width:100% !important;
2686
+ }
2687
+
2688
+ .flagdisplay div {
2689
+ margin-bottom:10px;
2690
+ }
2691
+
2692
+ } /* End 568px */
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.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/
@@ -91,6 +91,7 @@ class google_language_translator {
91
  'si' => 'Sinhala',
92
  'sk' => 'Slovak',
93
  'sl' => 'Slovenian',
 
94
  'so' => 'Somali',
95
  'es' => 'Spanish',
96
  'su' => 'Sundanese',
@@ -1163,7 +1164,7 @@ class google_language_translator {
1163
 
1164
  <tr class="notranslate">
1165
  <td>Single language usage in<br/>nav menu/pages/posts</td>
1166
- <td><code>[glt language="Spanish" label="Espaol"]</code></td>
1167
  </tr>
1168
 
1169
  <tr class="notranslate">
@@ -1179,7 +1180,7 @@ class google_language_translator {
1179
  <li>Enter a navigation label of your choice. This label does not appear on your website - it is meant only to help you identify the menu item.</li>
1180
  <li>Place the following shortcode into the "description" field, and modify it to display the language and navigation label of your choice:</li>
1181
  </ol>
1182
- <p><code>[glt language="Spanish" label="Espaol"]</code></p>
1183
  </div>
1184
  </td>
1185
  </tr>
@@ -1219,7 +1220,7 @@ class google_language_translator {
1219
  </div> <!-- .postbox -->
1220
  </div> <!-- .metabox-holder -->
1221
 
1222
- <div id="glt_advanced_settings" class="metabox-holder notranslate" style="float: right; width: 33%;">
1223
  <div class="postbox">
1224
  <h3>Advanced Settings</h3>
1225
  <div class="inside">
@@ -1249,7 +1250,7 @@ class google_language_translator {
1249
  </div> <!-- #glt_advanced_settings -->
1250
 
1251
 
1252
- <div class="metabox-holder notranslate" style="float: right; width: 33%;">
1253
  <div class="postbox">
1254
  <h3>Add CSS Styles</h3>
1255
  <div class="inside">
@@ -1261,9 +1262,9 @@ class google_language_translator {
1261
  <?php $this->googlelanguagetranslator_flags_order_cb(); ?>
1262
  </form>
1263
 
1264
- <div class="metabox-holder notranslate" style="float: right; width: 33%;">
1265
  <div class="postbox">
1266
- <h3>GLT Premium 5.0.22 is Here! $30</h3>
1267
  <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 />
1268
  <ul id="features" style="margin-left:15px">
1269
  <li style="list-style:square outside"><span style="color:red; font-weight:bold">New!</span> Edit translations! (Pages/Posts ONLY)</li>
@@ -1284,7 +1285,7 @@ class google_language_translator {
1284
  </div>
1285
  </div>
1286
 
1287
- <div class="metabox-holder notranslate" style="float: right; width: 33%;">
1288
  <div class="postbox">
1289
  <h3>Please Consider A Donation</h3>
1290
  <div class="inside">If you like this plugin and find it useful, help keep this plugin actively developed by clicking the donate button <br /><br />
2
  /*
3
  Plugin Name: Google Language Translator
4
  Plugin URI: http://www.studio88design.com/plugins/google-language-translator
5
+ Version: 5.0.17
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/
91
  'si' => 'Sinhala',
92
  'sk' => 'Slovak',
93
  'sl' => 'Slovenian',
94
+ 'sm' => 'Samoan',
95
  'so' => 'Somali',
96
  'es' => 'Spanish',
97
  'su' => 'Sundanese',
1164
 
1165
  <tr class="notranslate">
1166
  <td>Single language usage in<br/>nav menu/pages/posts</td>
1167
+ <td><code>[glt language="Spanish" label="Espa&ntilde;ol"]</code></td>
1168
  </tr>
1169
 
1170
  <tr class="notranslate">
1180
  <li>Enter a navigation label of your choice. This label does not appear on your website - it is meant only to help you identify the menu item.</li>
1181
  <li>Place the following shortcode into the "description" field, and modify it to display the language and navigation label of your choice:</li>
1182
  </ol>
1183
+ <p><code>[glt language="Spanish" label="Espa&ntilde;ol"]</code></p>
1184
  </div>
1185
  </td>
1186
  </tr>
1220
  </div> <!-- .postbox -->
1221
  </div> <!-- .metabox-holder -->
1222
 
1223
+ <div id="glt_advanced_settings" class="metabox-holder box-right notranslate" style="float: right; width: 33%; clear:right">
1224
  <div class="postbox">
1225
  <h3>Advanced Settings</h3>
1226
  <div class="inside">
1250
  </div> <!-- #glt_advanced_settings -->
1251
 
1252
 
1253
+ <div class="metabox-holder box-right notranslate" style="float: right; width: 33%;">
1254
  <div class="postbox">
1255
  <h3>Add CSS Styles</h3>
1256
  <div class="inside">
1262
  <?php $this->googlelanguagetranslator_flags_order_cb(); ?>
1263
  </form>
1264
 
1265
+ <div class="metabox-holder box-right notranslate" style="float: right; width: 33%;">
1266
  <div class="postbox">
1267
+ <h3>GLT Premium 5.0.23 is Here! $30</h3>
1268
  <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 />
1269
  <ul id="features" style="margin-left:15px">
1270
  <li style="list-style:square outside"><span style="color:red; font-weight:bold">New!</span> Edit translations! (Pages/Posts ONLY)</li>
1285
  </div>
1286
  </div>
1287
 
1288
+ <div class="metabox-holder box-right notranslate" style="float: right; width: 33%;">
1289
  <div class="postbox">
1290
  <h3>Please Consider A Donation</h3>
1291
  <div class="inside">If you like this plugin and find it useful, help keep this plugin actively developed by clicking the donate button <br /><br />
images/flags.png CHANGED
Binary file
images/flags16.png CHANGED
Binary file
images/flags18.png CHANGED
Binary file
images/flags20.png CHANGED
Binary file
images/flags22.png CHANGED
Binary file
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.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,6 +46,10 @@ A: Yes! Add the "notranslate" class to the HTML element containing your text. Fo
46
 
47
  == Changelog ==
48
 
 
 
 
 
49
  5.0.16
50
  - Added Xhosa as a new language with its associated flag.
51
 
@@ -57,7 +61,7 @@ A: Yes! Add the "notranslate" class to the HTML element containing your text. Fo
57
 
58
  5.0.13
59
  - Renamed some of the wp_enqueue_script calls to include more unique file names, thus avoiding conflict with other plugins overriding these files.
60
- - Correct some file paths to be more accurate/secure.
61
  - Removed WP Helpdesk logo from the settings page. We are no longer offering these services officially.
62
 
63
  5.0.12
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.17
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.17
50
+ - Added Samoan as a new language with its associated flag.
51
+ - Added mobile-responsive CSS to the GLT settings page.
52
+
53
  5.0.16
54
  - Added Xhosa as a new language with its associated flag.
55
 
61
 
62
  5.0.13
63
  - Renamed some of the wp_enqueue_script calls to include more unique file names, thus avoiding conflict with other plugins overriding these files.
64
+ - Corrected some file paths to be more accurate/secure.
65
  - Removed WP Helpdesk logo from the settings page. We are no longer offering these services officially.
66
 
67
  5.0.12