Version Description
- Added custom meta to disable SSB plugin on sigle page/post (managed in admin menu)
- Function get_ssb() to directly use in template to show Simple Social Buttons in specified order
- Widget manage page in wp-admin available only for Administrator
- Added German and Spanish translation
- Fine-tuning
Download this release
Release Info
Developer | xradar |
Plugin | Simple Social Media Share Buttons – Social Sharing for Everyone |
Version | 1.4 |
Comparing to | |
See all releases |
Code changes from version 1.3 to 1.4
- lang/simplesocialbuttons-de_DE.mo +0 -0
- lang/simplesocialbuttons-de_DE.po +204 -0
- lang/simplesocialbuttons-es_ES.mo +0 -0
- lang/simplesocialbuttons-es_ES.po +203 -0
- lang/simplesocialbuttons-fr_FR.mo +0 -0
- lang/simplesocialbuttons-fr_FR.po +64 -44
- lang/simplesocialbuttons-pl_PL.mo +0 -0
- lang/simplesocialbuttons-pl_PL.po +12 -4
- readme.txt +34 -8
- screenshot-4.png +0 -0
- simple-social-buttons.php +220 -94
- uninstall.php +0 -23
lang/simplesocialbuttons-de_DE.mo
ADDED
Binary file
|
lang/simplesocialbuttons-de_DE.po
ADDED
@@ -0,0 +1,204 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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-02-01 11:28+0100\n"
|
7 |
+
"Last-Translator: \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 "Einstellungen"
|
24 |
+
|
25 |
+
# Traduit par @RhooManu - www.infographizm.com
|
26 |
+
#: ../simple-social-buttons.php:452
|
27 |
+
msgid "SSB Settings"
|
28 |
+
msgstr "SSB einstellungen"
|
29 |
+
|
30 |
+
#: ../simple-social-buttons.php:463
|
31 |
+
msgid "Hide Simple Social Buttons"
|
32 |
+
msgstr "Verbergen 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>, von <strong>Paweł Rabinek</strong>. Cette extension ajoute des boutons de réseaux sociaux, comme <strong>Google +1</strong>, <strong>Facebook J'aime</strong> et <strong>Twitter</strong>. La plus flexible des extensions de boutons de réseaux sociaux !"
|
37 |
+
|
38 |
+
#: ../ssb-admin.php:68
|
39 |
+
msgid "Select buttons"
|
40 |
+
msgstr "Buttons auswählen"
|
41 |
+
|
42 |
+
#: ../ssb-admin.php:70
|
43 |
+
msgid "Select social media buttons:"
|
44 |
+
msgstr "Wähle Social Media Buttons:"
|
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 eins (+1)"
|
55 |
+
|
56 |
+
#: ../ssb-admin.php:98
|
57 |
+
msgid "Facebook Like it"
|
58 |
+
msgstr "Facebook gefällt mir"
|
59 |
+
|
60 |
+
#: ../ssb-admin.php:113
|
61 |
+
msgid "Twitter share"
|
62 |
+
msgstr "Twitter teilen"
|
63 |
+
|
64 |
+
#: ../ssb-admin.php:116
|
65 |
+
msgid "Disable plugin CSS (only advanced users)"
|
66 |
+
msgstr ""
|
67 |
+
|
68 |
+
#: ../ssb-admin.php:121
|
69 |
+
msgid "Single posts - display settings"
|
70 |
+
msgstr "Einzelne Beiträge - Display Einstellungen"
|
71 |
+
|
72 |
+
#: ../ssb-admin.php:123
|
73 |
+
msgid "Place buttons on single post:"
|
74 |
+
msgstr "Füge Buttons bei einzelnen Beitrag ein:"
|
75 |
+
|
76 |
+
#: ../ssb-admin.php:124
|
77 |
+
#: ../ssb-admin.php:148
|
78 |
+
msgid "Before the content"
|
79 |
+
msgstr "Vor dem Inhalt"
|
80 |
+
|
81 |
+
#: ../ssb-admin.php:125
|
82 |
+
#: ../ssb-admin.php:149
|
83 |
+
msgid "After the content"
|
84 |
+
msgstr "Nach dem Inhalt"
|
85 |
+
|
86 |
+
#: ../ssb-admin.php:130
|
87 |
+
msgid "Single pages - display settings"
|
88 |
+
msgstr "Einzelne Seiten - Display Einstellungen"
|
89 |
+
|
90 |
+
#: ../ssb-admin.php:132
|
91 |
+
msgid "Place buttons on single pages:"
|
92 |
+
msgstr "Füge die Buttons auf einzelnen Seiten ein:"
|
93 |
+
|
94 |
+
#: ../ssb-admin.php:133
|
95 |
+
msgid "Before the page content"
|
96 |
+
msgstr "Vor dem Seiteninhalt"
|
97 |
+
|
98 |
+
#: ../ssb-admin.php:134
|
99 |
+
msgid "After the page content"
|
100 |
+
msgstr "Nach dem Seiteninhalt"
|
101 |
+
|
102 |
+
#: ../ssb-admin.php:139
|
103 |
+
msgid "Archives - display settings"
|
104 |
+
msgstr "Archives - Display Einstellungen"
|
105 |
+
|
106 |
+
#: ../ssb-admin.php:141
|
107 |
+
msgid "Select additional places to display buttons:"
|
108 |
+
msgstr "Wähle weitere Orte um die Buttons anzuzeigen:"
|
109 |
+
|
110 |
+
#: ../ssb-admin.php:142
|
111 |
+
msgid "Show at frontpage"
|
112 |
+
msgstr "Zeige auf der Hauptseite"
|
113 |
+
|
114 |
+
#: ../ssb-admin.php:143
|
115 |
+
msgid "Show at category pages"
|
116 |
+
msgstr "Zeige in den Kategorien"
|
117 |
+
|
118 |
+
#: ../ssb-admin.php:144
|
119 |
+
msgid "Show at archive pages"
|
120 |
+
msgstr "Zeige bei Archiven"
|
121 |
+
|
122 |
+
#: ../ssb-admin.php:145
|
123 |
+
msgid "Show at tag pages"
|
124 |
+
msgstr "Zeige bei Stichworten"
|
125 |
+
|
126 |
+
#: ../ssb-admin.php:147
|
127 |
+
msgid "Place buttons on archives:"
|
128 |
+
msgstr "Zeige Buttons in den Archiven:"
|
129 |
+
|
130 |
+
#: ../ssb-admin.php:155
|
131 |
+
#, fuzzy
|
132 |
+
msgid "Save Changes"
|
133 |
+
msgstr "Einstellungen speichern"
|
134 |
+
|
135 |
+
#: ../ssb-admin.php:165
|
136 |
+
msgid "About this plugin:"
|
137 |
+
msgstr "Über dieses Plugin"
|
138 |
+
|
139 |
+
#: ../ssb-admin.php:167
|
140 |
+
msgid "Talk to <a href=\"http://twitter.com/rabinek\" target=\"_blank\">@rabinek</a> on twitter for bugs or feature requests."
|
141 |
+
msgstr "Kontaktiere <a href=\"http://twitter.com/rabinek\" target=\"_blank\">@rabinek</a> auf Twitter bei Bugs und Erweiterungen."
|
142 |
+
|
143 |
+
#: ../ssb-admin.php:168
|
144 |
+
msgid "Enjoy the plugin?"
|
145 |
+
msgstr "Gefällt dir das Plugin?"
|
146 |
+
|
147 |
+
#: ../ssb-admin.php:169
|
148 |
+
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."
|
149 |
+
msgstr "<a href=\"http://twitter.com/?status=Ich verwende @rabinek's - WordPress Simple Social Buttons ! http://blog.rabinek.pl/\" target=\"_blank\">Tweete dadrüber</a> und erwäge eine Spende."
|
150 |
+
|
151 |
+
#: ../ssb-admin.php:170
|
152 |
+
msgid "<strong>Donate:</strong> A lot of hard work goes into building plugins - support your open source developers. Thank you!"
|
153 |
+
msgstr "<strong>Spenden :</strong> Eine Menge harte Arbeit wurde in das entwickeln von Plugins investiert - unterstütze deine OpenSource Entwickler. Danke !"
|
154 |
+
|
155 |
+
#: ../ssb-admin.php:182
|
156 |
+
msgid "About the author:"
|
157 |
+
msgstr "Über den Autor :"
|
158 |
+
|
159 |
+
#: ../ssb-admin.php:184
|
160 |
+
msgid "Hi! My name is Paweł Rabinek (aka xradar). I'm interesed in SEO and social media, PHP and Wordpress developement."
|
161 |
+
msgstr "Hallo ! Mein Name ist Paweł Rabinek (auch bekannt als xradar). Ich interessiere mich für SEO und Social Media, PHP und WordPress Entwicklung."
|
162 |
+
|
163 |
+
#: ../ssb-admin.php:186
|
164 |
+
msgid "My blog about SEO"
|
165 |
+
msgstr "Mein Blog über SEO"
|
166 |
+
|
167 |
+
#: ../ssb-admin.php:186
|
168 |
+
msgid "[Polish]"
|
169 |
+
msgstr " [Polnisch]"
|
170 |
+
|
171 |
+
#: ../ssb-admin.php:187
|
172 |
+
msgid "Follow me on Twitter"
|
173 |
+
msgstr "Folge mir bei Twitter !"
|
174 |
+
|
175 |
+
#: ../ssb-admin.php:188
|
176 |
+
msgid "Paweł Rabinek on Facebook"
|
177 |
+
msgstr "Paweł Rabinek bei Facebook"
|
178 |
+
|
179 |
+
#: ../ssb-admin.php:189
|
180 |
+
msgid "Paweł Rabinek on Google Plus"
|
181 |
+
msgstr "Paweł Rabinek bei Google Plus"
|
182 |
+
|
183 |
+
#: ../ssb-admin.php:190
|
184 |
+
msgid "LinkedIn profile"
|
185 |
+
msgstr "LinkedIn Profil"
|
186 |
+
|
187 |
+
#: ../ssb-admin.php:196
|
188 |
+
msgid "Usefull links:"
|
189 |
+
msgstr "Nützliche Links :"
|
190 |
+
|
191 |
+
#: ../ssb-admin.php:199
|
192 |
+
msgid "Unlimited web hosting"
|
193 |
+
msgstr "Unlimitiertes Webhosting"
|
194 |
+
|
195 |
+
#: ../ssb-admin.php:200
|
196 |
+
msgid "Best SEO software"
|
197 |
+
msgstr "Beste SEO Software"
|
198 |
+
|
199 |
+
#: ../ssb-admin.php:201
|
200 |
+
msgid "Wordpress templates"
|
201 |
+
msgstr "WordPress Themes"
|
202 |
+
|
203 |
+
#~ msgid "Hi! My name is Paweł Rabinek (aka xradar)."
|
204 |
+
#~ msgstr "Hej! Nazywam się Paweł Rabinek (nick xradar)."
|
lang/simplesocialbuttons-es_ES.mo
ADDED
Binary file
|
lang/simplesocialbuttons-es_ES.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:28+0100\n"
|
6 |
+
"PO-Revision-Date: 2012-02-01 11:29+0100\n"
|
7 |
+
"Last-Translator: \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 "Opciones"
|
24 |
+
|
25 |
+
# Traduit par @RhooManu - www.infographizm.com
|
26 |
+
#: ../simple-social-buttons.php:452
|
27 |
+
msgid "SSB Settings"
|
28 |
+
msgstr "SSB opciones"
|
29 |
+
|
30 |
+
#: ../simple-social-buttons.php:463
|
31 |
+
msgid "Hide Simple Social Buttons"
|
32 |
+
msgstr "Ocultar 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>, autor <strong>Paweł Rabinek</strong>. Este plugin añade iconos de redes sociales como: <strong>Google +1</strong>, <strong>Facebook Me gusta</strong> y <strong>Compartir en Twitter</strong>. El plugin social más flexible que puedes encontrar."
|
37 |
+
|
38 |
+
#: ../ssb-admin.php:68
|
39 |
+
msgid "Select buttons"
|
40 |
+
msgstr "Selecciona botones"
|
41 |
+
|
42 |
+
#: ../ssb-admin.php:70
|
43 |
+
msgid "Select social media buttons:"
|
44 |
+
msgstr "Selecciona botones de redes sociales: "
|
45 |
+
|
46 |
+
#: ../ssb-admin.php:76
|
47 |
+
#: ../ssb-admin.php:90
|
48 |
+
#: ../ssb-admin.php:105
|
49 |
+
msgid "inactive"
|
50 |
+
msgstr "inactivo"
|
51 |
+
|
52 |
+
#: ../ssb-admin.php:84
|
53 |
+
msgid "Google plus one (+1)"
|
54 |
+
msgstr "Google plus (+1) "
|
55 |
+
|
56 |
+
#: ../ssb-admin.php:98
|
57 |
+
msgid "Facebook Like it"
|
58 |
+
msgstr "Facebook Me gusta"
|
59 |
+
|
60 |
+
#: ../ssb-admin.php:113
|
61 |
+
msgid "Twitter share"
|
62 |
+
msgstr "Compartir en Twitter"
|
63 |
+
|
64 |
+
#: ../ssb-admin.php:116
|
65 |
+
msgid "Disable plugin CSS (only advanced users)"
|
66 |
+
msgstr "Desactivar los CSS del plugin (solo para usuarios avanzados)"
|
67 |
+
|
68 |
+
#: ../ssb-admin.php:121
|
69 |
+
msgid "Single posts - display settings"
|
70 |
+
msgstr "Post individuales - mostrar opciones"
|
71 |
+
|
72 |
+
#: ../ssb-admin.php:123
|
73 |
+
msgid "Place buttons on single post:"
|
74 |
+
msgstr "Colocar los botones en un post individual:"
|
75 |
+
|
76 |
+
#: ../ssb-admin.php:124
|
77 |
+
#: ../ssb-admin.php:148
|
78 |
+
msgid "Before the content"
|
79 |
+
msgstr "Antes del contenido"
|
80 |
+
|
81 |
+
#: ../ssb-admin.php:125
|
82 |
+
#: ../ssb-admin.php:149
|
83 |
+
msgid "After the content"
|
84 |
+
msgstr "Después del contenido"
|
85 |
+
|
86 |
+
#: ../ssb-admin.php:130
|
87 |
+
msgid "Single pages - display settings"
|
88 |
+
msgstr "Páginas individuales - mostrar opciones"
|
89 |
+
|
90 |
+
#: ../ssb-admin.php:132
|
91 |
+
msgid "Place buttons on single pages:"
|
92 |
+
msgstr "Colocar los botones en páginas individuales:"
|
93 |
+
|
94 |
+
#: ../ssb-admin.php:133
|
95 |
+
msgid "Before the page content"
|
96 |
+
msgstr "Antes del contenido de la página"
|
97 |
+
|
98 |
+
#: ../ssb-admin.php:134
|
99 |
+
msgid "After the page content"
|
100 |
+
msgstr "Después del contenido de la página"
|
101 |
+
|
102 |
+
#: ../ssb-admin.php:139
|
103 |
+
msgid "Archives - display settings"
|
104 |
+
msgstr "Archivo - mostrar opciones"
|
105 |
+
|
106 |
+
#: ../ssb-admin.php:141
|
107 |
+
msgid "Select additional places to display buttons:"
|
108 |
+
msgstr "Selecciona lugares adicionales donde mostrar los botones:"
|
109 |
+
|
110 |
+
#: ../ssb-admin.php:142
|
111 |
+
msgid "Show at frontpage"
|
112 |
+
msgstr "Pagina de entrada"
|
113 |
+
|
114 |
+
#: ../ssb-admin.php:143
|
115 |
+
msgid "Show at category pages"
|
116 |
+
msgstr "Páginas de categorías"
|
117 |
+
|
118 |
+
#: ../ssb-admin.php:144
|
119 |
+
msgid "Show at archive pages"
|
120 |
+
msgstr "Páginas de archivo"
|
121 |
+
|
122 |
+
#: ../ssb-admin.php:145
|
123 |
+
msgid "Show at tag pages"
|
124 |
+
msgstr "Páginas de etiquetas"
|
125 |
+
|
126 |
+
#: ../ssb-admin.php:147
|
127 |
+
msgid "Place buttons on archives:"
|
128 |
+
msgstr "Colocar los botones en archivo:"
|
129 |
+
|
130 |
+
#: ../ssb-admin.php:155
|
131 |
+
msgid "Save Changes"
|
132 |
+
msgstr "Guardar cambios"
|
133 |
+
|
134 |
+
#: ../ssb-admin.php:165
|
135 |
+
msgid "About this plugin:"
|
136 |
+
msgstr "Sobre este 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 "Habla con <a href=\"http://twitter.com/rabinek\" target=\"_blank\">@rabinek</a> en Twitter para solución de bugs o peticiones de nuevas características."
|
141 |
+
|
142 |
+
#: ../ssb-admin.php:168
|
143 |
+
msgid "Enjoy the plugin?"
|
144 |
+
msgstr "Te gusta el 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=Estoy usando el plugin Simple Social Buttons! de @rabinek - para WordPress http://blog.rabinek.pl/\" target=\"_blank\">Twittea sobre él</a> y piensa en hacer una donación."
|
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>Dona:</strong> Hay mucho trabajo a la hora de realizar plugins, apoya a tus desarrolladores open source. Gracias!"
|
153 |
+
|
154 |
+
#: ../ssb-admin.php:182
|
155 |
+
msgid "About the author:"
|
156 |
+
msgstr "Sobre el autor:"
|
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 "Hola! mi nombre es Pawel Rabinek (aka xradar). Estoy interesado en SEO y Social Media, así como desarrollo en PHP y Wordpress."
|
161 |
+
|
162 |
+
#: ../ssb-admin.php:186
|
163 |
+
msgid "My blog about SEO"
|
164 |
+
msgstr "Mi blog sobre SEO"
|
165 |
+
|
166 |
+
#: ../ssb-admin.php:186
|
167 |
+
msgid "[Polish]"
|
168 |
+
msgstr " "
|
169 |
+
|
170 |
+
#: ../ssb-admin.php:187
|
171 |
+
msgid "Follow me on Twitter"
|
172 |
+
msgstr "Sígueme en Twitter"
|
173 |
+
|
174 |
+
#: ../ssb-admin.php:188
|
175 |
+
msgid "Paweł Rabinek on Facebook"
|
176 |
+
msgstr "Paweł Rabinek en Facebook"
|
177 |
+
|
178 |
+
#: ../ssb-admin.php:189
|
179 |
+
msgid "Paweł Rabinek on Google Plus"
|
180 |
+
msgstr "Paweł Rabinek en Google Plus"
|
181 |
+
|
182 |
+
#: ../ssb-admin.php:190
|
183 |
+
msgid "LinkedIn profile"
|
184 |
+
msgstr "Perfil en LinkedIn"
|
185 |
+
|
186 |
+
#: ../ssb-admin.php:196
|
187 |
+
msgid "Usefull links:"
|
188 |
+
msgstr "Links interesantes:"
|
189 |
+
|
190 |
+
#: ../ssb-admin.php:199
|
191 |
+
msgid "Unlimited web hosting"
|
192 |
+
msgstr "Alojamiento web ilimitado"
|
193 |
+
|
194 |
+
#: ../ssb-admin.php:200
|
195 |
+
msgid "Best SEO software"
|
196 |
+
msgstr "Mejor software SEO"
|
197 |
+
|
198 |
+
#: ../ssb-admin.php:201
|
199 |
+
msgid "Wordpress templates"
|
200 |
+
msgstr "Plantillas de Wordpress"
|
201 |
+
|
202 |
+
#~ msgid "Hi! My name is Paweł Rabinek (aka xradar)."
|
203 |
+
#~ msgstr "Hej! Nazywam się Paweł Rabinek (nick xradar)."
|
lang/simplesocialbuttons-fr_FR.mo
CHANGED
Binary file
|
lang/simplesocialbuttons-fr_FR.po
CHANGED
@@ -2,8 +2,8 @@ msgid ""
|
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: simplesocialbuttons\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
-
"POT-Creation-Date:
|
6 |
-
"PO-Revision-Date:
|
7 |
"Last-Translator: \n"
|
8 |
"Language-Team: Paweł Rabinek (FR: Emmanuel Beziat) <pawel@rabinek.pl>\n"
|
9 |
"MIME-Version: 1.0\n"
|
@@ -17,166 +17,186 @@ msgstr ""
|
|
17 |
"X-Poedit-SearchPath-0: ..\n"
|
18 |
|
19 |
# Traduit par @RhooManu - www.infographizm.com
|
20 |
-
#: ../simple-social-buttons.php:
|
21 |
#: ../ssb-admin.php:11
|
22 |
msgid "Settings"
|
23 |
msgstr "Paramètres"
|
24 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
25 |
#: ../ssb-admin.php:13
|
26 |
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."
|
27 |
msgstr "<strong>Simple Social Buttons</strong>, par <strong>Paweł Rabinek</strong>. Cette extension ajoute des boutons de réseaux sociaux, comme <strong>Google +1</strong>, <strong>Facebook J'aime</strong> et <strong>Twitter</strong>. La plus flexible des extensions de boutons de réseaux sociaux !"
|
28 |
|
29 |
-
#: ../ssb-admin.php:
|
30 |
msgid "Select buttons"
|
31 |
msgstr "Choisir les boutons"
|
32 |
|
33 |
-
#: ../ssb-admin.php:
|
34 |
msgid "Select social media buttons:"
|
35 |
msgstr "Choisissez les boutons de réseaux sociaux :"
|
36 |
|
37 |
-
#: ../ssb-admin.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
38 |
msgid "Google plus one (+1)"
|
39 |
msgstr "Google plus un (+1)"
|
40 |
|
41 |
-
#: ../ssb-admin.php:
|
42 |
msgid "Facebook Like it"
|
43 |
msgstr "Facebook J'aime"
|
44 |
|
45 |
-
#: ../ssb-admin.php:
|
46 |
msgid "Twitter share"
|
47 |
msgstr "Partage twitter"
|
48 |
|
49 |
-
#: ../ssb-admin.php:
|
|
|
|
|
|
|
|
|
50 |
msgid "Single posts - display settings"
|
51 |
msgstr "Articles seuls - paramètres d'affichages"
|
52 |
|
53 |
-
#: ../ssb-admin.php:
|
54 |
msgid "Place buttons on single post:"
|
55 |
msgstr "Placer les boutons sur un article seul :"
|
56 |
|
57 |
-
#: ../ssb-admin.php:
|
58 |
-
#: ../ssb-admin.php:
|
59 |
msgid "Before the content"
|
60 |
msgstr "Avant le contenu"
|
61 |
|
62 |
-
#: ../ssb-admin.php:
|
63 |
-
#: ../ssb-admin.php:
|
64 |
msgid "After the content"
|
65 |
msgstr "Après le contenu"
|
66 |
|
67 |
-
#: ../ssb-admin.php:
|
68 |
msgid "Single pages - display settings"
|
69 |
msgstr "Pages - paramètres d'affichage"
|
70 |
|
71 |
-
#: ../ssb-admin.php:
|
72 |
msgid "Place buttons on single pages:"
|
73 |
msgstr "Placer les boutons sur les pages :"
|
74 |
|
75 |
-
#: ../ssb-admin.php:
|
76 |
msgid "Before the page content"
|
77 |
msgstr "Avant le contenu de la page"
|
78 |
|
79 |
-
#: ../ssb-admin.php:
|
80 |
msgid "After the page content"
|
81 |
msgstr "Après le contenu de la page"
|
82 |
|
83 |
-
#: ../ssb-admin.php:
|
84 |
msgid "Archives - display settings"
|
85 |
msgstr "Archives - paramètres d'affichage"
|
86 |
|
87 |
-
#: ../ssb-admin.php:
|
88 |
msgid "Select additional places to display buttons:"
|
89 |
msgstr "Choisissez une place supplémentaire pour afficher les boutons :"
|
90 |
|
91 |
-
#: ../ssb-admin.php:
|
92 |
msgid "Show at frontpage"
|
93 |
msgstr "Afficher sur la page principale"
|
94 |
|
95 |
-
#: ../ssb-admin.php:
|
96 |
msgid "Show at category pages"
|
97 |
msgstr "Afficher sur les pages de catégories"
|
98 |
|
99 |
-
#: ../ssb-admin.php:
|
100 |
msgid "Show at archive pages"
|
101 |
msgstr "Afficher sur les pages d'archives"
|
102 |
|
103 |
-
#: ../ssb-admin.php:
|
104 |
msgid "Show at tag pages"
|
105 |
msgstr "Affichers sur les pages de tags"
|
106 |
|
107 |
-
#: ../ssb-admin.php:
|
108 |
msgid "Place buttons on archives:"
|
109 |
msgstr "Placer les boutons sur les archives :"
|
110 |
|
111 |
-
#: ../ssb-admin.php:
|
112 |
-
|
|
|
113 |
msgstr "Enregistrer les changement"
|
114 |
|
115 |
-
#: ../ssb-admin.php:
|
116 |
msgid "About this plugin:"
|
117 |
msgstr "À propos de cette extension"
|
118 |
|
119 |
-
#: ../ssb-admin.php:
|
120 |
msgid "Talk to <a href=\"http://twitter.com/rabinek\" target=\"_blank\">@rabinek</a> on twitter for bugs or feature requests."
|
121 |
msgstr "Parlez à <a href=\"http://twitter.com/rabinek\" target=\"_blank\">@rabinek</a> sur Twitter pour signaler les bugs ou demander des ajouts."
|
122 |
|
123 |
-
#: ../ssb-admin.php:
|
124 |
msgid "Enjoy the plugin?"
|
125 |
msgstr "Cette extension vous plaît ?"
|
126 |
|
127 |
-
#: ../ssb-admin.php:
|
128 |
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."
|
129 |
msgstr "<a href=\"http://twitter.com/?status=J'utilise @rabinek - WordPress Simple Social Buttons ! http://blog.rabinek.pl/\" target=\"_blank\">Twittez cette info</a> et n'hésitez pas à faire un don !"
|
130 |
|
131 |
-
#: ../ssb-admin.php:
|
132 |
msgid "<strong>Donate:</strong> A lot of hard work goes into building plugins - support your open source developers. Thank you!"
|
133 |
msgstr "<strong>Faire un don :</strong> Faire une extension demande beaucoup de travail - aidez les développeurs à améliorer leur travail. Merci !"
|
134 |
|
135 |
-
#: ../ssb-admin.php:
|
136 |
msgid "About the author:"
|
137 |
msgstr "À propos de l'auteur :"
|
138 |
|
139 |
-
#: ../ssb-admin.php:
|
140 |
msgid "Hi! My name is Paweł Rabinek (aka xradar). I'm interesed in SEO and social media, PHP and Wordpress developement."
|
141 |
msgstr "Salut ! Mon nom est Paweł Rabinek (surnommé xradar). Je m'intéresse beaucoup au référencement et aux réseaux sociaux, au développement PHP et pour WordPress."
|
142 |
|
143 |
-
#: ../ssb-admin.php:
|
144 |
msgid "My blog about SEO"
|
145 |
msgstr "Mon blog sur le référencement (SEO)"
|
146 |
|
147 |
-
#: ../ssb-admin.php:
|
148 |
msgid "[Polish]"
|
149 |
msgstr " "
|
150 |
|
151 |
-
#: ../ssb-admin.php:
|
152 |
msgid "Follow me on Twitter"
|
153 |
msgstr "Suivez-moi sur twitter !"
|
154 |
|
155 |
-
#: ../ssb-admin.php:
|
156 |
msgid "Paweł Rabinek on Facebook"
|
157 |
msgstr "Paweł Rabinek sur Facebook"
|
158 |
|
159 |
-
#: ../ssb-admin.php:
|
160 |
msgid "Paweł Rabinek on Google Plus"
|
161 |
msgstr "Paweł Rabinek sur Google Plus"
|
162 |
|
163 |
-
#: ../ssb-admin.php:
|
164 |
msgid "LinkedIn profile"
|
165 |
msgstr "Profil LinkedIn"
|
166 |
|
167 |
-
#: ../ssb-admin.php:
|
168 |
msgid "Usefull links:"
|
169 |
msgstr "Liens utiles :"
|
170 |
|
171 |
-
#: ../ssb-admin.php:
|
172 |
msgid "Unlimited web hosting"
|
173 |
msgstr "Hébergement web illimité"
|
174 |
|
175 |
-
#: ../ssb-admin.php:
|
176 |
msgid "Best SEO software"
|
177 |
msgstr "Meilleur logiciel de référencement"
|
178 |
|
179 |
-
#: ../ssb-admin.php:
|
180 |
msgid "Wordpress templates"
|
181 |
msgstr "Thèmes pour WordPress"
|
182 |
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: simplesocialbuttons\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2012-02-01 11:29+0100\n"
|
6 |
+
"PO-Revision-Date: 2012-02-01 11:30+0100\n"
|
7 |
"Last-Translator: \n"
|
8 |
"Language-Team: Paweł Rabinek (FR: Emmanuel Beziat) <pawel@rabinek.pl>\n"
|
9 |
"MIME-Version: 1.0\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 "Paramètres"
|
24 |
|
25 |
+
# Traduit par @RhooManu - www.infographizm.com
|
26 |
+
#: ../simple-social-buttons.php:452
|
27 |
+
msgid "SSB Settings"
|
28 |
+
msgstr "SSB paramètres"
|
29 |
+
|
30 |
+
#: ../simple-social-buttons.php:463
|
31 |
+
msgid "Hide Simple Social Buttons"
|
32 |
+
msgstr "Cacher 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>, par <strong>Paweł Rabinek</strong>. Cette extension ajoute des boutons de réseaux sociaux, comme <strong>Google +1</strong>, <strong>Facebook J'aime</strong> et <strong>Twitter</strong>. La plus flexible des extensions de boutons de réseaux sociaux !"
|
37 |
|
38 |
+
#: ../ssb-admin.php:68
|
39 |
msgid "Select buttons"
|
40 |
msgstr "Choisir les boutons"
|
41 |
|
42 |
+
#: ../ssb-admin.php:70
|
43 |
msgid "Select social media buttons:"
|
44 |
msgstr "Choisissez les boutons de réseaux sociaux :"
|
45 |
|
46 |
+
#: ../ssb-admin.php:76
|
47 |
+
#: ../ssb-admin.php:90
|
48 |
+
#: ../ssb-admin.php:105
|
49 |
+
msgid "inactive"
|
50 |
+
msgstr "inactives"
|
51 |
+
|
52 |
+
#: ../ssb-admin.php:84
|
53 |
msgid "Google plus one (+1)"
|
54 |
msgstr "Google plus un (+1)"
|
55 |
|
56 |
+
#: ../ssb-admin.php:98
|
57 |
msgid "Facebook Like it"
|
58 |
msgstr "Facebook J'aime"
|
59 |
|
60 |
+
#: ../ssb-admin.php:113
|
61 |
msgid "Twitter share"
|
62 |
msgstr "Partage twitter"
|
63 |
|
64 |
+
#: ../ssb-admin.php:116
|
65 |
+
msgid "Disable plugin CSS (only advanced users)"
|
66 |
+
msgstr ""
|
67 |
+
|
68 |
+
#: ../ssb-admin.php:121
|
69 |
msgid "Single posts - display settings"
|
70 |
msgstr "Articles seuls - paramètres d'affichages"
|
71 |
|
72 |
+
#: ../ssb-admin.php:123
|
73 |
msgid "Place buttons on single post:"
|
74 |
msgstr "Placer les boutons sur un article seul :"
|
75 |
|
76 |
+
#: ../ssb-admin.php:124
|
77 |
+
#: ../ssb-admin.php:148
|
78 |
msgid "Before the content"
|
79 |
msgstr "Avant le contenu"
|
80 |
|
81 |
+
#: ../ssb-admin.php:125
|
82 |
+
#: ../ssb-admin.php:149
|
83 |
msgid "After the content"
|
84 |
msgstr "Après le contenu"
|
85 |
|
86 |
+
#: ../ssb-admin.php:130
|
87 |
msgid "Single pages - display settings"
|
88 |
msgstr "Pages - paramètres d'affichage"
|
89 |
|
90 |
+
#: ../ssb-admin.php:132
|
91 |
msgid "Place buttons on single pages:"
|
92 |
msgstr "Placer les boutons sur les pages :"
|
93 |
|
94 |
+
#: ../ssb-admin.php:133
|
95 |
msgid "Before the page content"
|
96 |
msgstr "Avant le contenu de la page"
|
97 |
|
98 |
+
#: ../ssb-admin.php:134
|
99 |
msgid "After the page content"
|
100 |
msgstr "Après le contenu de la page"
|
101 |
|
102 |
+
#: ../ssb-admin.php:139
|
103 |
msgid "Archives - display settings"
|
104 |
msgstr "Archives - paramètres d'affichage"
|
105 |
|
106 |
+
#: ../ssb-admin.php:141
|
107 |
msgid "Select additional places to display buttons:"
|
108 |
msgstr "Choisissez une place supplémentaire pour afficher les boutons :"
|
109 |
|
110 |
+
#: ../ssb-admin.php:142
|
111 |
msgid "Show at frontpage"
|
112 |
msgstr "Afficher sur la page principale"
|
113 |
|
114 |
+
#: ../ssb-admin.php:143
|
115 |
msgid "Show at category pages"
|
116 |
msgstr "Afficher sur les pages de catégories"
|
117 |
|
118 |
+
#: ../ssb-admin.php:144
|
119 |
msgid "Show at archive pages"
|
120 |
msgstr "Afficher sur les pages d'archives"
|
121 |
|
122 |
+
#: ../ssb-admin.php:145
|
123 |
msgid "Show at tag pages"
|
124 |
msgstr "Affichers sur les pages de tags"
|
125 |
|
126 |
+
#: ../ssb-admin.php:147
|
127 |
msgid "Place buttons on archives:"
|
128 |
msgstr "Placer les boutons sur les archives :"
|
129 |
|
130 |
+
#: ../ssb-admin.php:155
|
131 |
+
#, fuzzy
|
132 |
+
msgid "Save Changes"
|
133 |
msgstr "Enregistrer les changement"
|
134 |
|
135 |
+
#: ../ssb-admin.php:165
|
136 |
msgid "About this plugin:"
|
137 |
msgstr "À propos de cette extension"
|
138 |
|
139 |
+
#: ../ssb-admin.php:167
|
140 |
msgid "Talk to <a href=\"http://twitter.com/rabinek\" target=\"_blank\">@rabinek</a> on twitter for bugs or feature requests."
|
141 |
msgstr "Parlez à <a href=\"http://twitter.com/rabinek\" target=\"_blank\">@rabinek</a> sur Twitter pour signaler les bugs ou demander des ajouts."
|
142 |
|
143 |
+
#: ../ssb-admin.php:168
|
144 |
msgid "Enjoy the plugin?"
|
145 |
msgstr "Cette extension vous plaît ?"
|
146 |
|
147 |
+
#: ../ssb-admin.php:169
|
148 |
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."
|
149 |
msgstr "<a href=\"http://twitter.com/?status=J'utilise @rabinek - WordPress Simple Social Buttons ! http://blog.rabinek.pl/\" target=\"_blank\">Twittez cette info</a> et n'hésitez pas à faire un don !"
|
150 |
|
151 |
+
#: ../ssb-admin.php:170
|
152 |
msgid "<strong>Donate:</strong> A lot of hard work goes into building plugins - support your open source developers. Thank you!"
|
153 |
msgstr "<strong>Faire un don :</strong> Faire une extension demande beaucoup de travail - aidez les développeurs à améliorer leur travail. Merci !"
|
154 |
|
155 |
+
#: ../ssb-admin.php:182
|
156 |
msgid "About the author:"
|
157 |
msgstr "À propos de l'auteur :"
|
158 |
|
159 |
+
#: ../ssb-admin.php:184
|
160 |
msgid "Hi! My name is Paweł Rabinek (aka xradar). I'm interesed in SEO and social media, PHP and Wordpress developement."
|
161 |
msgstr "Salut ! Mon nom est Paweł Rabinek (surnommé xradar). Je m'intéresse beaucoup au référencement et aux réseaux sociaux, au développement PHP et pour WordPress."
|
162 |
|
163 |
+
#: ../ssb-admin.php:186
|
164 |
msgid "My blog about SEO"
|
165 |
msgstr "Mon blog sur le référencement (SEO)"
|
166 |
|
167 |
+
#: ../ssb-admin.php:186
|
168 |
msgid "[Polish]"
|
169 |
msgstr " "
|
170 |
|
171 |
+
#: ../ssb-admin.php:187
|
172 |
msgid "Follow me on Twitter"
|
173 |
msgstr "Suivez-moi sur twitter !"
|
174 |
|
175 |
+
#: ../ssb-admin.php:188
|
176 |
msgid "Paweł Rabinek on Facebook"
|
177 |
msgstr "Paweł Rabinek sur Facebook"
|
178 |
|
179 |
+
#: ../ssb-admin.php:189
|
180 |
msgid "Paweł Rabinek on Google Plus"
|
181 |
msgstr "Paweł Rabinek sur Google Plus"
|
182 |
|
183 |
+
#: ../ssb-admin.php:190
|
184 |
msgid "LinkedIn profile"
|
185 |
msgstr "Profil LinkedIn"
|
186 |
|
187 |
+
#: ../ssb-admin.php:196
|
188 |
msgid "Usefull links:"
|
189 |
msgstr "Liens utiles :"
|
190 |
|
191 |
+
#: ../ssb-admin.php:199
|
192 |
msgid "Unlimited web hosting"
|
193 |
msgstr "Hébergement web illimité"
|
194 |
|
195 |
+
#: ../ssb-admin.php:200
|
196 |
msgid "Best SEO software"
|
197 |
msgstr "Meilleur logiciel de référencement"
|
198 |
|
199 |
+
#: ../ssb-admin.php:201
|
200 |
msgid "Wordpress templates"
|
201 |
msgstr "Thèmes pour WordPress"
|
202 |
|
lang/simplesocialbuttons-pl_PL.mo
CHANGED
Binary file
|
lang/simplesocialbuttons-pl_PL.po
CHANGED
@@ -2,9 +2,9 @@ msgid ""
|
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: simplesocialbuttons\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
-
"POT-Creation-Date:
|
6 |
-
"PO-Revision-Date:
|
7 |
-
"Last-Translator:
|
8 |
"Language-Team: Paweł Rabinek <pawel@rabinek.pl>\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
@@ -15,11 +15,19 @@ msgstr ""
|
|
15 |
"X-Poedit-SourceCharset: utf-8\n"
|
16 |
"X-Poedit-SearchPath-0: ..\n"
|
17 |
|
18 |
-
#: ../simple-social-buttons.php:
|
19 |
#: ../ssb-admin.php:11
|
20 |
msgid "Settings"
|
21 |
msgstr "Ustawienia"
|
22 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
23 |
#: ../ssb-admin.php:13
|
24 |
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."
|
25 |
msgstr "<strong>Simple Social Buttons</strong>, autor <strong>Paweł Rabinek</strong>. Wtyczka dodaje do wpisów przyciski: <strong>Google +1</strong>, <strong>Facebook Lubię to</strong> oraz <strong>Twitter</strong>. Najlepsza wtyczka z przyciskami social media dla Wordpress."
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: simplesocialbuttons\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2012-02-01 11:16+0100\n"
|
6 |
+
"PO-Revision-Date: 2012-02-01 11:16+0100\n"
|
7 |
+
"Last-Translator: \n"
|
8 |
"Language-Team: Paweł Rabinek <pawel@rabinek.pl>\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
15 |
"X-Poedit-SourceCharset: utf-8\n"
|
16 |
"X-Poedit-SearchPath-0: ..\n"
|
17 |
|
18 |
+
#: ../simple-social-buttons.php:424
|
19 |
#: ../ssb-admin.php:11
|
20 |
msgid "Settings"
|
21 |
msgstr "Ustawienia"
|
22 |
|
23 |
+
#: ../simple-social-buttons.php:452
|
24 |
+
msgid "SSB Settings"
|
25 |
+
msgstr "Ustawienia SSB"
|
26 |
+
|
27 |
+
#: ../simple-social-buttons.php:463
|
28 |
+
msgid "Hide Simple Social Buttons"
|
29 |
+
msgstr "Ukryj przyciski wtyczki Simple Social Buttons"
|
30 |
+
|
31 |
#: ../ssb-admin.php:13
|
32 |
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."
|
33 |
msgstr "<strong>Simple Social Buttons</strong>, autor <strong>Paweł Rabinek</strong>. Wtyczka dodaje do wpisów przyciski: <strong>Google +1</strong>, <strong>Facebook Lubię to</strong> oraz <strong>Twitter</strong>. Najlepsza wtyczka z przyciskami social media dla Wordpress."
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: xradar
|
|
3 |
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.
|
7 |
-
Stable tag: 1.
|
8 |
|
9 |
Insert and customize social buttons: Facebook Like it, Google plus +1 and Twitter share. Share your content with friends.
|
10 |
|
@@ -12,7 +12,7 @@ Insert and customize social buttons: Facebook Like it, Google plus +1 and Twitte
|
|
12 |
|
13 |
Simple Social Buttons adds to your posts social network buttons, such as: **Facebook "Like it!"**, **Google plus on "+1"** and **Twitter share**. Plugin is fully customizable. You can decide where to put those buttons:
|
14 |
|
15 |
-
- Buttons above the post content
|
16 |
- Buttons under the post content
|
17 |
- Buttons above and under the post
|
18 |
|
@@ -32,17 +32,20 @@ Simple Social Buttons is currently in the following languages:
|
|
32 |
|
33 |
- English
|
34 |
- French
|
35 |
-
- Polish
|
|
|
|
|
36 |
|
37 |
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.
|
38 |
|
39 |
For more information about Wordpress and SEO, visit my [SEO Blog](http://blog.rabinek.pl "Paweł Rabinek - Blog SEO") (in polish).
|
|
|
40 |
|
41 |
-
|
42 |
|
43 |
-
- [
|
44 |
-
- [
|
45 |
-
|
46 |
|
47 |
== Installation ==
|
48 |
|
@@ -53,6 +56,8 @@ For more information about Wordpress and SEO, visit my [SEO Blog](http://blog.ra
|
|
53 |
|
54 |
That's it. Buttons will show on your blog posts.
|
55 |
|
|
|
|
|
56 |
|
57 |
== Frequently Asked Questions ==
|
58 |
|
@@ -72,11 +77,25 @@ This plugin automatically adds the Facebook Like button, Google plus one +1 and
|
|
72 |
|
73 |
Follow me at Twitter [@rabinek](http://twitter.com/rabinek "Paweł Rabinek na Twitter") or send me a mention. I'll reply as soon as I get it. You can also visit my [SEO Blog](http://blog.rabinek.pl "Paweł Rabinek - Blog SEO") (in polish).
|
74 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
75 |
== Screenshots ==
|
76 |
|
77 |
1. Simple Social Buttons - plugin options
|
78 |
2. Plugin example
|
79 |
3. Plugin on archive
|
|
|
80 |
|
81 |
|
82 |
== Changelog ==
|
@@ -98,3 +117,10 @@ Follow me at Twitter [@rabinek](http://twitter.com/rabinek "Paweł Rabinek na Tw
|
|
98 |
* Fixed plugin settings slot not being highlighted in the admin navigation / general settings
|
99 |
* Added "disable regular CSS" option to let advanced users use their own CSS code
|
100 |
* Lots of fine-tuning
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
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.1
|
7 |
+
Stable tag: 1.4
|
8 |
|
9 |
Insert and customize social buttons: Facebook Like it, Google plus +1 and Twitter share. Share your content with friends.
|
10 |
|
12 |
|
13 |
Simple Social Buttons adds to your posts social network buttons, such as: **Facebook "Like it!"**, **Google plus on "+1"** and **Twitter share**. Plugin is fully customizable. You can decide where to put those buttons:
|
14 |
|
15 |
+
- Buttons above the post content
|
16 |
- Buttons under the post content
|
17 |
- Buttons above and under the post
|
18 |
|
32 |
|
33 |
- English
|
34 |
- French
|
35 |
+
- Polish
|
36 |
+
- German
|
37 |
+
- Spanish
|
38 |
|
39 |
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.
|
40 |
|
41 |
For more information about Wordpress and SEO, visit my [SEO Blog](http://blog.rabinek.pl "Paweł Rabinek - Blog SEO") (in polish).
|
42 |
+
Also check my new SEO tool [SEO Audit](http://www.seoptimer.com "Free SEO Audit tool").
|
43 |
|
44 |
+
Big thanks for support in development of this plugin for:
|
45 |
|
46 |
+
- Karol from [Liga BBVA](http://www.ligabbva.pl "Liga hiszpańska BBVA") for PHP developement
|
47 |
+
- Talem Technologies - [Pozycjonowanie Bydgoszcz](http://www.talem.eu "SEO Pozycjonowanie Bydgoszcz") for time and resources
|
48 |
+
- See more thanks in FAQ section
|
49 |
|
50 |
== Installation ==
|
51 |
|
56 |
|
57 |
That's it. Buttons will show on your blog posts.
|
58 |
|
59 |
+
You can also use this plugin directly in your template by function `<?php get_ssb([$order]); ?>`, where `$order` is a string with args ( example: `$order = "googleplus=1&fblike=2&twitter=3"` ) or an array ( example: `$order = array('googleplus' => 1, 'fblike' => 2, 'twitter' => 3)` ). If you would like to hide a specified button, you should set order to "0".
|
60 |
+
|
61 |
|
62 |
== Frequently Asked Questions ==
|
63 |
|
77 |
|
78 |
Follow me at Twitter [@rabinek](http://twitter.com/rabinek "Paweł Rabinek na Twitter") or send me a mention. I'll reply as soon as I get it. You can also visit my [SEO Blog](http://blog.rabinek.pl "Paweł Rabinek - Blog SEO") (in polish).
|
79 |
|
80 |
+
= Is there a template tag for custom install? =
|
81 |
+
|
82 |
+
Yes, you can use `<?php get_ssb(); ?>` in your template file (see installation section). Default instalation don't require that.
|
83 |
+
|
84 |
+
= Who helped to improve Simple Social Buttons? =
|
85 |
+
|
86 |
+
**Big thanks to:**
|
87 |
+
|
88 |
+
- [@RhooManu](http://twitter.com/RhooManu "RhooManu on Twitter") for french translation
|
89 |
+
- [Usability Idealist](http://usability-idealist.de/ "Fabian Wolf - Usability Idealist") for converting code to object-oriented, adding buttons order and many fixes
|
90 |
+
- [@Dennis Schreiber](http://twitter.com/flammbar "Dennis Schreiber on Twitter") for german translation
|
91 |
+
- Marcos González for spanish translation
|
92 |
+
|
93 |
== Screenshots ==
|
94 |
|
95 |
1. Simple Social Buttons - plugin options
|
96 |
2. Plugin example
|
97 |
3. Plugin on archive
|
98 |
+
4. Widget in post edition
|
99 |
|
100 |
|
101 |
== Changelog ==
|
117 |
* Fixed plugin settings slot not being highlighted in the admin navigation / general settings
|
118 |
* Added "disable regular CSS" option to let advanced users use their own CSS code
|
119 |
* Lots of fine-tuning
|
120 |
+
|
121 |
+
= 1.4 =
|
122 |
+
* Added custom meta to disable SSB plugin on sigle page/post (managed in admin menu)
|
123 |
+
* Function get_ssb() to directly use in template to show Simple Social Buttons in specified order
|
124 |
+
* Widget manage page in wp-admin available only for Administrator
|
125 |
+
* Added German and Spanish translation
|
126 |
+
* Fine-tuning
|
screenshot-4.png
ADDED
Binary file
|
simple-social-buttons.php
CHANGED
@@ -34,31 +34,31 @@
|
|
34 |
|
35 |
|
36 |
class SimpleSocialButtonsPR {
|
37 |
-
|
38 |
-
var $pluginVersion = '1.
|
39 |
-
|
|
|
40 |
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
|
57 |
|
58 |
/**
|
59 |
* Constructor
|
60 |
*/
|
61 |
-
|
62 |
function __construct() {
|
63 |
register_activation_hook( __FILE__, array(&$this, 'plugin_install') );
|
64 |
register_deactivation_hook( __FILE__, array(&$this, 'plugin_uninstall') );
|
@@ -66,28 +66,27 @@ class SimpleSocialButtonsPR {
|
|
66 |
/**
|
67 |
* Action hooks
|
68 |
*/
|
69 |
-
|
|
|
70 |
/**
|
71 |
* basic init
|
72 |
*/
|
73 |
-
add_action( 'init',
|
74 |
|
75 |
// get settings
|
76 |
$currentSettings = $this->get_settings();
|
77 |
|
78 |
// social JS + CSS data
|
79 |
-
add_action( 'wp_footer',
|
80 |
if(!isset($currentSettings['override_css'])) {
|
81 |
-
add_action( 'wp_head',
|
82 |
}
|
83 |
-
|
84 |
-
|
85 |
/**
|
86 |
* Filter hooks
|
87 |
*/
|
88 |
-
|
89 |
-
add_filter( '
|
90 |
-
add_filter( 'the_excerpt', array(&$this, 'insert_buttons') );
|
91 |
}
|
92 |
|
93 |
function plugin_init() {
|
@@ -97,7 +96,6 @@ class SimpleSocialButtonsPR {
|
|
97 |
/**
|
98 |
* Both avoids time-wasting https calls AND provides better SSL-protection if the current server is accessed using HTTPS
|
99 |
*/
|
100 |
-
|
101 |
public function get_current_http( $echo = true ) {
|
102 |
$return = 'http' . (strtolower($_SERVER['HTTPS']) == 'on' ? 's' : '') . '://';
|
103 |
|
@@ -109,10 +107,20 @@ class SimpleSocialButtonsPR {
|
|
109 |
return $return;
|
110 |
}
|
111 |
|
112 |
-
function include_social_js() {
|
113 |
$lang = get_bloginfo('language');
|
114 |
$lang_g = strtolower(substr($lang, 0, 2));
|
115 |
$lang_fb = str_replace('-', '_', $lang);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
116 |
?>
|
117 |
|
118 |
<!-- Simple Social Buttons plugin -->
|
@@ -126,6 +134,7 @@ class SimpleSocialButtonsPR {
|
|
126 |
<!-- /End of Simple Social Buttons -->
|
127 |
|
128 |
<?php
|
|
|
129 |
}
|
130 |
|
131 |
|
@@ -135,7 +144,7 @@ class SimpleSocialButtonsPR {
|
|
135 |
<!-- Simple Social Buttons style sheet -->
|
136 |
<style type="text/css">
|
137 |
div.simplesocialbuttons { height: 20px; margin: 10px auto 10px 0; text-align: center; clear: left; }
|
138 |
-
div.simplesocialbutton { float: left; text-align: center;
|
139 |
</style>
|
140 |
<!-- End of Simple Social Buttons -->
|
141 |
|
@@ -145,7 +154,6 @@ class SimpleSocialButtonsPR {
|
|
145 |
/**
|
146 |
* Called when installing = activating the plugin
|
147 |
*/
|
148 |
-
|
149 |
function plugin_install() {
|
150 |
$defaultSettings = $this->check_old_settings();
|
151 |
|
@@ -164,7 +172,6 @@ class SimpleSocialButtonsPR {
|
|
164 |
/**
|
165 |
* Backward compatiblity for newer versions
|
166 |
*/
|
167 |
-
|
168 |
function check_old_settings() {
|
169 |
$return = $this->pluginDefaultSettings;
|
170 |
|
@@ -180,7 +187,6 @@ class SimpleSocialButtonsPR {
|
|
180 |
/**
|
181 |
* Plugin unistall and database clean up
|
182 |
*/
|
183 |
-
|
184 |
function plugin_uninstall() {
|
185 |
if( !defined( 'ABSPATH') && !defined('WP_UNINSTALL_PLUGIN') ) {
|
186 |
exit();
|
@@ -192,10 +198,9 @@ class SimpleSocialButtonsPR {
|
|
192 |
}
|
193 |
|
194 |
|
195 |
-
|
196 |
-
|
197 |
-
|
198 |
-
|
199 |
public function get_settings() {
|
200 |
$return = get_option($this->pluginPrefix . 'settings' );
|
201 |
if(empty($return) != false) {
|
@@ -208,7 +213,7 @@ class SimpleSocialButtonsPR {
|
|
208 |
/**
|
209 |
* Update settings
|
210 |
*/
|
211 |
-
|
212 |
$return = false;
|
213 |
|
214 |
// compile settings
|
@@ -220,7 +225,6 @@ class SimpleSocialButtonsPR {
|
|
220 |
* @param mixed $args
|
221 |
* @param mixed $defaults
|
222 |
*/
|
223 |
-
|
224 |
$updatedSettings = wp_parse_args( $newSettings, $currentSettings );
|
225 |
|
226 |
if($currentSettings != $updatedSettings ) {
|
@@ -233,100 +237,67 @@ class SimpleSocialButtonsPR {
|
|
233 |
/**
|
234 |
* Returns true on pages where buttons should be shown
|
235 |
*/
|
236 |
-
|
237 |
function where_to_insert() {
|
238 |
$return = false;
|
|
|
239 |
// get settings from database
|
240 |
$settings = $this->get_settings();
|
241 |
|
242 |
extract( $settings, EXTR_PREFIX_ALL, 'ssb' );
|
243 |
|
244 |
// display on single post?
|
245 |
-
if(is_single() && ($ssb_beforepost || $ssb_afterpost)) {
|
246 |
$return = true;
|
247 |
}
|
248 |
|
249 |
// display on single page?
|
250 |
-
if(is_page() && ($ssb_beforepage || $ssb_afterpage)) {
|
251 |
$return = true;
|
252 |
}
|
253 |
|
254 |
// display on frontpage?
|
255 |
-
if(is_front_page() && $ssb_showfront) {
|
256 |
$return = true;
|
257 |
}
|
258 |
|
259 |
-
|
260 |
if(is_category() && $ssb_showcategory) {
|
261 |
$return = true;
|
262 |
}
|
263 |
|
264 |
-
|
265 |
if(is_date() && $ssb_showarchive)
|
266 |
{
|
267 |
$return = true;
|
268 |
}
|
269 |
|
270 |
-
|
271 |
if(is_tag() && $ssb_showtag) {
|
272 |
$return = true;
|
273 |
}
|
274 |
return $return;
|
275 |
}
|
276 |
-
|
277 |
-
|
278 |
* Insert the buttons to the content
|
279 |
*/
|
280 |
-
function insert_buttons($content) {
|
281 |
-
|
282 |
// Insert or not?
|
283 |
-
|
284 |
return $content;
|
285 |
}
|
286 |
|
287 |
-
// define empty buttons code to use
|
288 |
-
$ssb_buttonscode = '';
|
289 |
-
|
290 |
-
// get post permalink and title
|
291 |
-
$permalink = get_permalink();
|
292 |
-
$title = get_the_title();
|
293 |
-
|
294 |
// get settings from database
|
295 |
$settings = $this->get_settings();
|
296 |
-
|
297 |
extract( $settings, EXTR_PREFIX_ALL, 'ssb' );
|
298 |
|
299 |
-
|
300 |
-
|
301 |
-
|
302 |
-
|
303 |
-
foreach($this->arrKnownButtons as $button_name) {
|
304 |
-
if(!empty($settings[$button_name]) ) {
|
305 |
-
$arrButtons[$button_name] = $settings[$button_name];
|
306 |
-
}
|
307 |
-
}
|
308 |
-
asort($arrButtons);
|
309 |
-
|
310 |
-
foreach($arrButtons as $button_name => $button_sort) {
|
311 |
-
switch($button_name) {
|
312 |
-
case 'googleplus':
|
313 |
-
$arrButtonsCode[] = '<div class="simplesocialbutton ssb-button-googleplus"><!-- Google Plus One--><g:plusone size="medium" count="true" href="'.$permalink.'"></g:plusone></div>';
|
314 |
-
break;
|
315 |
-
case 'fblike':
|
316 |
-
$arrButtonsCode[] = '<div class="simplesocialbutton ssb-button-fblike"><!-- Facebook like--><div id="fb-root"></div><fb:like href="'.$permalink.'" send="false" layout="button_count" width="100" show_faces="false" action="like" font=""></fb:like></div>';
|
317 |
-
break;
|
318 |
-
case 'twitter':
|
319 |
-
$arrButtonsCode[] = '<div class="simplesocialbutton ssb-buttom-twitter"><!-- Twitter--><a name="twitter_share" data-count="horizontal" href="http://twitter.com/share" data-text="'.$title.'" data-url="'.$permalink.'" class="twitter-share-button" rel="nofollow"></a></div>';
|
320 |
-
break;
|
321 |
-
}
|
322 |
-
}
|
323 |
-
|
324 |
-
|
325 |
-
if(isset($arrButtonsCode) != false) {
|
326 |
-
$ssb_buttonscode = '<div class="simplesocialbuttons">'."\n";
|
327 |
-
$ssb_buttonscode .= implode("\n", $arrButtonsCode) . "\n";
|
328 |
-
$ssb_buttonscode .= '</div>'."\n";
|
329 |
}
|
|
|
330 |
|
331 |
if(is_single()) {
|
332 |
if($ssb_beforepost) {
|
@@ -354,8 +325,69 @@ class SimpleSocialButtonsPR {
|
|
354 |
return $content;
|
355 |
|
356 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
357 |
|
|
|
|
|
358 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
359 |
} // end class
|
360 |
|
361 |
|
@@ -364,18 +396,21 @@ class SimpleSocialButtonsPR {
|
|
364 |
*
|
365 |
* Gets only initiated if this plugin is called inside the admin section ;)
|
366 |
*/
|
367 |
-
|
368 |
class SimpleSocialButtonsPR_Admin extends SimpleSocialButtonsPR {
|
369 |
|
370 |
function __construct() {
|
371 |
parent::__construct();
|
372 |
|
373 |
add_action('admin_menu', array(&$this, 'admin_actions') );
|
|
|
|
|
|
|
374 |
add_filter('plugin_action_links', array(&$this, 'plugin_action_links'), 10, 2 );
|
375 |
}
|
376 |
|
377 |
public function admin_actions() {
|
378 |
-
|
|
|
379 |
}
|
380 |
|
381 |
public function admin_page() {
|
@@ -394,13 +429,83 @@ class SimpleSocialButtonsPR_Admin extends SimpleSocialButtonsPR {
|
|
394 |
}
|
395 |
|
396 |
if ($file == $this_plugin) {
|
397 |
-
$settings_link = '<a href="' . get_bloginfo('wpurl') . '/wp-admin/options-general.php?page=simple-social-buttons">'.__('Settings').'</a>';
|
398 |
array_unshift($links, $settings_link);
|
399 |
}
|
400 |
|
401 |
return $links;
|
402 |
}
|
403 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
404 |
|
405 |
if(is_admin() ) {
|
406 |
$_ssb_pr = new SimpleSocialButtonsPR_Admin();
|
@@ -408,4 +513,25 @@ if(is_admin() ) {
|
|
408 |
$_ssb_pr = new SimpleSocialButtonsPR();
|
409 |
}
|
410 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
411 |
?>
|
34 |
|
35 |
|
36 |
class SimpleSocialButtonsPR {
|
37 |
+
var $pluginName = 'Simple Social Buttons';
|
38 |
+
var $pluginVersion = '1.4';
|
39 |
+
var $pluginPrefix = 'ssb_pr_';
|
40 |
+
var $hideCustomMetaKey = '_ssb_hide';
|
41 |
|
42 |
+
// plugin default settings
|
43 |
+
var $pluginDefaultSettings = array(
|
44 |
+
'googleplus' => '1',
|
45 |
+
'fblike' => '2',
|
46 |
+
'twitter' => '3',
|
47 |
+
'beforepost' => '1',
|
48 |
+
'afterpost' => '0',
|
49 |
+
'beforepage' => '1',
|
50 |
+
'afterpage' => '0',
|
51 |
+
'beforearchive' => '0',
|
52 |
+
'afterarchive' => '0'
|
53 |
+
);
|
54 |
+
|
55 |
+
// defined buttons
|
56 |
+
var $arrKnownButtons = array('fblike', 'googleplus', 'twitter');
|
57 |
|
58 |
|
59 |
/**
|
60 |
* Constructor
|
61 |
*/
|
|
|
62 |
function __construct() {
|
63 |
register_activation_hook( __FILE__, array(&$this, 'plugin_install') );
|
64 |
register_deactivation_hook( __FILE__, array(&$this, 'plugin_uninstall') );
|
66 |
/**
|
67 |
* Action hooks
|
68 |
*/
|
69 |
+
add_action( 'create_ssb', array(&$this, 'direct_display'), 10 , 1);
|
70 |
+
|
71 |
/**
|
72 |
* basic init
|
73 |
*/
|
74 |
+
add_action( 'init', array(&$this, 'plugin_init') );
|
75 |
|
76 |
// get settings
|
77 |
$currentSettings = $this->get_settings();
|
78 |
|
79 |
// social JS + CSS data
|
80 |
+
add_action( 'wp_footer', array(&$this, 'include_social_js') );
|
81 |
if(!isset($currentSettings['override_css'])) {
|
82 |
+
add_action( 'wp_head', array(&$this, 'include_css') );
|
83 |
}
|
84 |
+
|
|
|
85 |
/**
|
86 |
* Filter hooks
|
87 |
*/
|
88 |
+
add_filter( 'the_content', array(&$this, 'insert_buttons') );
|
89 |
+
add_filter( 'the_excerpt', array(&$this, 'insert_buttons') );
|
|
|
90 |
}
|
91 |
|
92 |
function plugin_init() {
|
96 |
/**
|
97 |
* Both avoids time-wasting https calls AND provides better SSL-protection if the current server is accessed using HTTPS
|
98 |
*/
|
|
|
99 |
public function get_current_http( $echo = true ) {
|
100 |
$return = 'http' . (strtolower($_SERVER['HTTPS']) == 'on' ? 's' : '') . '://';
|
101 |
|
107 |
return $return;
|
108 |
}
|
109 |
|
110 |
+
function include_social_js($force_include = false) {
|
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 |
+
*
|
118 |
+
* NOTE: Conditional tags seem to work only AFTER the page has loaded, thus the code has been added here instead of at the plugin init
|
119 |
+
* @author Fabian Wolf
|
120 |
+
* @link http://usability-idealist.de/
|
121 |
+
* @date Di 20. Dez 17:50:01 CET 2011
|
122 |
+
*/
|
123 |
+
if($this->where_to_insert() != false || $force_include == true) {
|
124 |
?>
|
125 |
|
126 |
<!-- Simple Social Buttons plugin -->
|
134 |
<!-- /End of Simple Social Buttons -->
|
135 |
|
136 |
<?php
|
137 |
+
}
|
138 |
}
|
139 |
|
140 |
|
144 |
<!-- Simple Social Buttons style sheet -->
|
145 |
<style type="text/css">
|
146 |
div.simplesocialbuttons { height: 20px; margin: 10px auto 10px 0; text-align: center; clear: left; }
|
147 |
+
div.simplesocialbutton { float: left; text-align: center;}
|
148 |
</style>
|
149 |
<!-- End of Simple Social Buttons -->
|
150 |
|
154 |
/**
|
155 |
* Called when installing = activating the plugin
|
156 |
*/
|
|
|
157 |
function plugin_install() {
|
158 |
$defaultSettings = $this->check_old_settings();
|
159 |
|
172 |
/**
|
173 |
* Backward compatiblity for newer versions
|
174 |
*/
|
|
|
175 |
function check_old_settings() {
|
176 |
$return = $this->pluginDefaultSettings;
|
177 |
|
187 |
/**
|
188 |
* Plugin unistall and database clean up
|
189 |
*/
|
|
|
190 |
function plugin_uninstall() {
|
191 |
if( !defined( 'ABSPATH') && !defined('WP_UNINSTALL_PLUGIN') ) {
|
192 |
exit();
|
198 |
}
|
199 |
|
200 |
|
201 |
+
/**
|
202 |
+
* Get settings from database
|
203 |
+
*/
|
|
|
204 |
public function get_settings() {
|
205 |
$return = get_option($this->pluginPrefix . 'settings' );
|
206 |
if(empty($return) != false) {
|
213 |
/**
|
214 |
* Update settings
|
215 |
*/
|
216 |
+
function update_settings( $newSettings = array() ) {
|
217 |
$return = false;
|
218 |
|
219 |
// compile settings
|
225 |
* @param mixed $args
|
226 |
* @param mixed $defaults
|
227 |
*/
|
|
|
228 |
$updatedSettings = wp_parse_args( $newSettings, $currentSettings );
|
229 |
|
230 |
if($currentSettings != $updatedSettings ) {
|
237 |
/**
|
238 |
* Returns true on pages where buttons should be shown
|
239 |
*/
|
|
|
240 |
function where_to_insert() {
|
241 |
$return = false;
|
242 |
+
|
243 |
// get settings from database
|
244 |
$settings = $this->get_settings();
|
245 |
|
246 |
extract( $settings, EXTR_PREFIX_ALL, 'ssb' );
|
247 |
|
248 |
// display on single post?
|
249 |
+
if(is_single() && ($ssb_beforepost || $ssb_afterpost) && array_shift(get_post_meta(get_the_ID(), $this->hideCustomMetaKey)) != 'true') {
|
250 |
$return = true;
|
251 |
}
|
252 |
|
253 |
// display on single page?
|
254 |
+
if(is_page() && ($ssb_beforepage || $ssb_afterpage) && array_shift(get_post_meta(get_the_ID(), $this->hideCustomMetaKey)) != 'true') {
|
255 |
$return = true;
|
256 |
}
|
257 |
|
258 |
// display on frontpage?
|
259 |
+
if((is_front_page() || is_home()) && $ssb_showfront) {
|
260 |
$return = true;
|
261 |
}
|
262 |
|
263 |
+
// display on category archive?
|
264 |
if(is_category() && $ssb_showcategory) {
|
265 |
$return = true;
|
266 |
}
|
267 |
|
268 |
+
// display on date archive?
|
269 |
if(is_date() && $ssb_showarchive)
|
270 |
{
|
271 |
$return = true;
|
272 |
}
|
273 |
|
274 |
+
// display on tag archive?
|
275 |
if(is_tag() && $ssb_showtag) {
|
276 |
$return = true;
|
277 |
}
|
278 |
return $return;
|
279 |
}
|
280 |
+
|
281 |
+
/**
|
282 |
* Insert the buttons to the content
|
283 |
*/
|
284 |
+
function insert_buttons($content) {
|
|
|
285 |
// Insert or not?
|
286 |
+
if(!$this->where_to_insert() ) {
|
287 |
return $content;
|
288 |
}
|
289 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
290 |
// get settings from database
|
291 |
$settings = $this->get_settings();
|
292 |
+
|
293 |
extract( $settings, EXTR_PREFIX_ALL, 'ssb' );
|
294 |
|
295 |
+
// creating order
|
296 |
+
$order = array();
|
297 |
+
foreach ($this->arrKnownButtons as $button_name) {
|
298 |
+
$order[$button_name] = $settings[$button_name];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
299 |
}
|
300 |
+
$ssb_buttonscode = $this->generate_buttons_code($order);
|
301 |
|
302 |
if(is_single()) {
|
303 |
if($ssb_beforepost) {
|
325 |
return $content;
|
326 |
|
327 |
}
|
328 |
+
|
329 |
+
function direct_display($order = null)
|
330 |
+
{
|
331 |
+
// Return false if hide SSB for this page/post is disabled
|
332 |
+
if (is_single() && array_shift(get_post_meta(get_the_ID(), $this->hideCustomMetaKey)) == 'true') return false;
|
333 |
+
|
334 |
+
// Display buttons and scripts
|
335 |
+
$buttons_code = $this->generate_buttons_code($order);
|
336 |
+
echo $buttons_code;
|
337 |
+
$this->include_social_js(true);
|
338 |
+
}
|
339 |
+
|
340 |
+
/**
|
341 |
+
* Generate buttons html code with specified order
|
342 |
+
*
|
343 |
+
* @param mixed $order - order of social buttons
|
344 |
+
*/
|
345 |
+
function generate_buttons_code($order = null)
|
346 |
+
{
|
347 |
+
foreach ($this->arrKnownButtons as $button_name) {
|
348 |
+
$defaultOrder[$button_name] = $this->pluginDefaultSettings[$button_name];
|
349 |
+
}
|
350 |
+
|
351 |
+
$order = wp_parse_args($order, $defaultOrder);
|
352 |
|
353 |
+
// define empty buttons code to use
|
354 |
+
$ssb_buttonscode = '';
|
355 |
|
356 |
+
// get post permalink and title
|
357 |
+
$permalink = get_permalink();
|
358 |
+
$title = get_the_title();
|
359 |
+
|
360 |
+
//Sorting the buttons
|
361 |
+
foreach($this->arrKnownButtons as $button_name) {
|
362 |
+
if(!empty($order[$button_name]) && (int)$order[$button_name] != 0) {
|
363 |
+
$arrButtons[$button_name] = $order[$button_name];
|
364 |
+
}
|
365 |
+
}
|
366 |
+
@asort($arrButtons);
|
367 |
+
|
368 |
+
$arrButtonsCode = array();
|
369 |
+
foreach($arrButtons as $button_name => $button_sort) {
|
370 |
+
switch($button_name) {
|
371 |
+
case 'googleplus':
|
372 |
+
$arrButtonsCode[] = '<div class="simplesocialbutton ssb-button-googleplus"><!-- Google Plus One--><g:plusone size="medium"></g:plusone></div>';
|
373 |
+
break;
|
374 |
+
case 'fblike':
|
375 |
+
$arrButtonsCode[] = '<div class="simplesocialbutton ssb-button-fblike"><!-- Facebook like--><div id="fb-root"></div><fb:like href="'.$permalink.'" send="false" layout="button_count" width="100" show_faces="false" action="like" font=""></fb:like></div>';
|
376 |
+
break;
|
377 |
+
case 'twitter':
|
378 |
+
$arrButtonsCode[] = '<div class="simplesocialbutton ssb-buttom-twitter"><!-- Twitter--><a name="twitter_share" data-count="horizontal" href="http://twitter.com/share" data-text="'.$title.'" data-url="'.$permalink.'" class="twitter-share-button" rel="nofollow"></a></div>';
|
379 |
+
break;
|
380 |
+
}
|
381 |
+
}
|
382 |
+
|
383 |
+
if(count($arrButtonsCode) > 0) {
|
384 |
+
$ssb_buttonscode = '<div class="simplesocialbuttons">'."\n";
|
385 |
+
$ssb_buttonscode .= implode("\n", $arrButtonsCode) . "\n";
|
386 |
+
$ssb_buttonscode .= '</div>'."\n";
|
387 |
+
}
|
388 |
+
|
389 |
+
return $ssb_buttonscode;
|
390 |
+
}
|
391 |
} // end class
|
392 |
|
393 |
|
396 |
*
|
397 |
* Gets only initiated if this plugin is called inside the admin section ;)
|
398 |
*/
|
|
|
399 |
class SimpleSocialButtonsPR_Admin extends SimpleSocialButtonsPR {
|
400 |
|
401 |
function __construct() {
|
402 |
parent::__construct();
|
403 |
|
404 |
add_action('admin_menu', array(&$this, 'admin_actions') );
|
405 |
+
add_action('add_meta_boxes', array(&$this, 'ssb_meta_box'));
|
406 |
+
add_action('save_post', array(&$this, 'ssb_save_meta'), 10, 2);
|
407 |
+
|
408 |
add_filter('plugin_action_links', array(&$this, 'plugin_action_links'), 10, 2 );
|
409 |
}
|
410 |
|
411 |
public function admin_actions() {
|
412 |
+
if (current_user_can('administrator'))
|
413 |
+
add_options_page('Simple Social Buttons ', 'Simple Social Buttons ', 1, 'simple-social-buttons', array(&$this, 'admin_page') );
|
414 |
}
|
415 |
|
416 |
public function admin_page() {
|
429 |
}
|
430 |
|
431 |
if ($file == $this_plugin) {
|
432 |
+
$settings_link = '<a href="' . get_bloginfo('wpurl') . '/wp-admin/options-general.php?page=simple-social-buttons">'.__('Settings', 'simplesocialbuttons').'</a>';
|
433 |
array_unshift($links, $settings_link);
|
434 |
}
|
435 |
|
436 |
return $links;
|
437 |
}
|
438 |
+
|
439 |
+
/**
|
440 |
+
* Register meta box to hide/show SSB plugin on single post or page
|
441 |
+
*/
|
442 |
+
public function ssb_meta_box()
|
443 |
+
{
|
444 |
+
$postId = $_GET['post'];
|
445 |
+
$postType = get_post_type($postId);
|
446 |
+
|
447 |
+
if ($postType != 'page' && $postType != 'post') return false;
|
448 |
+
|
449 |
+
$currentSsbHide = get_post_custom_values($this->hideCustomMetaKey, $postId);
|
450 |
+
$currentSettings = $this->get_settings();
|
451 |
+
|
452 |
+
if ($currentSsbHide[0] == 'true') {
|
453 |
+
$checked = true;
|
454 |
+
} else {
|
455 |
+
$checked = false;
|
456 |
+
}
|
457 |
+
|
458 |
+
// Rendering meta box
|
459 |
+
if (!function_exists('add_meta_box')) include('includes/template.php');
|
460 |
+
add_meta_box('ssb_meta_box', __('SSB Settings', 'simplesocialbuttons'), array(&$this, 'render_ssb_meta_box'), $postType, 'side', 'default', array('type' => $postType, 'checked' => $checked));
|
461 |
+
}
|
462 |
+
|
463 |
+
/**
|
464 |
+
* Showing custom meta field
|
465 |
+
*/
|
466 |
+
public function render_ssb_meta_box($post, $metabox)
|
467 |
+
{
|
468 |
+
wp_nonce_field( plugin_basename( __FILE__ ), 'ssb_noncename' );
|
469 |
+
?>
|
470 |
+
|
471 |
+
<label for="<?php echo $this->hideCustomMetaKey;?>"><input type="checkbox" id="<?php echo $this->hideCustomMetaKey;?>" name="<?php echo $this->hideCustomMetaKey;?>" value="true" <?php if ($metabox['args']['checked']):?>checked="checked"<?php endif;?>/> <?php echo __('Hide Simple Social Buttons', 'simplesocialbuttons');?></label>
|
472 |
+
|
473 |
+
<?php
|
474 |
+
}
|
475 |
+
|
476 |
+
|
477 |
+
/**
|
478 |
+
* Saving custom meta value
|
479 |
+
*/
|
480 |
+
public function ssb_save_meta($post_id, $post)
|
481 |
+
{
|
482 |
+
$postId = (int)$post_id;
|
483 |
+
|
484 |
+
// Verify if this is an auto save routine.
|
485 |
+
if ( defined( 'DOING_AUTOSAVE' ) && DOING_AUTOSAVE )
|
486 |
+
return;
|
487 |
+
|
488 |
+
// Verify this came from the our screen and with proper authorization
|
489 |
+
if ( !wp_verify_nonce( $_POST['ssb_noncename'], plugin_basename( __FILE__ ) ) )
|
490 |
+
return;
|
491 |
+
|
492 |
+
// Check permissions
|
493 |
+
if ( 'page' == $_POST['post_type'] ) {
|
494 |
+
if ( !current_user_can( 'edit_page', $post_id ) )
|
495 |
+
return;
|
496 |
+
} else {
|
497 |
+
if ( !current_user_can( 'edit_post', $post_id ) )
|
498 |
+
return;
|
499 |
+
}
|
500 |
+
|
501 |
+
// Saving data
|
502 |
+
$newValue = (isset($_POST[$this->hideCustomMetaKey])) ? $_POST[$this->hideCustomMetaKey] : 'false';
|
503 |
+
|
504 |
+
update_post_meta($postId, $this->hideCustomMetaKey, $newValue);
|
505 |
+
}
|
506 |
+
|
507 |
+
|
508 |
+
} // end SimpleSocialButtonsPR_Admin
|
509 |
|
510 |
if(is_admin() ) {
|
511 |
$_ssb_pr = new SimpleSocialButtonsPR_Admin();
|
513 |
$_ssb_pr = new SimpleSocialButtonsPR();
|
514 |
}
|
515 |
|
516 |
+
/**
|
517 |
+
* Function to insert Simple Social Buttons directly in template.
|
518 |
+
*
|
519 |
+
* @param mixed $order - order of the buttons in array or string (parsed by wp_parse_args())
|
520 |
+
*
|
521 |
+
* @example 1 - use in template with default order
|
522 |
+
* get_ssb();
|
523 |
+
*
|
524 |
+
* @example 2 - use in template with specified order
|
525 |
+
* get_ssb('googleplus=3&fblike=2&twitter=1');
|
526 |
+
*
|
527 |
+
* @example 3 - hiding button by setting order to 0. By using code below googleplus button won't be displayed
|
528 |
+
* get_ssb('googleplus=0&fblike=1&twitter=2');
|
529 |
+
*
|
530 |
+
*
|
531 |
+
*/
|
532 |
+
function get_ssb($order = null)
|
533 |
+
{
|
534 |
+
do_action('create_ssb', $order);
|
535 |
+
}
|
536 |
+
|
537 |
?>
|
uninstall.php
DELETED
@@ -1,23 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
if( !defined( 'ABSPATH') && !defined('WP_UNINSTALL_PLUGIN') ) {
|
3 |
-
exit();
|
4 |
-
}
|
5 |
-
|
6 |
-
// clean up the databes before the uninstall plugin
|
7 |
-
|
8 |
-
delete_option('ssb_googleplus');
|
9 |
-
delete_option('ssb_fblike');
|
10 |
-
delete_option('ssb_twitter');
|
11 |
-
|
12 |
-
delete_option('ssb_beforepost');
|
13 |
-
delete_option('ssb_afterpost');
|
14 |
-
|
15 |
-
delete_option('ssb_showfront');
|
16 |
-
delete_option('ssb_showcategory');
|
17 |
-
delete_option('ssb_showarchive');
|
18 |
-
delete_option('ssb_showtag');
|
19 |
-
|
20 |
-
delete_option('ssb_beforearchive');
|
21 |
-
delete_option('ssb_afterarchive');
|
22 |
-
|
23 |
-
?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|