Simple Social Media Share Buttons – Social Sharing for Everyone - Version 1.5.6

Version Description

  • Added thai translation
  • fixed Facebook language detection
Download this release

Release Info

Developer xradar
Plugin Icon 128x128 Simple Social Media Share Buttons – Social Sharing for Everyone
Version 1.5.6
Comparing to
See all releases

Code changes from version 1.5.5 to 1.5.6

lang/simplesocialbuttons-da_DK.mo ADDED
Binary file
lang/simplesocialbuttons-da_DK.po ADDED
@@ -0,0 +1,203 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: simplesocialbuttons\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2012-02-01 11:19+0100\n"
6
+ "PO-Revision-Date: 2012-04-27 13:01+0100\n"
7
+ "Last-Translator: Mads Phikamphon <mads@genvejen.dk>\n"
8
+ "Language-Team: Paweł Rabinek (DE: Dennis Schreiber) <pawel@rabinek.pl>\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Poedit-KeywordsList: __;_e\n"
13
+ "X-Poedit-Basepath: .\n"
14
+ "X-Poedit-Language: German\n"
15
+ "X-Poedit-SourceCharset: utf-8\n"
16
+ "X-Poedit-Country: GERMANY\n"
17
+ "X-Poedit-SearchPath-0: ..\n"
18
+
19
+ # Traduit par @RhooManu - www.infographizm.com
20
+ #: ../simple-social-buttons.php:424
21
+ #: ../ssb-admin.php:11
22
+ msgid "Settings"
23
+ msgstr "Indstillinger"
24
+
25
+ # Traduit par @RhooManu - www.infographizm.com
26
+ #: ../simple-social-buttons.php:452
27
+ msgid "SSB Settings"
28
+ msgstr "SSB indstillinger"
29
+
30
+ #: ../simple-social-buttons.php:463
31
+ msgid "Hide Simple Social Buttons"
32
+ msgstr "Gem Simple Social Buttons"
33
+
34
+ #: ../ssb-admin.php:13
35
+ msgid "<strong>Simple Social Buttons</strong> by <strong>Paweł Rabinek</strong>. This plugin adds a social media buttons, such as: <strong>Google +1</strong>, <strong>Facebook Like it</strong> and <strong>Twitter share</strong>. The most flexible social buttons plugin ever."
36
+ msgstr "<strong>Simple Social Buttons</strong> af<strong>Paweł Rabinek</strong>. Denne plugin tilføjer social media knapper som <strong>Google +1</strong>, <strong>Facebook Like</strong> og <strong>Twitter</strong>. Den mest fleksible social button plugin nogensinde."
37
+
38
+ #: ../ssb-admin.php:68
39
+ msgid "Select buttons"
40
+ msgstr "Vælg knapper"
41
+
42
+ #: ../ssb-admin.php:70
43
+ msgid "Select social media buttons:"
44
+ msgstr "Vælg social media knapper:"
45
+
46
+ #: ../ssb-admin.php:76
47
+ #: ../ssb-admin.php:90
48
+ #: ../ssb-admin.php:105
49
+ msgid "inactive"
50
+ msgstr "inaktiv"
51
+
52
+ #: ../ssb-admin.php:84
53
+ msgid "Google plus one (+1)"
54
+ msgstr "Google plus en (+1)"
55
+
56
+ #: ../ssb-admin.php:98
57
+ msgid "Facebook Like it"
58
+ msgstr "Facebook Like"
59
+
60
+ #: ../ssb-admin.php:113
61
+ msgid "Twitter share"
62
+ msgstr "Twitter deling"
63
+
64
+ #: ../ssb-admin.php:116
65
+ msgid "Disable plugin CSS (only advanced users)"
66
+ msgstr "Deaktiver plugin CSS (kun for avancerede brugere)"
67
+
68
+ #: ../ssb-admin.php:121
69
+ msgid "Single posts - display settings"
70
+ msgstr "Enkelt poster - visningsindstillinger"
71
+
72
+ #: ../ssb-admin.php:123
73
+ msgid "Place buttons on single post:"
74
+ msgstr "Placer knapper på enkelte poster:"
75
+
76
+ #: ../ssb-admin.php:124
77
+ #: ../ssb-admin.php:148
78
+ msgid "Before the content"
79
+ msgstr "Før indholdet"
80
+
81
+ #: ../ssb-admin.php:125
82
+ #: ../ssb-admin.php:149
83
+ msgid "After the content"
84
+ msgstr "Efter indholdet"
85
+
86
+ #: ../ssb-admin.php:130
87
+ msgid "Single pages - display settings"
88
+ msgstr "Enkelte sider - visningsindstillinger"
89
+
90
+ #: ../ssb-admin.php:132
91
+ msgid "Place buttons on single pages:"
92
+ msgstr "Placer knapper på enkelte sider:"
93
+
94
+ #: ../ssb-admin.php:133
95
+ msgid "Before the page content"
96
+ msgstr "Før indholdet"
97
+
98
+ #: ../ssb-admin.php:134
99
+ msgid "After the page content"
100
+ msgstr "Efter indholdet"
101
+
102
+ #: ../ssb-admin.php:139
103
+ msgid "Archives - display settings"
104
+ msgstr "Arkiver - visningsindstillinger"
105
+
106
+ #: ../ssb-admin.php:141
107
+ msgid "Select additional places to display buttons:"
108
+ msgstr "Vælg ekstra steder at vise knapper:"
109
+
110
+ #: ../ssb-admin.php:142
111
+ msgid "Show at frontpage"
112
+ msgstr "Vis på forsiden"
113
+
114
+ #: ../ssb-admin.php:143
115
+ msgid "Show at category pages"
116
+ msgstr "Vis på kategorisider"
117
+
118
+ #: ../ssb-admin.php:144
119
+ msgid "Show at archive pages"
120
+ msgstr "Vis på arkivsider"
121
+
122
+ #: ../ssb-admin.php:145
123
+ msgid "Show at tag pages"
124
+ msgstr "Vis på tagsider"
125
+
126
+ #: ../ssb-admin.php:147
127
+ msgid "Place buttons on archives:"
128
+ msgstr "Placer knapper i arkiver:"
129
+
130
+ #: ../ssb-admin.php:155
131
+ msgid "Save Changes"
132
+ msgstr "Gem ændringer"
133
+
134
+ #: ../ssb-admin.php:165
135
+ msgid "About this plugin:"
136
+ msgstr "Om denne plugin:"
137
+
138
+ #: ../ssb-admin.php:167
139
+ msgid "Talk to <a href=\"http://twitter.com/rabinek\" target=\"_blank\">@rabinek</a> on twitter for bugs or feature requests."
140
+ msgstr "Kontakt <a href=\"http://twitter.com/rabinek\" target=\"_blank\">@rabinek</a> på Twitter ang. bugs og feature ønsker."
141
+
142
+ #: ../ssb-admin.php:168
143
+ msgid "Enjoy the plugin?"
144
+ msgstr "Kan du lide denne plugin?"
145
+
146
+ #: ../ssb-admin.php:169
147
+ msgid "<a href=\"http://twitter.com/?status=I'm using @rabinek's WordPress Simple Social Buttons plugin - check it out! http://blog.rabinek.pl/\" target=\"_blank\">Tweet about it</a> and consider donating."
148
+ msgstr "<a href=\"http://twitter.com/?status=Jeg bruger @rabinek's - WordPress Simple Social Buttons plugin - check den ud! http://blog.rabinek.pl/\" target=\"_blank\">Tweete om det</a> og overvej en donation."
149
+
150
+ #: ../ssb-admin.php:170
151
+ msgid "<strong>Donate:</strong> A lot of hard work goes into building plugins - support your open source developers. Thank you!"
152
+ msgstr "<strong>Donation:</strong>Der koster en masse hårdt arbejde at lave plugins - støt dine open source udviklere. Tak!"
153
+
154
+ #: ../ssb-admin.php:182
155
+ msgid "About the author:"
156
+ msgstr "Om udvikleren:"
157
+
158
+ #: ../ssb-admin.php:184
159
+ msgid "Hi! My name is Paweł Rabinek (aka xradar). I'm interesed in SEO and social media, PHP and Wordpress developement."
160
+ msgstr "Hej! Mit navn er Pawel Rabinek (også kendt som xradar). Jeg interesserer mig for SEO, sociale medier, PHP og Wordpress udvikling."
161
+
162
+ #: ../ssb-admin.php:186
163
+ msgid "My blog about SEO"
164
+ msgstr "Min blog om SEO"
165
+
166
+ #: ../ssb-admin.php:186
167
+ msgid "[Polish]"
168
+ msgstr " [Polsk]"
169
+
170
+ #: ../ssb-admin.php:187
171
+ msgid "Follow me on Twitter"
172
+ msgstr "Følg mig på Twitter"
173
+
174
+ #: ../ssb-admin.php:188
175
+ msgid "Paweł Rabinek on Facebook"
176
+ msgstr "Paweł Rabinek på Facebook"
177
+
178
+ #: ../ssb-admin.php:189
179
+ msgid "Paweł Rabinek on Google Plus"
180
+ msgstr "Paweł Rabinek på Google Plus"
181
+
182
+ #: ../ssb-admin.php:190
183
+ msgid "LinkedIn profile"
184
+ msgstr "LinkedIn Profil"
185
+
186
+ #: ../ssb-admin.php:196
187
+ msgid "Usefull links:"
188
+ msgstr "Nyttige links:"
189
+
190
+ #: ../ssb-admin.php:199
191
+ msgid "Unlimited web hosting"
192
+ msgstr "Ubegrænset webhosting"
193
+
194
+ #: ../ssb-admin.php:200
195
+ msgid "Best SEO software"
196
+ msgstr "Bedste SEO software"
197
+
198
+ #: ../ssb-admin.php:201
199
+ msgid "Wordpress templates"
200
+ msgstr "Wordpress templates"
201
+
202
+ #~ msgid "Hi! My name is Paweł Rabinek (aka xradar)."
203
+ #~ msgstr "Hej! Nazywam się Paweł Rabinek (nick xradar)."
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://blog.rabinek.pl/
4
  Tags: facebook, google, twitter, plus one, like it, like, share
5
  Requires at least: 2.8
6
  Tested up to: 3.3.2
7
- Stable tag: 1.5.5
8
 
9
  Insert and customize social buttons: Facebook Like it, Google plus +1 and Twitter share. Share your content with friends.
10
 
@@ -37,6 +37,7 @@ Simple Social Buttons is currently in the following languages:
37
  - Lithuanian
38
  - Polish
39
  - Spanish
 
40
 
41
  Feel free if you want to create a translation of this plugin. Contact me via e-mail or Twitter [@rabinek](https://twitter.com/rabinek "Paweł Rabinek on Twitter"), and I'll add your's translation to Simple Social Buttons.
42
 
@@ -83,6 +84,10 @@ Follow me at Twitter [@rabinek](http://twitter.com/rabinek "Paweł Rabinek na Tw
83
 
84
  Yes, you can use `<?php get_ssb(); ?>` in your template file (see installation section). Default instalation don't require that.
85
 
 
 
 
 
86
  = Who helped to improve Simple Social Buttons? =
87
 
88
  **Big thanks to:**
@@ -93,6 +98,7 @@ Yes, you can use `<?php get_ssb(); ?>` in your template file (see installation s
93
  - [@Marcos González](http://twitter.com/qmarcos "Marcos on Twitter") for spanish translation
94
  - [Vincent G](http://www.host1free.com/ "Web Hosting") for lithuanian translation
95
  - [Mads Phikamphon](http://www.genvejen.dk/ "Mads blog") for danish translation
 
96
 
97
  == Screenshots ==
98
 
@@ -144,4 +150,8 @@ Yes, you can use `<?php get_ssb(); ?>` in your template file (see installation s
144
  * Facebook "Like it" fix (added id="fb-root" instead of class="fb-like")
145
 
146
  = 1.5.5 =
147
- * Added danish translation
 
 
 
 
4
  Tags: facebook, google, twitter, plus one, like it, like, share
5
  Requires at least: 2.8
6
  Tested up to: 3.3.2
7
+ Stable tag: 1.5.6
8
 
9
  Insert and customize social buttons: Facebook Like it, Google plus +1 and Twitter share. Share your content with friends.
10
 
37
  - Lithuanian
38
  - Polish
39
  - Spanish
40
+ - Thai
41
 
42
  Feel free if you want to create a translation of this plugin. Contact me via e-mail or Twitter [@rabinek](https://twitter.com/rabinek "Paweł Rabinek on Twitter"), and I'll add your's translation to Simple Social Buttons.
43
 
84
 
85
  Yes, you can use `<?php get_ssb(); ?>` in your template file (see installation section). Default instalation don't require that.
86
 
87
+ = Facebook button doesn't appear? =
88
+
89
+ Make sure you have set WPLANG in wp-config.php file. Correct values are "en_US" for english, "el_GR" for greek, "pl_PL" for polish etc.
90
+
91
  = Who helped to improve Simple Social Buttons? =
92
 
93
  **Big thanks to:**
98
  - [@Marcos González](http://twitter.com/qmarcos "Marcos on Twitter") for spanish translation
99
  - [Vincent G](http://www.host1free.com/ "Web Hosting") for lithuanian translation
100
  - [Mads Phikamphon](http://www.genvejen.dk/ "Mads blog") for danish translation
101
+ - [Na's mad](http://nasmad.dk/ "Na's mad blog") for thai translation
102
 
103
  == Screenshots ==
104
 
150
  * Facebook "Like it" fix (added id="fb-root" instead of class="fb-like")
151
 
152
  = 1.5.5 =
153
+ * Added danish translation
154
+
155
+ = 1.5.6 =
156
+ * Added thai translation
157
+ * fixed Facebook language detection
simple-social-buttons.php CHANGED
@@ -4,7 +4,7 @@
4
  Plugin URI: http://blog.rabinek.pl/simple-social-buttons-wordpress/
5
  Description: Insert social buttons into posts and archives: Facebook "Like it", Google Plus One "+1" and Twitter share.
6
  Author: Paweł Rabinek
7
- Version: 1.5.5
8
  Author URI: http://blog.rabinek.pl/
9
  */
10
 
@@ -35,7 +35,7 @@
35
 
36
  class SimpleSocialButtonsPR {
37
  var $pluginName = 'Simple Social Buttons';
38
- var $pluginVersion = '1.5.5';
39
  var $pluginPrefix = 'ssb_pr_';
40
  var $hideCustomMetaKey = '_ssb_hide';
41
 
@@ -111,7 +111,12 @@ class SimpleSocialButtonsPR {
111
  $lang = get_bloginfo('language');
112
  $lang_g = strtolower(substr($lang, 0, 2));
113
  $lang_fb = str_replace('-', '_', $lang);
114
-
 
 
 
 
 
115
  /**
116
  * Disable loading of social network JS if disabled for specific post type
117
  *
4
  Plugin URI: http://blog.rabinek.pl/simple-social-buttons-wordpress/
5
  Description: Insert social buttons into posts and archives: Facebook "Like it", Google Plus One "+1" and Twitter share.
6
  Author: Paweł Rabinek
7
+ Version: 1.5.6
8
  Author URI: http://blog.rabinek.pl/
9
  */
10
 
35
 
36
  class SimpleSocialButtonsPR {
37
  var $pluginName = 'Simple Social Buttons';
38
+ var $pluginVersion = '1.5.6';
39
  var $pluginPrefix = 'ssb_pr_';
40
  var $hideCustomMetaKey = '_ssb_hide';
41
 
111
  $lang = get_bloginfo('language');
112
  $lang_g = strtolower(substr($lang, 0, 2));
113
  $lang_fb = str_replace('-', '_', $lang);
114
+
115
+ // most common problem with incorrect WPLANG in /wp-config.php
116
+ if($lang_fb == "en" || empty($lang_fb)) {
117
+ $lang_fb = "en_US";
118
+ }
119
+
120
  /**
121
  * Disable loading of social network JS if disabled for specific post type
122
  *