Ocean Social Sharing - Version 1.0.12

Version Description

  • Added: Polish translation, thanks to Fin Fafarafiel.
Download this release

Release Info

Developer oceanwp
Plugin Icon 128x128 Ocean Social Sharing
Version 1.0.12
Comparing to
See all releases

Code changes from version 1.0.10 to 1.0.12

languages/ocean-social-sharing-pl_PL.mo ADDED
Binary file
languages/ocean-social-sharing-pl_PL.po ADDED
@@ -0,0 +1,241 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Copyright (C) 2016
2
+ # This file is distributed under the same license as the package.
3
+ msgid ""
4
+ msgstr ""
5
+ "Project-Id-Version: \n"
6
+ "Report-Msgid-Bugs-To: https://wordpress.org/support/theme/style\n"
7
+ "POT-Creation-Date: 2018-04-11 16:24+0200\n"
8
+ "PO-Revision-Date: 2018-04-11 16:24+0200\n"
9
+ "Last-Translator: \n"
10
+ "Language-Team: OceanWP\n"
11
+ "Language: pl_PL\n"
12
+ "MIME-Version: 1.0\n"
13
+ "Content-Type: text/plain; charset=UTF-8\n"
14
+ "Content-Transfer-Encoding: 8bit\n"
15
+ "X-Generator: Poedit 2.0.4\n"
16
+ "Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
17
+ "|| n%100>=20) ? 1 : 2);\n"
18
+ "X-Poedit-Basepath: ..\n"
19
+ "X-Poedit-SourceCharset: utf-8\n"
20
+ "X-Poedit-KeywordsList: _esc_attr__;esc_attr_x;esc_attr_e;esc_html__;"
21
+ "esc_html_e;esc_html_x;__;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;"
22
+ "_n_noop:1,2;_c;_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2\n"
23
+ "X-Textdomain-Support: yes\n"
24
+ "X-Poedit-SearchPath-0: .\n"
25
+
26
+ #: ocean-social-sharing.php:132 ocean-social-sharing.php:141
27
+ msgid "Cheatin&#8217; huh?"
28
+ msgstr "Oszukujemy&#8217; co?"
29
+
30
+ #: ocean-social-sharing.php:207
31
+ msgid "Social Sharing"
32
+ msgstr "Udostępnianie publiczne"
33
+
34
+ #: ocean-social-sharing.php:231
35
+ msgid "Sharing Buttons"
36
+ msgstr "Przyciski udostępniania"
37
+
38
+ #: ocean-social-sharing.php:258
39
+ msgid "Position"
40
+ msgstr ""
41
+
42
+ #: ocean-social-sharing.php:264
43
+ msgid "Before the Content"
44
+ msgstr ""
45
+
46
+ #: ocean-social-sharing.php:265
47
+ msgid "After the Content"
48
+ msgstr ""
49
+
50
+ #: ocean-social-sharing.php:266
51
+ msgid "Before & After the Content"
52
+ msgstr ""
53
+
54
+ #: ocean-social-sharing.php:280
55
+ msgid "Add Social Name"
56
+ msgstr ""
57
+
58
+ #: ocean-social-sharing.php:291
59
+ msgid "Please Share This"
60
+ msgstr "Proszę udostępnij to"
61
+
62
+ #: ocean-social-sharing.php:297
63
+ #, fuzzy
64
+ #| msgid "Sharing Buttons"
65
+ msgid "Sharing Heading"
66
+ msgstr "Przyciski udostępniania"
67
+
68
+ #: ocean-social-sharing.php:314
69
+ #, fuzzy
70
+ #| msgid "Heading on Posts"
71
+ msgid "Heading Position"
72
+ msgstr "Nagłówek posta"
73
+
74
+ #: ocean-social-sharing.php:320
75
+ msgid "Side"
76
+ msgstr ""
77
+
78
+ #: ocean-social-sharing.php:321
79
+ msgid "Top"
80
+ msgstr ""
81
+
82
+ #: ocean-social-sharing.php:334
83
+ #, fuzzy
84
+ #| msgid "Twitter Handle"
85
+ msgid "Twitter Username"
86
+ msgstr "Nazwa użytkownika na Twitter'ze"
87
+
88
+ #: ocean-social-sharing.php:349
89
+ msgid "Styling"
90
+ msgstr ""
91
+
92
+ #: ocean-social-sharing.php:364
93
+ msgid "Style"
94
+ msgstr ""
95
+
96
+ #: ocean-social-sharing.php:370
97
+ msgid "Minimal"
98
+ msgstr ""
99
+
100
+ #: ocean-social-sharing.php:371
101
+ msgid "Colored"
102
+ msgstr ""
103
+
104
+ #: ocean-social-sharing.php:372
105
+ msgid "Dark"
106
+ msgstr ""
107
+
108
+ #: ocean-social-sharing.php:385
109
+ msgid "Border Radius"
110
+ msgstr ""
111
+
112
+ #: ocean-social-sharing.php:386
113
+ msgid "Add a custom border radius. px - em - %."
114
+ msgstr ""
115
+
116
+ #: ocean-social-sharing.php:402
117
+ #, fuzzy
118
+ #| msgid "Links Borders Color"
119
+ msgid "Minimal Style: Borders Color"
120
+ msgstr "Kolor obramowania linku"
121
+
122
+ #: ocean-social-sharing.php:417
123
+ #, fuzzy
124
+ #| msgid "Icons Background Color"
125
+ msgid "Minimal Style: Background Color"
126
+ msgstr "Kolor tła ikony"
127
+
128
+ #: ocean-social-sharing.php:432
129
+ msgid "Minimal Style: Color"
130
+ msgstr ""
131
+
132
+ #: template/social-share.php:99
133
+ msgid "Share on Twitter"
134
+ msgstr "Udostępnij na Twitter'ze"
135
+
136
+ #: template/social-share.php:109
137
+ #, fuzzy
138
+ #| msgid "Twitter Handle"
139
+ msgid "Twitter"
140
+ msgstr "Nazwa użytkownika na Twitter'ze"
141
+
142
+ #: template/social-share.php:121
143
+ msgid "Share on Facebook"
144
+ msgstr "Udostępnij na Facebook'u"
145
+
146
+ #: template/social-share.php:132
147
+ #, fuzzy
148
+ #| msgid "Share on Facebook"
149
+ msgid "Facebook"
150
+ msgstr "Udostępnij na Facebook'u"
151
+
152
+ #: template/social-share.php:144
153
+ msgid "Share on Google+"
154
+ msgstr "Udostępnij na Google+"
155
+
156
+ #: template/social-share.php:158
157
+ #, fuzzy
158
+ #| msgid "Share on Google+"
159
+ msgid "Google+"
160
+ msgstr "Udostępnij na Google+"
161
+
162
+ #: template/social-share.php:170
163
+ msgid "Share on Pinterest"
164
+ msgstr "Udostępnij na Pinterest"
165
+
166
+ #: template/social-share.php:187
167
+ #, fuzzy
168
+ #| msgid "Share on Pinterest"
169
+ msgid "Pinterest"
170
+ msgstr "Udostępnij na Pinterest"
171
+
172
+ #: template/social-share.php:199
173
+ msgid "Share on LinkedIn"
174
+ msgstr "Udostępnij na LinkedIn"
175
+
176
+ #: template/social-share.php:212
177
+ #, fuzzy
178
+ #| msgid "Share on LinkedIn"
179
+ msgid "LinkedIn"
180
+ msgstr "Udostępnij na LinkedIn"
181
+
182
+ #: template/social-share.php:224
183
+ #, fuzzy
184
+ #| msgid "Share on Twitter"
185
+ msgid "Share on Viber"
186
+ msgstr "Udostępnij na Twitter'ze"
187
+
188
+ #: template/social-share.php:255
189
+ msgid "Viber"
190
+ msgstr ""
191
+
192
+ #: template/social-share.php:267
193
+ #, fuzzy
194
+ #| msgid "Share on Twitter"
195
+ msgid "Share on VK"
196
+ msgstr "Udostępnij na Twitter'ze"
197
+
198
+ #: template/social-share.php:277
199
+ msgid "VK"
200
+ msgstr ""
201
+
202
+ #: template/social-share.php:289
203
+ #, fuzzy
204
+ #| msgid "Share on Twitter"
205
+ msgid "Share on Reddit"
206
+ msgstr "Udostępnij na Twitter'ze"
207
+
208
+ #: template/social-share.php:312
209
+ msgid "Reddit"
210
+ msgstr ""
211
+
212
+ #: template/social-share.php:324
213
+ #, fuzzy
214
+ #| msgid "Share on Twitter"
215
+ msgid "Share on Tumblr"
216
+ msgstr "Udostępnij na Twitter'ze"
217
+
218
+ #: template/social-share.php:339
219
+ msgid "Tumblr"
220
+ msgstr ""
221
+
222
+ #: template/social-share.php:351
223
+ #, fuzzy
224
+ #| msgid "Share on Facebook"
225
+ msgid "Share on Viadeo"
226
+ msgstr "Udostępnij na Facebook'u"
227
+
228
+ #: template/social-share.php:372
229
+ msgid "Viadeo"
230
+ msgstr ""
231
+
232
+ #~ msgid ""
233
+ #~ "Ocean Social Sharing requires that you use ocean as your parent theme."
234
+ #~ msgstr ""
235
+ #~ "Ocean Social Sharing wymaga żebyś używał OceanWP jako głównego motywu."
236
+
237
+ #~ msgid "Install Ocean Now"
238
+ #~ msgstr "Zainstaluj OceanWP"
239
+
240
+ #~ msgid "Icons Color"
241
+ #~ msgstr "Kolor ikony"
ocean-social-sharing.php CHANGED
@@ -3,11 +3,11 @@
3
  * Plugin Name: Ocean Social Sharing
4
  * Plugin URI: https://oceanwp.org/extension/ocean-social-sharing/
5
  * Description: A simple plugin to add social share buttons to your posts.
6
- * Version: 1.0.11
7
  * Author: OceanWP
8
  * Author URI: https://oceanwp.org/
9
  * Requires at least: 4.5.0
10
- * Tested up to: 4.9.4
11
  *
12
  * Text Domain: ocean-social-sharing
13
  * Domain Path: /languages/
@@ -86,7 +86,7 @@ final class Ocean_Social_Sharing {
86
  $this->token = 'ocean-social-sharing';
87
  $this->plugin_url = plugin_dir_url( __FILE__ );
88
  $this->plugin_path = plugin_dir_path( __FILE__ );
89
- $this->version = '1.0.11';
90
 
91
  register_activation_hook( __FILE__, array( $this, 'install' ) );
92
 
3
  * Plugin Name: Ocean Social Sharing
4
  * Plugin URI: https://oceanwp.org/extension/ocean-social-sharing/
5
  * Description: A simple plugin to add social share buttons to your posts.
6
+ * Version: 1.0.12
7
  * Author: OceanWP
8
  * Author URI: https://oceanwp.org/
9
  * Requires at least: 4.5.0
10
+ * Tested up to: 4.9.7
11
  *
12
  * Text Domain: ocean-social-sharing
13
  * Domain Path: /languages/
86
  $this->token = 'ocean-social-sharing';
87
  $this->plugin_url = plugin_dir_url( __FILE__ );
88
  $this->plugin_path = plugin_dir_path( __FILE__ );
89
+ $this->version = '1.0.12';
90
 
91
  register_activation_hook( __FILE__, array( $this, 'install' ) );
92
 
readme.txt CHANGED
@@ -2,8 +2,8 @@
2
  Contributors: oceanwp
3
  Tags: social, social sharing, social share, share, oceanwp
4
  Requires at least: 4.5
5
- Tested up to: 4.9.4
6
- Stable tag: 1.0.11
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -47,6 +47,9 @@ This plugin will only work with the [OceanWP](https://oceanwp.org/) theme.
47
 
48
  == Changelog ==
49
 
 
 
 
50
  = 1.0.11 =
51
  - Fixed: Double handle for the Twitter button.
52
 
2
  Contributors: oceanwp
3
  Tags: social, social sharing, social share, share, oceanwp
4
  Requires at least: 4.5
5
+ Tested up to: 4.9.7
6
+ Stable tag: 1.0.12
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
47
 
48
  == Changelog ==
49
 
50
+ = 1.0.12 =
51
+ - Added: Polish translation, thanks to Fin Fafarafiel.
52
+
53
  = 1.0.11 =
54
  - Fixed: Double handle for the Twitter button.
55
 
template/social-share.php CHANGED
@@ -64,9 +64,9 @@ $classes = implode( ' ', $classes ); ?>
64
  if ( ! empty( $heading )
65
  || is_customize_preview() ) { ?>
66
 
67
- <h2 class="theme-heading social-share-title">
68
  <span class="text"><?php echo esc_attr( $heading ); ?></span>
69
- </h2>
70
 
71
  <?php
72
  } ?>
@@ -96,7 +96,7 @@ $classes = implode( ' ', $classes ); ?>
96
  $handle = str_replace( '@' , '' , trim( $handle ) ); ?>
97
 
98
  <li class="twitter">
99
- <a href="https://twitter.com/share?text=<?php echo esc_attr( $title ); ?>&amp;url=<?php echo rawurlencode( esc_url( $url ) ); ?><?php if ( $handle ) echo '&amp;via='. esc_attr( $handle ); ?>" title="<?php esc_html_e( 'Share on Twitter', 'ocean-social-sharing' ); ?>" onclick="oss_onClick( this.href );return false;">
100
  <span class="oss-icon-wrap">
101
  <svg class="oss-icon" aria-labelledby="oss-twitter-icon" role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
102
  <path d="M23.954 4.569c-.885.389-1.83.654-2.825.775 1.014-.611 1.794-1.574 2.163-2.723-.951.555-2.005.959-3.127 1.184-.896-.959-2.173-1.559-3.591-1.559-2.717 0-4.92 2.203-4.92 4.917 0 .39.045.765.127 1.124C7.691 8.094 4.066 6.13 1.64 3.161c-.427.722-.666 1.561-.666 2.475 0 1.71.87 3.213 2.188 4.096-.807-.026-1.566-.248-2.228-.616v.061c0 2.385 1.693 4.374 3.946 4.827-.413.111-.849.171-1.296.171-.314 0-.615-.03-.916-.086.631 1.953 2.445 3.377 4.604 3.417-1.68 1.319-3.809 2.105-6.102 2.105-.39 0-.779-.023-1.17-.067 2.189 1.394 4.768 2.209 7.557 2.209 9.054 0 13.999-7.496 13.999-13.986 0-.209 0-.42-.015-.63.961-.689 1.8-1.56 2.46-2.548l-.047-.02z"/>
@@ -196,7 +196,7 @@ $classes = implode( ' ', $classes ); ?>
196
  if ( 'linkedin' == $site ) { ?>
197
 
198
  <li class="linkedin">
199
- <a href="https://www.linkedin.com/shareArticle?mini=true&amp;url=<?php echo rawurlencode( esc_url( $url ) ); ?>&amp;title=<?php echo rawurlencode( $title ); ?>&amp;summary=<?php echo wp_trim_words( strip_shortcodes( get_the_content( $post_id ) ), 40 ); ?>&amp;source=<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php esc_html_e( 'Share on LinkedIn', 'ocean-social-sharing' ); ?>" onclick="oss_onClick( this.href );return false;">
200
  <span class="oss-icon-wrap">
201
  <svg class="oss-icon" aria-labelledby="oss-linkedin-icon" role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
202
  <path d="M6.52,22h-4.13V8.667h4.13V22z M4.436,6.92
@@ -286,7 +286,7 @@ $classes = implode( ' ', $classes ); ?>
286
  if ( 'reddit' == $site ) { ?>
287
 
288
  <li class="reddit">
289
- <a href="http://www.reddit.com/submit?url=<?php echo rawurlencode( esc_url( $url ) ); ?>&amp;title=<?php echo rawurlencode( $title ); ?>" title="<?php esc_html_e( 'Share on Reddit', 'ocean-social-sharing' ); ?>" onclick="oss_onClick( this.href );return false;">
290
  <span class="oss-icon-wrap">
291
  <svg class="oss-icon" aria-labelledby="oss-reddit-icon" role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
292
  <path d="M23.999,11.786c0-1.576-1.294-2.858-2.885-2.858c-0.689,0-1.321,0.241-1.817,0.641
64
  if ( ! empty( $heading )
65
  || is_customize_preview() ) { ?>
66
 
67
+ <h3 class="theme-heading social-share-title">
68
  <span class="text"><?php echo esc_attr( $heading ); ?></span>
69
+ </h3>
70
 
71
  <?php
72
  } ?>
96
  $handle = str_replace( '@' , '' , trim( $handle ) ); ?>
97
 
98
  <li class="twitter">
99
+ <a href="https://twitter.com/share?text=<?php echo html_entity_decode( wp_strip_all_tags( $title ) ); ?>&amp;url=<?php echo rawurlencode( esc_url( $url ) ); ?><?php if ( $handle ) echo '&amp;via='. esc_attr( $handle ); ?>" title="<?php esc_html_e( 'Share on Twitter', 'ocean-social-sharing' ); ?>" onclick="oss_onClick( this.href );return false;">
100
  <span class="oss-icon-wrap">
101
  <svg class="oss-icon" aria-labelledby="oss-twitter-icon" role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
102
  <path d="M23.954 4.569c-.885.389-1.83.654-2.825.775 1.014-.611 1.794-1.574 2.163-2.723-.951.555-2.005.959-3.127 1.184-.896-.959-2.173-1.559-3.591-1.559-2.717 0-4.92 2.203-4.92 4.917 0 .39.045.765.127 1.124C7.691 8.094 4.066 6.13 1.64 3.161c-.427.722-.666 1.561-.666 2.475 0 1.71.87 3.213 2.188 4.096-.807-.026-1.566-.248-2.228-.616v.061c0 2.385 1.693 4.374 3.946 4.827-.413.111-.849.171-1.296.171-.314 0-.615-.03-.916-.086.631 1.953 2.445 3.377 4.604 3.417-1.68 1.319-3.809 2.105-6.102 2.105-.39 0-.779-.023-1.17-.067 2.189 1.394 4.768 2.209 7.557 2.209 9.054 0 13.999-7.496 13.999-13.986 0-.209 0-.42-.015-.63.961-.689 1.8-1.56 2.46-2.548l-.047-.02z"/>
196
  if ( 'linkedin' == $site ) { ?>
197
 
198
  <li class="linkedin">
199
+ <a href="https://www.linkedin.com/shareArticle?mini=true&amp;url=<?php echo rawurlencode( esc_url( $url ) ); ?>&amp;title=<?php echo html_entity_decode( wp_strip_all_tags( $title ) ); ?>&amp;summary=<?php echo wp_trim_words( strip_shortcodes( get_the_content( $post_id ) ), 40 ); ?>&amp;source=<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php esc_html_e( 'Share on LinkedIn', 'ocean-social-sharing' ); ?>" onclick="oss_onClick( this.href );return false;">
200
  <span class="oss-icon-wrap">
201
  <svg class="oss-icon" aria-labelledby="oss-linkedin-icon" role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
202
  <path d="M6.52,22h-4.13V8.667h4.13V22z M4.436,6.92
286
  if ( 'reddit' == $site ) { ?>
287
 
288
  <li class="reddit">
289
+ <a href="http://www.reddit.com/submit?url=<?php echo rawurlencode( esc_url( $url ) ); ?>&amp;title=<?php echo html_entity_decode( wp_strip_all_tags( $title ) ); ?>" title="<?php esc_html_e( 'Share on Reddit', 'ocean-social-sharing' ); ?>" onclick="oss_onClick( this.href );return false;">
290
  <span class="oss-icon-wrap">
291
  <svg class="oss-icon" aria-labelledby="oss-reddit-icon" role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
292
  <path d="M23.999,11.786c0-1.576-1.294-2.858-2.885-2.858c-0.689,0-1.321,0.241-1.817,0.641