Social Count Plus - Version 3.1.1

Version Description

  • Added Twitch counter.
  • Added new social_count_plus_{$icon}html_counter and social_count_plus_icon_name_i18n filters to help add new custom counters.
  • Fixed Facebook counter, now uses the Facebook API.
  • Fixed Google Plus counter, now uses the Google API.
  • Fixed System Status test for wp_remote_get().
  • Fixed YouTube options description. Need a YouTube Channel ID and not a YouTube username.

=

Download this release

Release Info

Developer claudiosanches
Plugin Icon 128x128 Social Count Plus
Version 3.1.1
Comparing to
See all releases

Version 3.1.1

Files changed (51) hide show
  1. assets/css/admin.css +1 -0
  2. assets/css/counter.css +1 -0
  3. assets/images/sprite-circle.png +0 -0
  4. assets/images/sprite-default.png +0 -0
  5. assets/images/sprite-flat.png +0 -0
  6. assets/js/admin.js +49 -0
  7. assets/js/admin.min.js +1 -0
  8. demos/design-circle-vertical.png +0 -0
  9. demos/design-circle.png +0 -0
  10. demos/design-custom-vertical.png +0 -0
  11. demos/design-custom.png +0 -0
  12. demos/design-default-vertical.png +0 -0
  13. demos/design-default.png +0 -0
  14. demos/design-flat-vertical.png +0 -0
  15. demos/design-flat.png +0 -0
  16. includes/abstracts/abstract-social-count-plus-counter.php +63 -0
  17. includes/admin/class-social-count-plus-admin.php +905 -0
  18. includes/admin/views/html-settings-functions-shortcodes-page.php +105 -0
  19. includes/admin/views/html-settings-page.php +50 -0
  20. includes/admin/views/html-settings-system-status-page.php +77 -0
  21. includes/class-social-count-plus-generator.php +88 -0
  22. includes/class-social-count-plus-shortcodes.php +39 -0
  23. includes/class-social-count-plus-view.php +242 -0
  24. includes/class-social-count-plus-widget.php +78 -0
  25. includes/counters/class-social-count-plus-comments-counter.php +64 -0
  26. includes/counters/class-social-count-plus-facebook-counter.php +101 -0
  27. includes/counters/class-social-count-plus-googleplus-counter.php +70 -0
  28. includes/counters/class-social-count-plus-instagram-counter.php +74 -0
  29. includes/counters/class-social-count-plus-posts-counter.php +65 -0
  30. includes/counters/class-social-count-plus-soundcloud-counter.php +70 -0
  31. includes/counters/class-social-count-plus-steam-counter.php +69 -0
  32. includes/counters/class-social-count-plus-twitch-counter.php +70 -0
  33. includes/counters/class-social-count-plus-twitter-counter.php +175 -0
  34. includes/counters/class-social-count-plus-youtube-counter.php +77 -0
  35. includes/social-count-plus-functions.php +148 -0
  36. languages/social-count-plus-es_AR.mo +0 -0
  37. languages/social-count-plus-es_AR.po +574 -0
  38. languages/social-count-plus-fr_FR.mo +0 -0
  39. languages/social-count-plus-fr_FR.po +574 -0
  40. languages/social-count-plus-pt_BR.mo +0 -0
  41. languages/social-count-plus-pt_BR.po +575 -0
  42. languages/social-count-plus-ru_RU.mo +0 -0
  43. languages/social-count-plus-ru_RU.po +574 -0
  44. languages/social-count-plus-sq_AL.mo +0 -0
  45. languages/social-count-plus-sq_AL.po +574 -0
  46. languages/social-count-plus-sv_SE.mo +0 -0
  47. languages/social-count-plus-sv_SE.po +574 -0
  48. languages/social-count-plus.pot +570 -0
  49. readme.txt +342 -0
  50. social-count-plus.php +147 -0
  51. uninstall.php +12 -0
assets/css/admin.css ADDED
@@ -0,0 +1 @@
 
1
+ table#social-count-plus-system-status{margin-top:1.1em}table#social-count-plus-system-status tr:nth-child(2n) th,table#social-count-plus-system-status tr:nth-child(2n) td{background:#fcfcfc}table#social-count-plus-system-status th{font-weight:bold}table#social-count-plus-system-status td:first-child{width:20%}table#social-count-plus-system-status td{padding:6px 9px;font-size:1.1em}table#social-count-plus-system-status td mark{background:transparent none}table#social-count-plus-system-status td mark.yes{color:#7AD03A}table#social-count-plus-system-status td mark.no{color:#999}table#social-count-plus-system-status td mark.error{color:#a00}table#social-count-plus-system-status td ul{margin:0}.social-count-plus-icons-order{background:#fff;border:1px solid #ddd;padding:10px 5px 0 5px;*zoom:1}.social-count-plus-icons-order:before,.social-count-plus-icons-order:after{content:" ";display:table}.social-count-plus-icons-order:after{clear:both}.social-count-plus-icons-order .social-icon,.social-count-plus-icons-order .social-icon-placeholder{cursor:move;border:3px solid #ddd;padding:4px;margin:0 5px 10px;float:left;font-weight:bold}.social-count-plus-icons-order .social-icon-placeholder{background:#f4f4f4;border-style:dashed}
assets/css/counter.css ADDED
@@ -0,0 +1 @@
 
1
+ .social-count-plus{*zoom:1}.social-count-plus:after{content:"";display:table;clear:both}.social-count-plus .clear{clear:both}.social-count-plus ul{list-style:none !important;border:none !important;margin:0;padding:0}.social-count-plus li{background:none !important;border:none !important;clear:none !important;float:left;list-style:none !important;margin:0;padding:0 0 20px;text-align:center;width:60px}.social-count-plus .vertical li{*zoom:1;display:block;float:none;padding-bottom:10px;text-align:left;width:100%}.social-count-plus .vertical li:after{content:"";display:table;clear:both}.social-count-plus span{display:block;padding:0;margin:0}.social-count-plus a{-moz-transition:all 0.4s ease;-o-transition:all 0.4s ease;-webkit-transition:all 0.4s ease;transition:all 0.4s ease;display:block;margin:0 auto;padding:0 !important;opacity:1}.social-count-plus a:hover{opacity:0.7}.social-count-plus .default a{background-color:transparent !important;background-image:url("../images/sprite-default.png") !important;background-repeat:no-repeat !important;height:32px !important;width:32px !important}.social-count-plus .circle a{background-image:url("../images/sprite-circle.png") !important;height:37px !important;width:36px !important}.social-count-plus .flat a{background-image:url("../images/sprite-flat.png") !important;height:32px !important;width:32px !important}.social-count-plus .vertical a{float:left}.social-count-plus .vertical .items{float:left;margin-left:10px;text-align:left}.social-count-plus .count{display:block;font-size:14px;font-weight:bold;line-height:16px;margin:5px 0 0;padding:0}.social-count-plus .vertical .count{margin-top:3px}.social-count-plus .label{line-height:16px;font-size:9px;font-weight:normal;text-transform:capitalize}.social-count-plus .default .count-twitter a{background-position:0px 0 !important}.social-count-plus .circle .count-twitter a{background-position:0px 0 !important}.social-count-plus .flat .count-twitter a{background-position:0px 0 !important}.social-count-plus .default .count-facebook a{background-position:-32px 0 !important}.social-count-plus .circle .count-facebook a{background-position:-36px 0 !important}.social-count-plus .flat .count-facebook a{background-position:-32px 0 !important}.social-count-plus .default .count-youtube a{background-position:-64px 0 !important}.social-count-plus .circle .count-youtube a{background-position:-72px 0 !important}.social-count-plus .flat .count-youtube a{background-position:-64px 0 !important}.social-count-plus .default .count-googleplus a{background-position:-96px 0 !important}.social-count-plus .circle .count-googleplus a{background-position:-108px 0 !important}.social-count-plus .flat .count-googleplus a{background-position:-96px 0 !important}.social-count-plus .default .count-posts a{background-position:-128px 0 !important}.social-count-plus .circle .count-posts a{background-position:-144px 0 !important}.social-count-plus .flat .count-posts a{background-position:-128px 0 !important}.social-count-plus .default .count-comments a{background-position:-160px 0 !important}.social-count-plus .circle .count-comments a{background-position:-180px 0 !important}.social-count-plus .flat .count-comments a{background-position:-160px 0 !important}.social-count-plus .default .count-instagram a{background-position:-192px 0 !important}.social-count-plus .circle .count-instagram a{background-position:-216px 0 !important}.social-count-plus .flat .count-instagram a{background-position:-192px 0 !important}.social-count-plus .default .count-steam a{background-position:-224px 0 !important}.social-count-plus .circle .count-steam a{background-position:-252px 0 !important}.social-count-plus .flat .count-steam a{background-position:-224px 0 !important}.social-count-plus .default .count-soundcloud a{background-position:-256px 0 !important}.social-count-plus .circle .count-soundcloud a{background-position:-288px 0 !important}.social-count-plus .flat .count-soundcloud a{background-position:-256px 0 !important}.social-count-plus .default .count-twitch a{background-position:-288px 0 !important}.social-count-plus .circle .count-twitch a{background-position:-324px 0 !important}.social-count-plus .flat .count-twitch a{background-position:-288px 0 !important}
assets/images/sprite-circle.png ADDED
Binary file
assets/images/sprite-default.png ADDED
Binary file
assets/images/sprite-flat.png ADDED
Binary file
assets/js/admin.js ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ jQuery( document ).ready( function ( $ ) {
2
+ // Init the color picker.
3
+ $( '.social-count-plus-color-field' ).wpColorPicker();
4
+
5
+ function socialCountPlusShowHide( input ) {
6
+ var current = input.attr( 'id' ),
7
+ id = current.replace( '_active', '' ),
8
+ elements = $( '.form-table [id^="' + id + '"]' )
9
+ .not( '[id^="' + current + '"]' )
10
+ .parent( 'td' )
11
+ .parent( 'tr' );
12
+
13
+ if ( input.is( ':checked' ) ) {
14
+ elements.show();
15
+ } else {
16
+ elements.hide();
17
+ }
18
+ }
19
+
20
+ $( '.form-table input[id$="_active"]' ).each( function () {
21
+ socialCountPlusShowHide( $( this ) );
22
+ });
23
+
24
+ $( '.form-table input[id$="_active"]' ).on( 'click', function () {
25
+ socialCountPlusShowHide( $( this ) );
26
+ });
27
+
28
+ $( '.form-table .social-count-plus-icons-order' ).sortable({
29
+ items: 'div.social-icon',
30
+ cursor: 'move',
31
+ scrollSensitivity: 40,
32
+ forcePlaceholderSize: true,
33
+ forceHelperSize: false,
34
+ helper: 'clone',
35
+ opacity: 0.65,
36
+ placeholder: 'social-icon-placeholder',
37
+ start: function ( event, ui ) {
38
+ ui.item.css('background-color', '#f6f6f6');
39
+ }, stop: function ( event, ui ) {
40
+ ui.item.removeAttr( 'style' );
41
+ }, update: function () {
42
+ var icons = $( '.social-count-plus-icons-order .social-icon' ).map( function () {
43
+ return $( this ).data( 'icon' );
44
+ }).get().join();
45
+
46
+ $( 'input', $( this ) ).val( icons );
47
+ }
48
+ });
49
+ });
assets/js/admin.min.js ADDED
@@ -0,0 +1 @@
 
1
+ jQuery(document).ready(function(a){function b(b){var c=b.attr("id"),d=c.replace("_active",""),e=a('.form-table [id^="'+d+'"]').not('[id^="'+c+'"]').parent("td").parent("tr");b.is(":checked")?e.show():e.hide()}a(".social-count-plus-color-field").wpColorPicker(),a('.form-table input[id$="_active"]').each(function(){b(a(this))}),a('.form-table input[id$="_active"]').on("click",function(){b(a(this))}),a(".form-table .social-count-plus-icons-order").sortable({items:"div.social-icon",cursor:"move",scrollSensitivity:40,forcePlaceholderSize:!0,forceHelperSize:!1,helper:"clone",opacity:.65,placeholder:"social-icon-placeholder",start:function(a,b){b.item.css("background-color","#f6f6f6")},stop:function(a,b){b.item.removeAttr("style")},update:function(){var b=a(".social-count-plus-icons-order .social-icon").map(function(){return a(this).data("icon")}).get().join();a("input",a(this)).val(b)}})});
demos/design-circle-vertical.png ADDED
Binary file
demos/design-circle.png ADDED
Binary file
demos/design-custom-vertical.png ADDED
Binary file
demos/design-custom.png ADDED
Binary file
demos/design-default-vertical.png ADDED
Binary file
demos/design-default.png ADDED
Binary file
demos/design-flat-vertical.png ADDED
Binary file
demos/design-flat.png ADDED
Binary file
includes/abstracts/abstract-social-count-plus-counter.php ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ if ( ! defined( 'ABSPATH' ) ) {
4
+ exit; // Exit if accessed directly
5
+ }
6
+
7
+ /**
8
+ * Social Count Plus Counter.
9
+ *
10
+ * @package Social_Count_Plus/Abstracts
11
+ * @category Abstract
12
+ * @author Claudio Sanches
13
+ */
14
+ abstract class Social_Count_Plus_Counter {
15
+
16
+ /**
17
+ * Total count.
18
+ *
19
+ * @var int
20
+ */
21
+ protected $total = 0;
22
+
23
+ /**
24
+ * Counter ID.
25
+ *
26
+ * @var string
27
+ */
28
+ public $id = '';
29
+
30
+ /**
31
+ * Connection.
32
+ *
33
+ * @var WP_Error|array
34
+ */
35
+ protected $connection = array();
36
+
37
+ /**
38
+ * Test the counter is available.
39
+ *
40
+ * @param array $settings Plugin settings.
41
+ *
42
+ * @return bool
43
+ */
44
+ public function is_available( $settings ) {
45
+ return false;
46
+ }
47
+
48
+ /**
49
+ * Get the total.
50
+ *
51
+ * @param array $settings Plugin settings.
52
+ * @param array $cache Counter cache.
53
+ *
54
+ * @return int
55
+ */
56
+ public function get_total( $settings, $cache ) {
57
+ return $this->total;
58
+ }
59
+
60
+ public function debug() {
61
+ return $this->connection;
62
+ }
63
+ }
includes/admin/class-social-count-plus-admin.php ADDED
@@ -0,0 +1,905 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ if ( ! defined( 'ABSPATH' ) ) {
4
+ exit; // Exit if accessed directly.
5
+ }
6
+
7
+ /**
8
+ * Social Count Plus Admin.
9
+ *
10
+ * @package Social_Count_Plus/Admin
11
+ * @category Admin
12
+ * @author Claudio Sanches
13
+ */
14
+ class Social_Count_Plus_Admin {
15
+
16
+ /**
17
+ * Plugin settings screen.
18
+ *
19
+ * @var string
20
+ */
21
+ public $settings_screen = null;
22
+
23
+ /**
24
+ * Plugin settings.
25
+ *
26
+ * @var array
27
+ */
28
+ public $plugin_settings = array();
29
+
30
+ /**
31
+ * Plugin settings.
32
+ *
33
+ * @var array
34
+ */
35
+ public $plugin_design = array();
36
+
37
+ /**
38
+ * Initialize the plugin admin.
39
+ */
40
+ public function __construct() {
41
+ // Adds admin menu.
42
+ add_action( 'admin_menu', array( $this, 'settings_menu' ) );
43
+
44
+ // Init plugin options form.
45
+ add_action( 'admin_init', array( $this, 'plugin_settings' ) );
46
+
47
+ // Style and scripts.
48
+ add_action( 'admin_enqueue_scripts', array( $this, 'styles_and_scripts' ) );
49
+
50
+ // Actions links.
51
+ add_filter( 'plugin_action_links_social-count-plus/social-count-plus.php', array( $this, 'action_links' ) );
52
+
53
+ // System status report.
54
+ add_action( 'admin_init', array( $this, 'report_file' ) );
55
+
56
+ // Install/update plugin options.
57
+ $this->maybe_install();
58
+ }
59
+
60
+ /**
61
+ * Plugin options.
62
+ *
63
+ * @return array
64
+ */
65
+ protected static function plugin_options() {
66
+ $twitter_oauth_description = sprintf( __( 'Create an App on Twitter in %s and get this information', 'social-count-plus' ), '<a href="https://dev.twitter.com/apps" target="_blank">https://dev.twitter.com/apps</a>' );
67
+
68
+ $facebook_app_description = sprintf( __( 'Create an App on Facebook in %s and get this information', 'social-count-plus' ), '<a href="https://developers.facebook.com/" target="_blank">https://developers.facebook.com/</a>' );
69
+
70
+ $instagram_access_token = sprintf( __( 'Get the this information in %s', 'social-count-plus' ), '<a href="http://www.pinceladasdaweb.com.br/instagram/access-token/" target="_blank">http://www.pinceladasdaweb.com.br/instagram/access-token/</a>' );
71
+
72
+ $settings = array(
73
+ 'socialcountplus_settings' => array(
74
+ 'twitter' => array(
75
+ 'title' => __( 'Twitter', 'social-count-plus' ),
76
+ 'fields' => array(
77
+ 'twitter_active' => array(
78
+ 'title' => __( 'Display Twitter counter', 'social-count-plus' ),
79
+ 'type' => 'checkbox'
80
+ ),
81
+ 'twitter_user' => array(
82
+ 'title' => __( 'Twitter username', 'social-count-plus' ),
83
+ 'type' => 'text',
84
+ 'description' => __( 'Insert the Twitter username. Example: claudiosmweb', 'social-count-plus' )
85
+ ),
86
+ 'twitter_consumer_key' => array(
87
+ 'title' => __( 'Twitter Consumer key', 'social-count-plus' ),
88
+ 'type' => 'text',
89
+ 'description' => $twitter_oauth_description
90
+ ),
91
+ 'twitter_consumer_secret' => array(
92
+ 'title' => __( 'Twitter Consumer secret', 'social-count-plus' ),
93
+ 'type' => 'text',
94
+ 'description' => $twitter_oauth_description
95
+ ),
96
+ 'twitter_access_token' => array(
97
+ 'title' => __( 'Twitter Access token', 'social-count-plus' ),
98
+ 'type' => 'text',
99
+ 'description' => $twitter_oauth_description
100
+ ),
101
+ 'twitter_access_token_secret' => array(
102
+ 'title' => __( 'Twitter Access token secret', 'social-count-plus' ),
103
+ 'type' => 'text',
104
+ 'description' => $twitter_oauth_description
105
+ )
106
+ )
107
+ ),
108
+ 'facebook' => array(
109
+ 'title' => __( 'Facebook', 'social-count-plus' ),
110
+ 'fields' => array(
111
+ 'facebook_active' => array(
112
+ 'title' => __( 'Display Facebook counter', 'social-count-plus' ),
113
+ 'type' => 'checkbox'
114
+ ),
115
+ 'facebook_id' => array(
116
+ 'title' => __( 'Facebook Page ID', 'social-count-plus' ),
117
+ 'type' => 'text',
118
+ 'description' => sprintf(
119
+ '%s<br />%s<br /><code>https://www.facebook.com/pages/edit/?id=<strong>162354720442454</strong></code> %s <code>https://www.facebook.com/<strong>WordPress</strong></code>',
120
+ __( 'ID Facebook page. Must be the numeric ID or your page slug.', 'social-count-plus' ),
121
+ __( 'You can find this information clicking to edit your page on Facebook. The URL will be similar to this:', 'social-count-plus' ),
122
+ __( 'or', 'social-count-plus' )
123
+ )
124
+ ),
125
+ 'facebook_app_id' => array(
126
+ 'title' => __( 'Facebook App ID', 'social-count-plus' ),
127
+ 'type' => 'text',
128
+ 'description' => $facebook_app_description
129
+ ),
130
+ 'facebook_app_secret' => array(
131
+ 'title' => __( 'Facebook App Secret', 'social-count-plus' ),
132
+ 'type' => 'text',
133
+ 'description' => $facebook_app_description
134
+ )
135
+ )
136
+ ),
137
+ 'youtube' => array(
138
+ 'title' => __( 'YouTube', 'social-count-plus' ),
139
+ 'fields' => array(
140
+ 'youtube_active' => array(
141
+ 'title' => __( 'Display YouTube counter', 'social-count-plus' ),
142
+ 'type' => 'checkbox'
143
+ ),
144
+ 'youtube_user' => array(
145
+ 'title' => __( 'YouTube Channel ID', 'social-count-plus' ),
146
+ 'type' => 'text',
147
+ 'description' => sprintf( __( 'Insert the YouTube Channel ID. Example: %s', 'social-count-plus' ), '<code>UCWGz8KbT5IE7PxhSN1jjimw</code>' )
148
+ ),
149
+ 'youtube_url' => array(
150
+ 'title' => __( 'YouTube Channel URL', 'social-count-plus' ),
151
+ 'type' => 'text',
152
+ 'description' => sprintf( __( 'Insert the YouTube channel URL. Example: %s', 'social-count-plus' ), '<code>https://www.youtube.com/user/theclaudiosmweb</code>' )
153
+ ),
154
+ 'youtube_api_key' => array(
155
+ 'title' => __( 'Google API Key', 'social-count-plus' ),
156
+ 'type' => 'text',
157
+ 'description' => sprintf(
158
+ __( 'Get your API key creating a project/app in %s, then inside your project go to "APIs & auth > APIs" and turn on the "YouTube API", finally go to "APIs & auth > APIs > Credentials > Public API access" and click in the "CREATE A NEW KEY" button, select the "Browser key" option and click in the "CREATE" button, now just copy your API key and paste here.', 'social-count-plus' ),
159
+ '<a href="https://console.developers.google.com/project">https://console.developers.google.com/project</a>'
160
+ )
161
+ )
162
+ )
163
+ ),
164
+ 'googleplus' => array(
165
+ 'title' => __( 'Google+', 'social-count-plus' ),
166
+ 'fields' => array(
167
+ 'googleplus_active' => array(
168
+ 'title' => __( 'Display Google+ counter', 'social-count-plus' ),
169
+ 'type' => 'checkbox'
170
+ ),
171
+ 'googleplus_id' => array(
172
+ 'title' => __( 'Google+ ID', 'social-count-plus' ),
173
+ 'type' => 'text',
174
+ 'description' => sprintf(
175
+ '%s<br />%s <code>https://plus.google.com/<strong>106146333300678794719</strong></code> or <code>https://plus.google.com/<strong>+ClaudioSanches</strong></code>',
176
+ __( 'Google+ page or profile ID.', 'social-count-plus' ),
177
+ __( 'Example:', 'social-count-plus' )
178
+ )
179
+ ),
180
+ 'googleplus_api_key' => array(
181
+ 'title' => __( 'Google API Key', 'social-count-plus' ),
182
+ 'type' => 'text',
183
+ 'description' => sprintf(
184
+ __( 'Get your API key creating a project/app in %s, then inside your project go to "APIs & auth > APIs" and turn on the "Google+ API", finally go to "APIs & auth > APIs > Credentials > Public API access" and click in the "CREATE A NEW KEY" button, select the "Browser key" option and click in the "CREATE" button, now just copy your API key and paste here.', 'social-count-plus' ),
185
+ '<a href="https://console.developers.google.com/project">https://console.developers.google.com/project</a>'
186
+ )
187
+ )
188
+ )
189
+ ),
190
+ 'instagram' => array(
191
+ 'title' => __( 'Instagram', 'social-count-plus' ),
192
+ 'fields' => array(
193
+ 'instagram_active' => array(
194
+ 'title' => __( 'Display Instagram counter', 'social-count-plus' ),
195
+ 'type' => 'checkbox'
196
+ ),
197
+ 'instagram_username' => array(
198
+ 'title' => __( 'Instagram Username', 'social-count-plus' ),
199
+ 'type' => 'text',
200
+ 'description' => __( 'Insert the Instagram Username.', 'social-count-plus' )
201
+ ),
202
+ 'instagram_user_id' => array(
203
+ 'title' => __( 'Instagram User ID', 'social-count-plus' ),
204
+ 'type' => 'text',
205
+ 'description' => __( 'Insert the Instagram User ID.', 'social-count-plus' ) . ' ' . $instagram_access_token
206
+ ),
207
+ 'instagram_access_token' => array(
208
+ 'title' => __( 'Instagram Access Token', 'social-count-plus' ),
209
+ 'type' => 'text',
210
+ 'description' => __( 'Insert the Instagram Access Token.', 'social-count-plus' ) . ' ' . $instagram_access_token
211
+ )
212
+ )
213
+ ),
214
+ 'steam' => array(
215
+ 'title' => __( 'Steam', 'social-count-plus' ),
216
+ 'fields' => array(
217
+ 'steam_active' => array(
218
+ 'title' => __( 'Display Steam counter', 'social-count-plus' ),
219
+ 'type' => 'checkbox'
220
+ ),
221
+ 'steam_group_name' => array(
222
+ 'title' => __( 'Steam group name', 'social-count-plus' ),
223
+ 'type' => 'text',
224
+ 'description' => sprintf( __( 'Insert the Steam Community group name. Example: %s', 'social-count-plus' ), '<code>DOTALT</code>' )
225
+ )
226
+ )
227
+ ),
228
+ 'twitch' => array(
229
+ 'title' => __( 'Twitch', 'social-count-plus' ),
230
+ 'fields' => array(
231
+ 'twitch_active' => array(
232
+ 'title' => __( 'Display Twitch counter', 'social-count-plus' ),
233
+ 'type' => 'checkbox'
234
+ ),
235
+ 'twitch_username' => array(
236
+ 'title' => __( 'Twitch username', 'social-count-plus' ),
237
+ 'type' => 'text',
238
+ 'description' => __( 'Insert your Twitch username.', 'social-count-plus' )
239
+ )
240
+ )
241
+ ),
242
+ 'soundcloud' => array(
243
+ 'title' => __( 'SoundCloud', 'social-count-plus' ),
244
+ 'fields' => array(
245
+ 'soundcloud_active' => array(
246
+ 'title' => __( 'Display SoundCloud counter', 'social-count-plus' ),
247
+ 'type' => 'checkbox'
248
+ ),
249
+ 'soundcloud_username' => array(
250
+ 'title' => __( 'SoundCloud Username', 'social-count-plus' ),
251
+ 'type' => 'text',
252
+ 'description' => __( 'Insert the SoundCloud Username.', 'social-count-plus' )
253
+ ),
254
+ 'soundcloud_client_id' => array(
255
+ 'title' => __( 'SoundCloud Client ID', 'social-count-plus' ),
256
+ 'type' => 'text',
257
+ 'description' => sprintf( __( 'Insert the SoundCloud App Client ID. Generate this information in %s', 'social-count-plus' ), '<a href="http://soundcloud.com/you/apps/new" target="_blank">http://soundcloud.com/you/apps/new</a>' )
258
+ )
259
+ )
260
+ ),
261
+ 'posts' => array(
262
+ 'title' => __( 'Posts', 'social-count-plus' ),
263
+ 'fields' => array(
264
+ 'posts_active' => array(
265
+ 'title' => __( 'Display Posts counter', 'social-count-plus' ),
266
+ 'default' => true,
267
+ 'type' => 'checkbox'
268
+ ),
269
+ 'posts_post_type' => array(
270
+ 'title' => __( 'Post type', 'social-count-plus' ),
271
+ 'default' => 'post',
272
+ 'type' => 'post_type'
273
+ ),
274
+ )
275
+ ),
276
+ 'comments' => array(
277
+ 'title' => __( 'Comments', 'social-count-plus' ),
278
+ 'fields' => array(
279
+ 'comments_active' => array(
280
+ 'title' => __( 'Display Comments counter', 'social-count-plus' ),
281
+ 'default' => true,
282
+ 'type' => 'checkbox'
283
+ )
284
+ )
285
+ ),
286
+ 'settings' => array(
287
+ 'title' => __( 'Settings', 'social-count-plus' ),
288
+ 'fields' => array(
289
+ 'target_blank' => array(
290
+ 'title' => __( 'Open URLs in new tab/window', 'social-count-plus' ),
291
+ 'type' => 'checkbox',
292
+ 'description' => sprintf( __( 'This option add %s in all counters URLs.', 'social-count-plus' ), '<code>target="_blank"</code>' )
293
+ ),
294
+ 'rel_nofollow' => array(
295
+ 'title' => __( 'Add nofollow in URLs', 'social-count-plus' ),
296
+ 'type' => 'checkbox',
297
+ 'description' => sprintf( __( 'This option add %s in all counters URLs.', 'social-count-plus' ), '<code>rel="nofollow"</code>' )
298
+ ),
299
+ )
300
+ )
301
+ ),
302
+ 'socialcountplus_design' => array(
303
+ 'design' => array(
304
+ 'title' => __( 'Design', 'social-count-plus' ),
305
+ 'fields' => array(
306
+ 'models' => array(
307
+ 'title' => __( 'Layout Models', 'social-count-plus' ),
308
+ 'default' => '0',
309
+ 'type' => 'models',
310
+ 'options' => array(
311
+ 'design-default.png',
312
+ 'design-default-vertical.png',
313
+ 'design-circle.png',
314
+ 'design-circle-vertical.png',
315
+ 'design-flat.png',
316
+ 'design-flat-vertical.png',
317
+ 'design-custom.png',
318
+ 'design-custom-vertical.png'
319
+ )
320
+ ),
321
+ 'text_color' => array(
322
+ 'title' => __( 'Text Color', 'social-count-plus' ),
323
+ 'default' => '#333333',
324
+ 'type' => 'color'
325
+ ),
326
+ 'icons' => array(
327
+ 'title' => __( 'Order', 'social-count-plus' ),
328
+ 'type' => 'icons_order',
329
+ 'description' => __( 'This option controls the order of the icons in the widget.', 'social-count-plus' )
330
+ )
331
+ )
332
+ )
333
+ )
334
+ );
335
+
336
+ return $settings;
337
+ }
338
+
339
+ /**
340
+ * Add plugin settings menu.
341
+ */
342
+ public function settings_menu() {
343
+ $this->settings_screen = add_options_page(
344
+ __( 'Social Count Plus', 'social-count-plus' ),
345
+ __( 'Social Count Plus', 'social-count-plus' ),
346
+ 'manage_options',
347
+ 'social-count-plus',
348
+ array( $this, 'settings_page' )
349
+ );
350
+ }
351
+
352
+ /**
353
+ * Plugin settings page.
354
+ *
355
+ * @return string
356
+ */
357
+ public function settings_page() {
358
+ $screen = get_current_screen();
359
+
360
+ if ( ! $this->settings_screen || $screen->id !== $this->settings_screen ) {
361
+ return;
362
+ }
363
+
364
+ // Load the plugin options.
365
+ $this->plugin_settings = get_option( 'socialcountplus_settings' );
366
+ $this->plugin_design = get_option( 'socialcountplus_design' );
367
+
368
+ // Create tabs current class.
369
+ $current_tab = '';
370
+ if ( isset( $_GET['tab'] ) ) {
371
+ $current_tab = $_GET['tab'];
372
+ } else {
373
+ $current_tab = 'settings';
374
+ }
375
+
376
+ // Reset transients when save settings page.
377
+ if ( isset( $_GET['settings-updated'] ) && ! ( isset( $_GET['tab'] ) && 'design' == $_GET['tab'] ) ) {
378
+ if ( true == $_GET['settings-updated'] ) {
379
+ // Set transients.
380
+ Social_Count_Plus_Generator::reset_count();
381
+
382
+ // Set the icons order.
383
+ $icons = self::get_current_icons();
384
+ $design = get_option( 'socialcountplus_design', array() );
385
+ $design['icons'] = implode( ',', $icons );
386
+ update_option( 'socialcountplus_design', $design );
387
+ }
388
+ }
389
+
390
+ include 'views/html-settings-page.php';
391
+ }
392
+
393
+ /**
394
+ * Plugin settings form fields.
395
+ */
396
+ public function plugin_settings() {
397
+
398
+ // Process the settings.
399
+ foreach ( self::plugin_options() as $settings_id => $sections ) {
400
+
401
+ // Create the sections.
402
+ foreach ( $sections as $section_id => $section ) {
403
+ add_settings_section(
404
+ $section_id,
405
+ $section['title'],
406
+ '__return_false',
407
+ $settings_id
408
+ );
409
+
410
+ // Create the fields.
411
+ foreach ( $section['fields'] as $field_id => $field ) {
412
+ switch ( $field['type'] ) {
413
+ case 'text':
414
+ add_settings_field(
415
+ $field_id,
416
+ $field['title'],
417
+ array( $this, 'text_element_callback' ),
418
+ $settings_id,
419
+ $section_id,
420
+ array(
421
+ 'tab' => $settings_id,
422
+ 'id' => $field_id,
423
+ 'class' => 'regular-text',
424
+ 'description' => isset( $field['description'] ) ? $field['description'] : ''
425
+ )
426
+ );
427
+ break;
428
+ case 'checkbox':
429
+ add_settings_field(
430
+ $field_id,
431
+ $field['title'],
432
+ array( $this, 'checkbox_element_callback' ),
433
+ $settings_id,
434
+ $section_id,
435
+ array(
436
+ 'tab' => $settings_id,
437
+ 'id' => $field_id,
438
+ 'description' => isset( $field['description'] ) ? $field['description'] : ''
439
+ )
440
+ );
441
+ break;
442
+ case 'post_type':
443
+ add_settings_field(
444
+ $field_id,
445
+ $field['title'],
446
+ array( $this, 'post_type_element_callback' ),
447
+ $settings_id,
448
+ $section_id,
449
+ array(
450
+ 'tab' => $settings_id,
451
+ 'id' => $field_id,
452
+ 'description' => isset( $field['description'] ) ? $field['description'] : ''
453
+ )
454
+ );
455
+ break;
456
+ case 'models':
457
+ add_settings_field(
458
+ $field_id,
459
+ $field['title'],
460
+ array( $this, 'models_element_callback' ),
461
+ $settings_id,
462
+ $section_id,
463
+ array(
464
+ 'tab' => $settings_id,
465
+ 'id' => $field_id,
466
+ 'description' => isset( $field['description'] ) ? $field['description'] : '',
467
+ 'options' => $field['options']
468
+ )
469
+ );
470
+ break;
471
+ case 'icons_order':
472
+ add_settings_field(
473
+ $field_id,
474
+ $field['title'],
475
+ array( $this, 'icons_order_element_callback' ),
476
+ $settings_id,
477
+ $section_id,
478
+ array(
479
+ 'tab' => $settings_id,
480
+ 'id' => $field_id,
481
+ 'description' => isset( $field['description'] ) ? $field['description'] : ''
482
+ )
483
+ );
484
+ break;
485
+ case 'color':
486
+ add_settings_field(
487
+ $field_id,
488
+ $field['title'],
489
+ array( $this, 'color_element_callback' ),
490
+ $settings_id,
491
+ $section_id,
492
+ array(
493
+ 'tab' => $settings_id,
494
+ 'id' => $field_id,
495
+ 'description' => isset( $field['description'] ) ? $field['description'] : ''
496
+ )
497
+ );
498
+ break;
499
+
500
+ default:
501
+ break;
502
+ }
503
+ }
504
+ }
505
+
506
+ // Register the setting.
507
+ register_setting( $settings_id, $settings_id, array( $this, 'validate_options' ) );
508
+ }
509
+ }
510
+
511
+ /**
512
+ * Get option value.
513
+ *
514
+ * @param string $id Option ID.
515
+ * @param mixed $default Default value.
516
+ *
517
+ * @return string
518
+ */
519
+ protected function get_option_value( $id, $default = '' ) {
520
+ $options = array_merge( $this->plugin_settings, $this->plugin_design );
521
+
522
+ return ( isset( $options[ $id ] ) ) ? $options[ $id ] : $default;
523
+ }
524
+
525
+ /**
526
+ * Text element fallback.
527
+ *
528
+ * @param array $args Field arguments.
529
+ *
530
+ * @return string Text field.
531
+ */
532
+ public function text_element_callback( $args ) {
533
+ $tab = $args['tab'];
534
+ $id = $args['id'];
535
+ $class = isset( $args['class'] ) ? $args['class'] : 'small-text';
536
+ $default = isset( $args['default'] ) ? $args['default'] : '';
537
+ $current = $this->get_option_value( $id, $default );
538
+ $html = sprintf( '<input type="text" id="%1$s" name="%2$s[%1$s]" value="%3$s" class="%4$s" />', $id, $tab, $current, $class );
539
+
540
+ // Displays option description.
541
+ if ( isset( $args['description'] ) ) {
542
+ $html .= sprintf( '<p class="description">%s</p>', $args['description'] );
543
+ }
544
+
545
+ echo $html;
546
+ }
547
+
548
+ /**
549
+ * Checkbox field fallback.
550
+ *
551
+ * @param array $args Field arguments.
552
+ *
553
+ * @return string Checkbox field.
554
+ */
555
+ public function checkbox_element_callback( $args ) {
556
+ $tab = $args['tab'];
557
+ $id = $args['id'];
558
+ $default = isset( $args['default'] ) ? $args['default'] : '';
559
+ $current = $this->get_option_value( $id, $default );
560
+ $html = sprintf( '<input type="checkbox" id="%1$s" name="%2$s[%1$s]" value="1"%3$s />', $id, $tab, checked( 1, $current, false ) );
561
+ $html .= sprintf( '<label for="%s"> %s</label><br />', $id, __( 'Activate/Deactivate', 'social-count-plus' ) );
562
+
563
+ // Displays option description.
564
+ if ( isset( $args['description'] ) ) {
565
+ $html .= sprintf( '<p class="description">%s</p>', $args['description'] );
566
+ }
567
+
568
+ echo $html;
569
+ }
570
+
571
+ /**
572
+ * Post Type element fallback.
573
+ *
574
+ * @param array $args Field arguments.
575
+ *
576
+ * @return string Post Type field.
577
+ */
578
+ public function post_type_element_callback( $args ) {
579
+ $tab = $args['tab'];
580
+ $id = $args['id'];
581
+ $default = isset( $args['default'] ) ? $args['default'] : 'post';
582
+ $current = $this->get_option_value( $id, $default );
583
+ $html = '';
584
+
585
+ $html = sprintf( '<select id="%1$s" name="%2$s[%1$s]">', $id, $tab );
586
+ foreach ( get_post_types( array( 'public' => true ), 'objects' ) as $key => $value ) {
587
+ $html .= sprintf( '<option value="%s"%s>%s</option>', $key, selected( $current, $key, false ), $value->label );
588
+ }
589
+ $html .= '</select>';
590
+
591
+ // Displays option description.
592
+ if ( isset( $args['description'] ) ) {
593
+ $html .= sprintf( '<p class="description">%s</p>', $args['description'] );
594
+ }
595
+
596
+ echo $html;
597
+ }
598
+
599
+ /**
600
+ * Models element fallback.
601
+ *
602
+ * @param array $args Field arguments.
603
+ *
604
+ * @return string Models field.
605
+ */
606
+ public function models_element_callback( $args ) {
607
+ $tab = $args['tab'];
608
+ $id = $args['id'];
609
+ $default = isset( $args['default'] ) ? $args['default'] : 0;
610
+ $current = $this->get_option_value( $id, $default );
611
+ $html = '';
612
+ $key = 0;
613
+
614
+ foreach ( $args['options'] as $label ) {
615
+ $html .= sprintf( '<input type="radio" id="%1$s_%2$s_%3$s" name="%1$s[%2$s]" value="%3$s"%4$s style="display: block; float: left; margin: 10px 10px 0 0;" />', $tab, $id, $key, checked( $current, $key, false ) );
616
+ $html .= sprintf( '<label for="%1$s_%2$s_%3$s"> <img src="%4$s" alt="%1$s_%2$s_%3$s" /></label><br style="clear: both;margin-bottom: 20px;" />', $tab, $id, $key, plugins_url( 'demos/' . $label, plugin_dir_path( dirname( __FILE__ ) ) ) );
617
+ $key++;
618
+ }
619
+
620
+ // Displays option description.
621
+ if ( isset( $args['description'] ) ) {
622
+ $html .= sprintf( '<p class="description">%s</p>', $args['description'] );
623
+ }
624
+
625
+ echo $html;
626
+ }
627
+
628
+ /**
629
+ * Icons order element fallback.
630
+ *
631
+ * @param array $args Field arguments.
632
+ *
633
+ * @return string Icons order field.
634
+ */
635
+ public function icons_order_element_callback( $args ) {
636
+ $tab = $args['tab'];
637
+ $id = $args['id'];
638
+ $current = $this->get_option_value( $id );
639
+ $html = '';
640
+
641
+ $html .= '<div class="social-count-plus-icons-order">';
642
+ $html .= sprintf( '<input type="hidden" id="%1$s" name="%2$s[%1$s]" value="%3$s" />', $id, $tab, $current );
643
+ foreach ( explode( ',', $current ) as $icon ) {
644
+ $html .= '<div class="social-icon" data-icon="' . $icon . '">' . $this->get_icon_name_i18n( $icon ) . '</div>';
645
+ }
646
+ $html .= '</div>';
647
+
648
+ // Displays option description.
649
+ if ( isset( $args['description'] ) ) {
650
+ $html .= sprintf( '<p class="description">%s</p>', $args['description'] );
651
+ }
652
+
653
+ echo $html;
654
+ }
655
+
656
+ /**
657
+ * Color element fallback.
658
+ *
659
+ * @param array $args Field arguments.
660
+ *
661
+ * @return string Color field.
662
+ */
663
+ public function color_element_callback( $args ) {
664
+ $tab = $args['tab'];
665
+ $id = $args['id'];
666
+ $default = isset( $args['default'] ) ? $args['default'] : '#333333';
667
+ $current = $this->get_option_value( $id, $default );
668
+ $html = sprintf( '<input type="text" id="%1$s" name="%2$s[%1$s]" value="%3$s" class="social-count-plus-color-field" />', $id, $tab, $current );
669
+
670
+ // Displays option description.
671
+ if ( isset( $args['description'] ) ) {
672
+ $html .= sprintf( '<p class="description">%s</p>', $args['description'] );
673
+ }
674
+
675
+ echo $html;
676
+ }
677
+
678
+ /**
679
+ * Valid options.
680
+ *
681
+ * @param array $input options to valid.
682
+ *
683
+ * @return array validated options.
684
+ */
685
+ public function validate_options( $input ) {
686
+ $output = array();
687
+
688
+ foreach ( $input as $key => $value ) {
689
+ if ( isset( $input[ $key ] ) ) {
690
+ $output[ $key ] = sanitize_text_field( $input[ $key ] );
691
+ }
692
+ }
693
+
694
+ return $output;
695
+ }
696
+
697
+ /**
698
+ * Register admin styles and scripts.
699
+ */
700
+ public function styles_and_scripts() {
701
+ $screen = get_current_screen();
702
+
703
+ if ( $this->settings_screen && $screen->id === $this->settings_screen ) {
704
+ $suffix = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min';
705
+
706
+ wp_enqueue_script( 'wp-color-picker' );
707
+ wp_enqueue_style( 'wp-color-picker' );
708
+ wp_enqueue_script( 'jquery-ui-sortable' );
709
+ wp_enqueue_style( 'social-count-plus-admin', plugins_url( 'assets/css/admin.css', plugin_dir_path( dirname( __FILE__ ) ) ), array(), Social_Count_Plus::VERSION, 'all' );
710
+ wp_enqueue_script( 'social-count-plus-admin', plugins_url( 'assets/js/admin' . $suffix . '.js', plugin_dir_path( dirname( __FILE__ ) ) ), array( 'jquery', 'wp-color-picker' ), Social_Count_Plus::VERSION, true );
711
+ }
712
+ }
713
+
714
+ /**
715
+ * Adds custom settings url in plugins page.
716
+ *
717
+ * @param array $links Default links.
718
+ *
719
+ * @return array Default links and settings link.
720
+ */
721
+ public function action_links( $links ) {
722
+ $settings = array(
723
+ 'settings' => sprintf(
724
+ '<a href="%s">%s</a>',
725
+ admin_url( 'options-general.php?page=social-count-plus' ),
726
+ __( 'Settings', 'social-count-plus' )
727
+ )
728
+ );
729
+
730
+ return array_merge( $settings, $links );
731
+ }
732
+
733
+ /**
734
+ * Generate a system report file.
735
+ *
736
+ * @return string
737
+ */
738
+ public function report_file() {
739
+ if ( ! current_user_can( 'manage_options' ) ) {
740
+ return;
741
+ }
742
+
743
+ if ( ! isset( $_GET['page'] ) || ! isset( $_GET['tab'] ) || ! isset( $_GET['debug_file'] ) ) {
744
+ return;
745
+ }
746
+
747
+ @ob_clean();
748
+
749
+ $debug = array();
750
+ $settings = get_option( 'socialcountplus_settings' );
751
+ $cache = get_option( Social_Count_Plus_Generator::$cache );
752
+ $content = '';
753
+ $counters = apply_filters( 'social_count_plus_counters_test', array(
754
+ 'Social_Count_Plus_Twitter_Counter',
755
+ 'Social_Count_Plus_Facebook_Counter',
756
+ 'Social_Count_Plus_YouTube_Counter',
757
+ 'Social_Count_Plus_GooglePlus_Counter',
758
+ 'Social_Count_Plus_Instagram_Counter',
759
+ 'Social_Count_Plus_Steam_Counter',
760
+ 'Social_Count_Plus_Twitch_Counter',
761
+ 'Social_Count_Plus_SoundCloud_Counter'
762
+ ) );
763
+
764
+ foreach ( $counters as $counter ) {
765
+ $_counter = new $counter();
766
+
767
+ if ( $_counter->is_available( $settings ) ) {
768
+ $_counter->get_total( $settings, $cache );
769
+ $debug[ $_counter->id ] = $_counter->debug();
770
+ }
771
+ }
772
+
773
+ // Set the content.
774
+ $content .= '# ' . __( 'General Info', 'social-count-plus' ) . ' #' . PHP_EOL . PHP_EOL;
775
+ $content .= __( 'Social Count Plus Version', 'social-count-plus' ) . ': ' . Social_Count_Plus::VERSION . PHP_EOL;
776
+ $content .= __( 'WordPress Version', 'social-count-plus' ) . ': ' . esc_attr( get_bloginfo( 'version' ) ) . PHP_EOL;
777
+ $content .= __( 'WP Multisite Enabled', 'social-count-plus' ) . ': ' . ( ( is_multisite() ) ? __( 'Yes', 'social-count-plus' ) : __( 'No', 'social-count-plus' ) ) . PHP_EOL;
778
+ $content .= __( 'Web Server Info', 'social-count-plus' ) . ': ' . esc_html( $_SERVER['SERVER_SOFTWARE'] ) . PHP_EOL;
779
+ $content .= __( 'PHP Version', 'social-count-plus' ) . ': ' . ( function_exists( 'phpversion' ) ? esc_html( phpversion() ) : '' ) . PHP_EOL;
780
+ $content .= 'fsockopen: ' . ( function_exists( 'fsockopen' ) ? __( 'Yes', 'social-count-plus' ) : __( 'No', 'social-count-plus' ) ) . PHP_EOL;
781
+ $content .= 'cURL: ' . ( function_exists( 'curl_init' ) ? __( 'Yes', 'social-count-plus' ) : __( 'No', 'social-count-plus' ) ) . PHP_EOL . PHP_EOL;
782
+ $content .= '# ' . __( 'Social Connections', 'social-count-plus' ) . ' #';
783
+ $content .= PHP_EOL . PHP_EOL;
784
+
785
+ if ( ! empty( $debug ) ) {
786
+ foreach ( $debug as $key => $value ) {
787
+ $content .= '### ' . strtoupper( esc_attr( $key ) ) . ' ###' . PHP_EOL;
788
+ $content .= print_r( $value, true );
789
+ $content .= PHP_EOL . PHP_EOL;
790
+ }
791
+ } else {
792
+ $content .= __( 'You do not have any counter that needs to connect remotely currently active', 'social-count-plus' );
793
+ }
794
+
795
+ header( 'Cache-Control: public' );
796
+ header( 'Content-Description: File Transfer' );
797
+ header( 'Content-Disposition: attachment; filename=social-count-plus-debug-' . date( 'y-m-d-H-i' ) . '.txt' );
798
+ header( 'Content-Type: text/plain' );
799
+ header( 'Content-Transfer-Encoding: binary' );
800
+
801
+ echo $content;
802
+ exit;
803
+ }
804
+
805
+ /**
806
+ * Maybe install.
807
+ */
808
+ public static function maybe_install() {
809
+ $version = get_option( 'socialcountplus_version', '0' );
810
+
811
+ if ( version_compare( $version, Social_Count_Plus::VERSION, '<' ) ) {
812
+
813
+ // Install options and updated old versions for 3.0.0.
814
+ if ( version_compare( $version, '3.0.0', '<' ) ) {
815
+ foreach ( self::plugin_options() as $settings_id => $sections ) {
816
+ $saved = get_option( $settings_id, array() );
817
+
818
+ foreach ( $sections as $section_id => $section ) {
819
+ foreach ( $section['fields'] as $field_id => $field ) {
820
+ $default = isset( $field['default'] ) ? $field['default'] : '';
821
+
822
+ if ( isset( $saved[ $field_id ] ) || '' === $default ) {
823
+ continue;
824
+ }
825
+
826
+ $saved[ $field_id ] = $default;
827
+ }
828
+ }
829
+
830
+ update_option( $settings_id, $saved );
831
+ }
832
+
833
+ // Set the icons order.
834
+ $icons = self::get_current_icons();
835
+ $design = get_option( 'socialcountplus_design', array() );
836
+ $design['icons'] = implode( ',', $icons );
837
+ update_option( 'socialcountplus_design', $design );
838
+ }
839
+
840
+ // Save plugin version.
841
+ update_option( 'socialcountplus_version', Social_Count_Plus::VERSION );
842
+
843
+ // Reset the counters.
844
+ Social_Count_Plus_Generator::reset_count();
845
+ }
846
+ }
847
+
848
+ /**
849
+ * Get current icons.
850
+ *
851
+ * @return array
852
+ */
853
+ protected static function get_current_icons() {
854
+ $settings = get_option( 'socialcountplus_settings', array() );
855
+ $design = get_option( 'socialcountplus_design', array() );
856
+ $current = isset( $design['icons'] ) ? explode( ',', $design['icons'] ) : array();
857
+ $icons = array();
858
+
859
+ if ( function_exists( 'preg_filter' ) ) {
860
+ $saved = array_values( preg_filter('/^(.*)_active/', '$1', array_keys( $settings ) ) );
861
+ } else {
862
+ $saved = array_values( array_diff( preg_replace( '/^(.*)_active/', '$1', array_keys( $settings ) ), array_keys( $settings ) ) );
863
+ }
864
+
865
+ $icons = array_unique( array_filter( array_merge( $current, $saved ) ) );
866
+
867
+ // Exclude extra values.
868
+ $diff = array_diff( $current, $saved );
869
+ foreach ( $diff as $key => $value ) {
870
+ unset( $icons[ $key ] );
871
+ }
872
+
873
+ return $icons;
874
+ }
875
+
876
+ /**
877
+ * Get icons names.
878
+ *
879
+ * @param string $slug
880
+ *
881
+ * @return string
882
+ */
883
+ protected function get_icon_name_i18n( $slug ) {
884
+ $names = apply_filters( 'social_count_plus_icon_name_i18n', array(
885
+ 'twitter' => __( 'Twitter', 'social-count-plus' ),
886
+ 'facebook' => __( 'Facebook', 'social-count-plus' ),
887
+ 'youtube' => __( 'YouTube', 'social-count-plus' ),
888
+ 'googleplus' => __( 'Google+', 'social-count-plus' ),
889
+ 'instagram' => __( 'Instagram', 'social-count-plus' ),
890
+ 'steam' => __( 'Steam', 'social-count-plus' ),
891
+ 'twitch' => __( 'Twitch', 'social-count-plus' ),
892
+ 'soundcloud' => __( 'SoundCloud', 'social-count-plus' ),
893
+ 'posts' => __( 'Posts', 'social-count-plus' ),
894
+ 'comments' => __( 'Comments', 'social-count-plus' )
895
+ ) );
896
+
897
+ if ( ! isset( $names[ $slug ] ) ) {
898
+ return $slug;
899
+ }
900
+
901
+ return $names[ $slug ];
902
+ }
903
+ }
904
+
905
+ new Social_Count_Plus_Admin;
includes/admin/views/html-settings-functions-shortcodes-page.php ADDED
@@ -0,0 +1,105 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ if ( ! defined( 'ABSPATH' ) ) {
3
+ exit; // Exit if accessed directly
4
+ }
5
+ ?>
6
+
7
+ <p><?php _e( 'Use this library to generate your own model layout or display specific data counters.', 'social-count-plus' ); ?></p>
8
+
9
+ <h3><?php _e( 'Shortcodes', 'social-count-plus' ); ?></h3>
10
+
11
+ <p><?php _e( 'Note: the shortcodes displays only the count in plain text.', 'social-count-plus' ); ?></p>
12
+
13
+ <table class="form-table">
14
+ <tr>
15
+ <th scope="row"><?php _e( 'Twitter counter', 'social-count-plus' ); ?></th>
16
+ <td><p><code>[scp code=&quot;twitter&quot;]</code></p></td>
17
+ </tr>
18
+ <tr>
19
+ <th scope="row"><?php _e( 'Facebook counter', 'social-count-plus' ); ?></th>
20
+ <td><p><code>[scp code=&quot;facebook&quot;]</code></p></td>
21
+ </tr>
22
+ <tr>
23
+ <th scope="row"><?php _e( 'YouTube counter', 'social-count-plus' ); ?></th>
24
+ <td><p><code>[scp code=&quot;youtube&quot;]</code></p></td>
25
+ </tr>
26
+ <tr>
27
+ <th scope="row"><?php _e( 'Google Plus counter', 'social-count-plus' ); ?></th>
28
+ <td><p><code>[scp code=&quot;googleplus&quot;]</code></p></td>
29
+ </tr>
30
+ <tr>
31
+ <th scope="row"><?php _e( 'Instagram counter', 'social-count-plus' ); ?></th>
32
+ <td><p><code>[scp code=&quot;instagram&quot;]</code></p></td>
33
+ </tr>
34
+ <tr>
35
+ <th scope="row"><?php _e( 'Steam counter', 'social-count-plus' ); ?></th>
36
+ <td><p><code>[scp code=&quot;steam&quot;]</code></p></td>
37
+ </tr>
38
+ <tr>
39
+ <th scope="row"><?php _e( 'Twitch counter', 'social-count-plus' ); ?></th>
40
+ <td><p><code>[scp code=&quot;twitch&quot;]</code></p></td>
41
+ </tr>
42
+ <tr>
43
+ <th scope="row"><?php _e( 'SoundCloud counter', 'social-count-plus' ); ?></th>
44
+ <td><p><code>[scp code=&quot;soundcloud&quot;]</code></p></td>
45
+ </tr>
46
+ <tr>
47
+ <th scope="row"><?php _e( 'Posts counter', 'social-count-plus' ); ?></th>
48
+ <td><p><code>[scp code=&quot;posts&quot;]</code></p></td>
49
+ </tr>
50
+ <tr>
51
+ <th scope="row"><?php _e( 'Comments counter', 'social-count-plus' ); ?></th>
52
+ <td><p><code>[scp code=&quot;comments&quot;]</code></p></td>
53
+ </tr>
54
+ </table>
55
+
56
+ <h3><?php _e( 'Functions', 'social-count-plus' ); ?></h3>
57
+
58
+ <p><?php _e( 'Note: the functions displays only the count in plain text, except the <code>get_scp_widget()</code> function that displays with images.', 'social-count-plus' ); ?></p>
59
+
60
+ <table class="form-table">
61
+ <tr>
62
+ <th scope="row"><?php _e( 'Twitter counter', 'social-count-plus' ); ?></th>
63
+ <td><p><code>&lt;?php echo get_scp_twitter(); ?&gt;</code></p></td>
64
+ </tr>
65
+ <tr>
66
+ <th scope="row"><?php _e( 'Facebook counter', 'social-count-plus' ); ?></th>
67
+ <td><p><code>&lt;?php echo get_scp_facebook(); ?&gt;</code></p></td>
68
+ </tr>
69
+ <tr>
70
+ <th scope="row"><?php _e( 'YouTube counter', 'social-count-plus' ); ?></th>
71
+ <td><p><code>&lt;?php echo get_scp_youtube(); ?&gt;</code></p></td>
72
+ </tr>
73
+ <tr>
74
+ <th scope="row"><?php _e( 'Google Plus counter', 'social-count-plus' ); ?></th>
75
+ <td><p><code>&lt;?php echo get_scp_googleplus(); ?&gt;</code></p></td>
76
+ </tr>
77
+ <tr>
78
+ <th scope="row"><?php _e( 'Instagram counter', 'social-count-plus' ); ?></th>
79
+ <td><p><code>&lt;?php echo get_scp_instagram(); ?&gt;</code></p></td>
80
+ </tr>
81
+ <tr>
82
+ <th scope="row"><?php _e( 'Steam counter', 'social-count-plus' ); ?></th>
83
+ <td><p><code>&lt;?php echo get_scp_steam(); ?&gt;</code></p></td>
84
+ </tr>
85
+ <tr>
86
+ <th scope="row"><?php _e( 'Twitch counter', 'social-count-plus' ); ?></th>
87
+ <td><p><code>&lt;?php echo get_scp_twitch(); ?&gt;</code></p></td>
88
+ </tr>
89
+ <tr>
90
+ <th scope="row"><?php _e( 'SoundCloud counter', 'social-count-plus' ); ?></th>
91
+ <td><p><code>&lt;?php echo get_scp_soundcloud(); ?&gt;</code></p></td>
92
+ </tr>
93
+ <tr>
94
+ <th scope="row"><?php _e( 'Posts counter', 'social-count-plus' ); ?></th>
95
+ <td><p><code>&lt;?php echo get_scp_posts(); ?&gt;</code></p></td>
96
+ </tr>
97
+ <tr>
98
+ <th scope="row"><?php _e( 'Comments counter', 'social-count-plus' ); ?></th>
99
+ <td><p><code>&lt;?php echo get_scp_comments(); ?&gt;</code></p></td>
100
+ </tr>
101
+ <tr>
102
+ <th scope="row"><?php _e( 'Full widget', 'social-count-plus' ); ?></th>
103
+ <td><p><code>&lt;?php echo get_scp_widget(); ?&gt;</code></p></td>
104
+ </tr>
105
+ </table>
includes/admin/views/html-settings-page.php ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ if ( ! defined( 'ABSPATH' ) ) {
3
+ exit; // Exit if accessed directly
4
+ }
5
+ ?>
6
+
7
+ <div class="wrap">
8
+ <h2 class="nav-tab-wrapper">
9
+ <a href="options-general.php?page=social-count-plus&amp;tab=settings" class="nav-tab <?php echo $current_tab == 'settings' ? 'nav-tab-active' : ''; ?>"><?php _e( 'Settings', 'social-count-plus' ); ?></a><a href="options-general.php?page=social-count-plus&amp;tab=design" class="nav-tab <?php echo $current_tab == 'design' ? 'nav-tab-active' : ''; ?>"><?php _e( 'Design', 'social-count-plus' ); ?></a><a href="options-general.php?page=social-count-plus&amp;tab=shortcodes" class="nav-tab <?php echo $current_tab == 'shortcodes' ? 'nav-tab-active' : ''; ?>"><?php _e( 'Shortcodes and Functions', 'social-count-plus' ); ?></a><a href="options-general.php?page=social-count-plus&amp;tab=system_status" class="nav-tab <?php echo $current_tab == 'system_status' ? 'nav-tab-active' : ''; ?>"><?php _e( 'System Status', 'social-count-plus' ); ?></a>
10
+ </h2>
11
+
12
+ <?php
13
+ if ( isset( $this->plugin_settings['twitter_active'] ) && (
14
+ empty( $this->plugin_settings['twitter_user'] )
15
+ || empty( $this->plugin_settings['twitter_consumer_key'] )
16
+ || empty( $this->plugin_settings['twitter_consumer_secret'] )
17
+ || empty( $this->plugin_settings['twitter_access_token'] )
18
+ || empty( $this->plugin_settings['twitter_access_token_secret'] )
19
+ ) ) :
20
+ ?>
21
+ <div class="error">
22
+ <p><?php _e( 'To use the counter of Twitter you need to fill the fields:', 'social-count-plus' ); ?></p>
23
+ <ul style="list-style: disc; margin-left: 20px;">
24
+ <li><strong><?php _e( 'Twitter username', 'social-count-plus' ); ?></strong></li>
25
+ <li><strong><?php _e( 'Twitter Consumer key', 'social-count-plus' ); ?></strong></li>
26
+ <li><strong><?php _e( 'Twitter Consumer secret', 'social-count-plus' ); ?></strong></li>
27
+ <li><strong><?php _e( 'Twitter Access token', 'social-count-plus' ); ?></strong></li>
28
+ <li><strong><?php _e( 'Twitter Access token secret', 'social-count-plus' ); ?></strong></li>
29
+ </ul>
30
+ </div>
31
+ <?php endif; ?>
32
+
33
+ <form method="post" action="options.php">
34
+ <?php
35
+ if ( 'design' == $current_tab ) {
36
+ settings_fields( 'socialcountplus_design' );
37
+ do_settings_sections( 'socialcountplus_design' );
38
+ submit_button();
39
+ } else if ( 'shortcodes' == $current_tab ) {
40
+ include 'html-settings-functions-shortcodes-page.php';
41
+ } else if ( 'system_status' == $current_tab ) {
42
+ include 'html-settings-system-status-page.php';
43
+ } else {
44
+ settings_fields( 'socialcountplus_settings' );
45
+ do_settings_sections( 'socialcountplus_settings' );
46
+ submit_button();
47
+ }
48
+ ?>
49
+ </form>
50
+ </div>
includes/admin/views/html-settings-system-status-page.php ADDED
@@ -0,0 +1,77 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <table id="social-count-plus-system-status" class="widefat" cellspacing="0">
2
+
3
+ <thead>
4
+ <tr>
5
+ <th colspan="2"><?php _e( 'Environment', 'social-count-plus' ); ?></th>
6
+ </tr>
7
+ </thead>
8
+
9
+ <tbody>
10
+ <tr>
11
+ <td><?php _e( 'Social Count Plus Version', 'social-count-plus' ); ?>:</td>
12
+ <td><?php echo Social_Count_Plus::VERSION; ?></td>
13
+ </tr>
14
+ <tr>
15
+ <td><?php _e( 'WordPress Version', 'social-count-plus' ); ?>:</td>
16
+ <td><?php echo esc_attr( get_bloginfo( 'version' ) ); ?></td>
17
+ </tr>
18
+ <tr>
19
+ <td><?php _e( 'WP Multisite Enabled', 'social-count-plus' ); ?>:</td>
20
+ <td><?php if ( is_multisite() ) echo __( 'Yes', 'social-count-plus' ); else echo __( 'No', 'social-count-plus' ); ?></td>
21
+ </tr>
22
+ <tr>
23
+ <td><?php _e( 'Web Server Info', 'social-count-plus' ); ?>:</td>
24
+ <td><?php echo esc_html( $_SERVER['SERVER_SOFTWARE'] ); ?></td>
25
+ </tr>
26
+ <tr>
27
+ <td><?php _e( 'PHP Version', 'social-count-plus' ); ?>:</td>
28
+ <td><?php if ( function_exists( 'phpversion' ) ) { echo esc_html( phpversion() ); } ?></td>
29
+ </tr>
30
+ <tr>
31
+ <?php
32
+ $connection_status = 'error';
33
+ $connection_note = __( 'Your server does not have fsockopen or cURL enabled. The scripts which communicate with the social APIs will not work. Contact your hosting provider.', 'social-count-plus' );
34
+
35
+ if ( function_exists( 'fsockopen' ) || function_exists( 'curl_init' ) ) {
36
+ if ( function_exists( 'fsockopen' ) && function_exists( 'curl_init' ) ) {
37
+ $connection_note = __( 'Your server has fsockopen and cURL enabled.', 'social-count-plus' );
38
+ } elseif ( function_exists( 'fsockopen' ) ) {
39
+ $connection_note = __( 'Your server has fsockopen enabled, cURL is disabled.', 'social-count-plus' );
40
+ } else {
41
+ $connection_note = __( 'Your server has cURL enabled, fsockopen is disabled.', 'social-count-plus' );
42
+ }
43
+
44
+ $connection_status = 'yes';
45
+ }
46
+ ?>
47
+ <td><?php _e( 'fsockopen/cURL', 'social-count-plus' ); ?>:</td>
48
+ <td>
49
+ <mark class="<?php echo $connection_status; ?>">
50
+ <?php echo $connection_note; ?>
51
+ </mark>
52
+ </td>
53
+ </tr>
54
+ <tr>
55
+ <?php
56
+ $remote_status = 'error';
57
+ $remote_note = __( 'wp_remote_get() failed. This may not work with your server.', 'social-count-plus' );
58
+ $response = wp_remote_get( 'https://httpbin.org/ip', array( 'timeout' => 60 ) );
59
+
60
+ if ( ! is_wp_error( $response ) && $response['response']['code'] >= 200 && $response['response']['code'] < 300 ) {
61
+ $remote_status = 'yes';
62
+ $remote_note = __( 'wp_remote_get() was successful.', 'social-count-plus' );
63
+ } elseif ( is_wp_error( $response ) ) {
64
+ $remote_note = __( 'wp_remote_get() failed. This plugin won\'t work with your server. Contact your hosting provider. Error:', 'social-count-plus' ) . ' ' . $response->get_error_message();
65
+ }
66
+ ?>
67
+ <td><?php _e( 'WP Remote Get', 'social-count-plus' ); ?>:</td>
68
+ <td>
69
+ <mark class="<?php echo $remote_status; ?>">
70
+ <?php echo $remote_note; ?>
71
+ </mark>
72
+ </td>
73
+ </tr>
74
+ </tbody>
75
+ </table>
76
+
77
+ <p class="submit"><a href="<?php echo esc_url( add_query_arg( array( 'page' => 'social-count-plus', 'tab' => 'system_status', 'debug_file' => 'true' ), admin_url( 'admin.php' ) ) ); ?>" class="button-primary"><?php _e( 'Get System Report', 'social-count-plus' ); ?></a></p>
includes/class-social-count-plus-generator.php ADDED
@@ -0,0 +1,88 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ if ( ! defined( 'ABSPATH' ) ) {
4
+ exit; // Exit if accessed directly.
5
+ }
6
+
7
+ /**
8
+ * Social Count Plus Generator.
9
+ *
10
+ * @package Social_Count_Plus/Generator
11
+ * @category Generator
12
+ * @author Claudio Sanches
13
+ */
14
+ class Social_Count_Plus_Generator {
15
+
16
+ /**
17
+ * Transient name.
18
+ *
19
+ * @var string
20
+ */
21
+ public static $transient = 'socialcountplus_counter';
22
+
23
+ /**
24
+ * Cache option name.
25
+ *
26
+ * @var string
27
+ */
28
+ public static $cache = 'socialcountplus_cache';
29
+
30
+ /**
31
+ * Update the counters.
32
+ *
33
+ * @return array
34
+ */
35
+ public static function get_count() {
36
+ // Get transient.
37
+ $total = get_transient( self::$transient );
38
+
39
+ // Test transient if exist.
40
+ if ( false != $total ) {
41
+ return $total;
42
+ }
43
+
44
+ $total = array();
45
+ $settings = get_option( 'socialcountplus_settings' );
46
+ $cache = get_option( self::$cache );
47
+ $counters = apply_filters( 'social_count_plus_counters', array(
48
+ 'Social_Count_Plus_Twitter_Counter',
49
+ 'Social_Count_Plus_Facebook_Counter',
50
+ 'Social_Count_Plus_YouTube_Counter',
51
+ 'Social_Count_Plus_GooglePlus_Counter',
52
+ 'Social_Count_Plus_Instagram_Counter',
53
+ 'Social_Count_Plus_Steam_Counter',
54
+ 'Social_Count_Plus_Twitch_Counter',
55
+ 'Social_Count_Plus_SoundCloud_Counter',
56
+ 'Social_Count_Plus_Posts_Counter',
57
+ 'Social_Count_Plus_Comments_Counter',
58
+ ) );
59
+
60
+ foreach ( $counters as $counter ) {
61
+ $_counter = new $counter();
62
+ $total[ $_counter->id ] = $_counter->get_total( $settings, $cache );
63
+ }
64
+
65
+ // Update plugin extra cache.
66
+ update_option( self::$cache, $total );
67
+
68
+ // Update counter transient.
69
+ set_transient( self::$transient, $total, apply_filters( 'social_count_plus_transient_time', 60*60*24 ) ); // 24 hours.
70
+
71
+ return $total;
72
+ }
73
+
74
+ /**
75
+ * Delete the counters.
76
+ */
77
+ public static function delete_count() {
78
+ delete_transient( self::$transient );
79
+ }
80
+
81
+ /**
82
+ * Reset the counters.
83
+ */
84
+ public static function reset_count() {
85
+ self::delete_count();
86
+ self::get_count();
87
+ }
88
+ }
includes/class-social-count-plus-shortcodes.php ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ if ( ! defined( 'ABSPATH' ) ) {
4
+ exit; // Exit if accessed directly.
5
+ }
6
+
7
+ /**
8
+ * Social Count Plus Shortcode.
9
+ *
10
+ * @package Social_Count_Plus/Shortcode
11
+ * @category Shortcode
12
+ * @author Claudio Sanches
13
+ */
14
+ class Social_Count_Plus_Shortcodes {
15
+
16
+ /**
17
+ * Counter.
18
+ *
19
+ * @param array $atts Shortcode attributes.
20
+ *
21
+ * @return string Counter in text.
22
+ */
23
+ public static function counter( $atts ) {
24
+ $count = Social_Count_Plus_Generator::get_count();
25
+
26
+ extract(
27
+ shortcode_atts(
28
+ array(
29
+ 'code' => 'twitter'
30
+ ),
31
+ $atts
32
+ )
33
+ );
34
+
35
+ $counter = $count[ $code ];
36
+
37
+ return apply_filters( 'social_count_plus_number_format', $counter );
38
+ }
39
+ }
includes/class-social-count-plus-view.php ADDED
@@ -0,0 +1,242 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ if ( ! defined( 'ABSPATH' ) ) {
4
+ exit; // Exit if accessed directly.
5
+ }
6
+
7
+ /**
8
+ * Social Count Plus View.
9
+ *
10
+ * @package Social_Count_Plus/View
11
+ * @category View
12
+ * @author Claudio Sanches
13
+ */
14
+ class Social_Count_Plus_View {
15
+
16
+ /**
17
+ * Construct view li element.
18
+ *
19
+ * @param string $slug Item slug.
20
+ * @param string $url Item url.
21
+ * @param int $count Item count.
22
+ * @param string $title Item title.
23
+ * @param array $settings Item settings.
24
+ *
25
+ * @return string HTML li element.
26
+ */
27
+ protected static function get_view_li( $slug, $url, $count, $title, $color, $settings ) {
28
+ $target_blank = isset( $settings['target_blank'] ) ? ' target="_blank"' : '';
29
+ $rel_nofollow = isset( $settings['rel_nofollow'] ) ? ' rel="nofollow"' : '';
30
+
31
+ $html = sprintf( '<li class="count-%s">', $slug );
32
+ $html .= sprintf( '<a class="icon" href="%s"%s%s></a>', esc_url( $url ), $target_blank, $rel_nofollow );
33
+ $html .= '<span class="items">';
34
+ $html .= sprintf( '<span class="count" style="color: %s !important;">%s</span>', $color, apply_filters( 'social_count_plus_number_format', $count ) );
35
+ $html .= sprintf( '<span class="label" style="color: %s !important;">%s</span>', $color, $title );
36
+ $html .= '</span>';
37
+ $html .= '</li>';
38
+
39
+ return $html;
40
+ }
41
+
42
+ /**
43
+ * Get the Twitter counter.
44
+ *
45
+ * @param array $settings Plugin settings.
46
+ * @param int $total Counter total.
47
+ * @param string $color Text color.
48
+ *
49
+ * @return string Counter html.
50
+ */
51
+ protected static function get_twitter_counter( $settings, $total, $color ) {
52
+ return self::get_view_li( 'twitter', 'https://twitter.com/' . $settings['twitter_user'], $total, __( 'followers', 'social-count-plus' ), $color, $settings );
53
+ }
54
+
55
+ /**
56
+ * Get the Facebook counter.
57
+ *
58
+ * @param array $settings Plugin settings.
59
+ * @param int $total Counter total.
60
+ * @param string $color Text color.
61
+ *
62
+ * @return string Counter html.
63
+ */
64
+ protected static function get_facebook_counter( $settings, $total, $color ) {
65
+ return self::get_view_li( 'facebook', 'https://www.facebook.com/' . $settings['facebook_id'], $total, __( 'likes', 'social-count-plus' ), $color, $settings );
66
+ }
67
+
68
+ /**
69
+ * Get the YouTube counter.
70
+ *
71
+ * @param array $settings Plugin settings.
72
+ * @param int $total Counter total.
73
+ * @param string $color Text color.
74
+ *
75
+ * @return string Counter html.
76
+ */
77
+ protected static function get_youtube_counter( $settings, $total, $color ) {
78
+ return self::get_view_li( 'youtube', esc_url( $settings['youtube_url'] ), $total, __( 'subscribers', 'social-count-plus' ), $color, $settings );
79
+ }
80
+
81
+ /**
82
+ * Get the Google+ counter.
83
+ *
84
+ * @param array $settings Plugin settings.
85
+ * @param int $total Counter total.
86
+ * @param string $color Text color.
87
+ *
88
+ * @return string Counter html.
89
+ */
90
+ protected static function get_googleplus_counter( $settings, $total, $color ) {
91
+ return self::get_view_li( 'googleplus', 'https://plus.google.com/' . $settings['googleplus_id'], $total, __( 'followers', 'social-count-plus' ), $color, $settings );
92
+ }
93
+
94
+ /**
95
+ * Get the Instagram counter.
96
+ *
97
+ * @param array $settings Plugin settings.
98
+ * @param int $total Counter total.
99
+ * @param string $color Text color.
100
+ *
101
+ * @return string Counter html.
102
+ */
103
+ protected static function get_instagram_counter( $settings, $total, $color ) {
104
+ return self::get_view_li( 'instagram', 'https://instagram.com/' . $settings['instagram_username'], $total, __( 'followers', 'social-count-plus' ), $color, $settings );
105
+ }
106
+
107
+ /**
108
+ * Get the Steam counter.
109
+ *
110
+ * @param array $settings Plugin settings.
111
+ * @param int $total Counter total.
112
+ * @param string $color Text color.
113
+ *
114
+ * @return string Counter html.
115
+ */
116
+ protected static function get_steam_counter( $settings, $total, $color ) {
117
+ return self::get_view_li( 'steam', 'https://steamcommunity.com/groups/' . $settings['steam_group_name'], $total, __( 'members', 'social-count-plus' ), $color, $settings );
118
+ }
119
+
120
+ /**
121
+ * Get the SoundCloud counter.
122
+ *
123
+ * @param array $settings Plugin settings.
124
+ * @param int $total Counter total.
125
+ * @param string $color Text color.
126
+ *
127
+ * @return string Counter html.
128
+ */
129
+ protected static function get_soundcloud_counter( $settings, $total, $color ) {
130
+ return self::get_view_li( 'soundcloud', 'https://soundcloud.com/' . $settings['soundcloud_username'], $total, __( 'followers', 'social-count-plus' ), $color, $settings );
131
+ }
132
+
133
+ /**
134
+ * Get the Twitch counter.
135
+ *
136
+ * @param array $settings Plugin settings.
137
+ * @param int $total Counter total.
138
+ * @param string $color Text color.
139
+ *
140
+ * @return string Counter html.
141
+ */
142
+ protected static function get_twitch_counter( $settings, $total, $color ) {
143
+ return self::get_view_li( 'twitch', 'http://www.twitch.tv/' . $settings['twitch_username'] . '/profile', $total, __( 'followers', 'social-count-plus' ), $color, $settings );
144
+ }
145
+
146
+ /**
147
+ * Get the Posts counter.
148
+ *
149
+ * @param array $settings Plugin settings.
150
+ * @param int $total Counter total.
151
+ * @param string $color Text color.
152
+ *
153
+ * @return string Counter html.
154
+ */
155
+ protected static function get_posts_counter( $settings, $total, $color ) {
156
+ $post_type = ( isset( $settings['posts_post_type'] ) && ! empty( $settings['posts_post_type'] ) ) ? $settings['posts_post_type'] : 'post';
157
+ $post_object = get_post_type_object( $post_type );
158
+
159
+ unset( $settings['target_blank'] );
160
+ unset( $settings['rel_nofollow'] );
161
+
162
+ return self::get_view_li( 'posts', get_home_url(), $total, strtolower( $post_object->label ), $color, $settings );
163
+ }
164
+
165
+ /**
166
+ * Get the Comments counter.
167
+ *
168
+ * @param array $settings Plugin settings.
169
+ * @param int $total Counter total.
170
+ * @param string $color Text color.
171
+ *
172
+ * @return string Counter html.
173
+ */
174
+ protected static function get_comments_counter( $settings, $total, $color ) {
175
+ unset( $settings['target_blank'] );
176
+ unset( $settings['rel_nofollow'] );
177
+
178
+ return self::get_view_li( 'comments', get_home_url(), $total, __( 'comments', 'social-count-plus' ), $color, $settings );
179
+ }
180
+
181
+ /**
182
+ * Widget view.
183
+ *
184
+ * @return string
185
+ */
186
+ public static function get_view() {
187
+ wp_enqueue_style( 'social-count-plus' );
188
+
189
+ $settings = get_option( 'socialcountplus_settings' );
190
+ $design = get_option( 'socialcountplus_design' );
191
+ $count = Social_Count_Plus_Generator::get_count();
192
+ $color = isset( $design['text_color'] ) ? $design['text_color'] : '#333333';
193
+ $icons = isset( $design['icons'] ) ? array_map( 'sanitize_key', explode( ',', $design['icons'] ) ) : array();
194
+
195
+ // Sets view design.
196
+ $style = '';
197
+ switch ( $design['models'] ) {
198
+ case 1:
199
+ $style = 'default vertical';
200
+ break;
201
+ case 2:
202
+ $style = 'circle';
203
+ break;
204
+ case 3:
205
+ $style = 'circle vertical';
206
+ break;
207
+ case 4:
208
+ $style = 'flat';
209
+ break;
210
+ case 5:
211
+ $style = 'flat vertical';
212
+ break;
213
+ case 6:
214
+ $style = 'custom';
215
+ break;
216
+ case 7:
217
+ $style = 'custom vertical';
218
+ break;
219
+
220
+ default:
221
+ $style = 'default';
222
+ break;
223
+ }
224
+
225
+ $html = '<div class="social-count-plus">';
226
+ $html .= '<ul class="' . $style . '">';
227
+
228
+ foreach ( $icons as $icon ) {
229
+ $method = 'get_' . $icon . '_counter';
230
+ if ( method_exists( get_class(), $method ) ) {
231
+ $html .= self::$method( $settings, $count[ $icon ], $color );
232
+ } else {
233
+ $html .= apply_filters( 'social_count_plus_' . $icon . 'html_counter', '', $settings, $count[ $icon ], $color );
234
+ }
235
+ }
236
+
237
+ $html .= '</ul>';
238
+ $html .= '</div>';
239
+
240
+ return $html;
241
+ }
242
+ }
includes/class-social-count-plus-widget.php ADDED
@@ -0,0 +1,78 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ if ( ! defined( 'ABSPATH' ) ) {
4
+ exit; // Exit if accessed directly.
5
+ }
6
+
7
+ /**
8
+ * Register Social Count Plus widget.
9
+ */
10
+ class SocialCountPlus extends WP_Widget {
11
+
12
+ /**
13
+ * Register widget with WordPress.
14
+ */
15
+ public function __construct() {
16
+ parent::__construct(
17
+ 'SocialCountPlus',
18
+ __( 'Social Count Plus', 'social-count-plus' ),
19
+ array( 'description' => __( 'Display the counter', 'social-count-plus' ) )
20
+ );
21
+ }
22
+
23
+ /**
24
+ * Front-end display of widget.
25
+ *
26
+ * @see WP_Widget::widget()
27
+ *
28
+ * @param array $args Widget arguments.
29
+ * @param array $instance Saved values from database.
30
+ */
31
+ public function widget( $args, $instance ) {
32
+ $title = apply_filters( 'widget_title', $instance['title'] );
33
+
34
+ echo $args['before_widget'];
35
+
36
+ if ( ! empty( $title ) ) {
37
+ echo $args['before_title'] . $title . $args['after_title'];
38
+ }
39
+
40
+ echo Social_Count_Plus_View::get_view();
41
+
42
+ echo $args['after_widget'];
43
+ }
44
+
45
+ /**
46
+ * Back-end widget form.
47
+ *
48
+ * @see WP_Widget::form()
49
+ *
50
+ * @param array $instance Previously saved values from database.
51
+ */
52
+ public function form( $instance ) {
53
+ if ( isset( $instance['title'] ) ) {
54
+ $title = $instance['title'];
55
+ } else {
56
+ $title = '';
57
+ }
58
+
59
+ echo sprintf( '<p><label for="%1$s">%2$s: <input class="widefat" id="%1$s" name="%3$s" type="text" value="%4$s" /></label></p>', $this->get_field_id( 'title' ), __( 'Title', 'social-count-plus' ), $this->get_field_name( 'title' ), esc_attr( $title ) );
60
+ }
61
+
62
+ /**
63
+ * Sanitize widget form values as they are saved.
64
+ *
65
+ * @see WP_Widget::update()
66
+ *
67
+ * @param array $new_instance Values just sent to be saved.
68
+ * @param array $old_instance Previously saved values from database.
69
+ *
70
+ * @return array Updated safe values to be saved.
71
+ */
72
+ public function update( $new_instance, $old_instance ) {
73
+ $instance = array();
74
+ $instance['title'] = ( ! empty( $new_instance['title'] ) ) ? sanitize_text_field( $new_instance['title'] ) : '';
75
+
76
+ return $instance;
77
+ }
78
+ }
includes/counters/class-social-count-plus-comments-counter.php ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ if ( ! defined( 'ABSPATH' ) ) {
4
+ exit; // Exit if accessed directly.
5
+ }
6
+
7
+ /**
8
+ * Social Count Plus Comments Counter.
9
+ *
10
+ * @package Social_Count_Plus/Comments_Counter
11
+ * @category Counter
12
+ * @author Claudio Sanches
13
+ */
14
+ class Social_Count_Plus_Comments_Counter extends Social_Count_Plus_Counter {
15
+
16
+ /**
17
+ * Counter ID.
18
+ *
19
+ * @var string
20
+ */
21
+ public $id = 'comments';
22
+
23
+ /**
24
+ * API URL.
25
+ *
26
+ * @var string
27
+ */
28
+ protected $api_url = '';
29
+
30
+ /**
31
+ * Test the counter is available.
32
+ *
33
+ * @param array $settings Plugin settings.
34
+ *
35
+ * @return bool
36
+ */
37
+ public function is_available( $settings ) {
38
+ return ( isset( $settings['comments_active'] ) );
39
+ }
40
+
41
+ /**
42
+ * Get the total.
43
+ *
44
+ * @param array $settings Plugin settings.
45
+ * @param array $cache Counter cache.
46
+ *
47
+ * @return int
48
+ */
49
+ public function get_total( $settings, $cache ) {
50
+ if ( $this->is_available( $settings ) ) {
51
+ $data = wp_count_comments();
52
+
53
+ if ( is_wp_error( $data ) ) {
54
+ $this->total = ( isset( $cache[ $this->id ] ) ) ? $cache[ $this->id ] : 0;
55
+ } else {
56
+ $count = intval( $data->approved );
57
+
58
+ $this->total = $count;
59
+ }
60
+ }
61
+
62
+ return $this->total;
63
+ }
64
+ }
includes/counters/class-social-count-plus-facebook-counter.php ADDED
@@ -0,0 +1,101 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ if ( ! defined( 'ABSPATH' ) ) {
4
+ exit; // Exit if accessed directly.
5
+ }
6
+
7
+ /**
8
+ * Social Count Plus Facebook Counter.
9
+ *
10
+ * @package Social_Count_Plus/Facebook_Counter
11
+ * @category Counter
12
+ * @author Claudio Sanches
13
+ */
14
+ class Social_Count_Plus_Facebook_Counter extends Social_Count_Plus_Counter {
15
+
16
+ /**
17
+ * Counter ID.
18
+ *
19
+ * @var string
20
+ */
21
+ public $id = 'facebook';
22
+
23
+ /**
24
+ * API URL.
25
+ *
26
+ * @var string
27
+ */
28
+ protected $api_url = 'https://graph.facebook.com/';
29
+
30
+ /**
31
+ * Test the counter is available.
32
+ *
33
+ * @param array $settings Plugin settings.
34
+ *
35
+ * @return bool
36
+ */
37
+ public function is_available( $settings ) {
38
+ return isset( $settings['facebook_active'] ) && ! empty( $settings['facebook_id'] ) && ! empty( $settings['facebook_app_id'] ) && ! empty( $settings['facebook_app_secret'] );
39
+ }
40
+
41
+ /**
42
+ * Get access token.
43
+ *
44
+ * @param array $settings Plugin settings.
45
+ *
46
+ * @return string
47
+ */
48
+ protected function get_access_token( $settings ) {
49
+ $url = sprintf(
50
+ '%s/oauth/access_token?client_id=%s&client_secret=%s&grant_type=client_credentials',
51
+ $this->api_url,
52
+ sanitize_text_field( $settings['facebook_app_id'] ),
53
+ sanitize_text_field( $settings['facebook_app_secret'] )
54
+ );
55
+ $access_token = wp_remote_get( $url, array( 'timeout' => 60 ) );
56
+
57
+ if ( is_wp_error( $access_token ) || ( isset( $access_token['response']['code'] ) && 200 != $access_token['response']['code'] ) ) {
58
+ return '';
59
+ } else {
60
+ return sanitize_text_field( $access_token['body'] );
61
+ }
62
+ }
63
+
64
+ /**
65
+ * Get the total.
66
+ *
67
+ * @param array $settings Plugin settings.
68
+ * @param array $cache Counter cache.
69
+ *
70
+ * @return int
71
+ */
72
+ public function get_total( $settings, $cache ) {
73
+ if ( $this->is_available( $settings ) ) {
74
+ $access_token = $this->get_access_token( $settings );
75
+ $url = sprintf(
76
+ '%s%s?fields=likes&%s',
77
+ $this->api_url,
78
+ sanitize_text_field( $settings['facebook_id'] ),
79
+ $access_token
80
+ );
81
+
82
+ $this->connection = wp_remote_get( $url, array( 'timeout' => 60 ) );
83
+
84
+ if ( is_wp_error( $this->connection ) || ( isset( $this->connection['response']['code'] ) && 200 != $this->connection['response']['code'] ) ) {
85
+ $this->total = ( isset( $cache[ $this->id ] ) ) ? $cache[ $this->id ] : 0;
86
+ } else {
87
+ $_data = json_decode( $this->connection['body'], true );
88
+
89
+ if ( isset( $_data['likes'] ) ) {
90
+ $count = intval( $_data['likes'] );
91
+
92
+ $this->total = $count;
93
+ } else {
94
+ $this->total = ( isset( $cache[ $this->id ] ) ) ? $cache[ $this->id ] : 0;
95
+ }
96
+ }
97
+ }
98
+
99
+ return $this->total;
100
+ }
101
+ }
includes/counters/class-social-count-plus-googleplus-counter.php ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ if ( ! defined( 'ABSPATH' ) ) {
4
+ exit; // Exit if accessed directly.
5
+ }
6
+
7
+ /**
8
+ * Social Count Plus Google+ Counter.
9
+ *
10
+ * @package Social_Count_Plus/GooglePlus_Counter
11
+ * @category Counter
12
+ * @author Claudio Sanches
13
+ */
14
+ class Social_Count_Plus_GooglePlus_Counter extends Social_Count_Plus_Counter {
15
+
16
+ /**
17
+ * Counter ID.
18
+ *
19
+ * @var string
20
+ */
21
+ public $id = 'googleplus';
22
+
23
+ /**
24
+ * API URL.
25
+ *
26
+ * @var string
27
+ */
28
+ protected $api_url = 'https://www.googleapis.com/plus/v1/people/';
29
+
30
+ /**
31
+ * Test the counter is available.
32
+ *
33
+ * @param array $settings Plugin settings.
34
+ *
35
+ * @return bool
36
+ */
37
+ public function is_available( $settings ) {
38
+ return ( isset( $settings['googleplus_active'] ) && ! empty( $settings['googleplus_id'] ) && ! empty( $settings['googleplus_api_key'] ) );
39
+ }
40
+
41
+ /**
42
+ * Get the total.
43
+ *
44
+ * @param array $settings Plugin settings.
45
+ * @param array $cache Counter cache.
46
+ *
47
+ * @return int
48
+ */
49
+ public function get_total( $settings, $cache ) {
50
+ if ( $this->is_available( $settings ) ) {
51
+ $this->connection = wp_remote_get( $this->api_url . $settings['googleplus_id'] . '?key=' . $settings['googleplus_api_key'], array( 'timeout' => 60 ) );
52
+
53
+ if ( is_wp_error( $this->connection ) || '400' <= $this->connection['response']['code'] ) {
54
+ $this->total = ( isset( $cache[ $this->id ] ) ) ? $cache[ $this->id ] : 0;
55
+ } else {
56
+ $_data = json_decode( $this->connection['body'], true );
57
+
58
+ if ( isset( $_data['circledByCount'] ) ) {
59
+ $count = intval( $_data['circledByCount'] );
60
+
61
+ $this->total = $count;
62
+ } else {
63
+ $this->total = ( isset( $cache[ $this->id ] ) ) ? $cache[ $this->id ] : 0;
64
+ }
65
+ }
66
+ }
67
+
68
+ return $this->total;
69
+ }
70
+ }
includes/counters/class-social-count-plus-instagram-counter.php ADDED
@@ -0,0 +1,74 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ if ( ! defined( 'ABSPATH' ) ) {
4
+ exit; // Exit if accessed directly.
5
+ }
6
+
7
+ /**
8
+ * Social Count Plus Instagram Counter.
9
+ *
10
+ * @package Social_Count_Plus/Instagram_Counter
11
+ * @category Counter
12
+ * @author Claudio Sanches
13
+ */
14
+ class Social_Count_Plus_Instagram_Counter extends Social_Count_Plus_Counter {
15
+
16
+ /**
17
+ * Counter ID.
18
+ *
19
+ * @var string
20
+ */
21
+ public $id = 'instagram';
22
+
23
+ /**
24
+ * API URL.
25
+ *
26
+ * @var string
27
+ */
28
+ protected $api_url = 'https://api.instagram.com/v1/users/';
29
+
30
+ /**
31
+ * Test the counter is available.
32
+ *
33
+ * @param array $settings Plugin settings.
34
+ *
35
+ * @return bool
36
+ */
37
+ public function is_available( $settings ) {
38
+ return ( isset( $settings['instagram_active'] ) && ! empty( $settings['instagram_user_id'] ) && ! empty( $settings['instagram_access_token'] ) );
39
+ }
40
+
41
+ /**
42
+ * Get the total.
43
+ *
44
+ * @param array $settings Plugin settings.
45
+ * @param array $cache Counter cache.
46
+ *
47
+ * @return int
48
+ */
49
+ public function get_total( $settings, $cache ) {
50
+ if ( $this->is_available( $settings ) ) {
51
+ $this->connection = wp_remote_get( $this->api_url . $settings['instagram_user_id'] . '/?access_token=' . $settings['instagram_access_token'], array( 'timeout' => 60 ) );
52
+
53
+ if ( is_wp_error( $this->connection ) || '400' <= $this->connection['response']['code'] ) {
54
+ $this->total = ( isset( $cache[ $this->id ] ) ) ? $cache[ $this->id ] : 0;
55
+ } else {
56
+ $response = json_decode( $this->connection['body'], true );
57
+
58
+ if (
59
+ isset( $response['meta']['code'] )
60
+ && 200 == $response['meta']['code']
61
+ && isset( $response['data']['counts']['followed_by'] )
62
+ ) {
63
+ $count = intval( $response['data']['counts']['followed_by'] );
64
+
65
+ $this->total = $count;
66
+ } else {
67
+ $this->total = ( isset( $cache[ $this->id ] ) ) ? $cache[ $this->id ] : 0;
68
+ }
69
+ }
70
+ }
71
+
72
+ return $this->total;
73
+ }
74
+ }
includes/counters/class-social-count-plus-posts-counter.php ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ if ( ! defined( 'ABSPATH' ) ) {
4
+ exit; // Exit if accessed directly.
5
+ }
6
+
7
+ /**
8
+ * Social Count Plus Posts Counter.
9
+ *
10
+ * @package Social_Count_Plus/Posts_Counter
11
+ * @category Counter
12
+ * @author Claudio Sanches
13
+ */
14
+ class Social_Count_Plus_Posts_Counter extends Social_Count_Plus_Counter {
15
+
16
+ /**
17
+ * Counter ID.
18
+ *
19
+ * @var string
20
+ */
21
+ public $id = 'posts';
22
+
23
+ /**
24
+ * API URL.
25
+ *
26
+ * @var string
27
+ */
28
+ protected $api_url = '';
29
+
30
+ /**
31
+ * Test the counter is available.
32
+ *
33
+ * @param array $settings Plugin settings.
34
+ *
35
+ * @return bool
36
+ */
37
+ public function is_available( $settings ) {
38
+ return ( isset( $settings['posts_active'] ) );
39
+ }
40
+
41
+ /**
42
+ * Get the total.
43
+ *
44
+ * @param array $settings Plugin settings.
45
+ * @param array $cache Counter cache.
46
+ *
47
+ * @return int
48
+ */
49
+ public function get_total( $settings, $cache ) {
50
+ if ( $this->is_available( $settings ) ) {
51
+ $post_type = ( isset( $settings['posts_post_type'] ) && ! empty( $settings['posts_post_type'] ) ) ? $settings['posts_post_type'] : 'posts';
52
+ $data = wp_count_posts( $post_type );
53
+
54
+ if ( is_wp_error( $data ) ) {
55
+ $this->total = ( isset( $cache[ $this->id ] ) ) ? $cache[ $this->id ] : 0;
56
+ } else {
57
+ $count = intval( $data->publish );
58
+
59
+ $this->total = $count;
60
+ }
61
+ }
62
+
63
+ return $this->total;
64
+ }
65
+ }
includes/counters/class-social-count-plus-soundcloud-counter.php ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ if ( ! defined( 'ABSPATH' ) ) {
4
+ exit; // Exit if accessed directly.
5
+ }
6
+
7
+ /**
8
+ * Social Count Plus SoundCloud Counter.
9
+ *
10
+ * @package Social_Count_Plus/SoundCloud_Counter
11
+ * @category Counter
12
+ * @author Claudio Sanches
13
+ */
14
+ class Social_Count_Plus_SoundCloud_Counter extends Social_Count_Plus_Counter {
15
+
16
+ /**
17
+ * Counter ID.
18
+ *
19
+ * @var string
20
+ */
21
+ public $id = 'soundcloud';
22
+
23
+ /**
24
+ * API URL.
25
+ *
26
+ * @var string
27
+ */
28
+ protected $api_url = 'https://api.soundcloud.com/users/';
29
+
30
+ /**
31
+ * Test the counter is available.
32
+ *
33
+ * @param array $settings Plugin settings.
34
+ *
35
+ * @return bool
36
+ */
37
+ public function is_available( $settings ) {
38
+ return ( isset( $settings['soundcloud_active'] ) && ! empty( $settings['soundcloud_username'] ) && ! empty( $settings['soundcloud_client_id'] ) );
39
+ }
40
+
41
+ /**
42
+ * Get the total.
43
+ *
44
+ * @param array $settings Plugin settings.
45
+ * @param array $cache Counter cache.
46
+ *
47
+ * @return int
48
+ */
49
+ public function get_total( $settings, $cache ) {
50
+ if ( $this->is_available( $settings ) ) {
51
+ $this->connection = wp_remote_get( $this->api_url . $settings['soundcloud_username'] . '.json?client_id=' . $settings['soundcloud_client_id'], array( 'timeout' => 60 ) );
52
+
53
+ if ( is_wp_error( $this->connection ) || '400' <= $this->connection['response']['code'] ) {
54
+ $this->total = ( isset( $cache[ $this->id ] ) ) ? $cache[ $this->id ] : 0;
55
+ } else {
56
+ $response = json_decode( $this->connection['body'], true );
57
+
58
+ if ( isset( $response['followers_count'] ) ) {
59
+ $count = intval( $response['followers_count'] );
60
+
61
+ $this->total = $count;
62
+ } else {
63
+ $this->total = ( isset( $cache[ $this->id ] ) ) ? $cache[ $this->id ] : 0;
64
+ }
65
+ }
66
+ }
67
+
68
+ return $this->total;
69
+ }
70
+ }
includes/counters/class-social-count-plus-steam-counter.php ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ if ( ! defined( 'ABSPATH' ) ) {
4
+ exit; // Exit if accessed directly.
5
+ }
6
+
7
+ /**
8
+ * Social Count Plus Steam Counter.
9
+ *
10
+ * @package Social_Count_Plus/Steam_Counter
11
+ * @category Counter
12
+ * @author Claudio Sanches
13
+ */
14
+ class Social_Count_Plus_Steam_Counter extends Social_Count_Plus_Counter {
15
+
16
+ /**
17
+ * Counter ID.
18
+ *
19
+ * @var string
20
+ */
21
+ public $id = 'steam';
22
+
23
+ /**
24
+ * API URL.
25
+ *
26
+ * @var string
27
+ */
28
+ protected $api_url = 'https://steamcommunity.com/groups/';
29
+
30
+ /**
31
+ * Test the counter is available.
32
+ *
33
+ * @param array $settings Plugin settings.
34
+ *
35
+ * @return bool
36
+ */
37
+ public function is_available( $settings ) {
38
+ return ( isset( $settings['steam_active'] ) && ! empty( $settings['steam_group_name'] ) );
39
+ }
40
+
41
+ /**
42
+ * Get the total.
43
+ *
44
+ * @param array $settings Plugin settings.
45
+ * @param array $cache Counter cache.
46
+ *
47
+ * @return int
48
+ */
49
+ public function get_total( $settings, $cache ) {
50
+ if ( $this->is_available( $settings ) ) {
51
+ $this->connection = wp_remote_get( $this->api_url . $settings['steam_group_name'] . '/memberslistxml/?xml=1', array( 'timeout' => 60 ) );
52
+
53
+ if ( is_wp_error( $this->connection ) || '400' <= $this->connection['response']['code'] ) {
54
+ $this->total = ( isset( $cache[ $this->id ] ) ) ? $cache[ $this->id ] : 0;
55
+ } else {
56
+ try {
57
+ $xml = @new SimpleXmlElement( $this->connection['body'], LIBXML_NOCDATA );
58
+ $count = intval( $xml->groupDetails->memberCount );
59
+
60
+ $this->total = $count;
61
+ } catch ( Exception $e ) {
62
+ $this->total = ( isset( $cache[ $this->id ] ) ) ? $cache[ $this->id ] : 0;
63
+ }
64
+ }
65
+ }
66
+
67
+ return $this->total;
68
+ }
69
+ }
includes/counters/class-social-count-plus-twitch-counter.php ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ if ( ! defined( 'ABSPATH' ) ) {
4
+ exit; // Exit if accessed directly.
5
+ }
6
+
7
+ /**
8
+ * Social Count Plus Twitch Counter.
9
+ *
10
+ * @package Social_Count_Plus/Twitch_Counter
11
+ * @category Counter
12
+ * @author Claudio Sanches
13
+ */
14
+ class Social_Count_Plus_Twitch_Counter extends Social_Count_Plus_Counter {
15
+
16
+ /**
17
+ * Counter ID.
18
+ *
19
+ * @var string
20
+ */
21
+ public $id = 'twitch';
22
+
23
+ /**
24
+ * API URL.
25
+ *
26
+ * @var string
27
+ */
28
+ protected $api_url = 'https://api.twitch.tv/kraken/streams';
29
+
30
+ /**
31
+ * Test the counter is available.
32
+ *
33
+ * @param array $settings Plugin settings.
34
+ *
35
+ * @return bool
36
+ */
37
+ public function is_available( $settings ) {
38
+ return isset( $settings['twitch_active'] ) && ! empty( $settings['twitch_username'] );
39
+ }
40
+
41
+ /**
42
+ * Get the total.
43
+ *
44
+ * @param array $settings Plugin settings.
45
+ * @param array $cache Counter cache.
46
+ *
47
+ * @return int
48
+ */
49
+ public function get_total( $settings, $cache ) {
50
+ if ( $this->is_available( $settings ) ) {
51
+ $this->connection = wp_remote_get( $this->api_url . '?channel=' . sanitize_text_field( $settings['twitch_username'] ), array( 'timeout' => 60 ) );
52
+
53
+ if ( is_wp_error( $this->connection ) || ( isset( $this->connection['response']['code'] ) && 200 != $this->connection['response']['code'] ) ) {
54
+ $this->total = ( isset( $cache[ $this->id ] ) ) ? $cache[ $this->id ] : 0;
55
+ } else {
56
+ $_data = json_decode( $this->connection['body'], true );
57
+
58
+ if ( isset( $_data['streams'][0]['channel']['followers'] ) ) {
59
+ $count = intval( $_data['streams'][0]['channel']['followers'] );
60
+
61
+ $this->total = $count;
62
+ } else {
63
+ $this->total = ( isset( $cache[ $this->id ] ) ) ? $cache[ $this->id ] : 0;
64
+ }
65
+ }
66
+ }
67
+
68
+ return $this->total;
69
+ }
70
+ }
includes/counters/class-social-count-plus-twitter-counter.php ADDED
@@ -0,0 +1,175 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ if ( ! defined( 'ABSPATH' ) ) {
4
+ exit; // Exit if accessed directly.
5
+ }
6
+
7
+ /**
8
+ * Social Count Plus Twitter Counter.
9
+ *
10
+ * @package Social_Count_Plus/Twitter_Counter
11
+ * @category Counter
12
+ * @author Claudio Sanches
13
+ */
14
+ class Social_Count_Plus_Twitter_Counter extends Social_Count_Plus_Counter {
15
+
16
+ /**
17
+ * Counter ID.
18
+ *
19
+ * @var string
20
+ */
21
+ public $id = 'twitter';
22
+
23
+ /**
24
+ * API URL.
25
+ *
26
+ * @var string
27
+ */
28
+ protected $api_url = 'https://api.twitter.com/1.1/users/show.json';
29
+
30
+ /**
31
+ * Authorization.
32
+ *
33
+ * @param string $user Twitter username.
34
+ * @param string $consumer_key Twitter customer key.
35
+ * @param string $consumer_secret Twitter customer secret.
36
+ * @param string $oaut_haccess_token OAuth access token.
37
+ * @param string $oauth_access_token_secret OAuth access token secret.
38
+ *
39
+ * @return string
40
+ */
41
+ protected function authorization( $user, $consumer_key, $consumer_secret, $oauth_access_token, $oauth_access_token_secret ) {
42
+ $query = 'screen_name=' . $user;
43
+ $signature = $this->signature( $query, $consumer_key, $consumer_secret, $oauth_access_token, $oauth_access_token_secret );
44
+
45
+ return $this->header( $signature );
46
+ }
47
+
48
+ /**
49
+ * Build the Signature base string.
50
+ *
51
+ * @param string $url Request URL.
52
+ * @param string $query Request query.
53
+ * @param string $method Request method.
54
+ * @param string $params OAuth params.
55
+ *
56
+ * @return string OAuth Signature base.
57
+ */
58
+ private function signature_base_string( $url, $query, $method, $params ) {
59
+ $return = array();
60
+ ksort( $params );
61
+
62
+ foreach( $params as $key => $value ) {
63
+ $return[] = $key . '=' . $value;
64
+ }
65
+
66
+ return $method . '&' . rawurlencode( $url ) . '&' . rawurlencode( implode( '&', $return ) ) . '%26' . rawurlencode( $query );
67
+ }
68
+
69
+ /**
70
+ * Build the OAuth Signature.
71
+ *
72
+ * @param string $query Request query.
73
+ * @param string $consumer_key Twitter customer key.
74
+ * @param string $consumer_secret Twitter customer secret.
75
+ * @param string $oauth_access_token OAuth access token.
76
+ * @param string $oauth_access_token_secret OAuth access token secret.
77
+ *
78
+ * @return array OAuth signature params.
79
+ */
80
+ private function signature( $query, $consumer_key, $consumer_secret, $oauth_access_token, $oauth_access_token_secret ) {
81
+ $oauth = array(
82
+ 'oauth_consumer_key' => $consumer_key,
83
+ 'oauth_nonce' => hash_hmac( 'sha1', time(), '1', false ),
84
+ 'oauth_signature_method' => 'HMAC-SHA1',
85
+ 'oauth_token' => $oauth_access_token,
86
+ 'oauth_timestamp' => time(),
87
+ 'oauth_version' => '1.0'
88
+ );
89
+
90
+ $base_info = $this->signature_base_string( $this->api_url, $query, 'GET', $oauth );
91
+ $composite_key = rawurlencode( $consumer_secret ) . '&' . rawurlencode( $oauth_access_token_secret );
92
+ $oauth_signature = base64_encode( hash_hmac( 'sha1', $base_info, $composite_key, true ) );
93
+ $oauth['oauth_signature'] = $oauth_signature;
94
+
95
+ return $oauth;
96
+ }
97
+
98
+ /**
99
+ * Build the header.
100
+ *
101
+ * @param array $signature OAuth signature.
102
+ *
103
+ * @return string OAuth Authorization.
104
+ */
105
+ public function header( $signature ) {
106
+ $return = 'OAuth ';
107
+ $values = array();
108
+
109
+ foreach( $signature as $key => $value ) {
110
+ $values[] = $key . '="' . rawurlencode( $value ) . '"';
111
+ }
112
+
113
+ $return .= implode( ', ', $values );
114
+
115
+ return $return;
116
+ }
117
+
118
+ /**
119
+ * Test the counter is available.
120
+ *
121
+ * @param array $settings Plugin settings.
122
+ *
123
+ * @return bool
124
+ */
125
+ public function is_available( $settings ) {
126
+ return ( isset( $settings['twitter_active'] ) && ! empty( $settings['twitter_user'] ) && ! empty( $settings['twitter_consumer_key'] ) && ! empty( $settings['twitter_consumer_secret'] ) && ! empty( $settings['twitter_access_token'] ) && ! empty( $settings['twitter_access_token_secret'] ) );
127
+ }
128
+
129
+ /**
130
+ * Get the total.
131
+ *
132
+ * @param array $settings Plugin settings.
133
+ * @param array $cache Counter cache.
134
+ *
135
+ * @return int
136
+ */
137
+ public function get_total( $settings, $cache ) {
138
+ if ( $this->is_available( $settings ) ) {
139
+ $user = $settings['twitter_user'];
140
+
141
+ $params = array(
142
+ 'method' => 'GET',
143
+ 'timeout' => 60,
144
+ 'headers' => array(
145
+ 'Content-Type' => 'application/x-www-form-urlencoded',
146
+ 'Authorization' => $this->authorization(
147
+ $user,
148
+ $settings['twitter_consumer_key'],
149
+ $settings['twitter_consumer_secret'],
150
+ $settings['twitter_access_token'],
151
+ $settings['twitter_access_token_secret']
152
+ )
153
+ )
154
+ );
155
+
156
+ $this->connection = wp_remote_get( $this->api_url . '?screen_name=' . $user, $params );
157
+
158
+ if ( is_wp_error( $this->connection ) ) {
159
+ $this->total = ( isset( $cache[ $this->id ] ) ) ? $cache[ $this->id ] : 0;
160
+ } else {
161
+ $_data = json_decode( $this->connection['body'], true );
162
+
163
+ if ( isset( $_data['followers_count'] ) ) {
164
+ $count = intval( $_data['followers_count'] );
165
+
166
+ $this->total = $count;
167
+ } else {
168
+ $this->total = ( isset( $cache[ $this->id ] ) ) ? $cache[ $this->id ] : 0;
169
+ }
170
+ }
171
+ }
172
+
173
+ return $this->total;
174
+ }
175
+ }
includes/counters/class-social-count-plus-youtube-counter.php ADDED
@@ -0,0 +1,77 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ if ( ! defined( 'ABSPATH' ) ) {
4
+ exit; // Exit if accessed directly.
5
+ }
6
+
7
+ /**
8
+ * Social Count Plus YouTube Counter.
9
+ *
10
+ * @package Social_Count_Plus/YouTube_Counter
11
+ * @category Counter
12
+ * @author Claudio Sanches
13
+ */
14
+ class Social_Count_Plus_YouTube_Counter extends Social_Count_Plus_Counter {
15
+
16
+ /**
17
+ * Counter ID.
18
+ *
19
+ * @var string
20
+ */
21
+ public $id = 'youtube';
22
+
23
+ /**
24
+ * API URL.
25
+ *
26
+ * @var string
27
+ */
28
+ protected $api_url = 'https://www.googleapis.com/youtube/v3/channels';
29
+
30
+ /**
31
+ * Test the counter is available.
32
+ *
33
+ * @param array $settings Plugin settings.
34
+ *
35
+ * @return bool
36
+ */
37
+ public function is_available( $settings ) {
38
+ return ( isset( $settings['youtube_active'] ) && ! empty( $settings['youtube_user'] ) && ! empty( $settings['youtube_api_key'] ) );
39
+ }
40
+
41
+ /**
42
+ * Get the total.
43
+ *
44
+ * @param array $settings Plugin settings.
45
+ * @param array $cache Counter cache.
46
+ *
47
+ * @return int
48
+ */
49
+ public function get_total( $settings, $cache ) {
50
+ if ( $this->is_available( $settings ) ) {
51
+ $url = sprintf(
52
+ '%s?part=statistics&id=%s&key=%s',
53
+ $this->api_url,
54
+ sanitize_text_field( $settings['youtube_user'] ),
55
+ sanitize_text_field( $settings['youtube_api_key'] )
56
+ );
57
+
58
+ $this->connection = wp_remote_get( $url, array( 'timeout' => 60 ) );
59
+
60
+ if ( is_wp_error( $this->connection ) || 400 <= $this->connection['response']['code'] ) {
61
+ $this->total = ( isset( $cache[ $this->id ] ) ) ? $cache[ $this->id ] : 0;
62
+ } else {
63
+ $_data = json_decode( $this->connection['body'], true );
64
+
65
+ if ( isset( $_data['items'][0]['statistics']['subscriberCount'] ) ) {
66
+ $count = intval( $_data['items'][0]['statistics']['subscriberCount'] );
67
+
68
+ $this->total = $count;
69
+ } else {
70
+ $this->total = ( isset( $cache[ $this->id ] ) ) ? $cache[ $this->id ] : 0;
71
+ }
72
+ }
73
+ }
74
+
75
+ return $this->total;
76
+ }
77
+ }
includes/social-count-plus-functions.php ADDED
@@ -0,0 +1,148 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ if ( ! defined( 'ABSPATH' ) ) {
4
+ exit; // Exit if accessed directly.
5
+ }
6
+
7
+ /**
8
+ * FeedBurner counter function.
9
+ *
10
+ * This functions is deprecated.
11
+ *
12
+ * @deprecated since ever!
13
+ *
14
+ * @return int FeedBurner count.
15
+ */
16
+ function get_scp_feed() {
17
+ return 0;
18
+ }
19
+
20
+ /**
21
+ * Twitter counter function.
22
+ *
23
+ * @return int Twitter count.
24
+ */
25
+ function get_scp_twitter() {
26
+ $count = Social_Count_Plus_Generator::get_count();
27
+
28
+ return $count['twitter'];
29
+ }
30
+
31
+ /**
32
+ * Facebook counter function.
33
+ *
34
+ * @return int Facebook count.
35
+ */
36
+ function get_scp_facebook() {
37
+ $count = Social_Count_Plus_Generator::get_count();
38
+
39
+ return $count['facebook'];
40
+ }
41
+
42
+ /**
43
+ * YouTube counter function.
44
+ *
45
+ * @return int YouTube count.
46
+ */
47
+ function get_scp_youtube() {
48
+ $count = Social_Count_Plus_Generator::get_count();
49
+
50
+ return $count['youtube'];
51
+ }
52
+
53
+ /**
54
+ * Google Plus counter function.
55
+ *
56
+ * @return int Google Plus count.
57
+ */
58
+ function get_scp_googleplus() {
59
+ $count = Social_Count_Plus_Generator::get_count();
60
+
61
+ return $count['googleplus'];
62
+ }
63
+
64
+ /**
65
+ * Instagram counter function.
66
+ *
67
+ * @return int Instagram Plus count.
68
+ */
69
+ function get_scp_instagram() {
70
+ $count = Social_Count_Plus_Generator::get_count();
71
+
72
+ return $count['instagram'];
73
+ }
74
+
75
+ /**
76
+ * SoundCloud counter function.
77
+ *
78
+ * @return int SoundCloud Plus count.
79
+ */
80
+ function get_scp_soundcloud() {
81
+ $count = Social_Count_Plus_Generator::get_count();
82
+
83
+ return $count['soundcloud'];
84
+ }
85
+
86
+ /**
87
+ * Twitch counter function.
88
+ *
89
+ * @return int Twitch Plus count.
90
+ */
91
+ function get_scp_twitch() {
92
+ $count = Social_Count_Plus_Generator::get_count();
93
+
94
+ return $count['twitch'];
95
+ }
96
+
97
+ /**
98
+ * Steam Community member counter function.
99
+ *
100
+ * @return int Steam Community group member count.
101
+ */
102
+ function get_scp_steam() {
103
+ $count = Social_Count_Plus_Generator::get_count();
104
+
105
+ return $count['steam'];
106
+ }
107
+
108
+ /**
109
+ * Posts counter function.
110
+ *
111
+ * @return int Posts count.
112
+ */
113
+ function get_scp_posts() {
114
+ $count = Social_Count_Plus_Generator::get_count();
115
+
116
+ return $count['posts'];
117
+ }
118
+
119
+ /**
120
+ * Comments counter function.
121
+ *
122
+ * @return int Comments count.
123
+ */
124
+ function get_scp_comments() {
125
+ $count = Social_Count_Plus_Generator::get_count();
126
+
127
+ return $count['comments'];
128
+ }
129
+
130
+ /**
131
+ * All counters function.
132
+ *
133
+ * @return array All counts.
134
+ */
135
+ function get_scp_all() {
136
+ $count = Social_Count_Plus_Generator::get_count();
137
+
138
+ return $count;
139
+ }
140
+
141
+ /**
142
+ * Widget counter function.
143
+ *
144
+ * @return int Widget count.
145
+ */
146
+ function get_scp_widget() {
147
+ return Social_Count_Plus_View::get_view();
148
+ }
languages/social-count-plus-es_AR.mo ADDED
Binary file
languages/social-count-plus-es_AR.po ADDED
@@ -0,0 +1,574 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Copyright (C) 2015 Claudio Sanches, Felipe Santana
2
+ # This file is distributed under the GPLv2 or later.
3
+ # Translators:
4
+ msgid ""
5
+ msgstr ""
6
+ "Project-Id-Version: Social Count Plus\n"
7
+ "Report-Msgid-Bugs-To: https://wordpress.org/plugins/woocommerce-domination/\n"
8
+ "POT-Creation-Date: 2015-08-21 15:42:56+00:00\n"
9
+ "PO-Revision-Date: 2015-08-21 15:43+0000\n"
10
+ "Last-Translator: Claudio Sanches <contato@claudiosmweb.com>\n"
11
+ "Language-Team: Spanish (Argentina) (http://www.transifex.com/claudiosmweb/social-count-plus/language/es_AR/)\n"
12
+ "MIME-Version: 1.0\n"
13
+ "Content-Type: text/plain; charset=UTF-8\n"
14
+ "Content-Transfer-Encoding: 8bit\n"
15
+ "Language: es_AR\n"
16
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
17
+ "X-Generator: grunt-wp-i18n 0.5.3\n"
18
+
19
+ #: includes/admin/class-social-count-plus-admin.php:66
20
+ msgid "Create an App on Twitter in %s and get this information"
21
+ msgstr ""
22
+
23
+ #: includes/admin/class-social-count-plus-admin.php:68
24
+ msgid "Create an App on Facebook in %s and get this information"
25
+ msgstr ""
26
+
27
+ #: includes/admin/class-social-count-plus-admin.php:70
28
+ msgid "Get the this information in %s"
29
+ msgstr ""
30
+
31
+ #: includes/admin/class-social-count-plus-admin.php:75
32
+ #: includes/admin/class-social-count-plus-admin.php:885
33
+ msgid "Twitter"
34
+ msgstr ""
35
+
36
+ #: includes/admin/class-social-count-plus-admin.php:78
37
+ msgid "Display Twitter counter"
38
+ msgstr ""
39
+
40
+ #: includes/admin/class-social-count-plus-admin.php:82
41
+ #: includes/admin/views/html-settings-page.php:24
42
+ msgid "Twitter username"
43
+ msgstr ""
44
+
45
+ #: includes/admin/class-social-count-plus-admin.php:84
46
+ msgid "Insert the Twitter username. Example: claudiosmweb"
47
+ msgstr ""
48
+
49
+ #: includes/admin/class-social-count-plus-admin.php:87
50
+ #: includes/admin/views/html-settings-page.php:25
51
+ msgid "Twitter Consumer key"
52
+ msgstr ""
53
+
54
+ #: includes/admin/class-social-count-plus-admin.php:92
55
+ #: includes/admin/views/html-settings-page.php:26
56
+ msgid "Twitter Consumer secret"
57
+ msgstr ""
58
+
59
+ #: includes/admin/class-social-count-plus-admin.php:97
60
+ #: includes/admin/views/html-settings-page.php:27
61
+ msgid "Twitter Access token"
62
+ msgstr ""
63
+
64
+ #: includes/admin/class-social-count-plus-admin.php:102
65
+ #: includes/admin/views/html-settings-page.php:28
66
+ msgid "Twitter Access token secret"
67
+ msgstr ""
68
+
69
+ #: includes/admin/class-social-count-plus-admin.php:109
70
+ #: includes/admin/class-social-count-plus-admin.php:886
71
+ msgid "Facebook"
72
+ msgstr ""
73
+
74
+ #: includes/admin/class-social-count-plus-admin.php:112
75
+ msgid "Display Facebook counter"
76
+ msgstr ""
77
+
78
+ #: includes/admin/class-social-count-plus-admin.php:116
79
+ msgid "Facebook Page ID"
80
+ msgstr ""
81
+
82
+ #: includes/admin/class-social-count-plus-admin.php:120
83
+ msgid "ID Facebook page. Must be the numeric ID or your page slug."
84
+ msgstr ""
85
+
86
+ #: includes/admin/class-social-count-plus-admin.php:121
87
+ msgid ""
88
+ "You can find this information clicking to edit your page on Facebook. The "
89
+ "URL will be similar to this:"
90
+ msgstr ""
91
+
92
+ #: includes/admin/class-social-count-plus-admin.php:122
93
+ msgid "or"
94
+ msgstr ""
95
+
96
+ #: includes/admin/class-social-count-plus-admin.php:126
97
+ msgid "Facebook App ID"
98
+ msgstr ""
99
+
100
+ #: includes/admin/class-social-count-plus-admin.php:131
101
+ msgid "Facebook App Secret"
102
+ msgstr ""
103
+
104
+ #: includes/admin/class-social-count-plus-admin.php:138
105
+ #: includes/admin/class-social-count-plus-admin.php:887
106
+ msgid "YouTube"
107
+ msgstr ""
108
+
109
+ #: includes/admin/class-social-count-plus-admin.php:141
110
+ msgid "Display YouTube counter"
111
+ msgstr ""
112
+
113
+ #: includes/admin/class-social-count-plus-admin.php:145
114
+ msgid "YouTube Channel ID"
115
+ msgstr ""
116
+
117
+ #: includes/admin/class-social-count-plus-admin.php:147
118
+ msgid "Insert the YouTube Channel ID. Example: %s"
119
+ msgstr ""
120
+
121
+ #: includes/admin/class-social-count-plus-admin.php:150
122
+ msgid "YouTube Channel URL"
123
+ msgstr ""
124
+
125
+ #: includes/admin/class-social-count-plus-admin.php:152
126
+ msgid "Insert the YouTube channel URL. Example: %s"
127
+ msgstr ""
128
+
129
+ #: includes/admin/class-social-count-plus-admin.php:155
130
+ #: includes/admin/class-social-count-plus-admin.php:181
131
+ msgid "Google API Key"
132
+ msgstr ""
133
+
134
+ #: includes/admin/class-social-count-plus-admin.php:158
135
+ msgid ""
136
+ "Get your API key creating a project/app in %s, then inside your project go "
137
+ "to \"APIs & auth > APIs\" and turn on the \"YouTube API\", finally go to "
138
+ "\"APIs & auth > APIs > Credentials > Public API access\" and click in the "
139
+ "\"CREATE A NEW KEY\" button, select the \"Browser key\" option and click in "
140
+ "the \"CREATE\" button, now just copy your API key and paste here."
141
+ msgstr ""
142
+
143
+ #: includes/admin/class-social-count-plus-admin.php:165
144
+ #: includes/admin/class-social-count-plus-admin.php:888
145
+ msgid "Google+"
146
+ msgstr ""
147
+
148
+ #: includes/admin/class-social-count-plus-admin.php:168
149
+ msgid "Display Google+ counter"
150
+ msgstr ""
151
+
152
+ #: includes/admin/class-social-count-plus-admin.php:172
153
+ msgid "Google+ ID"
154
+ msgstr ""
155
+
156
+ #: includes/admin/class-social-count-plus-admin.php:176
157
+ msgid "Google+ page or profile ID."
158
+ msgstr ""
159
+
160
+ #: includes/admin/class-social-count-plus-admin.php:177
161
+ msgid "Example:"
162
+ msgstr ""
163
+
164
+ #: includes/admin/class-social-count-plus-admin.php:184
165
+ msgid ""
166
+ "Get your API key creating a project/app in %s, then inside your project go "
167
+ "to \"APIs & auth > APIs\" and turn on the \"Google+ API\", finally go to "
168
+ "\"APIs & auth > APIs > Credentials > Public API access\" and click in the "
169
+ "\"CREATE A NEW KEY\" button, select the \"Browser key\" option and click in "
170
+ "the \"CREATE\" button, now just copy your API key and paste here."
171
+ msgstr ""
172
+
173
+ #: includes/admin/class-social-count-plus-admin.php:191
174
+ #: includes/admin/class-social-count-plus-admin.php:889
175
+ msgid "Instagram"
176
+ msgstr ""
177
+
178
+ #: includes/admin/class-social-count-plus-admin.php:194
179
+ msgid "Display Instagram counter"
180
+ msgstr ""
181
+
182
+ #: includes/admin/class-social-count-plus-admin.php:198
183
+ msgid "Instagram Username"
184
+ msgstr ""
185
+
186
+ #: includes/admin/class-social-count-plus-admin.php:200
187
+ msgid "Insert the Instagram Username."
188
+ msgstr ""
189
+
190
+ #: includes/admin/class-social-count-plus-admin.php:203
191
+ msgid "Instagram User ID"
192
+ msgstr ""
193
+
194
+ #: includes/admin/class-social-count-plus-admin.php:205
195
+ msgid "Insert the Instagram User ID."
196
+ msgstr ""
197
+
198
+ #: includes/admin/class-social-count-plus-admin.php:208
199
+ msgid "Instagram Access Token"
200
+ msgstr ""
201
+
202
+ #: includes/admin/class-social-count-plus-admin.php:210
203
+ msgid "Insert the Instagram Access Token."
204
+ msgstr ""
205
+
206
+ #: includes/admin/class-social-count-plus-admin.php:215
207
+ #: includes/admin/class-social-count-plus-admin.php:890
208
+ msgid "Steam"
209
+ msgstr ""
210
+
211
+ #: includes/admin/class-social-count-plus-admin.php:218
212
+ msgid "Display Steam counter"
213
+ msgstr ""
214
+
215
+ #: includes/admin/class-social-count-plus-admin.php:222
216
+ msgid "Steam group name"
217
+ msgstr ""
218
+
219
+ #: includes/admin/class-social-count-plus-admin.php:224
220
+ msgid "Insert the Steam Community group name. Example: %s"
221
+ msgstr ""
222
+
223
+ #: includes/admin/class-social-count-plus-admin.php:229
224
+ #: includes/admin/class-social-count-plus-admin.php:891
225
+ msgid "Twitch"
226
+ msgstr ""
227
+
228
+ #: includes/admin/class-social-count-plus-admin.php:232
229
+ msgid "Display Twitch counter"
230
+ msgstr ""
231
+
232
+ #: includes/admin/class-social-count-plus-admin.php:236
233
+ msgid "Twitch username"
234
+ msgstr ""
235
+
236
+ #: includes/admin/class-social-count-plus-admin.php:238
237
+ msgid "Insert your Twitch username."
238
+ msgstr ""
239
+
240
+ #: includes/admin/class-social-count-plus-admin.php:243
241
+ #: includes/admin/class-social-count-plus-admin.php:892
242
+ msgid "SoundCloud"
243
+ msgstr ""
244
+
245
+ #: includes/admin/class-social-count-plus-admin.php:246
246
+ msgid "Display SoundCloud counter"
247
+ msgstr ""
248
+
249
+ #: includes/admin/class-social-count-plus-admin.php:250
250
+ msgid "SoundCloud Username"
251
+ msgstr ""
252
+
253
+ #: includes/admin/class-social-count-plus-admin.php:252
254
+ msgid "Insert the SoundCloud Username."
255
+ msgstr ""
256
+
257
+ #: includes/admin/class-social-count-plus-admin.php:255
258
+ msgid "SoundCloud Client ID"
259
+ msgstr ""
260
+
261
+ #: includes/admin/class-social-count-plus-admin.php:257
262
+ msgid "Insert the SoundCloud App Client ID. Generate this information in %s"
263
+ msgstr ""
264
+
265
+ #: includes/admin/class-social-count-plus-admin.php:262
266
+ #: includes/admin/class-social-count-plus-admin.php:893
267
+ msgid "Posts"
268
+ msgstr ""
269
+
270
+ #: includes/admin/class-social-count-plus-admin.php:265
271
+ msgid "Display Posts counter"
272
+ msgstr ""
273
+
274
+ #: includes/admin/class-social-count-plus-admin.php:270
275
+ msgid "Post type"
276
+ msgstr ""
277
+
278
+ #: includes/admin/class-social-count-plus-admin.php:277
279
+ #: includes/admin/class-social-count-plus-admin.php:894
280
+ msgid "Comments"
281
+ msgstr ""
282
+
283
+ #: includes/admin/class-social-count-plus-admin.php:280
284
+ msgid "Display Comments counter"
285
+ msgstr ""
286
+
287
+ #: includes/admin/class-social-count-plus-admin.php:287
288
+ #: includes/admin/class-social-count-plus-admin.php:726
289
+ #: includes/admin/views/html-settings-page.php:9
290
+ msgid "Settings"
291
+ msgstr ""
292
+
293
+ #: includes/admin/class-social-count-plus-admin.php:290
294
+ msgid "Open URLs in new tab/window"
295
+ msgstr ""
296
+
297
+ #: includes/admin/class-social-count-plus-admin.php:292
298
+ #: includes/admin/class-social-count-plus-admin.php:297
299
+ msgid "This option add %s in all counters URLs."
300
+ msgstr ""
301
+
302
+ #: includes/admin/class-social-count-plus-admin.php:295
303
+ msgid "Add nofollow in URLs"
304
+ msgstr ""
305
+
306
+ #: includes/admin/class-social-count-plus-admin.php:304
307
+ #: includes/admin/views/html-settings-page.php:9
308
+ msgid "Design"
309
+ msgstr ""
310
+
311
+ #: includes/admin/class-social-count-plus-admin.php:307
312
+ msgid "Layout Models"
313
+ msgstr ""
314
+
315
+ #: includes/admin/class-social-count-plus-admin.php:322
316
+ msgid "Text Color"
317
+ msgstr ""
318
+
319
+ #: includes/admin/class-social-count-plus-admin.php:327
320
+ msgid "Order"
321
+ msgstr ""
322
+
323
+ #: includes/admin/class-social-count-plus-admin.php:329
324
+ msgid "This option controls the order of the icons in the widget."
325
+ msgstr ""
326
+
327
+ #. Plugin Name of the plugin/theme
328
+ msgid "Social Count Plus"
329
+ msgstr ""
330
+
331
+ #: includes/admin/class-social-count-plus-admin.php:561
332
+ msgid "Activate/Deactivate"
333
+ msgstr ""
334
+
335
+ #: includes/admin/class-social-count-plus-admin.php:774
336
+ msgid "General Info"
337
+ msgstr ""
338
+
339
+ #: includes/admin/class-social-count-plus-admin.php:775
340
+ #: includes/admin/views/html-settings-system-status-page.php:11
341
+ msgid "Social Count Plus Version"
342
+ msgstr ""
343
+
344
+ #: includes/admin/class-social-count-plus-admin.php:776
345
+ #: includes/admin/views/html-settings-system-status-page.php:15
346
+ msgid "WordPress Version"
347
+ msgstr ""
348
+
349
+ #: includes/admin/class-social-count-plus-admin.php:777
350
+ #: includes/admin/views/html-settings-system-status-page.php:19
351
+ msgid "WP Multisite Enabled"
352
+ msgstr ""
353
+
354
+ #: includes/admin/class-social-count-plus-admin.php:777
355
+ #: includes/admin/class-social-count-plus-admin.php:780
356
+ #: includes/admin/class-social-count-plus-admin.php:781
357
+ #: includes/admin/views/html-settings-system-status-page.php:20
358
+ msgid "Yes"
359
+ msgstr ""
360
+
361
+ #: includes/admin/class-social-count-plus-admin.php:777
362
+ #: includes/admin/class-social-count-plus-admin.php:780
363
+ #: includes/admin/class-social-count-plus-admin.php:781
364
+ #: includes/admin/views/html-settings-system-status-page.php:20
365
+ msgid "No"
366
+ msgstr ""
367
+
368
+ #: includes/admin/class-social-count-plus-admin.php:778
369
+ #: includes/admin/views/html-settings-system-status-page.php:23
370
+ msgid "Web Server Info"
371
+ msgstr ""
372
+
373
+ #: includes/admin/class-social-count-plus-admin.php:779
374
+ #: includes/admin/views/html-settings-system-status-page.php:27
375
+ msgid "PHP Version"
376
+ msgstr ""
377
+
378
+ #: includes/admin/class-social-count-plus-admin.php:782
379
+ msgid "Social Connections"
380
+ msgstr ""
381
+
382
+ #: includes/admin/class-social-count-plus-admin.php:792
383
+ msgid ""
384
+ "You do not have any counter that needs to connect remotely currently active"
385
+ msgstr ""
386
+
387
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:7
388
+ msgid ""
389
+ "Use this library to generate your own model layout or display specific data "
390
+ "counters."
391
+ msgstr ""
392
+
393
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:9
394
+ msgid "Shortcodes"
395
+ msgstr ""
396
+
397
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:11
398
+ msgid "Note: the shortcodes displays only the count in plain text."
399
+ msgstr ""
400
+
401
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:15
402
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:62
403
+ msgid "Twitter counter"
404
+ msgstr ""
405
+
406
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:19
407
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:66
408
+ msgid "Facebook counter"
409
+ msgstr ""
410
+
411
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:23
412
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:70
413
+ msgid "YouTube counter"
414
+ msgstr ""
415
+
416
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:27
417
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:74
418
+ msgid "Google Plus counter"
419
+ msgstr ""
420
+
421
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:31
422
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:78
423
+ msgid "Instagram counter"
424
+ msgstr ""
425
+
426
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:35
427
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:82
428
+ msgid "Steam counter"
429
+ msgstr ""
430
+
431
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:39
432
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:86
433
+ msgid "Twitch counter"
434
+ msgstr ""
435
+
436
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:43
437
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:90
438
+ msgid "SoundCloud counter"
439
+ msgstr ""
440
+
441
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:47
442
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:94
443
+ msgid "Posts counter"
444
+ msgstr ""
445
+
446
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:51
447
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:98
448
+ msgid "Comments counter"
449
+ msgstr ""
450
+
451
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:56
452
+ msgid "Functions"
453
+ msgstr ""
454
+
455
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:58
456
+ msgid ""
457
+ "Note: the functions displays only the count in plain text, except the "
458
+ "<code>get_scp_widget()</code> function that displays with images."
459
+ msgstr ""
460
+
461
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:102
462
+ msgid "Full widget"
463
+ msgstr ""
464
+
465
+ #: includes/admin/views/html-settings-page.php:9
466
+ msgid "Shortcodes and Functions"
467
+ msgstr ""
468
+
469
+ #: includes/admin/views/html-settings-page.php:9
470
+ msgid "System Status"
471
+ msgstr ""
472
+
473
+ #: includes/admin/views/html-settings-page.php:22
474
+ msgid "To use the counter of Twitter you need to fill the fields:"
475
+ msgstr ""
476
+
477
+ #: includes/admin/views/html-settings-system-status-page.php:5
478
+ msgid "Environment"
479
+ msgstr ""
480
+
481
+ #: includes/admin/views/html-settings-system-status-page.php:33
482
+ msgid ""
483
+ "Your server does not have fsockopen or cURL enabled. The scripts which "
484
+ "communicate with the social APIs will not work. Contact your hosting "
485
+ "provider."
486
+ msgstr ""
487
+
488
+ #: includes/admin/views/html-settings-system-status-page.php:37
489
+ msgid "Your server has fsockopen and cURL enabled."
490
+ msgstr ""
491
+
492
+ #: includes/admin/views/html-settings-system-status-page.php:39
493
+ msgid "Your server has fsockopen enabled, cURL is disabled."
494
+ msgstr ""
495
+
496
+ #: includes/admin/views/html-settings-system-status-page.php:41
497
+ msgid "Your server has cURL enabled, fsockopen is disabled."
498
+ msgstr ""
499
+
500
+ #: includes/admin/views/html-settings-system-status-page.php:47
501
+ msgid "fsockopen/cURL"
502
+ msgstr ""
503
+
504
+ #: includes/admin/views/html-settings-system-status-page.php:57
505
+ msgid "wp_remote_get() failed. This may not work with your server."
506
+ msgstr ""
507
+
508
+ #: includes/admin/views/html-settings-system-status-page.php:62
509
+ msgid "wp_remote_get() was successful."
510
+ msgstr ""
511
+
512
+ #: includes/admin/views/html-settings-system-status-page.php:64
513
+ msgid ""
514
+ "wp_remote_get() failed. This plugin won't work with your server. Contact "
515
+ "your hosting provider. Error:"
516
+ msgstr ""
517
+
518
+ #: includes/admin/views/html-settings-system-status-page.php:67
519
+ msgid "WP Remote Get"
520
+ msgstr ""
521
+
522
+ #: includes/admin/views/html-settings-system-status-page.php:77
523
+ msgid "Get System Report"
524
+ msgstr ""
525
+
526
+ #: includes/class-social-count-plus-view.php:52
527
+ #: includes/class-social-count-plus-view.php:91
528
+ #: includes/class-social-count-plus-view.php:104
529
+ #: includes/class-social-count-plus-view.php:130
530
+ #: includes/class-social-count-plus-view.php:143
531
+ msgid "followers"
532
+ msgstr ""
533
+
534
+ #: includes/class-social-count-plus-view.php:65
535
+ msgid "likes"
536
+ msgstr ""
537
+
538
+ #: includes/class-social-count-plus-view.php:78
539
+ msgid "subscribers"
540
+ msgstr ""
541
+
542
+ #: includes/class-social-count-plus-view.php:117
543
+ msgid "members"
544
+ msgstr ""
545
+
546
+ #: includes/class-social-count-plus-view.php:178
547
+ msgid "comments"
548
+ msgstr ""
549
+
550
+ #: includes/class-social-count-plus-widget.php:19
551
+ msgid "Display the counter"
552
+ msgstr ""
553
+
554
+ #: includes/class-social-count-plus-widget.php:59
555
+ msgid "Title"
556
+ msgstr ""
557
+
558
+ #. Plugin URI of the plugin/theme
559
+ msgid "https://github.com/claudiosmweb/social-count-plus"
560
+ msgstr ""
561
+
562
+ #. Description of the plugin/theme
563
+ msgid ""
564
+ "Display the counting Twitter followers, Facebook fans, YouTube subscribers "
565
+ "posts and comments."
566
+ msgstr ""
567
+
568
+ #. Author of the plugin/theme
569
+ msgid "Claudio Sanches, Felipe Santana"
570
+ msgstr ""
571
+
572
+ #. Author URI of the plugin/theme
573
+ msgid "http://claudiosmweb.com/"
574
+ msgstr ""
languages/social-count-plus-fr_FR.mo ADDED
Binary file
languages/social-count-plus-fr_FR.po ADDED
@@ -0,0 +1,574 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Copyright (C) 2015 Claudio Sanches, Felipe Santana
2
+ # This file is distributed under the GPLv2 or later.
3
+ # Translators:
4
+ msgid ""
5
+ msgstr ""
6
+ "Project-Id-Version: Social Count Plus\n"
7
+ "Report-Msgid-Bugs-To: https://wordpress.org/plugins/woocommerce-domination/\n"
8
+ "POT-Creation-Date: 2015-08-21 15:42:56+00:00\n"
9
+ "PO-Revision-Date: 2015-08-21 15:43+0000\n"
10
+ "Last-Translator: Claudio Sanches <contato@claudiosmweb.com>\n"
11
+ "Language-Team: French (France) (http://www.transifex.com/claudiosmweb/social-count-plus/language/fr_FR/)\n"
12
+ "MIME-Version: 1.0\n"
13
+ "Content-Type: text/plain; charset=UTF-8\n"
14
+ "Content-Transfer-Encoding: 8bit\n"
15
+ "Language: fr_FR\n"
16
+ "Plural-Forms: nplurals=2; plural=(n > 1);\n"
17
+ "X-Generator: grunt-wp-i18n 0.5.3\n"
18
+
19
+ #: includes/admin/class-social-count-plus-admin.php:66
20
+ msgid "Create an App on Twitter in %s and get this information"
21
+ msgstr ""
22
+
23
+ #: includes/admin/class-social-count-plus-admin.php:68
24
+ msgid "Create an App on Facebook in %s and get this information"
25
+ msgstr ""
26
+
27
+ #: includes/admin/class-social-count-plus-admin.php:70
28
+ msgid "Get the this information in %s"
29
+ msgstr "Trouvez cette information dans %s"
30
+
31
+ #: includes/admin/class-social-count-plus-admin.php:75
32
+ #: includes/admin/class-social-count-plus-admin.php:885
33
+ msgid "Twitter"
34
+ msgstr "Twitter"
35
+
36
+ #: includes/admin/class-social-count-plus-admin.php:78
37
+ msgid "Display Twitter counter"
38
+ msgstr "Afficher le compteur twitter"
39
+
40
+ #: includes/admin/class-social-count-plus-admin.php:82
41
+ #: includes/admin/views/html-settings-page.php:24
42
+ msgid "Twitter username"
43
+ msgstr "Pseudo twitter"
44
+
45
+ #: includes/admin/class-social-count-plus-admin.php:84
46
+ msgid "Insert the Twitter username. Example: claudiosmweb"
47
+ msgstr ""
48
+
49
+ #: includes/admin/class-social-count-plus-admin.php:87
50
+ #: includes/admin/views/html-settings-page.php:25
51
+ msgid "Twitter Consumer key"
52
+ msgstr "Twitter Consumer key"
53
+
54
+ #: includes/admin/class-social-count-plus-admin.php:92
55
+ #: includes/admin/views/html-settings-page.php:26
56
+ msgid "Twitter Consumer secret"
57
+ msgstr "Twitter Consumer secret"
58
+
59
+ #: includes/admin/class-social-count-plus-admin.php:97
60
+ #: includes/admin/views/html-settings-page.php:27
61
+ msgid "Twitter Access token"
62
+ msgstr "Twitter Access token"
63
+
64
+ #: includes/admin/class-social-count-plus-admin.php:102
65
+ #: includes/admin/views/html-settings-page.php:28
66
+ msgid "Twitter Access token secret"
67
+ msgstr "Twitter Access token secret"
68
+
69
+ #: includes/admin/class-social-count-plus-admin.php:109
70
+ #: includes/admin/class-social-count-plus-admin.php:886
71
+ msgid "Facebook"
72
+ msgstr "Facebook"
73
+
74
+ #: includes/admin/class-social-count-plus-admin.php:112
75
+ msgid "Display Facebook counter"
76
+ msgstr "Afficher le compteur Facebook"
77
+
78
+ #: includes/admin/class-social-count-plus-admin.php:116
79
+ msgid "Facebook Page ID"
80
+ msgstr "ID de la page Facebook"
81
+
82
+ #: includes/admin/class-social-count-plus-admin.php:120
83
+ msgid "ID Facebook page. Must be the numeric ID or your page slug."
84
+ msgstr ""
85
+
86
+ #: includes/admin/class-social-count-plus-admin.php:121
87
+ msgid ""
88
+ "You can find this information clicking to edit your page on Facebook. The "
89
+ "URL will be similar to this:"
90
+ msgstr ""
91
+
92
+ #: includes/admin/class-social-count-plus-admin.php:122
93
+ msgid "or"
94
+ msgstr ""
95
+
96
+ #: includes/admin/class-social-count-plus-admin.php:126
97
+ msgid "Facebook App ID"
98
+ msgstr ""
99
+
100
+ #: includes/admin/class-social-count-plus-admin.php:131
101
+ msgid "Facebook App Secret"
102
+ msgstr ""
103
+
104
+ #: includes/admin/class-social-count-plus-admin.php:138
105
+ #: includes/admin/class-social-count-plus-admin.php:887
106
+ msgid "YouTube"
107
+ msgstr "YouTube"
108
+
109
+ #: includes/admin/class-social-count-plus-admin.php:141
110
+ msgid "Display YouTube counter"
111
+ msgstr "Afficher le compteur YouTube"
112
+
113
+ #: includes/admin/class-social-count-plus-admin.php:145
114
+ msgid "YouTube Channel ID"
115
+ msgstr ""
116
+
117
+ #: includes/admin/class-social-count-plus-admin.php:147
118
+ msgid "Insert the YouTube Channel ID. Example: %s"
119
+ msgstr ""
120
+
121
+ #: includes/admin/class-social-count-plus-admin.php:150
122
+ msgid "YouTube Channel URL"
123
+ msgstr ""
124
+
125
+ #: includes/admin/class-social-count-plus-admin.php:152
126
+ msgid "Insert the YouTube channel URL. Example: %s"
127
+ msgstr ""
128
+
129
+ #: includes/admin/class-social-count-plus-admin.php:155
130
+ #: includes/admin/class-social-count-plus-admin.php:181
131
+ msgid "Google API Key"
132
+ msgstr ""
133
+
134
+ #: includes/admin/class-social-count-plus-admin.php:158
135
+ msgid ""
136
+ "Get your API key creating a project/app in %s, then inside your project go "
137
+ "to \"APIs & auth > APIs\" and turn on the \"YouTube API\", finally go to "
138
+ "\"APIs & auth > APIs > Credentials > Public API access\" and click in the "
139
+ "\"CREATE A NEW KEY\" button, select the \"Browser key\" option and click in "
140
+ "the \"CREATE\" button, now just copy your API key and paste here."
141
+ msgstr ""
142
+
143
+ #: includes/admin/class-social-count-plus-admin.php:165
144
+ #: includes/admin/class-social-count-plus-admin.php:888
145
+ msgid "Google+"
146
+ msgstr ""
147
+
148
+ #: includes/admin/class-social-count-plus-admin.php:168
149
+ msgid "Display Google+ counter"
150
+ msgstr ""
151
+
152
+ #: includes/admin/class-social-count-plus-admin.php:172
153
+ msgid "Google+ ID"
154
+ msgstr ""
155
+
156
+ #: includes/admin/class-social-count-plus-admin.php:176
157
+ msgid "Google+ page or profile ID."
158
+ msgstr ""
159
+
160
+ #: includes/admin/class-social-count-plus-admin.php:177
161
+ msgid "Example:"
162
+ msgstr ""
163
+
164
+ #: includes/admin/class-social-count-plus-admin.php:184
165
+ msgid ""
166
+ "Get your API key creating a project/app in %s, then inside your project go "
167
+ "to \"APIs & auth > APIs\" and turn on the \"Google+ API\", finally go to "
168
+ "\"APIs & auth > APIs > Credentials > Public API access\" and click in the "
169
+ "\"CREATE A NEW KEY\" button, select the \"Browser key\" option and click in "
170
+ "the \"CREATE\" button, now just copy your API key and paste here."
171
+ msgstr ""
172
+
173
+ #: includes/admin/class-social-count-plus-admin.php:191
174
+ #: includes/admin/class-social-count-plus-admin.php:889
175
+ msgid "Instagram"
176
+ msgstr "Instagram"
177
+
178
+ #: includes/admin/class-social-count-plus-admin.php:194
179
+ msgid "Display Instagram counter"
180
+ msgstr "Afficher le compteur Instagram"
181
+
182
+ #: includes/admin/class-social-count-plus-admin.php:198
183
+ msgid "Instagram Username"
184
+ msgstr "Pseudo Instagram"
185
+
186
+ #: includes/admin/class-social-count-plus-admin.php:200
187
+ msgid "Insert the Instagram Username."
188
+ msgstr "Insérer le pseudo Instagram."
189
+
190
+ #: includes/admin/class-social-count-plus-admin.php:203
191
+ msgid "Instagram User ID"
192
+ msgstr "ID utilisateur Instagram"
193
+
194
+ #: includes/admin/class-social-count-plus-admin.php:205
195
+ msgid "Insert the Instagram User ID."
196
+ msgstr "Insérez l'ID utilisateur Instagram."
197
+
198
+ #: includes/admin/class-social-count-plus-admin.php:208
199
+ msgid "Instagram Access Token"
200
+ msgstr "Instagram Access Token"
201
+
202
+ #: includes/admin/class-social-count-plus-admin.php:210
203
+ msgid "Insert the Instagram Access Token."
204
+ msgstr "Insérer Instagram Access Token."
205
+
206
+ #: includes/admin/class-social-count-plus-admin.php:215
207
+ #: includes/admin/class-social-count-plus-admin.php:890
208
+ msgid "Steam"
209
+ msgstr "Steam"
210
+
211
+ #: includes/admin/class-social-count-plus-admin.php:218
212
+ msgid "Display Steam counter"
213
+ msgstr "Afficher le compteur Steam"
214
+
215
+ #: includes/admin/class-social-count-plus-admin.php:222
216
+ msgid "Steam group name"
217
+ msgstr "Nom du groupe Steam"
218
+
219
+ #: includes/admin/class-social-count-plus-admin.php:224
220
+ msgid "Insert the Steam Community group name. Example: %s"
221
+ msgstr ""
222
+
223
+ #: includes/admin/class-social-count-plus-admin.php:229
224
+ #: includes/admin/class-social-count-plus-admin.php:891
225
+ msgid "Twitch"
226
+ msgstr ""
227
+
228
+ #: includes/admin/class-social-count-plus-admin.php:232
229
+ msgid "Display Twitch counter"
230
+ msgstr ""
231
+
232
+ #: includes/admin/class-social-count-plus-admin.php:236
233
+ msgid "Twitch username"
234
+ msgstr ""
235
+
236
+ #: includes/admin/class-social-count-plus-admin.php:238
237
+ msgid "Insert your Twitch username."
238
+ msgstr ""
239
+
240
+ #: includes/admin/class-social-count-plus-admin.php:243
241
+ #: includes/admin/class-social-count-plus-admin.php:892
242
+ msgid "SoundCloud"
243
+ msgstr "SoundCloud"
244
+
245
+ #: includes/admin/class-social-count-plus-admin.php:246
246
+ msgid "Display SoundCloud counter"
247
+ msgstr "Afficher le compteur SoundCloud"
248
+
249
+ #: includes/admin/class-social-count-plus-admin.php:250
250
+ msgid "SoundCloud Username"
251
+ msgstr "Pseudo SoundCloud"
252
+
253
+ #: includes/admin/class-social-count-plus-admin.php:252
254
+ msgid "Insert the SoundCloud Username."
255
+ msgstr "Insérer le pseudo SoundCloud."
256
+
257
+ #: includes/admin/class-social-count-plus-admin.php:255
258
+ msgid "SoundCloud Client ID"
259
+ msgstr "Client ID SoundCloud"
260
+
261
+ #: includes/admin/class-social-count-plus-admin.php:257
262
+ msgid "Insert the SoundCloud App Client ID. Generate this information in %s"
263
+ msgstr ""
264
+
265
+ #: includes/admin/class-social-count-plus-admin.php:262
266
+ #: includes/admin/class-social-count-plus-admin.php:893
267
+ msgid "Posts"
268
+ msgstr "Posts"
269
+
270
+ #: includes/admin/class-social-count-plus-admin.php:265
271
+ msgid "Display Posts counter"
272
+ msgstr "Afficher le compteur de Posts"
273
+
274
+ #: includes/admin/class-social-count-plus-admin.php:270
275
+ msgid "Post type"
276
+ msgstr ""
277
+
278
+ #: includes/admin/class-social-count-plus-admin.php:277
279
+ #: includes/admin/class-social-count-plus-admin.php:894
280
+ msgid "Comments"
281
+ msgstr "Commentaires"
282
+
283
+ #: includes/admin/class-social-count-plus-admin.php:280
284
+ msgid "Display Comments counter"
285
+ msgstr "Afficher le compteur de commentaires"
286
+
287
+ #: includes/admin/class-social-count-plus-admin.php:287
288
+ #: includes/admin/class-social-count-plus-admin.php:726
289
+ #: includes/admin/views/html-settings-page.php:9
290
+ msgid "Settings"
291
+ msgstr "Paramètres"
292
+
293
+ #: includes/admin/class-social-count-plus-admin.php:290
294
+ msgid "Open URLs in new tab/window"
295
+ msgstr ""
296
+
297
+ #: includes/admin/class-social-count-plus-admin.php:292
298
+ #: includes/admin/class-social-count-plus-admin.php:297
299
+ msgid "This option add %s in all counters URLs."
300
+ msgstr ""
301
+
302
+ #: includes/admin/class-social-count-plus-admin.php:295
303
+ msgid "Add nofollow in URLs"
304
+ msgstr ""
305
+
306
+ #: includes/admin/class-social-count-plus-admin.php:304
307
+ #: includes/admin/views/html-settings-page.php:9
308
+ msgid "Design"
309
+ msgstr "Style"
310
+
311
+ #: includes/admin/class-social-count-plus-admin.php:307
312
+ msgid "Layout Models"
313
+ msgstr "Modeles de Disposition"
314
+
315
+ #: includes/admin/class-social-count-plus-admin.php:322
316
+ msgid "Text Color"
317
+ msgstr "Couleur du texte"
318
+
319
+ #: includes/admin/class-social-count-plus-admin.php:327
320
+ msgid "Order"
321
+ msgstr ""
322
+
323
+ #: includes/admin/class-social-count-plus-admin.php:329
324
+ msgid "This option controls the order of the icons in the widget."
325
+ msgstr ""
326
+
327
+ #. Plugin Name of the plugin/theme
328
+ msgid "Social Count Plus"
329
+ msgstr "Social Count Plus"
330
+
331
+ #: includes/admin/class-social-count-plus-admin.php:561
332
+ msgid "Activate/Deactivate"
333
+ msgstr "Activer / Désactiver"
334
+
335
+ #: includes/admin/class-social-count-plus-admin.php:774
336
+ msgid "General Info"
337
+ msgstr ""
338
+
339
+ #: includes/admin/class-social-count-plus-admin.php:775
340
+ #: includes/admin/views/html-settings-system-status-page.php:11
341
+ msgid "Social Count Plus Version"
342
+ msgstr ""
343
+
344
+ #: includes/admin/class-social-count-plus-admin.php:776
345
+ #: includes/admin/views/html-settings-system-status-page.php:15
346
+ msgid "WordPress Version"
347
+ msgstr ""
348
+
349
+ #: includes/admin/class-social-count-plus-admin.php:777
350
+ #: includes/admin/views/html-settings-system-status-page.php:19
351
+ msgid "WP Multisite Enabled"
352
+ msgstr ""
353
+
354
+ #: includes/admin/class-social-count-plus-admin.php:777
355
+ #: includes/admin/class-social-count-plus-admin.php:780
356
+ #: includes/admin/class-social-count-plus-admin.php:781
357
+ #: includes/admin/views/html-settings-system-status-page.php:20
358
+ msgid "Yes"
359
+ msgstr ""
360
+
361
+ #: includes/admin/class-social-count-plus-admin.php:777
362
+ #: includes/admin/class-social-count-plus-admin.php:780
363
+ #: includes/admin/class-social-count-plus-admin.php:781
364
+ #: includes/admin/views/html-settings-system-status-page.php:20
365
+ msgid "No"
366
+ msgstr ""
367
+
368
+ #: includes/admin/class-social-count-plus-admin.php:778
369
+ #: includes/admin/views/html-settings-system-status-page.php:23
370
+ msgid "Web Server Info"
371
+ msgstr ""
372
+
373
+ #: includes/admin/class-social-count-plus-admin.php:779
374
+ #: includes/admin/views/html-settings-system-status-page.php:27
375
+ msgid "PHP Version"
376
+ msgstr ""
377
+
378
+ #: includes/admin/class-social-count-plus-admin.php:782
379
+ msgid "Social Connections"
380
+ msgstr ""
381
+
382
+ #: includes/admin/class-social-count-plus-admin.php:792
383
+ msgid ""
384
+ "You do not have any counter that needs to connect remotely currently active"
385
+ msgstr ""
386
+
387
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:7
388
+ msgid ""
389
+ "Use this library to generate your own model layout or display specific data "
390
+ "counters."
391
+ msgstr "Utilisez cette bibliothèque pour créer votre propre modèle de présentation ou afficher les compteurs de données spécifiques."
392
+
393
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:9
394
+ msgid "Shortcodes"
395
+ msgstr "Raccourcis"
396
+
397
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:11
398
+ msgid "Note: the shortcodes displays only the count in plain text."
399
+ msgstr ""
400
+
401
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:15
402
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:62
403
+ msgid "Twitter counter"
404
+ msgstr "Compteur Twitter"
405
+
406
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:19
407
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:66
408
+ msgid "Facebook counter"
409
+ msgstr "Compteur Facebook"
410
+
411
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:23
412
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:70
413
+ msgid "YouTube counter"
414
+ msgstr "Compteur YouTube"
415
+
416
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:27
417
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:74
418
+ msgid "Google Plus counter"
419
+ msgstr "Compteur Google Plus"
420
+
421
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:31
422
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:78
423
+ msgid "Instagram counter"
424
+ msgstr "Compteur Instagram"
425
+
426
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:35
427
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:82
428
+ msgid "Steam counter"
429
+ msgstr "Compteur Steam"
430
+
431
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:39
432
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:86
433
+ msgid "Twitch counter"
434
+ msgstr ""
435
+
436
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:43
437
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:90
438
+ msgid "SoundCloud counter"
439
+ msgstr "Compteur SoundCloud"
440
+
441
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:47
442
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:94
443
+ msgid "Posts counter"
444
+ msgstr "Compteur de Posts"
445
+
446
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:51
447
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:98
448
+ msgid "Comments counter"
449
+ msgstr "Compteur de commentaires"
450
+
451
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:56
452
+ msgid "Functions"
453
+ msgstr "Fonctions"
454
+
455
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:58
456
+ msgid ""
457
+ "Note: the functions displays only the count in plain text, except the "
458
+ "<code>get_scp_widget()</code> function that displays with images."
459
+ msgstr ""
460
+
461
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:102
462
+ msgid "Full widget"
463
+ msgstr "Widget complet"
464
+
465
+ #: includes/admin/views/html-settings-page.php:9
466
+ msgid "Shortcodes and Functions"
467
+ msgstr "Raccourcis et fonctions"
468
+
469
+ #: includes/admin/views/html-settings-page.php:9
470
+ msgid "System Status"
471
+ msgstr ""
472
+
473
+ #: includes/admin/views/html-settings-page.php:22
474
+ msgid "To use the counter of Twitter you need to fill the fields:"
475
+ msgstr "Pour utiliser le compteur Twitter, vous devez remplir les champs : "
476
+
477
+ #: includes/admin/views/html-settings-system-status-page.php:5
478
+ msgid "Environment"
479
+ msgstr ""
480
+
481
+ #: includes/admin/views/html-settings-system-status-page.php:33
482
+ msgid ""
483
+ "Your server does not have fsockopen or cURL enabled. The scripts which "
484
+ "communicate with the social APIs will not work. Contact your hosting "
485
+ "provider."
486
+ msgstr ""
487
+
488
+ #: includes/admin/views/html-settings-system-status-page.php:37
489
+ msgid "Your server has fsockopen and cURL enabled."
490
+ msgstr ""
491
+
492
+ #: includes/admin/views/html-settings-system-status-page.php:39
493
+ msgid "Your server has fsockopen enabled, cURL is disabled."
494
+ msgstr ""
495
+
496
+ #: includes/admin/views/html-settings-system-status-page.php:41
497
+ msgid "Your server has cURL enabled, fsockopen is disabled."
498
+ msgstr ""
499
+
500
+ #: includes/admin/views/html-settings-system-status-page.php:47
501
+ msgid "fsockopen/cURL"
502
+ msgstr ""
503
+
504
+ #: includes/admin/views/html-settings-system-status-page.php:57
505
+ msgid "wp_remote_get() failed. This may not work with your server."
506
+ msgstr ""
507
+
508
+ #: includes/admin/views/html-settings-system-status-page.php:62
509
+ msgid "wp_remote_get() was successful."
510
+ msgstr ""
511
+
512
+ #: includes/admin/views/html-settings-system-status-page.php:64
513
+ msgid ""
514
+ "wp_remote_get() failed. This plugin won't work with your server. Contact "
515
+ "your hosting provider. Error:"
516
+ msgstr ""
517
+
518
+ #: includes/admin/views/html-settings-system-status-page.php:67
519
+ msgid "WP Remote Get"
520
+ msgstr ""
521
+
522
+ #: includes/admin/views/html-settings-system-status-page.php:77
523
+ msgid "Get System Report"
524
+ msgstr ""
525
+
526
+ #: includes/class-social-count-plus-view.php:52
527
+ #: includes/class-social-count-plus-view.php:91
528
+ #: includes/class-social-count-plus-view.php:104
529
+ #: includes/class-social-count-plus-view.php:130
530
+ #: includes/class-social-count-plus-view.php:143
531
+ msgid "followers"
532
+ msgstr "Abonnés"
533
+
534
+ #: includes/class-social-count-plus-view.php:65
535
+ msgid "likes"
536
+ msgstr "Fans"
537
+
538
+ #: includes/class-social-count-plus-view.php:78
539
+ msgid "subscribers"
540
+ msgstr "Abonnés"
541
+
542
+ #: includes/class-social-count-plus-view.php:117
543
+ msgid "members"
544
+ msgstr "membres"
545
+
546
+ #: includes/class-social-count-plus-view.php:178
547
+ msgid "comments"
548
+ msgstr "commentaires"
549
+
550
+ #: includes/class-social-count-plus-widget.php:19
551
+ msgid "Display the counter"
552
+ msgstr "Afficher le compteur"
553
+
554
+ #: includes/class-social-count-plus-widget.php:59
555
+ msgid "Title"
556
+ msgstr "Titre"
557
+
558
+ #. Plugin URI of the plugin/theme
559
+ msgid "https://github.com/claudiosmweb/social-count-plus"
560
+ msgstr "https://github.com/claudiosmweb/social-count-plus"
561
+
562
+ #. Description of the plugin/theme
563
+ msgid ""
564
+ "Display the counting Twitter followers, Facebook fans, YouTube subscribers "
565
+ "posts and comments."
566
+ msgstr "Afficher les compteurs Twitter, les fans Facebook, les abonnés YouTube, les messages et commentaires."
567
+
568
+ #. Author of the plugin/theme
569
+ msgid "Claudio Sanches, Felipe Santana"
570
+ msgstr ""
571
+
572
+ #. Author URI of the plugin/theme
573
+ msgid "http://claudiosmweb.com/"
574
+ msgstr "http://claudiosmweb.com/"
languages/social-count-plus-pt_BR.mo ADDED
Binary file
languages/social-count-plus-pt_BR.po ADDED
@@ -0,0 +1,575 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Copyright (C) 2015 Claudio Sanches, Felipe Santana
2
+ # This file is distributed under the GPLv2 or later.
3
+ # Translators:
4
+ # Claudio Sanches <contato@claudiosmweb.com>, 2014
5
+ msgid ""
6
+ msgstr ""
7
+ "Project-Id-Version: Social Count Plus\n"
8
+ "Report-Msgid-Bugs-To: https://wordpress.org/plugins/woocommerce-domination/\n"
9
+ "POT-Creation-Date: 2015-08-21 15:42:56+00:00\n"
10
+ "PO-Revision-Date: 2015-08-21 15:43+0000\n"
11
+ "Last-Translator: Claudio Sanches <contato@claudiosmweb.com>\n"
12
+ "Language-Team: Portuguese (Brazil) (http://www.transifex.com/claudiosmweb/social-count-plus/language/pt_BR/)\n"
13
+ "MIME-Version: 1.0\n"
14
+ "Content-Type: text/plain; charset=UTF-8\n"
15
+ "Content-Transfer-Encoding: 8bit\n"
16
+ "Language: pt_BR\n"
17
+ "Plural-Forms: nplurals=2; plural=(n > 1);\n"
18
+ "X-Generator: grunt-wp-i18n 0.5.3\n"
19
+
20
+ #: includes/admin/class-social-count-plus-admin.php:66
21
+ msgid "Create an App on Twitter in %s and get this information"
22
+ msgstr ""
23
+
24
+ #: includes/admin/class-social-count-plus-admin.php:68
25
+ msgid "Create an App on Facebook in %s and get this information"
26
+ msgstr ""
27
+
28
+ #: includes/admin/class-social-count-plus-admin.php:70
29
+ msgid "Get the this information in %s"
30
+ msgstr "Pegue esta informação em %s"
31
+
32
+ #: includes/admin/class-social-count-plus-admin.php:75
33
+ #: includes/admin/class-social-count-plus-admin.php:885
34
+ msgid "Twitter"
35
+ msgstr "Twitter"
36
+
37
+ #: includes/admin/class-social-count-plus-admin.php:78
38
+ msgid "Display Twitter counter"
39
+ msgstr "Exibir o contador do Twitter"
40
+
41
+ #: includes/admin/class-social-count-plus-admin.php:82
42
+ #: includes/admin/views/html-settings-page.php:24
43
+ msgid "Twitter username"
44
+ msgstr "Nome de usuário no Twitter"
45
+
46
+ #: includes/admin/class-social-count-plus-admin.php:84
47
+ msgid "Insert the Twitter username. Example: claudiosmweb"
48
+ msgstr ""
49
+
50
+ #: includes/admin/class-social-count-plus-admin.php:87
51
+ #: includes/admin/views/html-settings-page.php:25
52
+ msgid "Twitter Consumer key"
53
+ msgstr "Twitter Consumer key"
54
+
55
+ #: includes/admin/class-social-count-plus-admin.php:92
56
+ #: includes/admin/views/html-settings-page.php:26
57
+ msgid "Twitter Consumer secret"
58
+ msgstr "Twitter Consumer secret"
59
+
60
+ #: includes/admin/class-social-count-plus-admin.php:97
61
+ #: includes/admin/views/html-settings-page.php:27
62
+ msgid "Twitter Access token"
63
+ msgstr "Twitter Access token"
64
+
65
+ #: includes/admin/class-social-count-plus-admin.php:102
66
+ #: includes/admin/views/html-settings-page.php:28
67
+ msgid "Twitter Access token secret"
68
+ msgstr "Twitter Access token secret"
69
+
70
+ #: includes/admin/class-social-count-plus-admin.php:109
71
+ #: includes/admin/class-social-count-plus-admin.php:886
72
+ msgid "Facebook"
73
+ msgstr "Facebook"
74
+
75
+ #: includes/admin/class-social-count-plus-admin.php:112
76
+ msgid "Display Facebook counter"
77
+ msgstr "Exibir o contador do Facebook"
78
+
79
+ #: includes/admin/class-social-count-plus-admin.php:116
80
+ msgid "Facebook Page ID"
81
+ msgstr "ID da página no Facebook"
82
+
83
+ #: includes/admin/class-social-count-plus-admin.php:120
84
+ msgid "ID Facebook page. Must be the numeric ID or your page slug."
85
+ msgstr ""
86
+
87
+ #: includes/admin/class-social-count-plus-admin.php:121
88
+ msgid ""
89
+ "You can find this information clicking to edit your page on Facebook. The "
90
+ "URL will be similar to this:"
91
+ msgstr ""
92
+
93
+ #: includes/admin/class-social-count-plus-admin.php:122
94
+ msgid "or"
95
+ msgstr ""
96
+
97
+ #: includes/admin/class-social-count-plus-admin.php:126
98
+ msgid "Facebook App ID"
99
+ msgstr ""
100
+
101
+ #: includes/admin/class-social-count-plus-admin.php:131
102
+ msgid "Facebook App Secret"
103
+ msgstr ""
104
+
105
+ #: includes/admin/class-social-count-plus-admin.php:138
106
+ #: includes/admin/class-social-count-plus-admin.php:887
107
+ msgid "YouTube"
108
+ msgstr "YouTube"
109
+
110
+ #: includes/admin/class-social-count-plus-admin.php:141
111
+ msgid "Display YouTube counter"
112
+ msgstr "Exibir o contador do YouTube"
113
+
114
+ #: includes/admin/class-social-count-plus-admin.php:145
115
+ msgid "YouTube Channel ID"
116
+ msgstr ""
117
+
118
+ #: includes/admin/class-social-count-plus-admin.php:147
119
+ msgid "Insert the YouTube Channel ID. Example: %s"
120
+ msgstr ""
121
+
122
+ #: includes/admin/class-social-count-plus-admin.php:150
123
+ msgid "YouTube Channel URL"
124
+ msgstr ""
125
+
126
+ #: includes/admin/class-social-count-plus-admin.php:152
127
+ msgid "Insert the YouTube channel URL. Example: %s"
128
+ msgstr ""
129
+
130
+ #: includes/admin/class-social-count-plus-admin.php:155
131
+ #: includes/admin/class-social-count-plus-admin.php:181
132
+ msgid "Google API Key"
133
+ msgstr ""
134
+
135
+ #: includes/admin/class-social-count-plus-admin.php:158
136
+ msgid ""
137
+ "Get your API key creating a project/app in %s, then inside your project go "
138
+ "to \"APIs & auth > APIs\" and turn on the \"YouTube API\", finally go to "
139
+ "\"APIs & auth > APIs > Credentials > Public API access\" and click in the "
140
+ "\"CREATE A NEW KEY\" button, select the \"Browser key\" option and click in "
141
+ "the \"CREATE\" button, now just copy your API key and paste here."
142
+ msgstr ""
143
+
144
+ #: includes/admin/class-social-count-plus-admin.php:165
145
+ #: includes/admin/class-social-count-plus-admin.php:888
146
+ msgid "Google+"
147
+ msgstr ""
148
+
149
+ #: includes/admin/class-social-count-plus-admin.php:168
150
+ msgid "Display Google+ counter"
151
+ msgstr ""
152
+
153
+ #: includes/admin/class-social-count-plus-admin.php:172
154
+ msgid "Google+ ID"
155
+ msgstr ""
156
+
157
+ #: includes/admin/class-social-count-plus-admin.php:176
158
+ msgid "Google+ page or profile ID."
159
+ msgstr ""
160
+
161
+ #: includes/admin/class-social-count-plus-admin.php:177
162
+ msgid "Example:"
163
+ msgstr ""
164
+
165
+ #: includes/admin/class-social-count-plus-admin.php:184
166
+ msgid ""
167
+ "Get your API key creating a project/app in %s, then inside your project go "
168
+ "to \"APIs & auth > APIs\" and turn on the \"Google+ API\", finally go to "
169
+ "\"APIs & auth > APIs > Credentials > Public API access\" and click in the "
170
+ "\"CREATE A NEW KEY\" button, select the \"Browser key\" option and click in "
171
+ "the \"CREATE\" button, now just copy your API key and paste here."
172
+ msgstr ""
173
+
174
+ #: includes/admin/class-social-count-plus-admin.php:191
175
+ #: includes/admin/class-social-count-plus-admin.php:889
176
+ msgid "Instagram"
177
+ msgstr "Instagram"
178
+
179
+ #: includes/admin/class-social-count-plus-admin.php:194
180
+ msgid "Display Instagram counter"
181
+ msgstr "Exibir o contador do Instagram"
182
+
183
+ #: includes/admin/class-social-count-plus-admin.php:198
184
+ msgid "Instagram Username"
185
+ msgstr "Nome de usuário no Instagram"
186
+
187
+ #: includes/admin/class-social-count-plus-admin.php:200
188
+ msgid "Insert the Instagram Username."
189
+ msgstr "Insira seu nome de usuário no Instagram."
190
+
191
+ #: includes/admin/class-social-count-plus-admin.php:203
192
+ msgid "Instagram User ID"
193
+ msgstr "User ID do Instagram"
194
+
195
+ #: includes/admin/class-social-count-plus-admin.php:205
196
+ msgid "Insert the Instagram User ID."
197
+ msgstr "Insira seu User ID do Instagram."
198
+
199
+ #: includes/admin/class-social-count-plus-admin.php:208
200
+ msgid "Instagram Access Token"
201
+ msgstr "Access Token do Instagram"
202
+
203
+ #: includes/admin/class-social-count-plus-admin.php:210
204
+ msgid "Insert the Instagram Access Token."
205
+ msgstr "Insira o seu Access Token do Instagram"
206
+
207
+ #: includes/admin/class-social-count-plus-admin.php:215
208
+ #: includes/admin/class-social-count-plus-admin.php:890
209
+ msgid "Steam"
210
+ msgstr "Steam"
211
+
212
+ #: includes/admin/class-social-count-plus-admin.php:218
213
+ msgid "Display Steam counter"
214
+ msgstr "Exibir o contador do Steam"
215
+
216
+ #: includes/admin/class-social-count-plus-admin.php:222
217
+ msgid "Steam group name"
218
+ msgstr "Nome do grupo no Steam"
219
+
220
+ #: includes/admin/class-social-count-plus-admin.php:224
221
+ msgid "Insert the Steam Community group name. Example: %s"
222
+ msgstr ""
223
+
224
+ #: includes/admin/class-social-count-plus-admin.php:229
225
+ #: includes/admin/class-social-count-plus-admin.php:891
226
+ msgid "Twitch"
227
+ msgstr ""
228
+
229
+ #: includes/admin/class-social-count-plus-admin.php:232
230
+ msgid "Display Twitch counter"
231
+ msgstr ""
232
+
233
+ #: includes/admin/class-social-count-plus-admin.php:236
234
+ msgid "Twitch username"
235
+ msgstr ""
236
+
237
+ #: includes/admin/class-social-count-plus-admin.php:238
238
+ msgid "Insert your Twitch username."
239
+ msgstr ""
240
+
241
+ #: includes/admin/class-social-count-plus-admin.php:243
242
+ #: includes/admin/class-social-count-plus-admin.php:892
243
+ msgid "SoundCloud"
244
+ msgstr "SoundCloud"
245
+
246
+ #: includes/admin/class-social-count-plus-admin.php:246
247
+ msgid "Display SoundCloud counter"
248
+ msgstr "Exibir o contador do SoundCloud"
249
+
250
+ #: includes/admin/class-social-count-plus-admin.php:250
251
+ msgid "SoundCloud Username"
252
+ msgstr "Nome de usuário no SoundCloud"
253
+
254
+ #: includes/admin/class-social-count-plus-admin.php:252
255
+ msgid "Insert the SoundCloud Username."
256
+ msgstr "Insira seu nome de usuário no SoundCloud."
257
+
258
+ #: includes/admin/class-social-count-plus-admin.php:255
259
+ msgid "SoundCloud Client ID"
260
+ msgstr "Client ID do SoundCloud"
261
+
262
+ #: includes/admin/class-social-count-plus-admin.php:257
263
+ msgid "Insert the SoundCloud App Client ID. Generate this information in %s"
264
+ msgstr ""
265
+
266
+ #: includes/admin/class-social-count-plus-admin.php:262
267
+ #: includes/admin/class-social-count-plus-admin.php:893
268
+ msgid "Posts"
269
+ msgstr "Posts"
270
+
271
+ #: includes/admin/class-social-count-plus-admin.php:265
272
+ msgid "Display Posts counter"
273
+ msgstr "Exibir o contador de Posts"
274
+
275
+ #: includes/admin/class-social-count-plus-admin.php:270
276
+ msgid "Post type"
277
+ msgstr ""
278
+
279
+ #: includes/admin/class-social-count-plus-admin.php:277
280
+ #: includes/admin/class-social-count-plus-admin.php:894
281
+ msgid "Comments"
282
+ msgstr "Comentários"
283
+
284
+ #: includes/admin/class-social-count-plus-admin.php:280
285
+ msgid "Display Comments counter"
286
+ msgstr "Exibir o contador de Comentários"
287
+
288
+ #: includes/admin/class-social-count-plus-admin.php:287
289
+ #: includes/admin/class-social-count-plus-admin.php:726
290
+ #: includes/admin/views/html-settings-page.php:9
291
+ msgid "Settings"
292
+ msgstr "Configurações"
293
+
294
+ #: includes/admin/class-social-count-plus-admin.php:290
295
+ msgid "Open URLs in new tab/window"
296
+ msgstr ""
297
+
298
+ #: includes/admin/class-social-count-plus-admin.php:292
299
+ #: includes/admin/class-social-count-plus-admin.php:297
300
+ msgid "This option add %s in all counters URLs."
301
+ msgstr ""
302
+
303
+ #: includes/admin/class-social-count-plus-admin.php:295
304
+ msgid "Add nofollow in URLs"
305
+ msgstr ""
306
+
307
+ #: includes/admin/class-social-count-plus-admin.php:304
308
+ #: includes/admin/views/html-settings-page.php:9
309
+ msgid "Design"
310
+ msgstr "Estilos"
311
+
312
+ #: includes/admin/class-social-count-plus-admin.php:307
313
+ msgid "Layout Models"
314
+ msgstr "Modelos"
315
+
316
+ #: includes/admin/class-social-count-plus-admin.php:322
317
+ msgid "Text Color"
318
+ msgstr "Cor do texto"
319
+
320
+ #: includes/admin/class-social-count-plus-admin.php:327
321
+ msgid "Order"
322
+ msgstr ""
323
+
324
+ #: includes/admin/class-social-count-plus-admin.php:329
325
+ msgid "This option controls the order of the icons in the widget."
326
+ msgstr ""
327
+
328
+ #. Plugin Name of the plugin/theme
329
+ msgid "Social Count Plus"
330
+ msgstr "Social Count Plus"
331
+
332
+ #: includes/admin/class-social-count-plus-admin.php:561
333
+ msgid "Activate/Deactivate"
334
+ msgstr "Ativar/Desativar"
335
+
336
+ #: includes/admin/class-social-count-plus-admin.php:774
337
+ msgid "General Info"
338
+ msgstr ""
339
+
340
+ #: includes/admin/class-social-count-plus-admin.php:775
341
+ #: includes/admin/views/html-settings-system-status-page.php:11
342
+ msgid "Social Count Plus Version"
343
+ msgstr ""
344
+
345
+ #: includes/admin/class-social-count-plus-admin.php:776
346
+ #: includes/admin/views/html-settings-system-status-page.php:15
347
+ msgid "WordPress Version"
348
+ msgstr ""
349
+
350
+ #: includes/admin/class-social-count-plus-admin.php:777
351
+ #: includes/admin/views/html-settings-system-status-page.php:19
352
+ msgid "WP Multisite Enabled"
353
+ msgstr ""
354
+
355
+ #: includes/admin/class-social-count-plus-admin.php:777
356
+ #: includes/admin/class-social-count-plus-admin.php:780
357
+ #: includes/admin/class-social-count-plus-admin.php:781
358
+ #: includes/admin/views/html-settings-system-status-page.php:20
359
+ msgid "Yes"
360
+ msgstr ""
361
+
362
+ #: includes/admin/class-social-count-plus-admin.php:777
363
+ #: includes/admin/class-social-count-plus-admin.php:780
364
+ #: includes/admin/class-social-count-plus-admin.php:781
365
+ #: includes/admin/views/html-settings-system-status-page.php:20
366
+ msgid "No"
367
+ msgstr ""
368
+
369
+ #: includes/admin/class-social-count-plus-admin.php:778
370
+ #: includes/admin/views/html-settings-system-status-page.php:23
371
+ msgid "Web Server Info"
372
+ msgstr ""
373
+
374
+ #: includes/admin/class-social-count-plus-admin.php:779
375
+ #: includes/admin/views/html-settings-system-status-page.php:27
376
+ msgid "PHP Version"
377
+ msgstr ""
378
+
379
+ #: includes/admin/class-social-count-plus-admin.php:782
380
+ msgid "Social Connections"
381
+ msgstr ""
382
+
383
+ #: includes/admin/class-social-count-plus-admin.php:792
384
+ msgid ""
385
+ "You do not have any counter that needs to connect remotely currently active"
386
+ msgstr ""
387
+
388
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:7
389
+ msgid ""
390
+ "Use this library to generate your own model layout or display specific data "
391
+ "counters."
392
+ msgstr "Utilize esta biblioteca para gerar o seu próprio modelo de layout ou exibir contadores de dados específicos."
393
+
394
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:9
395
+ msgid "Shortcodes"
396
+ msgstr "Shortcodes"
397
+
398
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:11
399
+ msgid "Note: the shortcodes displays only the count in plain text."
400
+ msgstr ""
401
+
402
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:15
403
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:62
404
+ msgid "Twitter counter"
405
+ msgstr "Contador do Twitter"
406
+
407
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:19
408
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:66
409
+ msgid "Facebook counter"
410
+ msgstr "Contador do Facebook"
411
+
412
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:23
413
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:70
414
+ msgid "YouTube counter"
415
+ msgstr "Contador do YouTube"
416
+
417
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:27
418
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:74
419
+ msgid "Google Plus counter"
420
+ msgstr "Contador do Google Plus"
421
+
422
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:31
423
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:78
424
+ msgid "Instagram counter"
425
+ msgstr "Contador do Instagram"
426
+
427
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:35
428
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:82
429
+ msgid "Steam counter"
430
+ msgstr "Contador do Steam"
431
+
432
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:39
433
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:86
434
+ msgid "Twitch counter"
435
+ msgstr ""
436
+
437
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:43
438
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:90
439
+ msgid "SoundCloud counter"
440
+ msgstr "Contador do SoundCloud"
441
+
442
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:47
443
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:94
444
+ msgid "Posts counter"
445
+ msgstr "Contador de Posts"
446
+
447
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:51
448
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:98
449
+ msgid "Comments counter"
450
+ msgstr "Contador de Comentários"
451
+
452
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:56
453
+ msgid "Functions"
454
+ msgstr "Funções"
455
+
456
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:58
457
+ msgid ""
458
+ "Note: the functions displays only the count in plain text, except the "
459
+ "<code>get_scp_widget()</code> function that displays with images."
460
+ msgstr ""
461
+
462
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:102
463
+ msgid "Full widget"
464
+ msgstr "Widget completo"
465
+
466
+ #: includes/admin/views/html-settings-page.php:9
467
+ msgid "Shortcodes and Functions"
468
+ msgstr "Shortcodes e Funções"
469
+
470
+ #: includes/admin/views/html-settings-page.php:9
471
+ msgid "System Status"
472
+ msgstr ""
473
+
474
+ #: includes/admin/views/html-settings-page.php:22
475
+ msgid "To use the counter of Twitter you need to fill the fields:"
476
+ msgstr "Para usar o contador do Twitter você precisa preencher os campos:"
477
+
478
+ #: includes/admin/views/html-settings-system-status-page.php:5
479
+ msgid "Environment"
480
+ msgstr ""
481
+
482
+ #: includes/admin/views/html-settings-system-status-page.php:33
483
+ msgid ""
484
+ "Your server does not have fsockopen or cURL enabled. The scripts which "
485
+ "communicate with the social APIs will not work. Contact your hosting "
486
+ "provider."
487
+ msgstr ""
488
+
489
+ #: includes/admin/views/html-settings-system-status-page.php:37
490
+ msgid "Your server has fsockopen and cURL enabled."
491
+ msgstr ""
492
+
493
+ #: includes/admin/views/html-settings-system-status-page.php:39
494
+ msgid "Your server has fsockopen enabled, cURL is disabled."
495
+ msgstr ""
496
+
497
+ #: includes/admin/views/html-settings-system-status-page.php:41
498
+ msgid "Your server has cURL enabled, fsockopen is disabled."
499
+ msgstr ""
500
+
501
+ #: includes/admin/views/html-settings-system-status-page.php:47
502
+ msgid "fsockopen/cURL"
503
+ msgstr ""
504
+
505
+ #: includes/admin/views/html-settings-system-status-page.php:57
506
+ msgid "wp_remote_get() failed. This may not work with your server."
507
+ msgstr ""
508
+
509
+ #: includes/admin/views/html-settings-system-status-page.php:62
510
+ msgid "wp_remote_get() was successful."
511
+ msgstr ""
512
+
513
+ #: includes/admin/views/html-settings-system-status-page.php:64
514
+ msgid ""
515
+ "wp_remote_get() failed. This plugin won't work with your server. Contact "
516
+ "your hosting provider. Error:"
517
+ msgstr ""
518
+
519
+ #: includes/admin/views/html-settings-system-status-page.php:67
520
+ msgid "WP Remote Get"
521
+ msgstr ""
522
+
523
+ #: includes/admin/views/html-settings-system-status-page.php:77
524
+ msgid "Get System Report"
525
+ msgstr ""
526
+
527
+ #: includes/class-social-count-plus-view.php:52
528
+ #: includes/class-social-count-plus-view.php:91
529
+ #: includes/class-social-count-plus-view.php:104
530
+ #: includes/class-social-count-plus-view.php:130
531
+ #: includes/class-social-count-plus-view.php:143
532
+ msgid "followers"
533
+ msgstr "seguidores"
534
+
535
+ #: includes/class-social-count-plus-view.php:65
536
+ msgid "likes"
537
+ msgstr "fãs"
538
+
539
+ #: includes/class-social-count-plus-view.php:78
540
+ msgid "subscribers"
541
+ msgstr "assinantes"
542
+
543
+ #: includes/class-social-count-plus-view.php:117
544
+ msgid "members"
545
+ msgstr "membros"
546
+
547
+ #: includes/class-social-count-plus-view.php:178
548
+ msgid "comments"
549
+ msgstr "comentários"
550
+
551
+ #: includes/class-social-count-plus-widget.php:19
552
+ msgid "Display the counter"
553
+ msgstr "Exibir o contador"
554
+
555
+ #: includes/class-social-count-plus-widget.php:59
556
+ msgid "Title"
557
+ msgstr "Título"
558
+
559
+ #. Plugin URI of the plugin/theme
560
+ msgid "https://github.com/claudiosmweb/social-count-plus"
561
+ msgstr "https://github.com/claudiosmweb/social-count-plus"
562
+
563
+ #. Description of the plugin/theme
564
+ msgid ""
565
+ "Display the counting Twitter followers, Facebook fans, YouTube subscribers "
566
+ "posts and comments."
567
+ msgstr "Mostrar a contagem de seguidores no Twitter, fãs do Facebook, assinantes do YouTube, posts e comentários."
568
+
569
+ #. Author of the plugin/theme
570
+ msgid "Claudio Sanches, Felipe Santana"
571
+ msgstr ""
572
+
573
+ #. Author URI of the plugin/theme
574
+ msgid "http://claudiosmweb.com/"
575
+ msgstr "http://claudiosmweb.com/"
languages/social-count-plus-ru_RU.mo ADDED
Binary file
languages/social-count-plus-ru_RU.po ADDED
@@ -0,0 +1,574 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Copyright (C) 2015 Claudio Sanches, Felipe Santana
2
+ # This file is distributed under the GPLv2 or later.
3
+ # Translators:
4
+ msgid ""
5
+ msgstr ""
6
+ "Project-Id-Version: Social Count Plus\n"
7
+ "Report-Msgid-Bugs-To: https://wordpress.org/plugins/woocommerce-domination/\n"
8
+ "POT-Creation-Date: 2015-08-21 15:42:56+00:00\n"
9
+ "PO-Revision-Date: 2015-08-21 15:43+0000\n"
10
+ "Last-Translator: Claudio Sanches <contato@claudiosmweb.com>\n"
11
+ "Language-Team: Russian (Russia) (http://www.transifex.com/claudiosmweb/social-count-plus/language/ru_RU/)\n"
12
+ "MIME-Version: 1.0\n"
13
+ "Content-Type: text/plain; charset=UTF-8\n"
14
+ "Content-Transfer-Encoding: 8bit\n"
15
+ "Language: ru_RU\n"
16
+ "Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3);\n"
17
+ "X-Generator: grunt-wp-i18n 0.5.3\n"
18
+
19
+ #: includes/admin/class-social-count-plus-admin.php:66
20
+ msgid "Create an App on Twitter in %s and get this information"
21
+ msgstr ""
22
+
23
+ #: includes/admin/class-social-count-plus-admin.php:68
24
+ msgid "Create an App on Facebook in %s and get this information"
25
+ msgstr ""
26
+
27
+ #: includes/admin/class-social-count-plus-admin.php:70
28
+ msgid "Get the this information in %s"
29
+ msgstr "Получите эту информацию здесь %s"
30
+
31
+ #: includes/admin/class-social-count-plus-admin.php:75
32
+ #: includes/admin/class-social-count-plus-admin.php:885
33
+ msgid "Twitter"
34
+ msgstr "Twitter"
35
+
36
+ #: includes/admin/class-social-count-plus-admin.php:78
37
+ msgid "Display Twitter counter"
38
+ msgstr "Показывать счетчик Twitter"
39
+
40
+ #: includes/admin/class-social-count-plus-admin.php:82
41
+ #: includes/admin/views/html-settings-page.php:24
42
+ msgid "Twitter username"
43
+ msgstr "Пользователь Twitter"
44
+
45
+ #: includes/admin/class-social-count-plus-admin.php:84
46
+ msgid "Insert the Twitter username. Example: claudiosmweb"
47
+ msgstr ""
48
+
49
+ #: includes/admin/class-social-count-plus-admin.php:87
50
+ #: includes/admin/views/html-settings-page.php:25
51
+ msgid "Twitter Consumer key"
52
+ msgstr "Twitter Consumer key"
53
+
54
+ #: includes/admin/class-social-count-plus-admin.php:92
55
+ #: includes/admin/views/html-settings-page.php:26
56
+ msgid "Twitter Consumer secret"
57
+ msgstr "Twitter Consumer secret"
58
+
59
+ #: includes/admin/class-social-count-plus-admin.php:97
60
+ #: includes/admin/views/html-settings-page.php:27
61
+ msgid "Twitter Access token"
62
+ msgstr "Twitter Access token"
63
+
64
+ #: includes/admin/class-social-count-plus-admin.php:102
65
+ #: includes/admin/views/html-settings-page.php:28
66
+ msgid "Twitter Access token secret"
67
+ msgstr "Twitter Access token secret"
68
+
69
+ #: includes/admin/class-social-count-plus-admin.php:109
70
+ #: includes/admin/class-social-count-plus-admin.php:886
71
+ msgid "Facebook"
72
+ msgstr "Facebook"
73
+
74
+ #: includes/admin/class-social-count-plus-admin.php:112
75
+ msgid "Display Facebook counter"
76
+ msgstr "Показывать счетчик Facebook"
77
+
78
+ #: includes/admin/class-social-count-plus-admin.php:116
79
+ msgid "Facebook Page ID"
80
+ msgstr "ID страницы Facebook"
81
+
82
+ #: includes/admin/class-social-count-plus-admin.php:120
83
+ msgid "ID Facebook page. Must be the numeric ID or your page slug."
84
+ msgstr ""
85
+
86
+ #: includes/admin/class-social-count-plus-admin.php:121
87
+ msgid ""
88
+ "You can find this information clicking to edit your page on Facebook. The "
89
+ "URL will be similar to this:"
90
+ msgstr ""
91
+
92
+ #: includes/admin/class-social-count-plus-admin.php:122
93
+ msgid "or"
94
+ msgstr ""
95
+
96
+ #: includes/admin/class-social-count-plus-admin.php:126
97
+ msgid "Facebook App ID"
98
+ msgstr ""
99
+
100
+ #: includes/admin/class-social-count-plus-admin.php:131
101
+ msgid "Facebook App Secret"
102
+ msgstr ""
103
+
104
+ #: includes/admin/class-social-count-plus-admin.php:138
105
+ #: includes/admin/class-social-count-plus-admin.php:887
106
+ msgid "YouTube"
107
+ msgstr "YouTube"
108
+
109
+ #: includes/admin/class-social-count-plus-admin.php:141
110
+ msgid "Display YouTube counter"
111
+ msgstr "Показывать счетчик YouTube"
112
+
113
+ #: includes/admin/class-social-count-plus-admin.php:145
114
+ msgid "YouTube Channel ID"
115
+ msgstr ""
116
+
117
+ #: includes/admin/class-social-count-plus-admin.php:147
118
+ msgid "Insert the YouTube Channel ID. Example: %s"
119
+ msgstr ""
120
+
121
+ #: includes/admin/class-social-count-plus-admin.php:150
122
+ msgid "YouTube Channel URL"
123
+ msgstr ""
124
+
125
+ #: includes/admin/class-social-count-plus-admin.php:152
126
+ msgid "Insert the YouTube channel URL. Example: %s"
127
+ msgstr ""
128
+
129
+ #: includes/admin/class-social-count-plus-admin.php:155
130
+ #: includes/admin/class-social-count-plus-admin.php:181
131
+ msgid "Google API Key"
132
+ msgstr ""
133
+
134
+ #: includes/admin/class-social-count-plus-admin.php:158
135
+ msgid ""
136
+ "Get your API key creating a project/app in %s, then inside your project go "
137
+ "to \"APIs & auth > APIs\" and turn on the \"YouTube API\", finally go to "
138
+ "\"APIs & auth > APIs > Credentials > Public API access\" and click in the "
139
+ "\"CREATE A NEW KEY\" button, select the \"Browser key\" option and click in "
140
+ "the \"CREATE\" button, now just copy your API key and paste here."
141
+ msgstr ""
142
+
143
+ #: includes/admin/class-social-count-plus-admin.php:165
144
+ #: includes/admin/class-social-count-plus-admin.php:888
145
+ msgid "Google+"
146
+ msgstr ""
147
+
148
+ #: includes/admin/class-social-count-plus-admin.php:168
149
+ msgid "Display Google+ counter"
150
+ msgstr ""
151
+
152
+ #: includes/admin/class-social-count-plus-admin.php:172
153
+ msgid "Google+ ID"
154
+ msgstr ""
155
+
156
+ #: includes/admin/class-social-count-plus-admin.php:176
157
+ msgid "Google+ page or profile ID."
158
+ msgstr ""
159
+
160
+ #: includes/admin/class-social-count-plus-admin.php:177
161
+ msgid "Example:"
162
+ msgstr ""
163
+
164
+ #: includes/admin/class-social-count-plus-admin.php:184
165
+ msgid ""
166
+ "Get your API key creating a project/app in %s, then inside your project go "
167
+ "to \"APIs & auth > APIs\" and turn on the \"Google+ API\", finally go to "
168
+ "\"APIs & auth > APIs > Credentials > Public API access\" and click in the "
169
+ "\"CREATE A NEW KEY\" button, select the \"Browser key\" option and click in "
170
+ "the \"CREATE\" button, now just copy your API key and paste here."
171
+ msgstr ""
172
+
173
+ #: includes/admin/class-social-count-plus-admin.php:191
174
+ #: includes/admin/class-social-count-plus-admin.php:889
175
+ msgid "Instagram"
176
+ msgstr "Instagram"
177
+
178
+ #: includes/admin/class-social-count-plus-admin.php:194
179
+ msgid "Display Instagram counter"
180
+ msgstr "Показывать счетчик Instagram"
181
+
182
+ #: includes/admin/class-social-count-plus-admin.php:198
183
+ msgid "Instagram Username"
184
+ msgstr "Пользователь Instagram"
185
+
186
+ #: includes/admin/class-social-count-plus-admin.php:200
187
+ msgid "Insert the Instagram Username."
188
+ msgstr "Введите имя пользователя Instagram."
189
+
190
+ #: includes/admin/class-social-count-plus-admin.php:203
191
+ msgid "Instagram User ID"
192
+ msgstr "ID пользователя Instagram"
193
+
194
+ #: includes/admin/class-social-count-plus-admin.php:205
195
+ msgid "Insert the Instagram User ID."
196
+ msgstr "Введите ID пользователя Instagram."
197
+
198
+ #: includes/admin/class-social-count-plus-admin.php:208
199
+ msgid "Instagram Access Token"
200
+ msgstr "Instagram Access Token"
201
+
202
+ #: includes/admin/class-social-count-plus-admin.php:210
203
+ msgid "Insert the Instagram Access Token."
204
+ msgstr "Введите Instagram Access Token."
205
+
206
+ #: includes/admin/class-social-count-plus-admin.php:215
207
+ #: includes/admin/class-social-count-plus-admin.php:890
208
+ msgid "Steam"
209
+ msgstr "Steam"
210
+
211
+ #: includes/admin/class-social-count-plus-admin.php:218
212
+ msgid "Display Steam counter"
213
+ msgstr "Показывать счетчик Steam"
214
+
215
+ #: includes/admin/class-social-count-plus-admin.php:222
216
+ msgid "Steam group name"
217
+ msgstr "Группа в Steam"
218
+
219
+ #: includes/admin/class-social-count-plus-admin.php:224
220
+ msgid "Insert the Steam Community group name. Example: %s"
221
+ msgstr ""
222
+
223
+ #: includes/admin/class-social-count-plus-admin.php:229
224
+ #: includes/admin/class-social-count-plus-admin.php:891
225
+ msgid "Twitch"
226
+ msgstr ""
227
+
228
+ #: includes/admin/class-social-count-plus-admin.php:232
229
+ msgid "Display Twitch counter"
230
+ msgstr ""
231
+
232
+ #: includes/admin/class-social-count-plus-admin.php:236
233
+ msgid "Twitch username"
234
+ msgstr ""
235
+
236
+ #: includes/admin/class-social-count-plus-admin.php:238
237
+ msgid "Insert your Twitch username."
238
+ msgstr ""
239
+
240
+ #: includes/admin/class-social-count-plus-admin.php:243
241
+ #: includes/admin/class-social-count-plus-admin.php:892
242
+ msgid "SoundCloud"
243
+ msgstr "SoundCloud"
244
+
245
+ #: includes/admin/class-social-count-plus-admin.php:246
246
+ msgid "Display SoundCloud counter"
247
+ msgstr "Показывать счетчик SoundCloud"
248
+
249
+ #: includes/admin/class-social-count-plus-admin.php:250
250
+ msgid "SoundCloud Username"
251
+ msgstr "Пользователь SoundCloud"
252
+
253
+ #: includes/admin/class-social-count-plus-admin.php:252
254
+ msgid "Insert the SoundCloud Username."
255
+ msgstr "Введиет имя пользователя SoundCloud."
256
+
257
+ #: includes/admin/class-social-count-plus-admin.php:255
258
+ msgid "SoundCloud Client ID"
259
+ msgstr "ID клиента SoundCloud"
260
+
261
+ #: includes/admin/class-social-count-plus-admin.php:257
262
+ msgid "Insert the SoundCloud App Client ID. Generate this information in %s"
263
+ msgstr ""
264
+
265
+ #: includes/admin/class-social-count-plus-admin.php:262
266
+ #: includes/admin/class-social-count-plus-admin.php:893
267
+ msgid "Posts"
268
+ msgstr "Записи"
269
+
270
+ #: includes/admin/class-social-count-plus-admin.php:265
271
+ msgid "Display Posts counter"
272
+ msgstr "Показывать счетчик записей"
273
+
274
+ #: includes/admin/class-social-count-plus-admin.php:270
275
+ msgid "Post type"
276
+ msgstr ""
277
+
278
+ #: includes/admin/class-social-count-plus-admin.php:277
279
+ #: includes/admin/class-social-count-plus-admin.php:894
280
+ msgid "Comments"
281
+ msgstr "Комментарии"
282
+
283
+ #: includes/admin/class-social-count-plus-admin.php:280
284
+ msgid "Display Comments counter"
285
+ msgstr "Показывать счетчик комментариев"
286
+
287
+ #: includes/admin/class-social-count-plus-admin.php:287
288
+ #: includes/admin/class-social-count-plus-admin.php:726
289
+ #: includes/admin/views/html-settings-page.php:9
290
+ msgid "Settings"
291
+ msgstr "Настройки"
292
+
293
+ #: includes/admin/class-social-count-plus-admin.php:290
294
+ msgid "Open URLs in new tab/window"
295
+ msgstr ""
296
+
297
+ #: includes/admin/class-social-count-plus-admin.php:292
298
+ #: includes/admin/class-social-count-plus-admin.php:297
299
+ msgid "This option add %s in all counters URLs."
300
+ msgstr ""
301
+
302
+ #: includes/admin/class-social-count-plus-admin.php:295
303
+ msgid "Add nofollow in URLs"
304
+ msgstr ""
305
+
306
+ #: includes/admin/class-social-count-plus-admin.php:304
307
+ #: includes/admin/views/html-settings-page.php:9
308
+ msgid "Design"
309
+ msgstr "Внешний вид"
310
+
311
+ #: includes/admin/class-social-count-plus-admin.php:307
312
+ msgid "Layout Models"
313
+ msgstr "Внешний вид"
314
+
315
+ #: includes/admin/class-social-count-plus-admin.php:322
316
+ msgid "Text Color"
317
+ msgstr "Цвет текста"
318
+
319
+ #: includes/admin/class-social-count-plus-admin.php:327
320
+ msgid "Order"
321
+ msgstr ""
322
+
323
+ #: includes/admin/class-social-count-plus-admin.php:329
324
+ msgid "This option controls the order of the icons in the widget."
325
+ msgstr ""
326
+
327
+ #. Plugin Name of the plugin/theme
328
+ msgid "Social Count Plus"
329
+ msgstr "Соц счетчики +"
330
+
331
+ #: includes/admin/class-social-count-plus-admin.php:561
332
+ msgid "Activate/Deactivate"
333
+ msgstr "Включить/Отключить"
334
+
335
+ #: includes/admin/class-social-count-plus-admin.php:774
336
+ msgid "General Info"
337
+ msgstr ""
338
+
339
+ #: includes/admin/class-social-count-plus-admin.php:775
340
+ #: includes/admin/views/html-settings-system-status-page.php:11
341
+ msgid "Social Count Plus Version"
342
+ msgstr ""
343
+
344
+ #: includes/admin/class-social-count-plus-admin.php:776
345
+ #: includes/admin/views/html-settings-system-status-page.php:15
346
+ msgid "WordPress Version"
347
+ msgstr ""
348
+
349
+ #: includes/admin/class-social-count-plus-admin.php:777
350
+ #: includes/admin/views/html-settings-system-status-page.php:19
351
+ msgid "WP Multisite Enabled"
352
+ msgstr ""
353
+
354
+ #: includes/admin/class-social-count-plus-admin.php:777
355
+ #: includes/admin/class-social-count-plus-admin.php:780
356
+ #: includes/admin/class-social-count-plus-admin.php:781
357
+ #: includes/admin/views/html-settings-system-status-page.php:20
358
+ msgid "Yes"
359
+ msgstr ""
360
+
361
+ #: includes/admin/class-social-count-plus-admin.php:777
362
+ #: includes/admin/class-social-count-plus-admin.php:780
363
+ #: includes/admin/class-social-count-plus-admin.php:781
364
+ #: includes/admin/views/html-settings-system-status-page.php:20
365
+ msgid "No"
366
+ msgstr ""
367
+
368
+ #: includes/admin/class-social-count-plus-admin.php:778
369
+ #: includes/admin/views/html-settings-system-status-page.php:23
370
+ msgid "Web Server Info"
371
+ msgstr ""
372
+
373
+ #: includes/admin/class-social-count-plus-admin.php:779
374
+ #: includes/admin/views/html-settings-system-status-page.php:27
375
+ msgid "PHP Version"
376
+ msgstr ""
377
+
378
+ #: includes/admin/class-social-count-plus-admin.php:782
379
+ msgid "Social Connections"
380
+ msgstr ""
381
+
382
+ #: includes/admin/class-social-count-plus-admin.php:792
383
+ msgid ""
384
+ "You do not have any counter that needs to connect remotely currently active"
385
+ msgstr ""
386
+
387
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:7
388
+ msgid ""
389
+ "Use this library to generate your own model layout or display specific data "
390
+ "counters."
391
+ msgstr "Используйте эту библиотеку для создания своего собственного стиля счетчиков."
392
+
393
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:9
394
+ msgid "Shortcodes"
395
+ msgstr "Шоткоды"
396
+
397
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:11
398
+ msgid "Note: the shortcodes displays only the count in plain text."
399
+ msgstr ""
400
+
401
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:15
402
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:62
403
+ msgid "Twitter counter"
404
+ msgstr "Счетчик Twitter"
405
+
406
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:19
407
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:66
408
+ msgid "Facebook counter"
409
+ msgstr "Счетчик Facebook"
410
+
411
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:23
412
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:70
413
+ msgid "YouTube counter"
414
+ msgstr "Счетчик YouTube"
415
+
416
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:27
417
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:74
418
+ msgid "Google Plus counter"
419
+ msgstr "Счетчик Google+"
420
+
421
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:31
422
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:78
423
+ msgid "Instagram counter"
424
+ msgstr "Счетчик Instagram"
425
+
426
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:35
427
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:82
428
+ msgid "Steam counter"
429
+ msgstr "Счетчик Steam"
430
+
431
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:39
432
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:86
433
+ msgid "Twitch counter"
434
+ msgstr ""
435
+
436
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:43
437
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:90
438
+ msgid "SoundCloud counter"
439
+ msgstr "Счетчик SoundCloud"
440
+
441
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:47
442
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:94
443
+ msgid "Posts counter"
444
+ msgstr "Счетчик записей"
445
+
446
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:51
447
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:98
448
+ msgid "Comments counter"
449
+ msgstr "Счетчик комментариев"
450
+
451
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:56
452
+ msgid "Functions"
453
+ msgstr "Функции"
454
+
455
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:58
456
+ msgid ""
457
+ "Note: the functions displays only the count in plain text, except the "
458
+ "<code>get_scp_widget()</code> function that displays with images."
459
+ msgstr ""
460
+
461
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:102
462
+ msgid "Full widget"
463
+ msgstr "Виджет"
464
+
465
+ #: includes/admin/views/html-settings-page.php:9
466
+ msgid "Shortcodes and Functions"
467
+ msgstr "Шоткоды и функции"
468
+
469
+ #: includes/admin/views/html-settings-page.php:9
470
+ msgid "System Status"
471
+ msgstr ""
472
+
473
+ #: includes/admin/views/html-settings-page.php:22
474
+ msgid "To use the counter of Twitter you need to fill the fields:"
475
+ msgstr "Чтобы использовать счетчик Twitter, нужно заполнить поля ниже:"
476
+
477
+ #: includes/admin/views/html-settings-system-status-page.php:5
478
+ msgid "Environment"
479
+ msgstr ""
480
+
481
+ #: includes/admin/views/html-settings-system-status-page.php:33
482
+ msgid ""
483
+ "Your server does not have fsockopen or cURL enabled. The scripts which "
484
+ "communicate with the social APIs will not work. Contact your hosting "
485
+ "provider."
486
+ msgstr ""
487
+
488
+ #: includes/admin/views/html-settings-system-status-page.php:37
489
+ msgid "Your server has fsockopen and cURL enabled."
490
+ msgstr ""
491
+
492
+ #: includes/admin/views/html-settings-system-status-page.php:39
493
+ msgid "Your server has fsockopen enabled, cURL is disabled."
494
+ msgstr ""
495
+
496
+ #: includes/admin/views/html-settings-system-status-page.php:41
497
+ msgid "Your server has cURL enabled, fsockopen is disabled."
498
+ msgstr ""
499
+
500
+ #: includes/admin/views/html-settings-system-status-page.php:47
501
+ msgid "fsockopen/cURL"
502
+ msgstr ""
503
+
504
+ #: includes/admin/views/html-settings-system-status-page.php:57
505
+ msgid "wp_remote_get() failed. This may not work with your server."
506
+ msgstr ""
507
+
508
+ #: includes/admin/views/html-settings-system-status-page.php:62
509
+ msgid "wp_remote_get() was successful."
510
+ msgstr ""
511
+
512
+ #: includes/admin/views/html-settings-system-status-page.php:64
513
+ msgid ""
514
+ "wp_remote_get() failed. This plugin won't work with your server. Contact "
515
+ "your hosting provider. Error:"
516
+ msgstr ""
517
+
518
+ #: includes/admin/views/html-settings-system-status-page.php:67
519
+ msgid "WP Remote Get"
520
+ msgstr ""
521
+
522
+ #: includes/admin/views/html-settings-system-status-page.php:77
523
+ msgid "Get System Report"
524
+ msgstr ""
525
+
526
+ #: includes/class-social-count-plus-view.php:52
527
+ #: includes/class-social-count-plus-view.php:91
528
+ #: includes/class-social-count-plus-view.php:104
529
+ #: includes/class-social-count-plus-view.php:130
530
+ #: includes/class-social-count-plus-view.php:143
531
+ msgid "followers"
532
+ msgstr "последователи"
533
+
534
+ #: includes/class-social-count-plus-view.php:65
535
+ msgid "likes"
536
+ msgstr "отметки \"нравится\""
537
+
538
+ #: includes/class-social-count-plus-view.php:78
539
+ msgid "subscribers"
540
+ msgstr "подписчики"
541
+
542
+ #: includes/class-social-count-plus-view.php:117
543
+ msgid "members"
544
+ msgstr "участники"
545
+
546
+ #: includes/class-social-count-plus-view.php:178
547
+ msgid "comments"
548
+ msgstr "комментарии"
549
+
550
+ #: includes/class-social-count-plus-widget.php:19
551
+ msgid "Display the counter"
552
+ msgstr "Показывать счетчик"
553
+
554
+ #: includes/class-social-count-plus-widget.php:59
555
+ msgid "Title"
556
+ msgstr "Заголовок"
557
+
558
+ #. Plugin URI of the plugin/theme
559
+ msgid "https://github.com/claudiosmweb/social-count-plus"
560
+ msgstr "https://github.com/claudiosmweb/social-count-plus"
561
+
562
+ #. Description of the plugin/theme
563
+ msgid ""
564
+ "Display the counting Twitter followers, Facebook fans, YouTube subscribers "
565
+ "posts and comments."
566
+ msgstr "Показывать кол-во последователей Twitter, фанов Facebook, подписчиков YouTube, записей и комментариев."
567
+
568
+ #. Author of the plugin/theme
569
+ msgid "Claudio Sanches, Felipe Santana"
570
+ msgstr ""
571
+
572
+ #. Author URI of the plugin/theme
573
+ msgid "http://claudiosmweb.com/"
574
+ msgstr "http://claudiosmweb.com/"
languages/social-count-plus-sq_AL.mo ADDED
Binary file
languages/social-count-plus-sq_AL.po ADDED
@@ -0,0 +1,574 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Copyright (C) 2015 Claudio Sanches, Felipe Santana
2
+ # This file is distributed under the GPLv2 or later.
3
+ # Translators:
4
+ msgid ""
5
+ msgstr ""
6
+ "Project-Id-Version: Social Count Plus\n"
7
+ "Report-Msgid-Bugs-To: https://wordpress.org/plugins/woocommerce-domination/\n"
8
+ "POT-Creation-Date: 2015-08-21 15:42:56+00:00\n"
9
+ "PO-Revision-Date: 2015-08-21 15:43+0000\n"
10
+ "Last-Translator: Claudio Sanches <contato@claudiosmweb.com>\n"
11
+ "Language-Team: Albanian (Albania) (http://www.transifex.com/claudiosmweb/social-count-plus/language/sq_AL/)\n"
12
+ "MIME-Version: 1.0\n"
13
+ "Content-Type: text/plain; charset=UTF-8\n"
14
+ "Content-Transfer-Encoding: 8bit\n"
15
+ "Language: sq_AL\n"
16
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
17
+ "X-Generator: grunt-wp-i18n 0.5.3\n"
18
+
19
+ #: includes/admin/class-social-count-plus-admin.php:66
20
+ msgid "Create an App on Twitter in %s and get this information"
21
+ msgstr ""
22
+
23
+ #: includes/admin/class-social-count-plus-admin.php:68
24
+ msgid "Create an App on Facebook in %s and get this information"
25
+ msgstr ""
26
+
27
+ #: includes/admin/class-social-count-plus-admin.php:70
28
+ msgid "Get the this information in %s"
29
+ msgstr "Merre këtë informacion në %s"
30
+
31
+ #: includes/admin/class-social-count-plus-admin.php:75
32
+ #: includes/admin/class-social-count-plus-admin.php:885
33
+ msgid "Twitter"
34
+ msgstr "Twitter"
35
+
36
+ #: includes/admin/class-social-count-plus-admin.php:78
37
+ msgid "Display Twitter counter"
38
+ msgstr "Shfaq numëruesin për Twitter"
39
+
40
+ #: includes/admin/class-social-count-plus-admin.php:82
41
+ #: includes/admin/views/html-settings-page.php:24
42
+ msgid "Twitter username"
43
+ msgstr "Emër përdoruesi për Twitter"
44
+
45
+ #: includes/admin/class-social-count-plus-admin.php:84
46
+ msgid "Insert the Twitter username. Example: claudiosmweb"
47
+ msgstr ""
48
+
49
+ #: includes/admin/class-social-count-plus-admin.php:87
50
+ #: includes/admin/views/html-settings-page.php:25
51
+ msgid "Twitter Consumer key"
52
+ msgstr "Çelës Përdoruesi për Twitter"
53
+
54
+ #: includes/admin/class-social-count-plus-admin.php:92
55
+ #: includes/admin/views/html-settings-page.php:26
56
+ msgid "Twitter Consumer secret"
57
+ msgstr "Kod sekret Përdoruesi për Twitter"
58
+
59
+ #: includes/admin/class-social-count-plus-admin.php:97
60
+ #: includes/admin/views/html-settings-page.php:27
61
+ msgid "Twitter Access token"
62
+ msgstr "Shenjë hyrjeje për Twitter"
63
+
64
+ #: includes/admin/class-social-count-plus-admin.php:102
65
+ #: includes/admin/views/html-settings-page.php:28
66
+ msgid "Twitter Access token secret"
67
+ msgstr "Shenjë sekrete hyrjeje për Twitter"
68
+
69
+ #: includes/admin/class-social-count-plus-admin.php:109
70
+ #: includes/admin/class-social-count-plus-admin.php:886
71
+ msgid "Facebook"
72
+ msgstr "Facebook"
73
+
74
+ #: includes/admin/class-social-count-plus-admin.php:112
75
+ msgid "Display Facebook counter"
76
+ msgstr "Shfaq numëruesin për Facebook"
77
+
78
+ #: includes/admin/class-social-count-plus-admin.php:116
79
+ msgid "Facebook Page ID"
80
+ msgstr "ID për faqen në Facebook"
81
+
82
+ #: includes/admin/class-social-count-plus-admin.php:120
83
+ msgid "ID Facebook page. Must be the numeric ID or your page slug."
84
+ msgstr ""
85
+
86
+ #: includes/admin/class-social-count-plus-admin.php:121
87
+ msgid ""
88
+ "You can find this information clicking to edit your page on Facebook. The "
89
+ "URL will be similar to this:"
90
+ msgstr ""
91
+
92
+ #: includes/admin/class-social-count-plus-admin.php:122
93
+ msgid "or"
94
+ msgstr ""
95
+
96
+ #: includes/admin/class-social-count-plus-admin.php:126
97
+ msgid "Facebook App ID"
98
+ msgstr ""
99
+
100
+ #: includes/admin/class-social-count-plus-admin.php:131
101
+ msgid "Facebook App Secret"
102
+ msgstr ""
103
+
104
+ #: includes/admin/class-social-count-plus-admin.php:138
105
+ #: includes/admin/class-social-count-plus-admin.php:887
106
+ msgid "YouTube"
107
+ msgstr "YouTube"
108
+
109
+ #: includes/admin/class-social-count-plus-admin.php:141
110
+ msgid "Display YouTube counter"
111
+ msgstr "Shfaq numëruesin për YouTube"
112
+
113
+ #: includes/admin/class-social-count-plus-admin.php:145
114
+ msgid "YouTube Channel ID"
115
+ msgstr ""
116
+
117
+ #: includes/admin/class-social-count-plus-admin.php:147
118
+ msgid "Insert the YouTube Channel ID. Example: %s"
119
+ msgstr ""
120
+
121
+ #: includes/admin/class-social-count-plus-admin.php:150
122
+ msgid "YouTube Channel URL"
123
+ msgstr ""
124
+
125
+ #: includes/admin/class-social-count-plus-admin.php:152
126
+ msgid "Insert the YouTube channel URL. Example: %s"
127
+ msgstr ""
128
+
129
+ #: includes/admin/class-social-count-plus-admin.php:155
130
+ #: includes/admin/class-social-count-plus-admin.php:181
131
+ msgid "Google API Key"
132
+ msgstr ""
133
+
134
+ #: includes/admin/class-social-count-plus-admin.php:158
135
+ msgid ""
136
+ "Get your API key creating a project/app in %s, then inside your project go "
137
+ "to \"APIs & auth > APIs\" and turn on the \"YouTube API\", finally go to "
138
+ "\"APIs & auth > APIs > Credentials > Public API access\" and click in the "
139
+ "\"CREATE A NEW KEY\" button, select the \"Browser key\" option and click in "
140
+ "the \"CREATE\" button, now just copy your API key and paste here."
141
+ msgstr ""
142
+
143
+ #: includes/admin/class-social-count-plus-admin.php:165
144
+ #: includes/admin/class-social-count-plus-admin.php:888
145
+ msgid "Google+"
146
+ msgstr ""
147
+
148
+ #: includes/admin/class-social-count-plus-admin.php:168
149
+ msgid "Display Google+ counter"
150
+ msgstr ""
151
+
152
+ #: includes/admin/class-social-count-plus-admin.php:172
153
+ msgid "Google+ ID"
154
+ msgstr ""
155
+
156
+ #: includes/admin/class-social-count-plus-admin.php:176
157
+ msgid "Google+ page or profile ID."
158
+ msgstr ""
159
+
160
+ #: includes/admin/class-social-count-plus-admin.php:177
161
+ msgid "Example:"
162
+ msgstr ""
163
+
164
+ #: includes/admin/class-social-count-plus-admin.php:184
165
+ msgid ""
166
+ "Get your API key creating a project/app in %s, then inside your project go "
167
+ "to \"APIs & auth > APIs\" and turn on the \"Google+ API\", finally go to "
168
+ "\"APIs & auth > APIs > Credentials > Public API access\" and click in the "
169
+ "\"CREATE A NEW KEY\" button, select the \"Browser key\" option and click in "
170
+ "the \"CREATE\" button, now just copy your API key and paste here."
171
+ msgstr ""
172
+
173
+ #: includes/admin/class-social-count-plus-admin.php:191
174
+ #: includes/admin/class-social-count-plus-admin.php:889
175
+ msgid "Instagram"
176
+ msgstr "Instagram"
177
+
178
+ #: includes/admin/class-social-count-plus-admin.php:194
179
+ msgid "Display Instagram counter"
180
+ msgstr "Shfaq numëruesin për Instagram"
181
+
182
+ #: includes/admin/class-social-count-plus-admin.php:198
183
+ msgid "Instagram Username"
184
+ msgstr "Emër përdoruesi për Instagram"
185
+
186
+ #: includes/admin/class-social-count-plus-admin.php:200
187
+ msgid "Insert the Instagram Username."
188
+ msgstr "Fut emrin e përdoruesit për Instagram."
189
+
190
+ #: includes/admin/class-social-count-plus-admin.php:203
191
+ msgid "Instagram User ID"
192
+ msgstr "ID për përdoruesin në Instagram"
193
+
194
+ #: includes/admin/class-social-count-plus-admin.php:205
195
+ msgid "Insert the Instagram User ID."
196
+ msgstr "Fut ID e përdoruesit për Instagram."
197
+
198
+ #: includes/admin/class-social-count-plus-admin.php:208
199
+ msgid "Instagram Access Token"
200
+ msgstr "Shenjë hyrjeje për Instagram"
201
+
202
+ #: includes/admin/class-social-count-plus-admin.php:210
203
+ msgid "Insert the Instagram Access Token."
204
+ msgstr "Fut shenjën e hyrjes për Instagram"
205
+
206
+ #: includes/admin/class-social-count-plus-admin.php:215
207
+ #: includes/admin/class-social-count-plus-admin.php:890
208
+ msgid "Steam"
209
+ msgstr "Steam"
210
+
211
+ #: includes/admin/class-social-count-plus-admin.php:218
212
+ msgid "Display Steam counter"
213
+ msgstr "Shfaq numëruesin për Steam"
214
+
215
+ #: includes/admin/class-social-count-plus-admin.php:222
216
+ msgid "Steam group name"
217
+ msgstr "Emër grupi për Steam"
218
+
219
+ #: includes/admin/class-social-count-plus-admin.php:224
220
+ msgid "Insert the Steam Community group name. Example: %s"
221
+ msgstr ""
222
+
223
+ #: includes/admin/class-social-count-plus-admin.php:229
224
+ #: includes/admin/class-social-count-plus-admin.php:891
225
+ msgid "Twitch"
226
+ msgstr ""
227
+
228
+ #: includes/admin/class-social-count-plus-admin.php:232
229
+ msgid "Display Twitch counter"
230
+ msgstr ""
231
+
232
+ #: includes/admin/class-social-count-plus-admin.php:236
233
+ msgid "Twitch username"
234
+ msgstr ""
235
+
236
+ #: includes/admin/class-social-count-plus-admin.php:238
237
+ msgid "Insert your Twitch username."
238
+ msgstr ""
239
+
240
+ #: includes/admin/class-social-count-plus-admin.php:243
241
+ #: includes/admin/class-social-count-plus-admin.php:892
242
+ msgid "SoundCloud"
243
+ msgstr "SoundCloud"
244
+
245
+ #: includes/admin/class-social-count-plus-admin.php:246
246
+ msgid "Display SoundCloud counter"
247
+ msgstr "Shfaq numëruesin për SoundCloud"
248
+
249
+ #: includes/admin/class-social-count-plus-admin.php:250
250
+ msgid "SoundCloud Username"
251
+ msgstr "Emër përdoruesi për SoundCloud"
252
+
253
+ #: includes/admin/class-social-count-plus-admin.php:252
254
+ msgid "Insert the SoundCloud Username."
255
+ msgstr "Fut emrin e përdoruesit për SoundCloud."
256
+
257
+ #: includes/admin/class-social-count-plus-admin.php:255
258
+ msgid "SoundCloud Client ID"
259
+ msgstr "ID Klienti për SoundCloud"
260
+
261
+ #: includes/admin/class-social-count-plus-admin.php:257
262
+ msgid "Insert the SoundCloud App Client ID. Generate this information in %s"
263
+ msgstr ""
264
+
265
+ #: includes/admin/class-social-count-plus-admin.php:262
266
+ #: includes/admin/class-social-count-plus-admin.php:893
267
+ msgid "Posts"
268
+ msgstr "Postime"
269
+
270
+ #: includes/admin/class-social-count-plus-admin.php:265
271
+ msgid "Display Posts counter"
272
+ msgstr "Shfaq numëruesin për postimet"
273
+
274
+ #: includes/admin/class-social-count-plus-admin.php:270
275
+ msgid "Post type"
276
+ msgstr ""
277
+
278
+ #: includes/admin/class-social-count-plus-admin.php:277
279
+ #: includes/admin/class-social-count-plus-admin.php:894
280
+ msgid "Comments"
281
+ msgstr "Komentet"
282
+
283
+ #: includes/admin/class-social-count-plus-admin.php:280
284
+ msgid "Display Comments counter"
285
+ msgstr "Shfaq numëruesin për komentet"
286
+
287
+ #: includes/admin/class-social-count-plus-admin.php:287
288
+ #: includes/admin/class-social-count-plus-admin.php:726
289
+ #: includes/admin/views/html-settings-page.php:9
290
+ msgid "Settings"
291
+ msgstr "Cilësimet"
292
+
293
+ #: includes/admin/class-social-count-plus-admin.php:290
294
+ msgid "Open URLs in new tab/window"
295
+ msgstr ""
296
+
297
+ #: includes/admin/class-social-count-plus-admin.php:292
298
+ #: includes/admin/class-social-count-plus-admin.php:297
299
+ msgid "This option add %s in all counters URLs."
300
+ msgstr ""
301
+
302
+ #: includes/admin/class-social-count-plus-admin.php:295
303
+ msgid "Add nofollow in URLs"
304
+ msgstr ""
305
+
306
+ #: includes/admin/class-social-count-plus-admin.php:304
307
+ #: includes/admin/views/html-settings-page.php:9
308
+ msgid "Design"
309
+ msgstr "Dizajni"
310
+
311
+ #: includes/admin/class-social-count-plus-admin.php:307
312
+ msgid "Layout Models"
313
+ msgstr "Modele të paraqitjes"
314
+
315
+ #: includes/admin/class-social-count-plus-admin.php:322
316
+ msgid "Text Color"
317
+ msgstr "Ngjyra e tekstit"
318
+
319
+ #: includes/admin/class-social-count-plus-admin.php:327
320
+ msgid "Order"
321
+ msgstr ""
322
+
323
+ #: includes/admin/class-social-count-plus-admin.php:329
324
+ msgid "This option controls the order of the icons in the widget."
325
+ msgstr ""
326
+
327
+ #. Plugin Name of the plugin/theme
328
+ msgid "Social Count Plus"
329
+ msgstr "Social Count Plus"
330
+
331
+ #: includes/admin/class-social-count-plus-admin.php:561
332
+ msgid "Activate/Deactivate"
333
+ msgstr "Aktivizo/Çaktivizo"
334
+
335
+ #: includes/admin/class-social-count-plus-admin.php:774
336
+ msgid "General Info"
337
+ msgstr ""
338
+
339
+ #: includes/admin/class-social-count-plus-admin.php:775
340
+ #: includes/admin/views/html-settings-system-status-page.php:11
341
+ msgid "Social Count Plus Version"
342
+ msgstr ""
343
+
344
+ #: includes/admin/class-social-count-plus-admin.php:776
345
+ #: includes/admin/views/html-settings-system-status-page.php:15
346
+ msgid "WordPress Version"
347
+ msgstr ""
348
+
349
+ #: includes/admin/class-social-count-plus-admin.php:777
350
+ #: includes/admin/views/html-settings-system-status-page.php:19
351
+ msgid "WP Multisite Enabled"
352
+ msgstr ""
353
+
354
+ #: includes/admin/class-social-count-plus-admin.php:777
355
+ #: includes/admin/class-social-count-plus-admin.php:780
356
+ #: includes/admin/class-social-count-plus-admin.php:781
357
+ #: includes/admin/views/html-settings-system-status-page.php:20
358
+ msgid "Yes"
359
+ msgstr ""
360
+
361
+ #: includes/admin/class-social-count-plus-admin.php:777
362
+ #: includes/admin/class-social-count-plus-admin.php:780
363
+ #: includes/admin/class-social-count-plus-admin.php:781
364
+ #: includes/admin/views/html-settings-system-status-page.php:20
365
+ msgid "No"
366
+ msgstr ""
367
+
368
+ #: includes/admin/class-social-count-plus-admin.php:778
369
+ #: includes/admin/views/html-settings-system-status-page.php:23
370
+ msgid "Web Server Info"
371
+ msgstr ""
372
+
373
+ #: includes/admin/class-social-count-plus-admin.php:779
374
+ #: includes/admin/views/html-settings-system-status-page.php:27
375
+ msgid "PHP Version"
376
+ msgstr ""
377
+
378
+ #: includes/admin/class-social-count-plus-admin.php:782
379
+ msgid "Social Connections"
380
+ msgstr ""
381
+
382
+ #: includes/admin/class-social-count-plus-admin.php:792
383
+ msgid ""
384
+ "You do not have any counter that needs to connect remotely currently active"
385
+ msgstr ""
386
+
387
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:7
388
+ msgid ""
389
+ "Use this library to generate your own model layout or display specific data "
390
+ "counters."
391
+ msgstr "Përdor këtë bibliotekë për të krijuar një model vetjak të paraqitjes ose për të shfaqur të dhëna specifike numërimi."
392
+
393
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:9
394
+ msgid "Shortcodes"
395
+ msgstr "Kode"
396
+
397
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:11
398
+ msgid "Note: the shortcodes displays only the count in plain text."
399
+ msgstr ""
400
+
401
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:15
402
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:62
403
+ msgid "Twitter counter"
404
+ msgstr "Numërues për Twitter"
405
+
406
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:19
407
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:66
408
+ msgid "Facebook counter"
409
+ msgstr "Numërues për Facebook"
410
+
411
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:23
412
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:70
413
+ msgid "YouTube counter"
414
+ msgstr "Numërues për YouTube"
415
+
416
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:27
417
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:74
418
+ msgid "Google Plus counter"
419
+ msgstr "Numërues për Google Plus"
420
+
421
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:31
422
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:78
423
+ msgid "Instagram counter"
424
+ msgstr "Numërues për Instagram"
425
+
426
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:35
427
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:82
428
+ msgid "Steam counter"
429
+ msgstr "Numërues për Steam"
430
+
431
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:39
432
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:86
433
+ msgid "Twitch counter"
434
+ msgstr ""
435
+
436
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:43
437
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:90
438
+ msgid "SoundCloud counter"
439
+ msgstr "Numërues për SoundCloud"
440
+
441
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:47
442
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:94
443
+ msgid "Posts counter"
444
+ msgstr "Numërues për postimet"
445
+
446
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:51
447
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:98
448
+ msgid "Comments counter"
449
+ msgstr "Numërues për komentet"
450
+
451
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:56
452
+ msgid "Functions"
453
+ msgstr "Funksione"
454
+
455
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:58
456
+ msgid ""
457
+ "Note: the functions displays only the count in plain text, except the "
458
+ "<code>get_scp_widget()</code> function that displays with images."
459
+ msgstr ""
460
+
461
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:102
462
+ msgid "Full widget"
463
+ msgstr "Widget i plotë"
464
+
465
+ #: includes/admin/views/html-settings-page.php:9
466
+ msgid "Shortcodes and Functions"
467
+ msgstr "Kodet dhe Funksionet"
468
+
469
+ #: includes/admin/views/html-settings-page.php:9
470
+ msgid "System Status"
471
+ msgstr ""
472
+
473
+ #: includes/admin/views/html-settings-page.php:22
474
+ msgid "To use the counter of Twitter you need to fill the fields:"
475
+ msgstr "Për të përdorur numëruesin për Twitter ju duhet të plotësoni këto fusha:"
476
+
477
+ #: includes/admin/views/html-settings-system-status-page.php:5
478
+ msgid "Environment"
479
+ msgstr ""
480
+
481
+ #: includes/admin/views/html-settings-system-status-page.php:33
482
+ msgid ""
483
+ "Your server does not have fsockopen or cURL enabled. The scripts which "
484
+ "communicate with the social APIs will not work. Contact your hosting "
485
+ "provider."
486
+ msgstr ""
487
+
488
+ #: includes/admin/views/html-settings-system-status-page.php:37
489
+ msgid "Your server has fsockopen and cURL enabled."
490
+ msgstr ""
491
+
492
+ #: includes/admin/views/html-settings-system-status-page.php:39
493
+ msgid "Your server has fsockopen enabled, cURL is disabled."
494
+ msgstr ""
495
+
496
+ #: includes/admin/views/html-settings-system-status-page.php:41
497
+ msgid "Your server has cURL enabled, fsockopen is disabled."
498
+ msgstr ""
499
+
500
+ #: includes/admin/views/html-settings-system-status-page.php:47
501
+ msgid "fsockopen/cURL"
502
+ msgstr ""
503
+
504
+ #: includes/admin/views/html-settings-system-status-page.php:57
505
+ msgid "wp_remote_get() failed. This may not work with your server."
506
+ msgstr ""
507
+
508
+ #: includes/admin/views/html-settings-system-status-page.php:62
509
+ msgid "wp_remote_get() was successful."
510
+ msgstr ""
511
+
512
+ #: includes/admin/views/html-settings-system-status-page.php:64
513
+ msgid ""
514
+ "wp_remote_get() failed. This plugin won't work with your server. Contact "
515
+ "your hosting provider. Error:"
516
+ msgstr ""
517
+
518
+ #: includes/admin/views/html-settings-system-status-page.php:67
519
+ msgid "WP Remote Get"
520
+ msgstr ""
521
+
522
+ #: includes/admin/views/html-settings-system-status-page.php:77
523
+ msgid "Get System Report"
524
+ msgstr ""
525
+
526
+ #: includes/class-social-count-plus-view.php:52
527
+ #: includes/class-social-count-plus-view.php:91
528
+ #: includes/class-social-count-plus-view.php:104
529
+ #: includes/class-social-count-plus-view.php:130
530
+ #: includes/class-social-count-plus-view.php:143
531
+ msgid "followers"
532
+ msgstr "ndjekës"
533
+
534
+ #: includes/class-social-count-plus-view.php:65
535
+ msgid "likes"
536
+ msgstr "pëlqime"
537
+
538
+ #: includes/class-social-count-plus-view.php:78
539
+ msgid "subscribers"
540
+ msgstr "pajtimtarë"
541
+
542
+ #: includes/class-social-count-plus-view.php:117
543
+ msgid "members"
544
+ msgstr "anëtarë"
545
+
546
+ #: includes/class-social-count-plus-view.php:178
547
+ msgid "comments"
548
+ msgstr "komente"
549
+
550
+ #: includes/class-social-count-plus-widget.php:19
551
+ msgid "Display the counter"
552
+ msgstr "Shfaq numëruesin"
553
+
554
+ #: includes/class-social-count-plus-widget.php:59
555
+ msgid "Title"
556
+ msgstr "Titulli"
557
+
558
+ #. Plugin URI of the plugin/theme
559
+ msgid "https://github.com/claudiosmweb/social-count-plus"
560
+ msgstr "https://github.com/claudiosmweb/social-count-plus"
561
+
562
+ #. Description of the plugin/theme
563
+ msgid ""
564
+ "Display the counting Twitter followers, Facebook fans, YouTube subscribers "
565
+ "posts and comments."
566
+ msgstr "Shfaq numërimin për ndjekësit në Twitter, fanast në Facebook, pajtimtarët në YouTube, postimet dhe komentet."
567
+
568
+ #. Author of the plugin/theme
569
+ msgid "Claudio Sanches, Felipe Santana"
570
+ msgstr ""
571
+
572
+ #. Author URI of the plugin/theme
573
+ msgid "http://claudiosmweb.com/"
574
+ msgstr "http://claudiosmweb.com/"
languages/social-count-plus-sv_SE.mo ADDED
Binary file
languages/social-count-plus-sv_SE.po ADDED
@@ -0,0 +1,574 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Copyright (C) 2015 Claudio Sanches, Felipe Santana
2
+ # This file is distributed under the GPLv2 or later.
3
+ # Translators:
4
+ msgid ""
5
+ msgstr ""
6
+ "Project-Id-Version: Social Count Plus\n"
7
+ "Report-Msgid-Bugs-To: https://wordpress.org/plugins/woocommerce-domination/\n"
8
+ "POT-Creation-Date: 2015-08-21 15:42:56+00:00\n"
9
+ "PO-Revision-Date: 2015-08-21 15:43+0000\n"
10
+ "Last-Translator: Claudio Sanches <contato@claudiosmweb.com>\n"
11
+ "Language-Team: Swedish (Sweden) (http://www.transifex.com/claudiosmweb/social-count-plus/language/sv_SE/)\n"
12
+ "MIME-Version: 1.0\n"
13
+ "Content-Type: text/plain; charset=UTF-8\n"
14
+ "Content-Transfer-Encoding: 8bit\n"
15
+ "Language: sv_SE\n"
16
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
17
+ "X-Generator: grunt-wp-i18n 0.5.3\n"
18
+
19
+ #: includes/admin/class-social-count-plus-admin.php:66
20
+ msgid "Create an App on Twitter in %s and get this information"
21
+ msgstr ""
22
+
23
+ #: includes/admin/class-social-count-plus-admin.php:68
24
+ msgid "Create an App on Facebook in %s and get this information"
25
+ msgstr ""
26
+
27
+ #: includes/admin/class-social-count-plus-admin.php:70
28
+ msgid "Get the this information in %s"
29
+ msgstr "Få denna information på %s"
30
+
31
+ #: includes/admin/class-social-count-plus-admin.php:75
32
+ #: includes/admin/class-social-count-plus-admin.php:885
33
+ msgid "Twitter"
34
+ msgstr "Twitter"
35
+
36
+ #: includes/admin/class-social-count-plus-admin.php:78
37
+ msgid "Display Twitter counter"
38
+ msgstr "Visa Twitter-räknare"
39
+
40
+ #: includes/admin/class-social-count-plus-admin.php:82
41
+ #: includes/admin/views/html-settings-page.php:24
42
+ msgid "Twitter username"
43
+ msgstr "Twitter-användarnamn"
44
+
45
+ #: includes/admin/class-social-count-plus-admin.php:84
46
+ msgid "Insert the Twitter username. Example: claudiosmweb"
47
+ msgstr ""
48
+
49
+ #: includes/admin/class-social-count-plus-admin.php:87
50
+ #: includes/admin/views/html-settings-page.php:25
51
+ msgid "Twitter Consumer key"
52
+ msgstr "Twitter Consumer key"
53
+
54
+ #: includes/admin/class-social-count-plus-admin.php:92
55
+ #: includes/admin/views/html-settings-page.php:26
56
+ msgid "Twitter Consumer secret"
57
+ msgstr "Twitter Consumer secret"
58
+
59
+ #: includes/admin/class-social-count-plus-admin.php:97
60
+ #: includes/admin/views/html-settings-page.php:27
61
+ msgid "Twitter Access token"
62
+ msgstr "Twitter Access token"
63
+
64
+ #: includes/admin/class-social-count-plus-admin.php:102
65
+ #: includes/admin/views/html-settings-page.php:28
66
+ msgid "Twitter Access token secret"
67
+ msgstr "Twitter Access token secret"
68
+
69
+ #: includes/admin/class-social-count-plus-admin.php:109
70
+ #: includes/admin/class-social-count-plus-admin.php:886
71
+ msgid "Facebook"
72
+ msgstr "Facebook"
73
+
74
+ #: includes/admin/class-social-count-plus-admin.php:112
75
+ msgid "Display Facebook counter"
76
+ msgstr "Visa Facebook-räknare"
77
+
78
+ #: includes/admin/class-social-count-plus-admin.php:116
79
+ msgid "Facebook Page ID"
80
+ msgstr "Facebook sid-ID"
81
+
82
+ #: includes/admin/class-social-count-plus-admin.php:120
83
+ msgid "ID Facebook page. Must be the numeric ID or your page slug."
84
+ msgstr ""
85
+
86
+ #: includes/admin/class-social-count-plus-admin.php:121
87
+ msgid ""
88
+ "You can find this information clicking to edit your page on Facebook. The "
89
+ "URL will be similar to this:"
90
+ msgstr ""
91
+
92
+ #: includes/admin/class-social-count-plus-admin.php:122
93
+ msgid "or"
94
+ msgstr ""
95
+
96
+ #: includes/admin/class-social-count-plus-admin.php:126
97
+ msgid "Facebook App ID"
98
+ msgstr ""
99
+
100
+ #: includes/admin/class-social-count-plus-admin.php:131
101
+ msgid "Facebook App Secret"
102
+ msgstr ""
103
+
104
+ #: includes/admin/class-social-count-plus-admin.php:138
105
+ #: includes/admin/class-social-count-plus-admin.php:887
106
+ msgid "YouTube"
107
+ msgstr "YouTube"
108
+
109
+ #: includes/admin/class-social-count-plus-admin.php:141
110
+ msgid "Display YouTube counter"
111
+ msgstr "Visa Youtube-räknare"
112
+
113
+ #: includes/admin/class-social-count-plus-admin.php:145
114
+ msgid "YouTube Channel ID"
115
+ msgstr ""
116
+
117
+ #: includes/admin/class-social-count-plus-admin.php:147
118
+ msgid "Insert the YouTube Channel ID. Example: %s"
119
+ msgstr ""
120
+
121
+ #: includes/admin/class-social-count-plus-admin.php:150
122
+ msgid "YouTube Channel URL"
123
+ msgstr ""
124
+
125
+ #: includes/admin/class-social-count-plus-admin.php:152
126
+ msgid "Insert the YouTube channel URL. Example: %s"
127
+ msgstr ""
128
+
129
+ #: includes/admin/class-social-count-plus-admin.php:155
130
+ #: includes/admin/class-social-count-plus-admin.php:181
131
+ msgid "Google API Key"
132
+ msgstr ""
133
+
134
+ #: includes/admin/class-social-count-plus-admin.php:158
135
+ msgid ""
136
+ "Get your API key creating a project/app in %s, then inside your project go "
137
+ "to \"APIs & auth > APIs\" and turn on the \"YouTube API\", finally go to "
138
+ "\"APIs & auth > APIs > Credentials > Public API access\" and click in the "
139
+ "\"CREATE A NEW KEY\" button, select the \"Browser key\" option and click in "
140
+ "the \"CREATE\" button, now just copy your API key and paste here."
141
+ msgstr ""
142
+
143
+ #: includes/admin/class-social-count-plus-admin.php:165
144
+ #: includes/admin/class-social-count-plus-admin.php:888
145
+ msgid "Google+"
146
+ msgstr ""
147
+
148
+ #: includes/admin/class-social-count-plus-admin.php:168
149
+ msgid "Display Google+ counter"
150
+ msgstr ""
151
+
152
+ #: includes/admin/class-social-count-plus-admin.php:172
153
+ msgid "Google+ ID"
154
+ msgstr ""
155
+
156
+ #: includes/admin/class-social-count-plus-admin.php:176
157
+ msgid "Google+ page or profile ID."
158
+ msgstr ""
159
+
160
+ #: includes/admin/class-social-count-plus-admin.php:177
161
+ msgid "Example:"
162
+ msgstr ""
163
+
164
+ #: includes/admin/class-social-count-plus-admin.php:184
165
+ msgid ""
166
+ "Get your API key creating a project/app in %s, then inside your project go "
167
+ "to \"APIs & auth > APIs\" and turn on the \"Google+ API\", finally go to "
168
+ "\"APIs & auth > APIs > Credentials > Public API access\" and click in the "
169
+ "\"CREATE A NEW KEY\" button, select the \"Browser key\" option and click in "
170
+ "the \"CREATE\" button, now just copy your API key and paste here."
171
+ msgstr ""
172
+
173
+ #: includes/admin/class-social-count-plus-admin.php:191
174
+ #: includes/admin/class-social-count-plus-admin.php:889
175
+ msgid "Instagram"
176
+ msgstr "Instagram"
177
+
178
+ #: includes/admin/class-social-count-plus-admin.php:194
179
+ msgid "Display Instagram counter"
180
+ msgstr "Visa Instagram-räknare"
181
+
182
+ #: includes/admin/class-social-count-plus-admin.php:198
183
+ msgid "Instagram Username"
184
+ msgstr "Instagram-användarnamn"
185
+
186
+ #: includes/admin/class-social-count-plus-admin.php:200
187
+ msgid "Insert the Instagram Username."
188
+ msgstr "Infoga ditt Instagram-användarnamn"
189
+
190
+ #: includes/admin/class-social-count-plus-admin.php:203
191
+ msgid "Instagram User ID"
192
+ msgstr "Instagram användar-ID"
193
+
194
+ #: includes/admin/class-social-count-plus-admin.php:205
195
+ msgid "Insert the Instagram User ID."
196
+ msgstr "Infoga ditt Instagrams användar-ID"
197
+
198
+ #: includes/admin/class-social-count-plus-admin.php:208
199
+ msgid "Instagram Access Token"
200
+ msgstr "Instagram Access Token"
201
+
202
+ #: includes/admin/class-social-count-plus-admin.php:210
203
+ msgid "Insert the Instagram Access Token."
204
+ msgstr "Infoga ditt Instagram Access Token"
205
+
206
+ #: includes/admin/class-social-count-plus-admin.php:215
207
+ #: includes/admin/class-social-count-plus-admin.php:890
208
+ msgid "Steam"
209
+ msgstr "Steam"
210
+
211
+ #: includes/admin/class-social-count-plus-admin.php:218
212
+ msgid "Display Steam counter"
213
+ msgstr "Visa Steam-räknare"
214
+
215
+ #: includes/admin/class-social-count-plus-admin.php:222
216
+ msgid "Steam group name"
217
+ msgstr "Steam gruppnamn"
218
+
219
+ #: includes/admin/class-social-count-plus-admin.php:224
220
+ msgid "Insert the Steam Community group name. Example: %s"
221
+ msgstr ""
222
+
223
+ #: includes/admin/class-social-count-plus-admin.php:229
224
+ #: includes/admin/class-social-count-plus-admin.php:891
225
+ msgid "Twitch"
226
+ msgstr ""
227
+
228
+ #: includes/admin/class-social-count-plus-admin.php:232
229
+ msgid "Display Twitch counter"
230
+ msgstr ""
231
+
232
+ #: includes/admin/class-social-count-plus-admin.php:236
233
+ msgid "Twitch username"
234
+ msgstr ""
235
+
236
+ #: includes/admin/class-social-count-plus-admin.php:238
237
+ msgid "Insert your Twitch username."
238
+ msgstr ""
239
+
240
+ #: includes/admin/class-social-count-plus-admin.php:243
241
+ #: includes/admin/class-social-count-plus-admin.php:892
242
+ msgid "SoundCloud"
243
+ msgstr "SoundCloud"
244
+
245
+ #: includes/admin/class-social-count-plus-admin.php:246
246
+ msgid "Display SoundCloud counter"
247
+ msgstr "Visa SoundCloud-räknare"
248
+
249
+ #: includes/admin/class-social-count-plus-admin.php:250
250
+ msgid "SoundCloud Username"
251
+ msgstr "SoundCloud-användarnamn"
252
+
253
+ #: includes/admin/class-social-count-plus-admin.php:252
254
+ msgid "Insert the SoundCloud Username."
255
+ msgstr "Infoga ditt SoundCloud-användarnamn"
256
+
257
+ #: includes/admin/class-social-count-plus-admin.php:255
258
+ msgid "SoundCloud Client ID"
259
+ msgstr "SoundCloud klient-ID"
260
+
261
+ #: includes/admin/class-social-count-plus-admin.php:257
262
+ msgid "Insert the SoundCloud App Client ID. Generate this information in %s"
263
+ msgstr ""
264
+
265
+ #: includes/admin/class-social-count-plus-admin.php:262
266
+ #: includes/admin/class-social-count-plus-admin.php:893
267
+ msgid "Posts"
268
+ msgstr "Inlägg"
269
+
270
+ #: includes/admin/class-social-count-plus-admin.php:265
271
+ msgid "Display Posts counter"
272
+ msgstr "Visa inläggsräknare"
273
+
274
+ #: includes/admin/class-social-count-plus-admin.php:270
275
+ msgid "Post type"
276
+ msgstr ""
277
+
278
+ #: includes/admin/class-social-count-plus-admin.php:277
279
+ #: includes/admin/class-social-count-plus-admin.php:894
280
+ msgid "Comments"
281
+ msgstr "Kommentarer"
282
+
283
+ #: includes/admin/class-social-count-plus-admin.php:280
284
+ msgid "Display Comments counter"
285
+ msgstr "Visa kommentarsräknare"
286
+
287
+ #: includes/admin/class-social-count-plus-admin.php:287
288
+ #: includes/admin/class-social-count-plus-admin.php:726
289
+ #: includes/admin/views/html-settings-page.php:9
290
+ msgid "Settings"
291
+ msgstr "Inställningar"
292
+
293
+ #: includes/admin/class-social-count-plus-admin.php:290
294
+ msgid "Open URLs in new tab/window"
295
+ msgstr ""
296
+
297
+ #: includes/admin/class-social-count-plus-admin.php:292
298
+ #: includes/admin/class-social-count-plus-admin.php:297
299
+ msgid "This option add %s in all counters URLs."
300
+ msgstr ""
301
+
302
+ #: includes/admin/class-social-count-plus-admin.php:295
303
+ msgid "Add nofollow in URLs"
304
+ msgstr ""
305
+
306
+ #: includes/admin/class-social-count-plus-admin.php:304
307
+ #: includes/admin/views/html-settings-page.php:9
308
+ msgid "Design"
309
+ msgstr "Design"
310
+
311
+ #: includes/admin/class-social-count-plus-admin.php:307
312
+ msgid "Layout Models"
313
+ msgstr "Layout-modeller"
314
+
315
+ #: includes/admin/class-social-count-plus-admin.php:322
316
+ msgid "Text Color"
317
+ msgstr "Textfärg"
318
+
319
+ #: includes/admin/class-social-count-plus-admin.php:327
320
+ msgid "Order"
321
+ msgstr ""
322
+
323
+ #: includes/admin/class-social-count-plus-admin.php:329
324
+ msgid "This option controls the order of the icons in the widget."
325
+ msgstr ""
326
+
327
+ #. Plugin Name of the plugin/theme
328
+ msgid "Social Count Plus"
329
+ msgstr "Social Count Plus"
330
+
331
+ #: includes/admin/class-social-count-plus-admin.php:561
332
+ msgid "Activate/Deactivate"
333
+ msgstr "Aktivera/Avaktivera"
334
+
335
+ #: includes/admin/class-social-count-plus-admin.php:774
336
+ msgid "General Info"
337
+ msgstr ""
338
+
339
+ #: includes/admin/class-social-count-plus-admin.php:775
340
+ #: includes/admin/views/html-settings-system-status-page.php:11
341
+ msgid "Social Count Plus Version"
342
+ msgstr ""
343
+
344
+ #: includes/admin/class-social-count-plus-admin.php:776
345
+ #: includes/admin/views/html-settings-system-status-page.php:15
346
+ msgid "WordPress Version"
347
+ msgstr ""
348
+
349
+ #: includes/admin/class-social-count-plus-admin.php:777
350
+ #: includes/admin/views/html-settings-system-status-page.php:19
351
+ msgid "WP Multisite Enabled"
352
+ msgstr ""
353
+
354
+ #: includes/admin/class-social-count-plus-admin.php:777
355
+ #: includes/admin/class-social-count-plus-admin.php:780
356
+ #: includes/admin/class-social-count-plus-admin.php:781
357
+ #: includes/admin/views/html-settings-system-status-page.php:20
358
+ msgid "Yes"
359
+ msgstr ""
360
+
361
+ #: includes/admin/class-social-count-plus-admin.php:777
362
+ #: includes/admin/class-social-count-plus-admin.php:780
363
+ #: includes/admin/class-social-count-plus-admin.php:781
364
+ #: includes/admin/views/html-settings-system-status-page.php:20
365
+ msgid "No"
366
+ msgstr ""
367
+
368
+ #: includes/admin/class-social-count-plus-admin.php:778
369
+ #: includes/admin/views/html-settings-system-status-page.php:23
370
+ msgid "Web Server Info"
371
+ msgstr ""
372
+
373
+ #: includes/admin/class-social-count-plus-admin.php:779
374
+ #: includes/admin/views/html-settings-system-status-page.php:27
375
+ msgid "PHP Version"
376
+ msgstr ""
377
+
378
+ #: includes/admin/class-social-count-plus-admin.php:782
379
+ msgid "Social Connections"
380
+ msgstr ""
381
+
382
+ #: includes/admin/class-social-count-plus-admin.php:792
383
+ msgid ""
384
+ "You do not have any counter that needs to connect remotely currently active"
385
+ msgstr ""
386
+
387
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:7
388
+ msgid ""
389
+ "Use this library to generate your own model layout or display specific data "
390
+ "counters."
391
+ msgstr "Använd detta bibliotek för att generera din egen layout eller visa specifika data-räknare."
392
+
393
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:9
394
+ msgid "Shortcodes"
395
+ msgstr "Kortkoder"
396
+
397
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:11
398
+ msgid "Note: the shortcodes displays only the count in plain text."
399
+ msgstr ""
400
+
401
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:15
402
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:62
403
+ msgid "Twitter counter"
404
+ msgstr "Twitter-räknare"
405
+
406
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:19
407
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:66
408
+ msgid "Facebook counter"
409
+ msgstr "Facebook-räknare"
410
+
411
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:23
412
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:70
413
+ msgid "YouTube counter"
414
+ msgstr "Youtube-räknare"
415
+
416
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:27
417
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:74
418
+ msgid "Google Plus counter"
419
+ msgstr "Google Plus-räknare"
420
+
421
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:31
422
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:78
423
+ msgid "Instagram counter"
424
+ msgstr "Instagram-räknare"
425
+
426
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:35
427
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:82
428
+ msgid "Steam counter"
429
+ msgstr "Steam-räknare"
430
+
431
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:39
432
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:86
433
+ msgid "Twitch counter"
434
+ msgstr ""
435
+
436
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:43
437
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:90
438
+ msgid "SoundCloud counter"
439
+ msgstr "SoundCloud-räknare"
440
+
441
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:47
442
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:94
443
+ msgid "Posts counter"
444
+ msgstr "Inläggsräknare"
445
+
446
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:51
447
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:98
448
+ msgid "Comments counter"
449
+ msgstr "Kommentarsräknare"
450
+
451
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:56
452
+ msgid "Functions"
453
+ msgstr "Funktioner"
454
+
455
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:58
456
+ msgid ""
457
+ "Note: the functions displays only the count in plain text, except the "
458
+ "<code>get_scp_widget()</code> function that displays with images."
459
+ msgstr ""
460
+
461
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:102
462
+ msgid "Full widget"
463
+ msgstr "Fullständig widget"
464
+
465
+ #: includes/admin/views/html-settings-page.php:9
466
+ msgid "Shortcodes and Functions"
467
+ msgstr "Kortkoder och funktioner"
468
+
469
+ #: includes/admin/views/html-settings-page.php:9
470
+ msgid "System Status"
471
+ msgstr ""
472
+
473
+ #: includes/admin/views/html-settings-page.php:22
474
+ msgid "To use the counter of Twitter you need to fill the fields:"
475
+ msgstr "För att använda räknaren för Twitter behöver du fylla i fälten här nedanför:"
476
+
477
+ #: includes/admin/views/html-settings-system-status-page.php:5
478
+ msgid "Environment"
479
+ msgstr ""
480
+
481
+ #: includes/admin/views/html-settings-system-status-page.php:33
482
+ msgid ""
483
+ "Your server does not have fsockopen or cURL enabled. The scripts which "
484
+ "communicate with the social APIs will not work. Contact your hosting "
485
+ "provider."
486
+ msgstr ""
487
+
488
+ #: includes/admin/views/html-settings-system-status-page.php:37
489
+ msgid "Your server has fsockopen and cURL enabled."
490
+ msgstr ""
491
+
492
+ #: includes/admin/views/html-settings-system-status-page.php:39
493
+ msgid "Your server has fsockopen enabled, cURL is disabled."
494
+ msgstr ""
495
+
496
+ #: includes/admin/views/html-settings-system-status-page.php:41
497
+ msgid "Your server has cURL enabled, fsockopen is disabled."
498
+ msgstr ""
499
+
500
+ #: includes/admin/views/html-settings-system-status-page.php:47
501
+ msgid "fsockopen/cURL"
502
+ msgstr ""
503
+
504
+ #: includes/admin/views/html-settings-system-status-page.php:57
505
+ msgid "wp_remote_get() failed. This may not work with your server."
506
+ msgstr ""
507
+
508
+ #: includes/admin/views/html-settings-system-status-page.php:62
509
+ msgid "wp_remote_get() was successful."
510
+ msgstr ""
511
+
512
+ #: includes/admin/views/html-settings-system-status-page.php:64
513
+ msgid ""
514
+ "wp_remote_get() failed. This plugin won't work with your server. Contact "
515
+ "your hosting provider. Error:"
516
+ msgstr ""
517
+
518
+ #: includes/admin/views/html-settings-system-status-page.php:67
519
+ msgid "WP Remote Get"
520
+ msgstr ""
521
+
522
+ #: includes/admin/views/html-settings-system-status-page.php:77
523
+ msgid "Get System Report"
524
+ msgstr ""
525
+
526
+ #: includes/class-social-count-plus-view.php:52
527
+ #: includes/class-social-count-plus-view.php:91
528
+ #: includes/class-social-count-plus-view.php:104
529
+ #: includes/class-social-count-plus-view.php:130
530
+ #: includes/class-social-count-plus-view.php:143
531
+ msgid "followers"
532
+ msgstr "följare"
533
+
534
+ #: includes/class-social-count-plus-view.php:65
535
+ msgid "likes"
536
+ msgstr "gillar"
537
+
538
+ #: includes/class-social-count-plus-view.php:78
539
+ msgid "subscribers"
540
+ msgstr "prenumeranter"
541
+
542
+ #: includes/class-social-count-plus-view.php:117
543
+ msgid "members"
544
+ msgstr "medlemmar"
545
+
546
+ #: includes/class-social-count-plus-view.php:178
547
+ msgid "comments"
548
+ msgstr "kommentarer"
549
+
550
+ #: includes/class-social-count-plus-widget.php:19
551
+ msgid "Display the counter"
552
+ msgstr "Visa räknare"
553
+
554
+ #: includes/class-social-count-plus-widget.php:59
555
+ msgid "Title"
556
+ msgstr "Titel"
557
+
558
+ #. Plugin URI of the plugin/theme
559
+ msgid "https://github.com/claudiosmweb/social-count-plus"
560
+ msgstr "https://github.com/claudiosmweb/social-count-plus"
561
+
562
+ #. Description of the plugin/theme
563
+ msgid ""
564
+ "Display the counting Twitter followers, Facebook fans, YouTube subscribers "
565
+ "posts and comments."
566
+ msgstr "Visar räknare för Twitter-följare, Facebook fans, Youtube-prenumeranter, inlägg och kommentarer."
567
+
568
+ #. Author of the plugin/theme
569
+ msgid "Claudio Sanches, Felipe Santana"
570
+ msgstr ""
571
+
572
+ #. Author URI of the plugin/theme
573
+ msgid "http://claudiosmweb.com/"
574
+ msgstr "http://claudiosmweb.com/"
languages/social-count-plus.pot ADDED
@@ -0,0 +1,570 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Copyright (C) 2015 Claudio Sanches, Felipe Santana
2
+ # This file is distributed under the GPLv2 or later.
3
+ msgid ""
4
+ msgstr ""
5
+ "Project-Id-Version: Social Count Plus 3.1.0\n"
6
+ "Report-Msgid-Bugs-To: https://wordpress.org/plugins/woocommerce-domination/\n"
7
+ "POT-Creation-Date: 2015-08-21 15:42:56+00:00\n"
8
+ "MIME-Version: 1.0\n"
9
+ "Content-Type: text/plain; charset=utf-8\n"
10
+ "Content-Transfer-Encoding: 8bit\n"
11
+ "PO-Revision-Date: 2015-MO-DA HO:MI+ZONE\n"
12
+ "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13
+ "Language-Team: LANGUAGE <EMAIL@ADDRESS>\n"
14
+ "X-Generator: grunt-wp-i18n 0.5.3\n"
15
+
16
+ #: includes/admin/class-social-count-plus-admin.php:66
17
+ msgid "Create an App on Twitter in %s and get this information"
18
+ msgstr ""
19
+
20
+ #: includes/admin/class-social-count-plus-admin.php:68
21
+ msgid "Create an App on Facebook in %s and get this information"
22
+ msgstr ""
23
+
24
+ #: includes/admin/class-social-count-plus-admin.php:70
25
+ msgid "Get the this information in %s"
26
+ msgstr ""
27
+
28
+ #: includes/admin/class-social-count-plus-admin.php:75
29
+ #: includes/admin/class-social-count-plus-admin.php:885
30
+ msgid "Twitter"
31
+ msgstr ""
32
+
33
+ #: includes/admin/class-social-count-plus-admin.php:78
34
+ msgid "Display Twitter counter"
35
+ msgstr ""
36
+
37
+ #: includes/admin/class-social-count-plus-admin.php:82
38
+ #: includes/admin/views/html-settings-page.php:24
39
+ msgid "Twitter username"
40
+ msgstr ""
41
+
42
+ #: includes/admin/class-social-count-plus-admin.php:84
43
+ msgid "Insert the Twitter username. Example: claudiosmweb"
44
+ msgstr ""
45
+
46
+ #: includes/admin/class-social-count-plus-admin.php:87
47
+ #: includes/admin/views/html-settings-page.php:25
48
+ msgid "Twitter Consumer key"
49
+ msgstr ""
50
+
51
+ #: includes/admin/class-social-count-plus-admin.php:92
52
+ #: includes/admin/views/html-settings-page.php:26
53
+ msgid "Twitter Consumer secret"
54
+ msgstr ""
55
+
56
+ #: includes/admin/class-social-count-plus-admin.php:97
57
+ #: includes/admin/views/html-settings-page.php:27
58
+ msgid "Twitter Access token"
59
+ msgstr ""
60
+
61
+ #: includes/admin/class-social-count-plus-admin.php:102
62
+ #: includes/admin/views/html-settings-page.php:28
63
+ msgid "Twitter Access token secret"
64
+ msgstr ""
65
+
66
+ #: includes/admin/class-social-count-plus-admin.php:109
67
+ #: includes/admin/class-social-count-plus-admin.php:886
68
+ msgid "Facebook"
69
+ msgstr ""
70
+
71
+ #: includes/admin/class-social-count-plus-admin.php:112
72
+ msgid "Display Facebook counter"
73
+ msgstr ""
74
+
75
+ #: includes/admin/class-social-count-plus-admin.php:116
76
+ msgid "Facebook Page ID"
77
+ msgstr ""
78
+
79
+ #: includes/admin/class-social-count-plus-admin.php:120
80
+ msgid "ID Facebook page. Must be the numeric ID or your page slug."
81
+ msgstr ""
82
+
83
+ #: includes/admin/class-social-count-plus-admin.php:121
84
+ msgid ""
85
+ "You can find this information clicking to edit your page on Facebook. The "
86
+ "URL will be similar to this:"
87
+ msgstr ""
88
+
89
+ #: includes/admin/class-social-count-plus-admin.php:122
90
+ msgid "or"
91
+ msgstr ""
92
+
93
+ #: includes/admin/class-social-count-plus-admin.php:126
94
+ msgid "Facebook App ID"
95
+ msgstr ""
96
+
97
+ #: includes/admin/class-social-count-plus-admin.php:131
98
+ msgid "Facebook App Secret"
99
+ msgstr ""
100
+
101
+ #: includes/admin/class-social-count-plus-admin.php:138
102
+ #: includes/admin/class-social-count-plus-admin.php:887
103
+ msgid "YouTube"
104
+ msgstr ""
105
+
106
+ #: includes/admin/class-social-count-plus-admin.php:141
107
+ msgid "Display YouTube counter"
108
+ msgstr ""
109
+
110
+ #: includes/admin/class-social-count-plus-admin.php:145
111
+ msgid "YouTube Channel ID"
112
+ msgstr ""
113
+
114
+ #: includes/admin/class-social-count-plus-admin.php:147
115
+ msgid "Insert the YouTube Channel ID. Example: %s"
116
+ msgstr ""
117
+
118
+ #: includes/admin/class-social-count-plus-admin.php:150
119
+ msgid "YouTube Channel URL"
120
+ msgstr ""
121
+
122
+ #: includes/admin/class-social-count-plus-admin.php:152
123
+ msgid "Insert the YouTube channel URL. Example: %s"
124
+ msgstr ""
125
+
126
+ #: includes/admin/class-social-count-plus-admin.php:155
127
+ #: includes/admin/class-social-count-plus-admin.php:181
128
+ msgid "Google API Key"
129
+ msgstr ""
130
+
131
+ #: includes/admin/class-social-count-plus-admin.php:158
132
+ msgid ""
133
+ "Get your API key creating a project/app in %s, then inside your project go "
134
+ "to \"APIs & auth > APIs\" and turn on the \"YouTube API\", finally go to "
135
+ "\"APIs & auth > APIs > Credentials > Public API access\" and click in the "
136
+ "\"CREATE A NEW KEY\" button, select the \"Browser key\" option and click in "
137
+ "the \"CREATE\" button, now just copy your API key and paste here."
138
+ msgstr ""
139
+
140
+ #: includes/admin/class-social-count-plus-admin.php:165
141
+ #: includes/admin/class-social-count-plus-admin.php:888
142
+ msgid "Google+"
143
+ msgstr ""
144
+
145
+ #: includes/admin/class-social-count-plus-admin.php:168
146
+ msgid "Display Google+ counter"
147
+ msgstr ""
148
+
149
+ #: includes/admin/class-social-count-plus-admin.php:172
150
+ msgid "Google+ ID"
151
+ msgstr ""
152
+
153
+ #: includes/admin/class-social-count-plus-admin.php:176
154
+ msgid "Google+ page or profile ID."
155
+ msgstr ""
156
+
157
+ #: includes/admin/class-social-count-plus-admin.php:177
158
+ msgid "Example:"
159
+ msgstr ""
160
+
161
+ #: includes/admin/class-social-count-plus-admin.php:184
162
+ msgid ""
163
+ "Get your API key creating a project/app in %s, then inside your project go "
164
+ "to \"APIs & auth > APIs\" and turn on the \"Google+ API\", finally go to "
165
+ "\"APIs & auth > APIs > Credentials > Public API access\" and click in the "
166
+ "\"CREATE A NEW KEY\" button, select the \"Browser key\" option and click in "
167
+ "the \"CREATE\" button, now just copy your API key and paste here."
168
+ msgstr ""
169
+
170
+ #: includes/admin/class-social-count-plus-admin.php:191
171
+ #: includes/admin/class-social-count-plus-admin.php:889
172
+ msgid "Instagram"
173
+ msgstr ""
174
+
175
+ #: includes/admin/class-social-count-plus-admin.php:194
176
+ msgid "Display Instagram counter"
177
+ msgstr ""
178
+
179
+ #: includes/admin/class-social-count-plus-admin.php:198
180
+ msgid "Instagram Username"
181
+ msgstr ""
182
+
183
+ #: includes/admin/class-social-count-plus-admin.php:200
184
+ msgid "Insert the Instagram Username."
185
+ msgstr ""
186
+
187
+ #: includes/admin/class-social-count-plus-admin.php:203
188
+ msgid "Instagram User ID"
189
+ msgstr ""
190
+
191
+ #: includes/admin/class-social-count-plus-admin.php:205
192
+ msgid "Insert the Instagram User ID."
193
+ msgstr ""
194
+
195
+ #: includes/admin/class-social-count-plus-admin.php:208
196
+ msgid "Instagram Access Token"
197
+ msgstr ""
198
+
199
+ #: includes/admin/class-social-count-plus-admin.php:210
200
+ msgid "Insert the Instagram Access Token."
201
+ msgstr ""
202
+
203
+ #: includes/admin/class-social-count-plus-admin.php:215
204
+ #: includes/admin/class-social-count-plus-admin.php:890
205
+ msgid "Steam"
206
+ msgstr ""
207
+
208
+ #: includes/admin/class-social-count-plus-admin.php:218
209
+ msgid "Display Steam counter"
210
+ msgstr ""
211
+
212
+ #: includes/admin/class-social-count-plus-admin.php:222
213
+ msgid "Steam group name"
214
+ msgstr ""
215
+
216
+ #: includes/admin/class-social-count-plus-admin.php:224
217
+ msgid "Insert the Steam Community group name. Example: %s"
218
+ msgstr ""
219
+
220
+ #: includes/admin/class-social-count-plus-admin.php:229
221
+ #: includes/admin/class-social-count-plus-admin.php:891
222
+ msgid "Twitch"
223
+ msgstr ""
224
+
225
+ #: includes/admin/class-social-count-plus-admin.php:232
226
+ msgid "Display Twitch counter"
227
+ msgstr ""
228
+
229
+ #: includes/admin/class-social-count-plus-admin.php:236
230
+ msgid "Twitch username"
231
+ msgstr ""
232
+
233
+ #: includes/admin/class-social-count-plus-admin.php:238
234
+ msgid "Insert your Twitch username."
235
+ msgstr ""
236
+
237
+ #: includes/admin/class-social-count-plus-admin.php:243
238
+ #: includes/admin/class-social-count-plus-admin.php:892
239
+ msgid "SoundCloud"
240
+ msgstr ""
241
+
242
+ #: includes/admin/class-social-count-plus-admin.php:246
243
+ msgid "Display SoundCloud counter"
244
+ msgstr ""
245
+
246
+ #: includes/admin/class-social-count-plus-admin.php:250
247
+ msgid "SoundCloud Username"
248
+ msgstr ""
249
+
250
+ #: includes/admin/class-social-count-plus-admin.php:252
251
+ msgid "Insert the SoundCloud Username."
252
+ msgstr ""
253
+
254
+ #: includes/admin/class-social-count-plus-admin.php:255
255
+ msgid "SoundCloud Client ID"
256
+ msgstr ""
257
+
258
+ #: includes/admin/class-social-count-plus-admin.php:257
259
+ msgid "Insert the SoundCloud App Client ID. Generate this information in %s"
260
+ msgstr ""
261
+
262
+ #: includes/admin/class-social-count-plus-admin.php:262
263
+ #: includes/admin/class-social-count-plus-admin.php:893
264
+ msgid "Posts"
265
+ msgstr ""
266
+
267
+ #: includes/admin/class-social-count-plus-admin.php:265
268
+ msgid "Display Posts counter"
269
+ msgstr ""
270
+
271
+ #: includes/admin/class-social-count-plus-admin.php:270
272
+ msgid "Post type"
273
+ msgstr ""
274
+
275
+ #: includes/admin/class-social-count-plus-admin.php:277
276
+ #: includes/admin/class-social-count-plus-admin.php:894
277
+ msgid "Comments"
278
+ msgstr ""
279
+
280
+ #: includes/admin/class-social-count-plus-admin.php:280
281
+ msgid "Display Comments counter"
282
+ msgstr ""
283
+
284
+ #: includes/admin/class-social-count-plus-admin.php:287
285
+ #: includes/admin/class-social-count-plus-admin.php:726
286
+ #: includes/admin/views/html-settings-page.php:9
287
+ msgid "Settings"
288
+ msgstr ""
289
+
290
+ #: includes/admin/class-social-count-plus-admin.php:290
291
+ msgid "Open URLs in new tab/window"
292
+ msgstr ""
293
+
294
+ #: includes/admin/class-social-count-plus-admin.php:292
295
+ #: includes/admin/class-social-count-plus-admin.php:297
296
+ msgid "This option add %s in all counters URLs."
297
+ msgstr ""
298
+
299
+ #: includes/admin/class-social-count-plus-admin.php:295
300
+ msgid "Add nofollow in URLs"
301
+ msgstr ""
302
+
303
+ #: includes/admin/class-social-count-plus-admin.php:304
304
+ #: includes/admin/views/html-settings-page.php:9
305
+ msgid "Design"
306
+ msgstr ""
307
+
308
+ #: includes/admin/class-social-count-plus-admin.php:307
309
+ msgid "Layout Models"
310
+ msgstr ""
311
+
312
+ #: includes/admin/class-social-count-plus-admin.php:322
313
+ msgid "Text Color"
314
+ msgstr ""
315
+
316
+ #: includes/admin/class-social-count-plus-admin.php:327
317
+ msgid "Order"
318
+ msgstr ""
319
+
320
+ #: includes/admin/class-social-count-plus-admin.php:329
321
+ msgid "This option controls the order of the icons in the widget."
322
+ msgstr ""
323
+
324
+ #. Plugin Name of the plugin/theme
325
+ msgid "Social Count Plus"
326
+ msgstr ""
327
+
328
+ #: includes/admin/class-social-count-plus-admin.php:561
329
+ msgid "Activate/Deactivate"
330
+ msgstr ""
331
+
332
+ #: includes/admin/class-social-count-plus-admin.php:774
333
+ msgid "General Info"
334
+ msgstr ""
335
+
336
+ #: includes/admin/class-social-count-plus-admin.php:775
337
+ #: includes/admin/views/html-settings-system-status-page.php:11
338
+ msgid "Social Count Plus Version"
339
+ msgstr ""
340
+
341
+ #: includes/admin/class-social-count-plus-admin.php:776
342
+ #: includes/admin/views/html-settings-system-status-page.php:15
343
+ msgid "WordPress Version"
344
+ msgstr ""
345
+
346
+ #: includes/admin/class-social-count-plus-admin.php:777
347
+ #: includes/admin/views/html-settings-system-status-page.php:19
348
+ msgid "WP Multisite Enabled"
349
+ msgstr ""
350
+
351
+ #: includes/admin/class-social-count-plus-admin.php:777
352
+ #: includes/admin/class-social-count-plus-admin.php:780
353
+ #: includes/admin/class-social-count-plus-admin.php:781
354
+ #: includes/admin/views/html-settings-system-status-page.php:20
355
+ msgid "Yes"
356
+ msgstr ""
357
+
358
+ #: includes/admin/class-social-count-plus-admin.php:777
359
+ #: includes/admin/class-social-count-plus-admin.php:780
360
+ #: includes/admin/class-social-count-plus-admin.php:781
361
+ #: includes/admin/views/html-settings-system-status-page.php:20
362
+ msgid "No"
363
+ msgstr ""
364
+
365
+ #: includes/admin/class-social-count-plus-admin.php:778
366
+ #: includes/admin/views/html-settings-system-status-page.php:23
367
+ msgid "Web Server Info"
368
+ msgstr ""
369
+
370
+ #: includes/admin/class-social-count-plus-admin.php:779
371
+ #: includes/admin/views/html-settings-system-status-page.php:27
372
+ msgid "PHP Version"
373
+ msgstr ""
374
+
375
+ #: includes/admin/class-social-count-plus-admin.php:782
376
+ msgid "Social Connections"
377
+ msgstr ""
378
+
379
+ #: includes/admin/class-social-count-plus-admin.php:792
380
+ msgid "You do not have any counter that needs to connect remotely currently active"
381
+ msgstr ""
382
+
383
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:7
384
+ msgid ""
385
+ "Use this library to generate your own model layout or display specific data "
386
+ "counters."
387
+ msgstr ""
388
+
389
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:9
390
+ msgid "Shortcodes"
391
+ msgstr ""
392
+
393
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:11
394
+ msgid "Note: the shortcodes displays only the count in plain text."
395
+ msgstr ""
396
+
397
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:15
398
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:62
399
+ msgid "Twitter counter"
400
+ msgstr ""
401
+
402
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:19
403
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:66
404
+ msgid "Facebook counter"
405
+ msgstr ""
406
+
407
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:23
408
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:70
409
+ msgid "YouTube counter"
410
+ msgstr ""
411
+
412
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:27
413
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:74
414
+ msgid "Google Plus counter"
415
+ msgstr ""
416
+
417
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:31
418
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:78
419
+ msgid "Instagram counter"
420
+ msgstr ""
421
+
422
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:35
423
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:82
424
+ msgid "Steam counter"
425
+ msgstr ""
426
+
427
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:39
428
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:86
429
+ msgid "Twitch counter"
430
+ msgstr ""
431
+
432
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:43
433
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:90
434
+ msgid "SoundCloud counter"
435
+ msgstr ""
436
+
437
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:47
438
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:94
439
+ msgid "Posts counter"
440
+ msgstr ""
441
+
442
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:51
443
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:98
444
+ msgid "Comments counter"
445
+ msgstr ""
446
+
447
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:56
448
+ msgid "Functions"
449
+ msgstr ""
450
+
451
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:58
452
+ msgid ""
453
+ "Note: the functions displays only the count in plain text, except the "
454
+ "<code>get_scp_widget()</code> function that displays with images."
455
+ msgstr ""
456
+
457
+ #: includes/admin/views/html-settings-functions-shortcodes-page.php:102
458
+ msgid "Full widget"
459
+ msgstr ""
460
+
461
+ #: includes/admin/views/html-settings-page.php:9
462
+ msgid "Shortcodes and Functions"
463
+ msgstr ""
464
+
465
+ #: includes/admin/views/html-settings-page.php:9
466
+ msgid "System Status"
467
+ msgstr ""
468
+
469
+ #: includes/admin/views/html-settings-page.php:22
470
+ msgid "To use the counter of Twitter you need to fill the fields:"
471
+ msgstr ""
472
+
473
+ #: includes/admin/views/html-settings-system-status-page.php:5
474
+ msgid "Environment"
475
+ msgstr ""
476
+
477
+ #: includes/admin/views/html-settings-system-status-page.php:33
478
+ msgid ""
479
+ "Your server does not have fsockopen or cURL enabled. The scripts which "
480
+ "communicate with the social APIs will not work. Contact your hosting "
481
+ "provider."
482
+ msgstr ""
483
+
484
+ #: includes/admin/views/html-settings-system-status-page.php:37
485
+ msgid "Your server has fsockopen and cURL enabled."
486
+ msgstr ""
487
+
488
+ #: includes/admin/views/html-settings-system-status-page.php:39
489
+ msgid "Your server has fsockopen enabled, cURL is disabled."
490
+ msgstr ""
491
+
492
+ #: includes/admin/views/html-settings-system-status-page.php:41
493
+ msgid "Your server has cURL enabled, fsockopen is disabled."
494
+ msgstr ""
495
+
496
+ #: includes/admin/views/html-settings-system-status-page.php:47
497
+ msgid "fsockopen/cURL"
498
+ msgstr ""
499
+
500
+ #: includes/admin/views/html-settings-system-status-page.php:57
501
+ msgid "wp_remote_get() failed. This may not work with your server."
502
+ msgstr ""
503
+
504
+ #: includes/admin/views/html-settings-system-status-page.php:62
505
+ msgid "wp_remote_get() was successful."
506
+ msgstr ""
507
+
508
+ #: includes/admin/views/html-settings-system-status-page.php:64
509
+ msgid ""
510
+ "wp_remote_get() failed. This plugin won't work with your server. Contact "
511
+ "your hosting provider. Error:"
512
+ msgstr ""
513
+
514
+ #: includes/admin/views/html-settings-system-status-page.php:67
515
+ msgid "WP Remote Get"
516
+ msgstr ""
517
+
518
+ #: includes/admin/views/html-settings-system-status-page.php:77
519
+ msgid "Get System Report"
520
+ msgstr ""
521
+
522
+ #: includes/class-social-count-plus-view.php:52
523
+ #: includes/class-social-count-plus-view.php:91
524
+ #: includes/class-social-count-plus-view.php:104
525
+ #: includes/class-social-count-plus-view.php:130
526
+ #: includes/class-social-count-plus-view.php:143
527
+ msgid "followers"
528
+ msgstr ""
529
+
530
+ #: includes/class-social-count-plus-view.php:65
531
+ msgid "likes"
532
+ msgstr ""
533
+
534
+ #: includes/class-social-count-plus-view.php:78
535
+ msgid "subscribers"
536
+ msgstr ""
537
+
538
+ #: includes/class-social-count-plus-view.php:117
539
+ msgid "members"
540
+ msgstr ""
541
+
542
+ #: includes/class-social-count-plus-view.php:178
543
+ msgid "comments"
544
+ msgstr ""
545
+
546
+ #: includes/class-social-count-plus-widget.php:19
547
+ msgid "Display the counter"
548
+ msgstr ""
549
+
550
+ #: includes/class-social-count-plus-widget.php:59
551
+ msgid "Title"
552
+ msgstr ""
553
+
554
+ #. Plugin URI of the plugin/theme
555
+ msgid "https://github.com/claudiosmweb/social-count-plus"
556
+ msgstr ""
557
+
558
+ #. Description of the plugin/theme
559
+ msgid ""
560
+ "Display the counting Twitter followers, Facebook fans, YouTube subscribers "
561
+ "posts and comments."
562
+ msgstr ""
563
+
564
+ #. Author of the plugin/theme
565
+ msgid "Claudio Sanches, Felipe Santana"
566
+ msgstr ""
567
+
568
+ #. Author URI of the plugin/theme
569
+ msgid "http://claudiosmweb.com/"
570
+ msgstr ""
readme.txt ADDED
@@ -0,0 +1,342 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ === Social Count Plus ===
2
+ Contributors: claudiosanches, felipesantana
3
+ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=Y8HP99ZJ5Z59L
4
+ Tags: facebook, twitter, youtube, google, instagram, soundcloud, steam, twitch, counter, widget, shortcode
5
+ Requires at least: 4.0
6
+ Tested up to: 4.3
7
+ Stable tag: 3.1.1
8
+ License: GPLv2 or later
9
+ License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
+
11
+ Display the counting data of Twitter, Facebook, Google+, YouTube, Instagram, Steam Community, Twitch, SoundCloud posts and comments.
12
+
13
+ == Description ==
14
+
15
+ The Social Count Plus performs counting Twitter followers, Facebook fans, YouTube subscribers, Google+ page/profile followers, Instagram followers, Steam Community group members, Twitch channel followers, SoundCloud follwers, number of posts and comments.
16
+
17
+ You can view this information by a widget (with account options models icons) or Shortcodes (to be used in posts and pages) or PHP functions in your theme.
18
+
19
+ The results of the counters are cached and new values ​​are checked only once a day. This cache can be wiped when published a new post.
20
+
21
+ The cache avoids not only that your blog be seeking new results every time a page is loaded, but also prevents collapse of services from Twitter and Facebook, if one of these services does not respond, the counter displays the last count it was successful.
22
+
23
+ #### Shortcodes ####
24
+
25
+ Displays only the count in plain text:
26
+
27
+ * Twitter: `[scp code="twitter"]`
28
+ * Facebook: `[scp code="facebook"]`
29
+ * YouTube: `[scp code="youtube"]`
30
+ * Google Plus: `[scp code="googleplus"]`
31
+ * Instagram: `[scp code="instagram"]`
32
+ * Steam: `[scp code="steam"]`
33
+ * Twitch: `[scp code="twitch"]`
34
+ * SoundCloud: `[scp code="soundcloud"]`
35
+ * Posts: `[scp code="posts"]`
36
+ * Comments: `[scp code="comments"]`
37
+
38
+ #### Functions ####
39
+
40
+ Displays only the count in plain text:
41
+
42
+ * Twitter: `<?php echo get_scp_twitter(); ?>`
43
+ * Facebook: `<?php echo get_scp_facebook(); ?>`
44
+ * YouTube: `<?php echo get_scp_youtube(); ?>`
45
+ * Google Plus: `<?php echo get_scp_googleplus(); ?>`
46
+ * Instagram: `<?php echo get_scp_instagram(); ?>`
47
+ * Steam: `<?php echo get_scp_steam(); ?>`
48
+ * Twitch: `<?php echo get_scp_twitch(); ?>`
49
+ * SoundCloud: `<?php echo get_scp_soundcloud(); ?>`
50
+ * Posts: `<?php echo get_scp_posts(); ?>`
51
+ * Comments: `<?php echo get_scp_comments(); ?>`
52
+
53
+ Displays the widget with icons:
54
+
55
+ * Widget: `<?php echo get_scp_widget(); ?>`
56
+
57
+ #### Translate ####
58
+
59
+ You can contribute to the source code in our [GitHub](https://www.transifex.com/claudiosmweb/social-count-plus/) page.
60
+
61
+ #### Contribute ####
62
+
63
+ You can contribute to the source code in our [GitHub](https://github.com/claudiosmweb/social-count-plus) page.
64
+
65
+ #### Credits ####
66
+
67
+ * Flat icons set, Instagram, SoundCloud and Steam icons by [Felipe Santana](http://wordpress.org/support/profile/felipesantana)
68
+ * Steam counter by [Tadas Krivickas](http://wordpress.org/support/profile/tkrivickas)
69
+ * Instagram access token generator by [Pedro Rogério](http://www.pinceladasdaweb.com.br/)
70
+ * `wp_remote_get()` connection test with [httpbin](https://httpbin.org/)
71
+
72
+ == Installation ==
73
+
74
+ * Upload plugin files to your plugins folder, or install using WordPress built-in Add New Plugin installer;
75
+ * Activate the plugin;
76
+ * Navigate to Settings -> Social Count Plus and fill the plugin options.
77
+
78
+ Some counters depend on third-party APIs to work, follow the next steps to generate API keys for each of them:
79
+
80
+ = Facebook =
81
+
82
+ You must create a Facebook app to use the Facebook Graph API.
83
+
84
+ https://www.youtube.com/watch?v=LgavLDh7GPA
85
+
86
+ Once the App is ready, just copy the App ID and App Secret.
87
+
88
+ = Google+ and YouTube =
89
+
90
+ Generate a valid Google API Key for Google+ and YouTube:
91
+
92
+ https://www.youtube.com/watch?v=EAQA-tJUWas
93
+
94
+ = Twitter =
95
+
96
+ You need create a Twitter App and copy the Consumer key, Consumer secret, Access token and Access token secret:
97
+
98
+ https://www.youtube.com/watch?v=26dpo-g_jQc
99
+
100
+ == Frequently Asked Questions ==
101
+
102
+ = What is the plugin license? =
103
+
104
+ * This plugin is released under a GPL license.
105
+
106
+ = Google+ is not working? =
107
+
108
+ You probably have not been able to generate API keys as it should.
109
+
110
+ You can test the API key with the following link:
111
+
112
+ https://www.googleapis.com/plus/v1/people/+ClaudioSanches?key=API_KEY_HERE
113
+
114
+ The answer must contain the following line:
115
+
116
+ "circledByCount": XXX,
117
+
118
+ = How to changing the amount of times the counter is updated daily? =
119
+
120
+ You can change using the filter `social_count_plus_transient_time`.
121
+ Example:
122
+
123
+
124
+ function social_count_plus_custom_transient_time( $time ) {
125
+ return 43200; // 12 hours in seconds.
126
+ }
127
+
128
+ add_filter( 'social_count_plus_transient_time', 'social_count_plus_custom_transient_time' );
129
+
130
+
131
+ = Can I use my own icons? =
132
+
133
+ Yes, you can!
134
+
135
+ Select one of the options without icons in "WordPress admin > Social Count Plus > Design" and create your own CSS in your theme or anywhere you prefer.
136
+
137
+ The CSS classes you will need to use:
138
+
139
+ .social-count-plus .custom .count-twitter a {}
140
+ .social-count-plus .custom .count-facebook a {}
141
+ .social-count-plus .custom .count-youtube a {}
142
+ .social-count-plus .custom .count-googleplus a {}
143
+ .social-count-plus .custom .count-instagram a {}
144
+ .social-count-plus .custom .count-steam a {}
145
+ .social-count-plus .custom .count-twitch a {}
146
+ .social-count-plus .custom .count-soundcloud a {}
147
+ .social-count-plus .custom .count-posts a {}
148
+ .social-count-plus .custom .count-comments a {}
149
+
150
+
151
+ == Screenshots ==
152
+
153
+ 1. Settings page.
154
+ 2. Design page.
155
+ 3. Shortcodes and Functions API page.
156
+ 4. System Status page.
157
+ 5. Widget.
158
+
159
+ == Changelog ==
160
+
161
+ = 3.1.1 - 2015/08/21 =
162
+
163
+ * Fixed YouTube options description. Need a YouTube Channel ID and not a YouTube username.
164
+
165
+ = 3.1.0 - 2015/08/21 =
166
+
167
+ * Added Twitch counter.
168
+ * Added new `social_count_plus_{$icon}html_counter` and `social_count_plus_icon_name_i18n` filters to help add new custom counters.
169
+ * Fixed Facebook counter, now uses the Facebook API.
170
+ * Fixed Google Plus counter, now uses the Google API.
171
+ * Fixed System Status test for `wp_remote_get()`.
172
+
173
+ = 3.0.3 - 2015/04/21 =
174
+
175
+ * Fixed errors in HHVM.
176
+ * Fixed potential XSS vulnerability with add_query_arg().
177
+
178
+ = 3.0.2 - 2014/12/30 =
179
+
180
+ * Fixed the install/update method.
181
+
182
+ = 3.0.1 - 2014/12/25 =
183
+
184
+ * Used only HTTPS for the social links.
185
+ * Removed rel nofollow and target blank for posts and comments.
186
+
187
+ = 3.0.0 - 2014/05/24 =
188
+
189
+ * Refactored all code.
190
+ * Improved the admin option screens.
191
+ * Added System Status admin screen.
192
+ * Added option to display the widget without icons (this way it is simple for you to add your icons in your theme CSS).
193
+ * Added option to sort the icons order.
194
+
195
+ = 2.9.1 - 2014/04/30 =
196
+
197
+ * Improved the counter styles.
198
+ * Changed the default options in plugin install.
199
+
200
+ = 2.9.0 - 2014/04/05 =
201
+
202
+ * Added new Google Plus API.
203
+ * Added Google Plus API key option.
204
+ * Fixed the Google Plus counter, now is possible grab the pages and profiles followers count.
205
+
206
+ = 2.8.2 - 2014/03/26 =
207
+
208
+ * Improved the Facebook counter.
209
+ * Improved the validation of data for all counters.
210
+ * Added a option to enter with you YouTube Channel URL.
211
+
212
+ = 2.8.1 - 2014/02/05 =
213
+
214
+ * Added Swedish translation by [Ramrod](http://profiles.wordpress.org/ramrod).
215
+
216
+ = 2.8.0 - 03/01/2014 =
217
+
218
+ * Added option to insert `rel="nofollow"` in social URLs.
219
+ * Added option to insert `target="_blank"` in social URLs.
220
+
221
+ = 2.7.9 - 2013/12/29 =
222
+
223
+ * Added rel="nofollow" in social icons URLs.
224
+
225
+ = 2.7.8 - 2013/12/17 =
226
+
227
+ * Fixed get_scp_instagram() function.
228
+ * Fixed get_scp_soundcloud() function.
229
+
230
+ = 2.7.7 - 2013/12/13 =
231
+
232
+ * Added support to WordPress 3.8.
233
+
234
+ = 2.7.6 - 2013/11/26 =
235
+
236
+ * Added fr_FR translation by Gilles Santacreu.
237
+
238
+ = 2.7.5 - 2013/11/13 =
239
+
240
+ * Fixed SimpleXMLElement errors.
241
+
242
+ = 2.7.4 - 2013/11/02 =
243
+
244
+ * Added Albanian translation by Lorenc.
245
+
246
+ = 2.7.3 - 2013/10/31 =
247
+
248
+ * Added Russian translation by [Elvisrk](http://wordpress.org/support/profile/elvisrk).
249
+
250
+ = 2.7.2 - 2013/10/26 =
251
+
252
+ * Fixed the textdomain for new WordPress 3.7 standard.
253
+ * Fixed the icons padding.
254
+
255
+ = 2.7.1 - 2013/09/06 =
256
+
257
+ * Fixed icons order.
258
+
259
+ = 2.7.0 - 2013/09/06 =
260
+
261
+ * Added Intagram counter.
262
+ * Added Steam counter.
263
+ * Added SoundCloud counter.
264
+ * Added `social_count_plus_transient_time` filter.
265
+ * Added flat icons.
266
+
267
+ = 2.6.0 - 2013/06/21 =
268
+
269
+ * Added uninstall file.
270
+
271
+ = 2.5.0 - 2013/06/21 =
272
+
273
+ * Added option to change the text color of the widget.
274
+
275
+ = 2.4.0 - 2013/06/21 =
276
+
277
+ * Added Google Plus counter.
278
+
279
+ = 2.3.0 - 2013/06/20 =
280
+
281
+ * Updated the Twitter API to 1.1 version.
282
+
283
+ = 2.2 - 2013/04/19 =
284
+
285
+ * Added `social_count_plus_number_format` filter.
286
+
287
+ = 2.1.1 - 2013/01/22 =
288
+
289
+ * Removed cleaning transients to save a post.
290
+
291
+ = 2.1 - 2013/01/18 =
292
+
293
+ * Fixed a bug that was generated by adding an incorrect user the option of YouTube.
294
+
295
+ = 2.0.1 - 2013/01/14 =
296
+
297
+ * Fixed styles.
298
+ * Fixed YouTube widget icon.
299
+
300
+ = 2.0 - 2013/01/14 =
301
+
302
+ * Source code reformulation.
303
+ * Added YouTube counter.
304
+ * Improved performance with fewer options in the database.
305
+ * Added Brazilian Portuguese and English languages.
306
+
307
+ = 1.3 =
308
+
309
+ * Removed support for Feedburner since Google has disabled the [API](https://developers.google.com/feedburner/).
310
+
311
+ = 1.2 =
312
+
313
+ * Free version.
314
+
315
+ = 1.1 =
316
+
317
+ * Final configuration of the plugin.
318
+
319
+ = 1.0 =
320
+
321
+ * Initial release.
322
+
323
+ == Upgrade Notice ==
324
+
325
+ = 3.1.1 =
326
+
327
+ * Added Twitch counter.
328
+ * Added new `social_count_plus_{$icon}html_counter` and `social_count_plus_icon_name_i18n` filters to help add new custom counters.
329
+ * Fixed Facebook counter, now uses the Facebook API.
330
+ * Fixed Google Plus counter, now uses the Google API.
331
+ * Fixed System Status test for `wp_remote_get()`.
332
+ * Fixed YouTube options description. Need a YouTube Channel ID and not a YouTube username.
333
+
334
+ == License ==
335
+
336
+ Social Count Plus is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published
337
+ by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
338
+
339
+ Social Count Plus is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
340
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
341
+
342
+ You should have received a copy of the GNU General Public License along with Social Count Plus. If not, see <http://www.gnu.org/licenses/>.
social-count-plus.php ADDED
@@ -0,0 +1,147 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Plugin Name: Social Count Plus
4
+ * Plugin URI: https://github.com/claudiosmweb/social-count-plus
5
+ * Description: Display the counting Twitter followers, Facebook fans, YouTube subscribers posts and comments.
6
+ * Author: Claudio Sanches, Felipe Santana
7
+ * Author URI: http://claudiosmweb.com/
8
+ * Version: 3.1.1
9
+ * License: GPLv2 or later
10
+ * Text Domain: social-count-plus
11
+ * Domain Path: /languages/
12
+ */
13
+
14
+ if ( ! defined( 'ABSPATH' ) ) {
15
+ exit; // Exit if accessed directly.
16
+ }
17
+
18
+ if ( ! class_exists( 'Social_Count_Plus' ) ) :
19
+
20
+ /**
21
+ * Social_Count_Plus main class.
22
+ *
23
+ * @package Social_Count_Plus
24
+ * @category Core
25
+ * @author Claudio Sanches
26
+ */
27
+ class Social_Count_Plus {
28
+
29
+ /**
30
+ * Plugin version.
31
+ *
32
+ * @var string
33
+ */
34
+ const VERSION = '3.1.1';
35
+
36
+ /**
37
+ * Instance of this class.
38
+ *
39
+ * @var object
40
+ */
41
+ protected static $instance = null;
42
+
43
+ /**
44
+ * Initialize the plugin.
45
+ */
46
+ private function __construct() {
47
+ // Load plugin text domain.
48
+ add_action( 'init', array( $this, 'load_plugin_textdomain' ) );
49
+
50
+ // Include classes.
51
+ $this->includes();
52
+ $this->include_counters();
53
+
54
+ if ( is_admin() && ( ! defined( 'DOING_AJAX' ) || ! DOING_AJAX ) ) {
55
+ $this->admin_includes();
56
+ }
57
+
58
+ // Widget.
59
+ add_action( 'widgets_init', array( $this, 'register_widget' ) );
60
+
61
+ // Shortcode.
62
+ add_shortcode( 'scp', array( 'Social_Count_Plus_Shortcodes', 'counter' ) );
63
+
64
+ // Scripts.
65
+ add_action( 'wp_enqueue_scripts', array( $this, 'styles_and_scripts' ) );
66
+ }
67
+
68
+ /**
69
+ * Return an instance of this class.
70
+ *
71
+ * @return object A single instance of this class.
72
+ */
73
+ public static function get_instance() {
74
+ if ( null == self::$instance ) {
75
+ self::$instance = new self;
76
+ }
77
+
78
+ return self::$instance;
79
+ }
80
+
81
+ /**
82
+ * Load the plugin text domain for translation.
83
+ */
84
+ public function load_plugin_textdomain() {
85
+ $locale = apply_filters( 'plugin_locale', get_locale(), 'social-count-plus' );
86
+
87
+ load_textdomain( 'social-count-plus', trailingslashit( WP_LANG_DIR ) . 'social-count-plus/social-count-plus-' . $locale . '.mo' );
88
+ load_plugin_textdomain( 'social-count-plus', FALSE, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
89
+ }
90
+
91
+ /**
92
+ * Include admin actions.
93
+ */
94
+ protected function admin_includes() {
95
+ include 'includes/admin/class-social-count-plus-admin.php';
96
+ }
97
+
98
+ /**
99
+ * Include plugin functions.
100
+ */
101
+ protected function includes() {
102
+ include_once 'includes/class-social-count-plus-generator.php';
103
+ include_once 'includes/abstracts/abstract-social-count-plus-counter.php';
104
+ include_once 'includes/class-social-count-plus-view.php';
105
+ include_once 'includes/class-social-count-plus-widget.php';
106
+ include_once 'includes/class-social-count-plus-shortcodes.php';
107
+ include_once 'includes/social-count-plus-functions.php';
108
+ }
109
+
110
+ /**
111
+ * Include counters.
112
+ */
113
+ protected function include_counters() {
114
+ include_once 'includes/counters/class-social-count-plus-facebook-counter.php';
115
+ include_once 'includes/counters/class-social-count-plus-twitter-counter.php';
116
+ include_once 'includes/counters/class-social-count-plus-youtube-counter.php';
117
+ include_once 'includes/counters/class-social-count-plus-googleplus-counter.php';
118
+ include_once 'includes/counters/class-social-count-plus-instagram-counter.php';
119
+ include_once 'includes/counters/class-social-count-plus-steam-counter.php';
120
+ include_once 'includes/counters/class-social-count-plus-soundcloud-counter.php';
121
+ include_once 'includes/counters/class-social-count-plus-twitch-counter.php';
122
+ include_once 'includes/counters/class-social-count-plus-posts-counter.php';
123
+ include_once 'includes/counters/class-social-count-plus-comments-counter.php';
124
+ }
125
+
126
+ /**
127
+ * Register widget.
128
+ */
129
+ public function register_widget() {
130
+ register_widget( 'SocialCountPlus' );
131
+ }
132
+
133
+ /**
134
+ * Register public styles and scripts.
135
+ */
136
+ public function styles_and_scripts() {
137
+ wp_register_style( 'social-count-plus', plugins_url( 'assets/css/counter.css', __FILE__ ), array(), Social_Count_Plus::VERSION, 'all' );
138
+ }
139
+ }
140
+
141
+ /**
142
+ * Init the plugin.
143
+ */
144
+ add_action( 'plugins_loaded', array( 'Social_Count_Plus', 'get_instance' ) );
145
+
146
+ endif;
147
+
uninstall.php ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ // If uninstall not called from WordPress exit.
4
+ if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) || ! WP_UNINSTALL_PLUGIN || dirname( WP_UNINSTALL_PLUGIN ) != dirname( plugin_basename( __FILE__ ) ) ) {
5
+
6
+ status_header( 404 );
7
+ exit;
8
+ }
9
+
10
+ delete_option( 'socialcountplus_settings' );
11
+ delete_option( 'socialcountplus_design' );
12
+ delete_option( 'socialcountplus_version' );