Social Media Follow Buttons Bar - Version 3.14

Version Description

  • Added option for the Meetup button.
  • Added option for the Bootstrap Tooltips.
  • The position of the buttons relative to each other has improved. The "Margin right" option renamed to "Margin".
Download this release

Release Info

Developer Arthur Gareginyan
Plugin Icon 128x128 Social Media Follow Buttons Bar
Version 3.14
Comparing to
See all releases

Code changes from version 3.13 to 3.14

inc/css/admin.css CHANGED
@@ -1,12 +1,12 @@
1
  /*
2
  * Style sheet for plugin settings page
3
  *
4
- * Copyright (c) 2016 Arthur Gareginyan ( http://www.arthurgareginyan.com ).
5
  * All Rights Reserved.
6
  */
7
 
8
 
9
- /* Titles
10
  -------------------------------------------------------------- */
11
  h2 {
12
  text-align: center;
@@ -26,6 +26,8 @@ h2 span a {
26
  padding: 0;
27
  }
28
 
 
 
29
  h3.title {
30
  font-family: Georgia, "Times New Roman", "Bitstream Charter", Times, serif;
31
  border-bottom: 1px solid #eee;
@@ -100,4 +102,4 @@ td.help-text {
100
 
101
  .btn {
102
  border-radius: 0 !important;
103
- }
1
  /*
2
  * Style sheet for plugin settings page
3
  *
4
+ * Copyright (c) 2016-2017 Arthur Gareginyan ( http://www.arthurgareginyan.com ).
5
  * All Rights Reserved.
6
  */
7
 
8
 
9
+ /* Title and Description of page
10
  -------------------------------------------------------------- */
11
  h2 {
12
  text-align: center;
26
  padding: 0;
27
  }
28
 
29
+ /* Titles of sections
30
+ -------------------------------------------------------------- */
31
  h3.title {
32
  font-family: Georgia, "Times New Roman", "Bitstream Charter", Times, serif;
33
  border-bottom: 1px solid #eee;
102
 
103
  .btn {
104
  border-radius: 0 !important;
105
+ }
inc/css/bootstrap-theme.css CHANGED
@@ -8,11 +8,7 @@
8
  * Generated using the Bootstrap Customizer (<none>)
9
  * Config saved to config.json and <none>
10
  */
11
- /*!
12
- * Bootstrap v3.3.7 (http://getbootstrap.com)
13
- * Copyright 2011-2016 Twitter, Inc.
14
- * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
15
- */
16
  .btn-default,
17
  .btn-primary,
18
  .btn-success,
8
  * Generated using the Bootstrap Customizer (<none>)
9
  * Config saved to config.json and <none>
10
  */
11
+
 
 
 
 
12
  .btn-default,
13
  .btn-primary,
14
  .btn-success,
inc/css/bootstrap-tooltip.css ADDED
@@ -0,0 +1,122 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*!
2
+ * Bootstrap v3.3.7 (http://getbootstrap.com)
3
+ * Copyright 2011-2016 Twitter, Inc.
4
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
5
+ */
6
+ /*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */
7
+
8
+ .tooltip {
9
+ position: absolute;
10
+ z-index: 1070;
11
+ display: block;
12
+ font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
13
+ font-size: 12px;
14
+ font-style: normal;
15
+ font-weight: normal;
16
+ line-height: 1.42857143;
17
+ text-align: left;
18
+ text-align: start;
19
+ text-decoration: none;
20
+ text-shadow: none;
21
+ text-transform: none;
22
+ letter-spacing: normal;
23
+ word-break: normal;
24
+ word-spacing: normal;
25
+ word-wrap: normal;
26
+ white-space: normal;
27
+ filter: alpha(opacity=0);
28
+ opacity: 0;
29
+
30
+ line-break: auto;
31
+ }
32
+ .tooltip.in {
33
+ filter: alpha(opacity=90);
34
+ opacity: .9;
35
+ }
36
+ .tooltip.top {
37
+ padding: 5px 0;
38
+ margin-top: -3px;
39
+ }
40
+ .tooltip.right {
41
+ padding: 0 5px;
42
+ margin-left: 3px;
43
+ }
44
+ .tooltip.bottom {
45
+ padding: 5px 0;
46
+ margin-top: 3px;
47
+ }
48
+ .tooltip.left {
49
+ padding: 0 5px;
50
+ margin-left: -3px;
51
+ }
52
+ .tooltip-inner {
53
+ max-width: 200px;
54
+ padding: 3px 8px;
55
+ color: #fff;
56
+ text-align: center;
57
+ background-color: #000;
58
+ border-radius: 4px;
59
+ }
60
+ .tooltip-arrow {
61
+ position: absolute;
62
+ width: 0;
63
+ height: 0;
64
+ border-color: transparent;
65
+ border-style: solid;
66
+ }
67
+ .tooltip.top .tooltip-arrow {
68
+ bottom: 0;
69
+ left: 50%;
70
+ margin-left: -5px;
71
+ border-width: 5px 5px 0;
72
+ border-top-color: #000;
73
+ }
74
+ .tooltip.top-left .tooltip-arrow {
75
+ right: 5px;
76
+ bottom: 0;
77
+ margin-bottom: -5px;
78
+ border-width: 5px 5px 0;
79
+ border-top-color: #000;
80
+ }
81
+ .tooltip.top-right .tooltip-arrow {
82
+ bottom: 0;
83
+ left: 5px;
84
+ margin-bottom: -5px;
85
+ border-width: 5px 5px 0;
86
+ border-top-color: #000;
87
+ }
88
+ .tooltip.right .tooltip-arrow {
89
+ top: 50%;
90
+ left: 0;
91
+ margin-top: -5px;
92
+ border-width: 5px 5px 5px 0;
93
+ border-right-color: #000;
94
+ }
95
+ .tooltip.left .tooltip-arrow {
96
+ top: 50%;
97
+ right: 0;
98
+ margin-top: -5px;
99
+ border-width: 5px 0 5px 5px;
100
+ border-left-color: #000;
101
+ }
102
+ .tooltip.bottom .tooltip-arrow {
103
+ top: 0;
104
+ left: 50%;
105
+ margin-left: -5px;
106
+ border-width: 0 5px 5px;
107
+ border-bottom-color: #000;
108
+ }
109
+ .tooltip.bottom-left .tooltip-arrow {
110
+ top: 0;
111
+ right: 5px;
112
+ margin-top: -5px;
113
+ border-width: 0 5px 5px;
114
+ border-bottom-color: #000;
115
+ }
116
+ .tooltip.bottom-right .tooltip-arrow {
117
+ top: 0;
118
+ left: 5px;
119
+ margin-top: -5px;
120
+ border-width: 0 5px 5px;
121
+ border-bottom-color: #000;
122
+ }
inc/css/bootstrap.css CHANGED
@@ -8,12 +8,9 @@
8
  * Generated using the Bootstrap Customizer (<none>)
9
  * Config saved to config.json and <none>
10
  */
11
- /*!
12
- * Bootstrap v3.3.7 (http://getbootstrap.com)
13
- * Copyright 2011-2016 Twitter, Inc.
14
- * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
15
- */
16
  /*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */
 
17
  .btn {
18
  display: inline-block;
19
  margin-bottom: 0;
8
  * Generated using the Bootstrap Customizer (<none>)
9
  * Config saved to config.json and <none>
10
  */
11
+
 
 
 
 
12
  /*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */
13
+
14
  .btn {
15
  display: inline-block;
16
  margin-bottom: 0;
inc/img/social-media-icons/meetup.png ADDED
Binary file
inc/js/admin.js CHANGED
@@ -1,7 +1,7 @@
1
  /*
2
  * JS functions for plugin settings page
3
  *
4
- * Copyright (c) 2016 Arthur Gareginyan ( http://www.arthurgareginyan.com ).
5
  * All Rights Reserved.
6
  */
7
 
@@ -17,7 +17,10 @@ jQuery(document).ready(function($) {
17
  }, 3000);
18
  }
19
 
20
- // Bootstrap Checkbox
21
  $(':checkbox').checkboxpicker();
22
 
 
 
 
23
  });
1
  /*
2
  * JS functions for plugin settings page
3
  *
4
+ * Copyright (c) 2016-2017 Arthur Gareginyan ( http://www.arthurgareginyan.com ).
5
  * All Rights Reserved.
6
  */
7
 
17
  }, 3000);
18
  }
19
 
20
+ // Enable Bootstrap Checkboxes
21
  $(':checkbox').checkboxpicker();
22
 
23
+ // Enable Bootstrap Tooltips
24
+ $('[data-toggle="tooltip"]').tooltip();
25
+
26
  });
inc/js/bootstrap-tooltip.js ADDED
@@ -0,0 +1,520 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* ========================================================================
2
+ * Bootstrap: tooltip.js v3.3.7
3
+ * http://getbootstrap.com/javascript/#tooltip
4
+ * Inspired by the original jQuery.tipsy by Jason Frame
5
+ * ========================================================================
6
+ * Copyright 2011-2016 Twitter, Inc.
7
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
8
+ * ======================================================================== */
9
+
10
+
11
+ +function ($) {
12
+ 'use strict';
13
+
14
+ // TOOLTIP PUBLIC CLASS DEFINITION
15
+ // ===============================
16
+
17
+ var Tooltip = function (element, options) {
18
+ this.type = null
19
+ this.options = null
20
+ this.enabled = null
21
+ this.timeout = null
22
+ this.hoverState = null
23
+ this.$element = null
24
+ this.inState = null
25
+
26
+ this.init('tooltip', element, options)
27
+ }
28
+
29
+ Tooltip.VERSION = '3.3.7'
30
+
31
+ Tooltip.TRANSITION_DURATION = 150
32
+
33
+ Tooltip.DEFAULTS = {
34
+ animation: true,
35
+ placement: 'top',
36
+ selector: false,
37
+ template: '<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',
38
+ trigger: 'hover focus',
39
+ title: '',
40
+ delay: 0,
41
+ html: false,
42
+ container: false,
43
+ viewport: {
44
+ selector: 'body',
45
+ padding: 0
46
+ }
47
+ }
48
+
49
+ Tooltip.prototype.init = function (type, element, options) {
50
+ this.enabled = true
51
+ this.type = type
52
+ this.$element = $(element)
53
+ this.options = this.getOptions(options)
54
+ this.$viewport = this.options.viewport && $($.isFunction(this.options.viewport) ? this.options.viewport.call(this, this.$element) : (this.options.viewport.selector || this.options.viewport))
55
+ this.inState = { click: false, hover: false, focus: false }
56
+
57
+ if (this.$element[0] instanceof document.constructor && !this.options.selector) {
58
+ throw new Error('`selector` option must be specified when initializing ' + this.type + ' on the window.document object!')
59
+ }
60
+
61
+ var triggers = this.options.trigger.split(' ')
62
+
63
+ for (var i = triggers.length; i--;) {
64
+ var trigger = triggers[i]
65
+
66
+ if (trigger == 'click') {
67
+ this.$element.on('click.' + this.type, this.options.selector, $.proxy(this.toggle, this))
68
+ } else if (trigger != 'manual') {
69
+ var eventIn = trigger == 'hover' ? 'mouseenter' : 'focusin'
70
+ var eventOut = trigger == 'hover' ? 'mouseleave' : 'focusout'
71
+
72
+ this.$element.on(eventIn + '.' + this.type, this.options.selector, $.proxy(this.enter, this))
73
+ this.$element.on(eventOut + '.' + this.type, this.options.selector, $.proxy(this.leave, this))
74
+ }
75
+ }
76
+
77
+ this.options.selector ?
78
+ (this._options = $.extend({}, this.options, { trigger: 'manual', selector: '' })) :
79
+ this.fixTitle()
80
+ }
81
+
82
+ Tooltip.prototype.getDefaults = function () {
83
+ return Tooltip.DEFAULTS
84
+ }
85
+
86
+ Tooltip.prototype.getOptions = function (options) {
87
+ options = $.extend({}, this.getDefaults(), this.$element.data(), options)
88
+
89
+ if (options.delay && typeof options.delay == 'number') {
90
+ options.delay = {
91
+ show: options.delay,
92
+ hide: options.delay
93
+ }
94
+ }
95
+
96
+ return options
97
+ }
98
+
99
+ Tooltip.prototype.getDelegateOptions = function () {
100
+ var options = {}
101
+ var defaults = this.getDefaults()
102
+
103
+ this._options && $.each(this._options, function (key, value) {
104
+ if (defaults[key] != value) options[key] = value
105
+ })
106
+
107
+ return options
108
+ }
109
+
110
+ Tooltip.prototype.enter = function (obj) {
111
+ var self = obj instanceof this.constructor ?
112
+ obj : $(obj.currentTarget).data('bs.' + this.type)
113
+
114
+ if (!self) {
115
+ self = new this.constructor(obj.currentTarget, this.getDelegateOptions())
116
+ $(obj.currentTarget).data('bs.' + this.type, self)
117
+ }
118
+
119
+ if (obj instanceof $.Event) {
120
+ self.inState[obj.type == 'focusin' ? 'focus' : 'hover'] = true
121
+ }
122
+
123
+ if (self.tip().hasClass('in') || self.hoverState == 'in') {
124
+ self.hoverState = 'in'
125
+ return
126
+ }
127
+
128
+ clearTimeout(self.timeout)
129
+
130
+ self.hoverState = 'in'
131
+
132
+ if (!self.options.delay || !self.options.delay.show) return self.show()
133
+
134
+ self.timeout = setTimeout(function () {
135
+ if (self.hoverState == 'in') self.show()
136
+ }, self.options.delay.show)
137
+ }
138
+
139
+ Tooltip.prototype.isInStateTrue = function () {
140
+ for (var key in this.inState) {
141
+ if (this.inState[key]) return true
142
+ }
143
+
144
+ return false
145
+ }
146
+
147
+ Tooltip.prototype.leave = function (obj) {
148
+ var self = obj instanceof this.constructor ?
149
+ obj : $(obj.currentTarget).data('bs.' + this.type)
150
+
151
+ if (!self) {
152
+ self = new this.constructor(obj.currentTarget, this.getDelegateOptions())
153
+ $(obj.currentTarget).data('bs.' + this.type, self)
154
+ }
155
+
156
+ if (obj instanceof $.Event) {
157
+ self.inState[obj.type == 'focusout' ? 'focus' : 'hover'] = false
158
+ }
159
+
160
+ if (self.isInStateTrue()) return
161
+
162
+ clearTimeout(self.timeout)
163
+
164
+ self.hoverState = 'out'
165
+
166
+ if (!self.options.delay || !self.options.delay.hide) return self.hide()
167
+
168
+ self.timeout = setTimeout(function () {
169
+ if (self.hoverState == 'out') self.hide()
170
+ }, self.options.delay.hide)
171
+ }
172
+
173
+ Tooltip.prototype.show = function () {
174
+ var e = $.Event('show.bs.' + this.type)
175
+
176
+ if (this.hasContent() && this.enabled) {
177
+ this.$element.trigger(e)
178
+
179
+ var inDom = $.contains(this.$element[0].ownerDocument.documentElement, this.$element[0])
180
+ if (e.isDefaultPrevented() || !inDom) return
181
+ var that = this
182
+
183
+ var $tip = this.tip()
184
+
185
+ var tipId = this.getUID(this.type)
186
+
187
+ this.setContent()
188
+ $tip.attr('id', tipId)
189
+ this.$element.attr('aria-describedby', tipId)
190
+
191
+ if (this.options.animation) $tip.addClass('fade')
192
+
193
+ var placement = typeof this.options.placement == 'function' ?
194
+ this.options.placement.call(this, $tip[0], this.$element[0]) :
195
+ this.options.placement
196
+
197
+ var autoToken = /\s?auto?\s?/i
198
+ var autoPlace = autoToken.test(placement)
199
+ if (autoPlace) placement = placement.replace(autoToken, '') || 'top'
200
+
201
+ $tip
202
+ .detach()
203
+ .css({ top: 0, left: 0, display: 'block' })
204
+ .addClass(placement)
205
+ .data('bs.' + this.type, this)
206
+
207
+ this.options.container ? $tip.appendTo(this.options.container) : $tip.insertAfter(this.$element)
208
+ this.$element.trigger('inserted.bs.' + this.type)
209
+
210
+ var pos = this.getPosition()
211
+ var actualWidth = $tip[0].offsetWidth
212
+ var actualHeight = $tip[0].offsetHeight
213
+
214
+ if (autoPlace) {
215
+ var orgPlacement = placement
216
+ var viewportDim = this.getPosition(this.$viewport)
217
+
218
+ placement = placement == 'bottom' && pos.bottom + actualHeight > viewportDim.bottom ? 'top' :
219
+ placement == 'top' && pos.top - actualHeight < viewportDim.top ? 'bottom' :
220
+ placement == 'right' && pos.right + actualWidth > viewportDim.width ? 'left' :
221
+ placement == 'left' && pos.left - actualWidth < viewportDim.left ? 'right' :
222
+ placement
223
+
224
+ $tip
225
+ .removeClass(orgPlacement)
226
+ .addClass(placement)
227
+ }
228
+
229
+ var calculatedOffset = this.getCalculatedOffset(placement, pos, actualWidth, actualHeight)
230
+
231
+ this.applyPlacement(calculatedOffset, placement)
232
+
233
+ var complete = function () {
234
+ var prevHoverState = that.hoverState
235
+ that.$element.trigger('shown.bs.' + that.type)
236
+ that.hoverState = null
237
+
238
+ if (prevHoverState == 'out') that.leave(that)
239
+ }
240
+
241
+ $.support.transition && this.$tip.hasClass('fade') ?
242
+ $tip
243
+ .one('bsTransitionEnd', complete)
244
+ .emulateTransitionEnd(Tooltip.TRANSITION_DURATION) :
245
+ complete()
246
+ }
247
+ }
248
+
249
+ Tooltip.prototype.applyPlacement = function (offset, placement) {
250
+ var $tip = this.tip()
251
+ var width = $tip[0].offsetWidth
252
+ var height = $tip[0].offsetHeight
253
+
254
+ // manually read margins because getBoundingClientRect includes difference
255
+ var marginTop = parseInt($tip.css('margin-top'), 10)
256
+ var marginLeft = parseInt($tip.css('margin-left'), 10)
257
+
258
+ // we must check for NaN for ie 8/9
259
+ if (isNaN(marginTop)) marginTop = 0
260
+ if (isNaN(marginLeft)) marginLeft = 0
261
+
262
+ offset.top += marginTop
263
+ offset.left += marginLeft
264
+
265
+ // $.fn.offset doesn't round pixel values
266
+ // so we use setOffset directly with our own function B-0
267
+ $.offset.setOffset($tip[0], $.extend({
268
+ using: function (props) {
269
+ $tip.css({
270
+ top: Math.round(props.top),
271
+ left: Math.round(props.left)
272
+ })
273
+ }
274
+ }, offset), 0)
275
+
276
+ $tip.addClass('in')
277
+
278
+ // check to see if placing tip in new offset caused the tip to resize itself
279
+ var actualWidth = $tip[0].offsetWidth
280
+ var actualHeight = $tip[0].offsetHeight
281
+
282
+ if (placement == 'top' && actualHeight != height) {
283
+ offset.top = offset.top + height - actualHeight
284
+ }
285
+
286
+ var delta = this.getViewportAdjustedDelta(placement, offset, actualWidth, actualHeight)
287
+
288
+ if (delta.left) offset.left += delta.left
289
+ else offset.top += delta.top
290
+
291
+ var isVertical = /top|bottom/.test(placement)
292
+ var arrowDelta = isVertical ? delta.left * 2 - width + actualWidth : delta.top * 2 - height + actualHeight
293
+ var arrowOffsetPosition = isVertical ? 'offsetWidth' : 'offsetHeight'
294
+
295
+ $tip.offset(offset)
296
+ this.replaceArrow(arrowDelta, $tip[0][arrowOffsetPosition], isVertical)
297
+ }
298
+
299
+ Tooltip.prototype.replaceArrow = function (delta, dimension, isVertical) {
300
+ this.arrow()
301
+ .css(isVertical ? 'left' : 'top', 50 * (1 - delta / dimension) + '%')
302
+ .css(isVertical ? 'top' : 'left', '')
303
+ }
304
+
305
+ Tooltip.prototype.setContent = function () {
306
+ var $tip = this.tip()
307
+ var title = this.getTitle()
308
+
309
+ $tip.find('.tooltip-inner')[this.options.html ? 'html' : 'text'](title)
310
+ $tip.removeClass('fade in top bottom left right')
311
+ }
312
+
313
+ Tooltip.prototype.hide = function (callback) {
314
+ var that = this
315
+ var $tip = $(this.$tip)
316
+ var e = $.Event('hide.bs.' + this.type)
317
+
318
+ function complete() {
319
+ if (that.hoverState != 'in') $tip.detach()
320
+ if (that.$element) { // TODO: Check whether guarding this code with this `if` is really necessary.
321
+ that.$element
322
+ .removeAttr('aria-describedby')
323
+ .trigger('hidden.bs.' + that.type)
324
+ }
325
+ callback && callback()
326
+ }
327
+
328
+ this.$element.trigger(e)
329
+
330
+ if (e.isDefaultPrevented()) return
331
+
332
+ $tip.removeClass('in')
333
+
334
+ $.support.transition && $tip.hasClass('fade') ?
335
+ $tip
336
+ .one('bsTransitionEnd', complete)
337
+ .emulateTransitionEnd(Tooltip.TRANSITION_DURATION) :
338
+ complete()
339
+
340
+ this.hoverState = null
341
+
342
+ return this
343
+ }
344
+
345
+ Tooltip.prototype.fixTitle = function () {
346
+ var $e = this.$element
347
+ if ($e.attr('title') || typeof $e.attr('data-original-title') != 'string') {
348
+ $e.attr('data-original-title', $e.attr('title') || '').attr('title', '')
349
+ }
350
+ }
351
+
352
+ Tooltip.prototype.hasContent = function () {
353
+ return this.getTitle()
354
+ }
355
+
356
+ Tooltip.prototype.getPosition = function ($element) {
357
+ $element = $element || this.$element
358
+
359
+ var el = $element[0]
360
+ var isBody = el.tagName == 'BODY'
361
+
362
+ var elRect = el.getBoundingClientRect()
363
+ if (elRect.width == null) {
364
+ // width and height are missing in IE8, so compute them manually; see https://github.com/twbs/bootstrap/issues/14093
365
+ elRect = $.extend({}, elRect, { width: elRect.right - elRect.left, height: elRect.bottom - elRect.top })
366
+ }
367
+ var isSvg = window.SVGElement && el instanceof window.SVGElement
368
+ // Avoid using $.offset() on SVGs since it gives incorrect results in jQuery 3.
369
+ // See https://github.com/twbs/bootstrap/issues/20280
370
+ var elOffset = isBody ? { top: 0, left: 0 } : (isSvg ? null : $element.offset())
371
+ var scroll = { scroll: isBody ? document.documentElement.scrollTop || document.body.scrollTop : $element.scrollTop() }
372
+ var outerDims = isBody ? { width: $(window).width(), height: $(window).height() } : null
373
+
374
+ return $.extend({}, elRect, scroll, outerDims, elOffset)
375
+ }
376
+
377
+ Tooltip.prototype.getCalculatedOffset = function (placement, pos, actualWidth, actualHeight) {
378
+ return placement == 'bottom' ? { top: pos.top + pos.height, left: pos.left + pos.width / 2 - actualWidth / 2 } :
379
+ placement == 'top' ? { top: pos.top - actualHeight, left: pos.left + pos.width / 2 - actualWidth / 2 } :
380
+ placement == 'left' ? { top: pos.top + pos.height / 2 - actualHeight / 2, left: pos.left - actualWidth } :
381
+ /* placement == 'right' */ { top: pos.top + pos.height / 2 - actualHeight / 2, left: pos.left + pos.width }
382
+
383
+ }
384
+
385
+ Tooltip.prototype.getViewportAdjustedDelta = function (placement, pos, actualWidth, actualHeight) {
386
+ var delta = { top: 0, left: 0 }
387
+ if (!this.$viewport) return delta
388
+
389
+ var viewportPadding = this.options.viewport && this.options.viewport.padding || 0
390
+ var viewportDimensions = this.getPosition(this.$viewport)
391
+
392
+ if (/right|left/.test(placement)) {
393
+ var topEdgeOffset = pos.top - viewportPadding - viewportDimensions.scroll
394
+ var bottomEdgeOffset = pos.top + viewportPadding - viewportDimensions.scroll + actualHeight
395
+ if (topEdgeOffset < viewportDimensions.top) { // top overflow
396
+ delta.top = viewportDimensions.top - topEdgeOffset
397
+ } else if (bottomEdgeOffset > viewportDimensions.top + viewportDimensions.height) { // bottom overflow
398
+ delta.top = viewportDimensions.top + viewportDimensions.height - bottomEdgeOffset
399
+ }
400
+ } else {
401
+ var leftEdgeOffset = pos.left - viewportPadding
402
+ var rightEdgeOffset = pos.left + viewportPadding + actualWidth
403
+ if (leftEdgeOffset < viewportDimensions.left) { // left overflow
404
+ delta.left = viewportDimensions.left - leftEdgeOffset
405
+ } else if (rightEdgeOffset > viewportDimensions.right) { // right overflow
406
+ delta.left = viewportDimensions.left + viewportDimensions.width - rightEdgeOffset
407
+ }
408
+ }
409
+
410
+ return delta
411
+ }
412
+
413
+ Tooltip.prototype.getTitle = function () {
414
+ var title
415
+ var $e = this.$element
416
+ var o = this.options
417
+
418
+ title = $e.attr('data-original-title')
419
+ || (typeof o.title == 'function' ? o.title.call($e[0]) : o.title)
420
+
421
+ return title
422
+ }
423
+
424
+ Tooltip.prototype.getUID = function (prefix) {
425
+ do prefix += ~~(Math.random() * 1000000)
426
+ while (document.getElementById(prefix))
427
+ return prefix
428
+ }
429
+
430
+ Tooltip.prototype.tip = function () {
431
+ if (!this.$tip) {
432
+ this.$tip = $(this.options.template)
433
+ if (this.$tip.length != 1) {
434
+ throw new Error(this.type + ' `template` option must consist of exactly 1 top-level element!')
435
+ }
436
+ }
437
+ return this.$tip
438
+ }
439
+
440
+ Tooltip.prototype.arrow = function () {
441
+ return (this.$arrow = this.$arrow || this.tip().find('.tooltip-arrow'))
442
+ }
443
+
444
+ Tooltip.prototype.enable = function () {
445
+ this.enabled = true
446
+ }
447
+
448
+ Tooltip.prototype.disable = function () {
449
+ this.enabled = false
450
+ }
451
+
452
+ Tooltip.prototype.toggleEnabled = function () {
453
+ this.enabled = !this.enabled
454
+ }
455
+
456
+ Tooltip.prototype.toggle = function (e) {
457
+ var self = this
458
+ if (e) {
459
+ self = $(e.currentTarget).data('bs.' + this.type)
460
+ if (!self) {
461
+ self = new this.constructor(e.currentTarget, this.getDelegateOptions())
462
+ $(e.currentTarget).data('bs.' + this.type, self)
463
+ }
464
+ }
465
+
466
+ if (e) {
467
+ self.inState.click = !self.inState.click
468
+ if (self.isInStateTrue()) self.enter(self)
469
+ else self.leave(self)
470
+ } else {
471
+ self.tip().hasClass('in') ? self.leave(self) : self.enter(self)
472
+ }
473
+ }
474
+
475
+ Tooltip.prototype.destroy = function () {
476
+ var that = this
477
+ clearTimeout(this.timeout)
478
+ this.hide(function () {
479
+ that.$element.off('.' + that.type).removeData('bs.' + that.type)
480
+ if (that.$tip) {
481
+ that.$tip.detach()
482
+ }
483
+ that.$tip = null
484
+ that.$arrow = null
485
+ that.$viewport = null
486
+ that.$element = null
487
+ })
488
+ }
489
+
490
+
491
+ // TOOLTIP PLUGIN DEFINITION
492
+ // =========================
493
+
494
+ function Plugin(option) {
495
+ return this.each(function () {
496
+ var $this = $(this)
497
+ var data = $this.data('bs.tooltip')
498
+ var options = typeof option == 'object' && option
499
+
500
+ if (!data && /destroy|hide/.test(option)) return
501
+ if (!data) $this.data('bs.tooltip', (data = new Tooltip(this, options)))
502
+ if (typeof option == 'string') data[option]()
503
+ })
504
+ }
505
+
506
+ var old = $.fn.tooltip
507
+
508
+ $.fn.tooltip = Plugin
509
+ $.fn.tooltip.Constructor = Tooltip
510
+
511
+
512
+ // TOOLTIP NO CONFLICT
513
+ // ===================
514
+
515
+ $.fn.tooltip.noConflict = function () {
516
+ $.fn.tooltip = old
517
+ return this
518
+ }
519
+
520
+ }(jQuery);
inc/php/settings_page.php CHANGED
@@ -10,7 +10,7 @@ defined('ABSPATH') or die("Restricted access!");
10
  /**
11
  * Render Settings Page
12
  *
13
- * @since 3.13
14
  */
15
  function smbtoolbar_render_submenu_page() {
16
 
@@ -97,7 +97,7 @@ function smbtoolbar_render_submenu_page() {
97
  'Instagram',
98
  'http://instagram.com/YourUsernameHere',
99
  __( 'Enter the link to your Instagram profile page', SMEDIABT_TEXT ),
100
- 'http://instagram.com'
101
  ); ?>
102
  <?php smbtoolbar_media( 'google-plus',
103
  'Google+',
@@ -127,7 +127,7 @@ function smbtoolbar_render_submenu_page() {
127
  'LiveJournal',
128
  'http://YourUsernameHere.livejournal.com',
129
  __( 'Enter the link to your LiveJournal profile page', SMEDIABT_TEXT ),
130
- 'http://www.livejournal.com'
131
  ); ?>
132
  <?php smbtoolbar_media( 'reddit',
133
  'Reddit',
@@ -169,7 +169,7 @@ function smbtoolbar_render_submenu_page() {
169
  'IMDb',
170
  'http://www.imdb.com/name/YourUsernameHere',
171
  __( 'Enter the link to your IMDb profile page', SMEDIABT_TEXT ),
172
- 'http://www.imdb.com'
173
  ); ?>
174
  <?php smbtoolbar_media( 'soundcloud',
175
  'SoundCloud',
@@ -201,11 +201,17 @@ function smbtoolbar_render_submenu_page() {
201
  __( 'Enter the link to your MeetVibe profile page', SMEDIABT_TEXT ),
202
  '//meetvibe.com'
203
  ); ?>
 
 
 
 
 
 
204
  <?php smbtoolbar_media( 'steam',
205
  'Steam',
206
  'http://store.steampowered.com/YourUsernameHere',
207
  __( 'Enter the link to your Steam profile page', SMEDIABT_TEXT ),
208
- 'http://store.steampowered.com'
209
  ); ?>
210
  <?php smbtoolbar_media( 'discord',
211
  'Discord',
@@ -253,7 +259,7 @@ function smbtoolbar_render_submenu_page() {
253
  'CodePen',
254
  'http://codepen.io/YourUsernameHere',
255
  __( 'Enter the link to your CodePen profile page', SMEDIABT_TEXT ),
256
- 'http://codepen.io'
257
  ); ?>
258
  <?php smbtoolbar_media( 'skype',
259
  'Skype',
@@ -291,17 +297,22 @@ function smbtoolbar_render_submenu_page() {
291
  <table class="form-table">
292
  <?php smbtoolbar_setting('show_posts',
293
  __( 'Show on Posts', SMEDIABT_TEXT ),
294
- __( 'Display toolbar below content on Posts', SMEDIABT_TEXT ),
295
  'check'
296
  ); ?>
297
  <?php smbtoolbar_setting('show_pages',
298
  __( 'Show on Pages', SMEDIABT_TEXT ),
299
- __( 'Display toolbar below content on Pages', SMEDIABT_TEXT ),
300
  'check'
301
  ); ?>
302
  <?php smbtoolbar_setting('new_tab',
303
- __( 'Open link in new tab/window', SMEDIABT_TEXT ),
304
- '',
 
 
 
 
 
305
  'check'
306
  ); ?>
307
  <?php smbtoolbar_setting('icon-size',
@@ -312,7 +323,7 @@ function smbtoolbar_render_submenu_page() {
312
  '2'
313
  ); ?>
314
  <?php smbtoolbar_setting('margin-right',
315
- __( 'Margin right', SMEDIABT_TEXT ),
316
  __( 'Enter the size of space (in px) between icons in your social media buttons toolbar.', SMEDIABT_TEXT ),
317
  'field',
318
  '10',
10
  /**
11
  * Render Settings Page
12
  *
13
+ * @since 3.14
14
  */
15
  function smbtoolbar_render_submenu_page() {
16
 
97
  'Instagram',
98
  'http://instagram.com/YourUsernameHere',
99
  __( 'Enter the link to your Instagram profile page', SMEDIABT_TEXT ),
100
+ '//instagram.com'
101
  ); ?>
102
  <?php smbtoolbar_media( 'google-plus',
103
  'Google+',
127
  'LiveJournal',
128
  'http://YourUsernameHere.livejournal.com',
129
  __( 'Enter the link to your LiveJournal profile page', SMEDIABT_TEXT ),
130
+ '//www.livejournal.com'
131
  ); ?>
132
  <?php smbtoolbar_media( 'reddit',
133
  'Reddit',
169
  'IMDb',
170
  'http://www.imdb.com/name/YourUsernameHere',
171
  __( 'Enter the link to your IMDb profile page', SMEDIABT_TEXT ),
172
+ '//www.imdb.com'
173
  ); ?>
174
  <?php smbtoolbar_media( 'soundcloud',
175
  'SoundCloud',
201
  __( 'Enter the link to your MeetVibe profile page', SMEDIABT_TEXT ),
202
  '//meetvibe.com'
203
  ); ?>
204
+ <?php smbtoolbar_media( 'meetup',
205
+ 'Meetup',
206
+ 'https://www.meetup.com/YourUsernameHere',
207
+ __( 'Enter the link to your Meetup profile page', SMEDIABT_TEXT ),
208
+ '//www.meetup.com'
209
+ ); ?>
210
  <?php smbtoolbar_media( 'steam',
211
  'Steam',
212
  'http://store.steampowered.com/YourUsernameHere',
213
  __( 'Enter the link to your Steam profile page', SMEDIABT_TEXT ),
214
+ '//store.steampowered.com'
215
  ); ?>
216
  <?php smbtoolbar_media( 'discord',
217
  'Discord',
259
  'CodePen',
260
  'http://codepen.io/YourUsernameHere',
261
  __( 'Enter the link to your CodePen profile page', SMEDIABT_TEXT ),
262
+ '//codepen.io'
263
  ); ?>
264
  <?php smbtoolbar_media( 'skype',
265
  'Skype',
297
  <table class="form-table">
298
  <?php smbtoolbar_setting('show_posts',
299
  __( 'Show on Posts', SMEDIABT_TEXT ),
300
+ __( 'Display toolbar below content on Posts.', SMEDIABT_TEXT ),
301
  'check'
302
  ); ?>
303
  <?php smbtoolbar_setting('show_pages',
304
  __( 'Show on Pages', SMEDIABT_TEXT ),
305
+ __( 'Display toolbar below content on Pages.', SMEDIABT_TEXT ),
306
  'check'
307
  ); ?>
308
  <?php smbtoolbar_setting('new_tab',
309
+ __( 'Open in new tab', SMEDIABT_TEXT ),
310
+ __( 'Open link in a new tab/window.', SMEDIABT_TEXT ),
311
+ 'check'
312
+ ); ?>
313
+ <?php smbtoolbar_setting('tooltips',
314
+ __( 'Tooltips', SMEDIABT_TEXT ),
315
+ __( 'Enable/disable a tooltips with name of the social media above every button.', SMEDIABT_TEXT ),
316
  'check'
317
  ); ?>
318
  <?php smbtoolbar_setting('icon-size',
323
  '2'
324
  ); ?>
325
  <?php smbtoolbar_setting('margin-right',
326
+ __( 'Margin', SMEDIABT_TEXT ),
327
  __( 'Enter the size of space (in px) between icons in your social media buttons toolbar.', SMEDIABT_TEXT ),
328
  'field',
329
  '10',
languages/social-media-buttons-toolbar-es_ES.mo CHANGED
Binary file
languages/social-media-buttons-toolbar-es_ES.po CHANGED
@@ -3,8 +3,8 @@
3
  msgid ""
4
  msgstr ""
5
  "Project-Id-Version: Development (trunk)\n"
6
- "POT-Creation-Date: 2017-01-23 04:08+0300\n"
7
- "PO-Revision-Date: 2017-01-23 04:08+0300\n"
8
  "Last-Translator: \n"
9
  "Language-Team: \n"
10
  "Language: es\n"
@@ -15,7 +15,7 @@ msgstr ""
15
  "X-Generator: Poedit 1.8.4\n"
16
 
17
  #. Plugin Name of the plugin/theme
18
- #: inc/php/settings_page.php:24 social-media-buttons-toolbar.php:105
19
  msgid "Social Media Buttons Toolbar"
20
  msgstr "Barra de Botones de Social Media"
21
 
@@ -47,7 +47,7 @@ msgstr "Ayuda"
47
  msgid "Got something to say? Need help?"
48
  msgstr "¿Tienes algo que decir? ¿Necesitas ayuda?"
49
 
50
- #: inc/php/settings_page.php:53 social-media-buttons-toolbar.php:89
51
  msgid "Donate"
52
  msgstr "Hacer una donación"
53
 
@@ -160,42 +160,46 @@ msgid "Enter the link to your MeetVibe profile page"
160
  msgstr "Ingresa el enlace a tu página de perfil de MeetVibe"
161
 
162
  #: inc/php/settings_page.php:207
 
 
 
 
163
  msgid "Enter the link to your Steam profile page"
164
  msgstr "Ingresa el enlace a tu página de perfil de Steam"
165
 
166
- #: inc/php/settings_page.php:213
167
  msgid "Enter the link to your Discord profile page"
168
  msgstr "Ingresa el enlace a tu página de perfil de Discord"
169
 
170
- #: inc/php/settings_page.php:219
171
  msgid "Enter the link to your Yelp profile page"
172
  msgstr "Ingresa el enlace a tu página de perfil de Yelp"
173
 
174
- #: inc/php/settings_page.php:225
175
  msgid "Enter the link to your VKontakte profile page"
176
  msgstr "Ingresa el enlace a tu página de perfil de VKontakte"
177
 
178
- #: inc/php/settings_page.php:231
179
  msgid "Enter the link to your Odnoklassniki profile page"
180
  msgstr "Ingresa el enlace a tu página de perfil de Odnoklassniki"
181
 
182
- #: inc/php/settings_page.php:237
183
  msgid "Enter the link to your Telegram profile page"
184
  msgstr "Ingresa el enlace a tu página de perfil de Telegram"
185
 
186
- #: inc/php/settings_page.php:243
187
  msgid "Enter the link to your GitHub profile page"
188
  msgstr "Ingresa el enlace a tu página de perfil de GitHub"
189
 
190
- #: inc/php/settings_page.php:249
191
  msgid "Enter the link to your WordPress profile page"
192
  msgstr "Ingresa el enlace a tu página de perfil de WordPress"
193
 
194
- #: inc/php/settings_page.php:255
195
  msgid "Enter the link to your CodePen profile page"
196
  msgstr "Ingresa el enlace a tu página de perfil de CodePen"
197
 
198
- #: inc/php/settings_page.php:261
199
  msgid ""
200
  "Enter your Skype name with prefix <b>skype:</b> and suffix <b>?call</b>, or <b>?"
201
  "add</b>, or <b>?chat</b>, or <b>?userinfo</b> for view profile"
@@ -203,86 +207,98 @@ msgstr ""
203
  "Ingresa tu nombre de Skype con prefijo <b>skype:</b> y sufijo <b>?call</b>, o <b>?"
204
  "add</b>, o <b>?chat</b>, o <b>?userinfo</b> para ver el perfil"
205
 
206
- #: inc/php/settings_page.php:267
207
  msgid "Enter the link to your personal website"
208
  msgstr "Ingresa el enlace a tu sitio web personal"
209
 
210
- #: inc/php/settings_page.php:273
211
  msgid "Enter your email address with prefix <b>mailto:</b>"
212
  msgstr "Ingresa tu dirección de correo electrónico con prefijo <b>mailto:</b>"
213
 
214
- #: inc/php/settings_page.php:279
215
  msgid "Enter the link to your RSS Feed"
216
  msgstr "Ingresa el enlace a tu Feed de RSS"
217
 
218
- #: inc/php/settings_page.php:283 inc/php/settings_page.php:360
219
  msgid "Save Changes"
220
  msgstr "Guardar las modificaciones"
221
 
222
- #: inc/php/settings_page.php:288
223
  msgid "Display options"
224
  msgstr "Opciones de presentación"
225
 
226
- #: inc/php/settings_page.php:293
227
  msgid "Show on Posts"
228
  msgstr "Mostrar en Entradas"
229
 
230
- #: inc/php/settings_page.php:294
231
- msgid "Display toolbar below content on Posts"
232
  msgstr "Mostrar la barra abajo del contenido en Entradas"
233
 
234
- #: inc/php/settings_page.php:298
235
  msgid "Show on Pages"
236
  msgstr "Mostrar en Páginas"
237
 
238
- #: inc/php/settings_page.php:299
239
- msgid "Display toolbar below content on Pages"
240
  msgstr "Mostrar la barra abajo del contenido en Páginas"
241
 
242
- #: inc/php/settings_page.php:303
243
- msgid "Open link in new tab/window"
244
- msgstr "Abrir enlace en una nueva pestaña/ventana"
 
 
 
 
245
 
246
- #: inc/php/settings_page.php:308
 
 
 
 
 
 
 
 
247
  msgid "Icon size"
248
  msgstr "Tamaño de ícono"
249
 
250
- #: inc/php/settings_page.php:309
251
  msgid "Enter the size of icons (in px) in your social media buttons toolbar."
252
  msgstr ""
253
  "Ingrese el tamaño de los íconos (en píxeles) en tu barra de botones Social Media"
254
 
255
- #: inc/php/settings_page.php:315
256
- msgid "Margin right"
257
- msgstr "Margen derecho"
258
 
259
- #: inc/php/settings_page.php:316
260
  msgid ""
261
  "Enter the size of space (in px) between icons in your social media buttons toolbar."
262
  msgstr ""
263
  "Ingresa el espacio (en píxeles) entre íconos en tu barra de botones de Social Media"
264
 
265
- #: inc/php/settings_page.php:332
266
  msgid "Alignment"
267
  msgstr "Alineación"
268
 
269
- #: inc/php/settings_page.php:338
270
  msgid "Left"
271
  msgstr "Izquierda"
272
 
273
- #: inc/php/settings_page.php:342
274
  msgid "Center"
275
  msgstr "Centro"
276
 
277
- #: inc/php/settings_page.php:346
278
  msgid "Right"
279
  msgstr "Derecha"
280
 
281
- #: inc/php/settings_page.php:353
282
  msgid "Caption"
283
  msgstr "Leyenda"
284
 
285
- #: inc/php/settings_page.php:354
286
  msgid ""
287
  "Enter the caption to your social media buttons toolbar. It will be displays before "
288
  "the toolbar."
@@ -290,19 +306,19 @@ msgstr ""
290
  "Ingresa la leyenda para tu barra de botones de Social Media. Aparecerá arriba de "
291
  "la barra de botones."
292
 
293
- #: inc/php/settings_page.php:365
294
  msgid "Preview"
295
  msgstr "Vista previa"
296
 
297
- #: inc/php/settings_page.php:367
298
  msgid "Click \"Save Changes\" to update this preview."
299
  msgstr "Haz clic en \"Guardar los cambios\" para actualizar esta previsualización."
300
 
301
- #: inc/php/settings_page.php:373
302
  msgid "Using"
303
  msgstr "Utilizando"
304
 
305
- #: inc/php/settings_page.php:375
306
  msgid ""
307
  "You have several methods for display the social media buttons toolbar (further "
308
  "just \"toolbar\") on your website. But first, fill in the required fields, then "
@@ -312,7 +328,7 @@ msgstr ""
312
  "adelante, la llamaremos sencillamente \"barra\") en tu sitio web. Pero primero, "
313
  "llena los campos requeridos, y luego haz clic en \"Guardar cambios\"."
314
 
315
- #: inc/php/settings_page.php:376
316
  msgid ""
317
  "<b>A)</b> For display the toolbar below content on every Posts or/and Pages, just "
318
  "check the checkbox \"Show on Posts\" or/and \"Show on Pages\" in the section "
@@ -323,7 +339,7 @@ msgstr ""
323
  "en la sección \"Opciones de pantalla\", luego haz clic en \"Guardar los cambios\". "
324
  "¡Así de simple!"
325
 
326
- #: inc/php/settings_page.php:377
327
  msgid ""
328
  "<b>B)</b> For add the toolbar inside a post from WP Post/Page Editor use the "
329
  "following shortcode:"
@@ -331,7 +347,7 @@ msgstr ""
331
  "<b>B)</b>Para añadir la barra dentro de una entrada desde el Editor de Entradas/"
332
  "Páginas de Wordpress usa el siguiente shortcode:"
333
 
334
- #: inc/php/settings_page.php:379
335
  msgid ""
336
  "<b>C)</b> For add the toolbar to the widget area (in sidebar, footer etc.) use the "
337
  "\"Text\" widget and add inside it the following shortcode:"
@@ -339,7 +355,7 @@ msgstr ""
339
  "<b>C)</b> Para añadir la barra al área de widgets (en la barra lateral, en el pie, "
340
  "u otro) usa el widget \"Text\" y agregálo dentro del siguiente shortcode:"
341
 
342
- #: inc/php/settings_page.php:381
343
  msgid ""
344
  "<b>D)</b> For add the toolbar directly to a theme files, just add one of the "
345
  "following code (both variants do the same) to needed place (where you want to "
@@ -349,23 +365,25 @@ msgstr ""
349
  "uno de los siguientes códigos (cualquiera de los dos hace lo mismo) en el lugar "
350
  "deseado (donde quieres que aparezca la barra) en los archivos de tu tema:"
351
 
352
- #: inc/php/settings_page.php:384
353
  msgid ""
354
  "It's that simple! If you want more options then tell me and I will be happy to add "
355
  "it."
356
  msgstr ""
 
 
357
 
358
- #: social-media-buttons-toolbar.php:73
359
  msgid "Settings"
360
  msgstr "Configuraciones"
361
 
362
- #: social-media-buttons-toolbar.php:105
363
  msgid "Social Buttons"
364
  msgstr "Botones Sociales"
365
 
366
  #. Plugin URI of the plugin/theme
367
  msgid "https://github.com/ArthurGareginyan/social-media-buttons-toolbar"
368
- msgstr ""
369
 
370
  #. Description of the plugin/theme
371
  msgid ""
@@ -378,11 +396,23 @@ msgstr ""
378
 
379
  #. Author of the plugin/theme
380
  msgid "Arthur Gareginyan"
381
- msgstr ""
382
 
383
  #. Author URI of the plugin/theme
384
  msgid "http://www.arthurgareginyan.com"
385
- msgstr ""
 
 
 
 
 
 
 
 
 
 
 
 
386
 
387
  #~ msgid "Advertisement"
388
  #~ msgstr "Advertencia"
3
  msgid ""
4
  msgstr ""
5
  "Project-Id-Version: Development (trunk)\n"
6
+ "POT-Creation-Date: 2017-02-11 22:40+0300\n"
7
+ "PO-Revision-Date: 2017-02-11 22:43+0300\n"
8
  "Last-Translator: \n"
9
  "Language-Team: \n"
10
  "Language: es\n"
15
  "X-Generator: Poedit 1.8.4\n"
16
 
17
  #. Plugin Name of the plugin/theme
18
+ #: inc/php/settings_page.php:24 social-media-buttons-toolbar.php:120
19
  msgid "Social Media Buttons Toolbar"
20
  msgstr "Barra de Botones de Social Media"
21
 
47
  msgid "Got something to say? Need help?"
48
  msgstr "¿Tienes algo que decir? ¿Necesitas ayuda?"
49
 
50
+ #: inc/php/settings_page.php:53 social-media-buttons-toolbar.php:104
51
  msgid "Donate"
52
  msgstr "Hacer una donación"
53
 
160
  msgstr "Ingresa el enlace a tu página de perfil de MeetVibe"
161
 
162
  #: inc/php/settings_page.php:207
163
+ msgid "Enter the link to your Meetup profile page"
164
+ msgstr "Ingresa el enlace a tu página de perfil de Meetup"
165
+
166
+ #: inc/php/settings_page.php:213
167
  msgid "Enter the link to your Steam profile page"
168
  msgstr "Ingresa el enlace a tu página de perfil de Steam"
169
 
170
+ #: inc/php/settings_page.php:219
171
  msgid "Enter the link to your Discord profile page"
172
  msgstr "Ingresa el enlace a tu página de perfil de Discord"
173
 
174
+ #: inc/php/settings_page.php:225
175
  msgid "Enter the link to your Yelp profile page"
176
  msgstr "Ingresa el enlace a tu página de perfil de Yelp"
177
 
178
+ #: inc/php/settings_page.php:231
179
  msgid "Enter the link to your VKontakte profile page"
180
  msgstr "Ingresa el enlace a tu página de perfil de VKontakte"
181
 
182
+ #: inc/php/settings_page.php:237
183
  msgid "Enter the link to your Odnoklassniki profile page"
184
  msgstr "Ingresa el enlace a tu página de perfil de Odnoklassniki"
185
 
186
+ #: inc/php/settings_page.php:243
187
  msgid "Enter the link to your Telegram profile page"
188
  msgstr "Ingresa el enlace a tu página de perfil de Telegram"
189
 
190
+ #: inc/php/settings_page.php:249
191
  msgid "Enter the link to your GitHub profile page"
192
  msgstr "Ingresa el enlace a tu página de perfil de GitHub"
193
 
194
+ #: inc/php/settings_page.php:255
195
  msgid "Enter the link to your WordPress profile page"
196
  msgstr "Ingresa el enlace a tu página de perfil de WordPress"
197
 
198
+ #: inc/php/settings_page.php:261
199
  msgid "Enter the link to your CodePen profile page"
200
  msgstr "Ingresa el enlace a tu página de perfil de CodePen"
201
 
202
+ #: inc/php/settings_page.php:267
203
  msgid ""
204
  "Enter your Skype name with prefix <b>skype:</b> and suffix <b>?call</b>, or <b>?"
205
  "add</b>, or <b>?chat</b>, or <b>?userinfo</b> for view profile"
207
  "Ingresa tu nombre de Skype con prefijo <b>skype:</b> y sufijo <b>?call</b>, o <b>?"
208
  "add</b>, o <b>?chat</b>, o <b>?userinfo</b> para ver el perfil"
209
 
210
+ #: inc/php/settings_page.php:273
211
  msgid "Enter the link to your personal website"
212
  msgstr "Ingresa el enlace a tu sitio web personal"
213
 
214
+ #: inc/php/settings_page.php:279
215
  msgid "Enter your email address with prefix <b>mailto:</b>"
216
  msgstr "Ingresa tu dirección de correo electrónico con prefijo <b>mailto:</b>"
217
 
218
+ #: inc/php/settings_page.php:285
219
  msgid "Enter the link to your RSS Feed"
220
  msgstr "Ingresa el enlace a tu Feed de RSS"
221
 
222
+ #: inc/php/settings_page.php:289 inc/php/settings_page.php:371
223
  msgid "Save Changes"
224
  msgstr "Guardar las modificaciones"
225
 
226
+ #: inc/php/settings_page.php:294
227
  msgid "Display options"
228
  msgstr "Opciones de presentación"
229
 
230
+ #: inc/php/settings_page.php:299
231
  msgid "Show on Posts"
232
  msgstr "Mostrar en Entradas"
233
 
234
+ #: inc/php/settings_page.php:300
235
+ msgid "Display toolbar below content on Posts."
236
  msgstr "Mostrar la barra abajo del contenido en Entradas"
237
 
238
+ #: inc/php/settings_page.php:304
239
  msgid "Show on Pages"
240
  msgstr "Mostrar en Páginas"
241
 
242
+ #: inc/php/settings_page.php:305
243
+ msgid "Display toolbar below content on Pages."
244
  msgstr "Mostrar la barra abajo del contenido en Páginas"
245
 
246
+ #: inc/php/settings_page.php:309
247
+ msgid "Open in new tab"
248
+ msgstr "Abrir en una nueva pestaña"
249
+
250
+ #: inc/php/settings_page.php:310
251
+ msgid "Open link in a new tab/window."
252
+ msgstr "¿Abrir enlace en una nueva pestaña/ventana?"
253
 
254
+ #: inc/php/settings_page.php:314
255
+ msgid "Tooltips"
256
+ msgstr ""
257
+
258
+ #: inc/php/settings_page.php:315
259
+ msgid "Enable/disable a tooltips with name of the social media above every button."
260
+ msgstr ""
261
+
262
+ #: inc/php/settings_page.php:319
263
  msgid "Icon size"
264
  msgstr "Tamaño de ícono"
265
 
266
+ #: inc/php/settings_page.php:320
267
  msgid "Enter the size of icons (in px) in your social media buttons toolbar."
268
  msgstr ""
269
  "Ingrese el tamaño de los íconos (en píxeles) en tu barra de botones Social Media"
270
 
271
+ #: inc/php/settings_page.php:326
272
+ msgid "Margin"
273
+ msgstr "Margen"
274
 
275
+ #: inc/php/settings_page.php:327
276
  msgid ""
277
  "Enter the size of space (in px) between icons in your social media buttons toolbar."
278
  msgstr ""
279
  "Ingresa el espacio (en píxeles) entre íconos en tu barra de botones de Social Media"
280
 
281
+ #: inc/php/settings_page.php:343
282
  msgid "Alignment"
283
  msgstr "Alineación"
284
 
285
+ #: inc/php/settings_page.php:349
286
  msgid "Left"
287
  msgstr "Izquierda"
288
 
289
+ #: inc/php/settings_page.php:353
290
  msgid "Center"
291
  msgstr "Centro"
292
 
293
+ #: inc/php/settings_page.php:357
294
  msgid "Right"
295
  msgstr "Derecha"
296
 
297
+ #: inc/php/settings_page.php:364
298
  msgid "Caption"
299
  msgstr "Leyenda"
300
 
301
+ #: inc/php/settings_page.php:365
302
  msgid ""
303
  "Enter the caption to your social media buttons toolbar. It will be displays before "
304
  "the toolbar."
306
  "Ingresa la leyenda para tu barra de botones de Social Media. Aparecerá arriba de "
307
  "la barra de botones."
308
 
309
+ #: inc/php/settings_page.php:376
310
  msgid "Preview"
311
  msgstr "Vista previa"
312
 
313
+ #: inc/php/settings_page.php:378
314
  msgid "Click \"Save Changes\" to update this preview."
315
  msgstr "Haz clic en \"Guardar los cambios\" para actualizar esta previsualización."
316
 
317
+ #: inc/php/settings_page.php:384
318
  msgid "Using"
319
  msgstr "Utilizando"
320
 
321
+ #: inc/php/settings_page.php:386
322
  msgid ""
323
  "You have several methods for display the social media buttons toolbar (further "
324
  "just \"toolbar\") on your website. But first, fill in the required fields, then "
328
  "adelante, la llamaremos sencillamente \"barra\") en tu sitio web. Pero primero, "
329
  "llena los campos requeridos, y luego haz clic en \"Guardar cambios\"."
330
 
331
+ #: inc/php/settings_page.php:387
332
  msgid ""
333
  "<b>A)</b> For display the toolbar below content on every Posts or/and Pages, just "
334
  "check the checkbox \"Show on Posts\" or/and \"Show on Pages\" in the section "
339
  "en la sección \"Opciones de pantalla\", luego haz clic en \"Guardar los cambios\". "
340
  "¡Así de simple!"
341
 
342
+ #: inc/php/settings_page.php:388
343
  msgid ""
344
  "<b>B)</b> For add the toolbar inside a post from WP Post/Page Editor use the "
345
  "following shortcode:"
347
  "<b>B)</b>Para añadir la barra dentro de una entrada desde el Editor de Entradas/"
348
  "Páginas de Wordpress usa el siguiente shortcode:"
349
 
350
+ #: inc/php/settings_page.php:390
351
  msgid ""
352
  "<b>C)</b> For add the toolbar to the widget area (in sidebar, footer etc.) use the "
353
  "\"Text\" widget and add inside it the following shortcode:"
355
  "<b>C)</b> Para añadir la barra al área de widgets (en la barra lateral, en el pie, "
356
  "u otro) usa el widget \"Text\" y agregálo dentro del siguiente shortcode:"
357
 
358
+ #: inc/php/settings_page.php:392
359
  msgid ""
360
  "<b>D)</b> For add the toolbar directly to a theme files, just add one of the "
361
  "following code (both variants do the same) to needed place (where you want to "
365
  "uno de los siguientes códigos (cualquiera de los dos hace lo mismo) en el lugar "
366
  "deseado (donde quieres que aparezca la barra) en los archivos de tu tema:"
367
 
368
+ #: inc/php/settings_page.php:395
369
  msgid ""
370
  "It's that simple! If you want more options then tell me and I will be happy to add "
371
  "it."
372
  msgstr ""
373
+ "¡Es así de simple! Si desea más opciones entonces Dile y yo estaremos encantados "
374
+ "de añadirlo."
375
 
376
+ #: social-media-buttons-toolbar.php:88
377
  msgid "Settings"
378
  msgstr "Configuraciones"
379
 
380
+ #: social-media-buttons-toolbar.php:120
381
  msgid "Social Buttons"
382
  msgstr "Botones Sociales"
383
 
384
  #. Plugin URI of the plugin/theme
385
  msgid "https://github.com/ArthurGareginyan/social-media-buttons-toolbar"
386
+ msgstr "https://github.com/ArthurGareginyan/social-media-buttons-toolbar"
387
 
388
  #. Description of the plugin/theme
389
  msgid ""
396
 
397
  #. Author of the plugin/theme
398
  msgid "Arthur Gareginyan"
399
+ msgstr "Arthur Gareginyan"
400
 
401
  #. Author URI of the plugin/theme
402
  msgid "http://www.arthurgareginyan.com"
403
+ msgstr "http://www.arthurgareginyan.com"
404
+
405
+ #~ msgid "Display toolbar below content on Posts"
406
+ #~ msgstr "Mostrar la barra abajo del contenido en Entradas"
407
+
408
+ #~ msgid "Display toolbar below content on Pages"
409
+ #~ msgstr "Mostrar la barra abajo del contenido en Páginas"
410
+
411
+ #~ msgid "Open link in new tab/window"
412
+ #~ msgstr "Abrir enlace en una nueva pestaña/ventana"
413
+
414
+ #~ msgid "Margin right"
415
+ #~ msgstr "Margen derecho"
416
 
417
  #~ msgid "Advertisement"
418
  #~ msgstr "Advertencia"
languages/social-media-buttons-toolbar-ru_RU.mo CHANGED
Binary file
languages/social-media-buttons-toolbar-ru_RU.po CHANGED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Social Media Buttons Toolbar\n"
4
- "POT-Creation-Date: 2017-01-23 04:06+0300\n"
5
- "PO-Revision-Date: 2017-01-23 04:07+0300\n"
6
  "Last-Translator: \n"
7
  "Language-Team: \n"
8
  "Language: ru\n"
@@ -22,9 +22,9 @@ msgstr ""
22
  "X-Poedit-SearchPathExcluded-0: *.js\n"
23
 
24
  #. Plugin Name of the plugin/theme
25
- #: inc/php/settings_page.php:24 social-media-buttons-toolbar.php:105
26
  msgid "Social Media Buttons Toolbar"
27
- msgstr ""
28
 
29
  #: inc/php/settings_page.php:27
30
  msgid ""
@@ -54,7 +54,7 @@ msgstr "Помощь"
54
  msgid "Got something to say? Need help?"
55
  msgstr "Есть что сказать? Нужна помощь?"
56
 
57
- #: inc/php/settings_page.php:53 social-media-buttons-toolbar.php:89
58
  msgid "Donate"
59
  msgstr "Поддержать разработку"
60
 
@@ -169,42 +169,46 @@ msgid "Enter the link to your MeetVibe profile page"
169
  msgstr "Введите ссылку на вашу страницу профиля MeetVibe"
170
 
171
  #: inc/php/settings_page.php:207
 
 
 
 
172
  msgid "Enter the link to your Steam profile page"
173
  msgstr "Введите ссылку на вашу страницу профиля Steam"
174
 
175
- #: inc/php/settings_page.php:213
176
  msgid "Enter the link to your Discord profile page"
177
  msgstr "Введите ссылку на вашу страницу профиля Discord"
178
 
179
- #: inc/php/settings_page.php:219
180
  msgid "Enter the link to your Yelp profile page"
181
  msgstr "Введите ссылку на вашу страницу профиля Yelp"
182
 
183
- #: inc/php/settings_page.php:225
184
  msgid "Enter the link to your VKontakte profile page"
185
  msgstr "Введите ссылку на вашу страницу профиля ВКонтакте"
186
 
187
- #: inc/php/settings_page.php:231
188
  msgid "Enter the link to your Odnoklassniki profile page"
189
  msgstr "Введите ссылку на вашу страницу профиля Одноклассники"
190
 
191
- #: inc/php/settings_page.php:237
192
  msgid "Enter the link to your Telegram profile page"
193
  msgstr "Введите ссылку на вашу страницу профиля Telegram"
194
 
195
- #: inc/php/settings_page.php:243
196
  msgid "Enter the link to your GitHub profile page"
197
  msgstr "Введите ссылку на вашу страницу профиля GitHub"
198
 
199
- #: inc/php/settings_page.php:249
200
  msgid "Enter the link to your WordPress profile page"
201
  msgstr "Введите ссылку на вашу страницу профиля WordPress"
202
 
203
- #: inc/php/settings_page.php:255
204
  msgid "Enter the link to your CodePen profile page"
205
  msgstr "Введите ссылку на вашу страницу профиля CodePen"
206
 
207
- #: inc/php/settings_page.php:261
208
  msgid ""
209
  "Enter your Skype name with prefix <b>skype:</b> and suffix <b>?call</b>, or "
210
  "<b>?add</b>, or <b>?chat</b>, or <b>?userinfo</b> for view profile"
@@ -213,60 +217,75 @@ msgstr ""
213
  "b>, или <b>?add</b>, или <b>?chat</b>, или <b>?userinfo</b> для просмотра "
214
  "профиля"
215
 
216
- #: inc/php/settings_page.php:267
217
  msgid "Enter the link to your personal website"
218
  msgstr "Введите ссылку на ваш персональный сайт"
219
 
220
- #: inc/php/settings_page.php:273
221
  msgid "Enter your email address with prefix <b>mailto:</b>"
222
  msgstr "Введите адрес электронной почты с префиксом <b>mailto:</b>"
223
 
224
- #: inc/php/settings_page.php:279
225
  msgid "Enter the link to your RSS Feed"
226
  msgstr "Введите ссылку на ваш RSS поток"
227
 
228
- #: inc/php/settings_page.php:283 inc/php/settings_page.php:360
229
  msgid "Save Changes"
230
  msgstr "Сохранить изменения"
231
 
232
- #: inc/php/settings_page.php:288
233
  msgid "Display options"
234
  msgstr "Настройки отображения"
235
 
236
- #: inc/php/settings_page.php:293
237
  msgid "Show on Posts"
238
  msgstr "Показать в записях"
239
 
240
- #: inc/php/settings_page.php:294
241
- msgid "Display toolbar below content on Posts"
242
  msgstr "Показывать кнопки под содержанием в записях"
243
 
244
- #: inc/php/settings_page.php:298
245
  msgid "Show on Pages"
246
  msgstr "Показывать на страницах"
247
 
248
- #: inc/php/settings_page.php:299
249
- msgid "Display toolbar below content on Pages"
250
  msgstr "Показывать кнопки под содержанием на страницах"
251
 
252
- #: inc/php/settings_page.php:303
253
- msgid "Open link in new tab/window"
 
 
 
 
254
  msgstr "Открыть ссылку в новом окне/вкладке"
255
 
256
- #: inc/php/settings_page.php:308
 
 
 
 
 
 
 
 
 
 
 
257
  msgid "Icon size"
258
  msgstr "Размер иконки"
259
 
260
- #: inc/php/settings_page.php:309
261
  msgid "Enter the size of icons (in px) in your social media buttons toolbar."
262
  msgstr ""
263
  "Введите размер иконок (в пикселях) для вашей панели социальных медиа кнопок."
264
 
265
- #: inc/php/settings_page.php:315
266
- msgid "Margin right"
267
- msgstr "Отступ справа"
268
 
269
- #: inc/php/settings_page.php:316
270
  msgid ""
271
  "Enter the size of space (in px) between icons in your social media buttons "
272
  "toolbar."
@@ -274,27 +293,27 @@ msgstr ""
274
  "Введите размер пространства (в пикселях) между иконками для вашей панели "
275
  "социальных медиа кнопок."
276
 
277
- #: inc/php/settings_page.php:332
278
  msgid "Alignment"
279
  msgstr "Выравнивание"
280
 
281
- #: inc/php/settings_page.php:338
282
  msgid "Left"
283
  msgstr "Слева"
284
 
285
- #: inc/php/settings_page.php:342
286
  msgid "Center"
287
  msgstr "По центру"
288
 
289
- #: inc/php/settings_page.php:346
290
  msgid "Right"
291
  msgstr "Справа"
292
 
293
- #: inc/php/settings_page.php:353
294
  msgid "Caption"
295
  msgstr "Заголовок"
296
 
297
- #: inc/php/settings_page.php:354
298
  msgid ""
299
  "Enter the caption to your social media buttons toolbar. It will be displays "
300
  "before the toolbar."
@@ -302,20 +321,20 @@ msgstr ""
302
  "Введите заголовок для блока с кнопками социальных медиа. Он будет отображает "
303
  "над панелью."
304
 
305
- #: inc/php/settings_page.php:365
306
  msgid "Preview"
307
  msgstr "Предварительный просмотр"
308
 
309
- #: inc/php/settings_page.php:367
310
  msgid "Click \"Save Changes\" to update this preview."
311
  msgstr ""
312
  "Нажмите кнопку «Сохранить изменения», чтобы обновить этот пред. просмотр."
313
 
314
- #: inc/php/settings_page.php:373
315
  msgid "Using"
316
  msgstr "Как пользоваться"
317
 
318
- #: inc/php/settings_page.php:375
319
  msgid ""
320
  "You have several methods for display the social media buttons toolbar "
321
  "(further just \"toolbar\") on your website. But first, fill in the required "
@@ -325,33 +344,33 @@ msgstr ""
325
  "медиа кнопок (далее просто “кнопки”) на вашем вебсайте. Но сначала заполните "
326
  "поля для каждой нужной кнопки, а затем нажмите “Сохранить изменения”."
327
 
328
- #: inc/php/settings_page.php:376
329
  msgid ""
330
  "<b>A)</b> For display the toolbar below content on every Posts or/and Pages, "
331
  "just check the checkbox \"Show on Posts\" or/and \"Show on Pages\" in the "
332
  "section \"Display options\", then click \"Save Changes\". It's that simple!"
333
  msgstr ""
334
 
335
- #: inc/php/settings_page.php:377
336
  msgid ""
337
  "<b>B)</b> For add the toolbar inside a post from WP Post/Page Editor use the "
338
  "following shortcode:"
339
  msgstr ""
340
 
341
- #: inc/php/settings_page.php:379
342
  msgid ""
343
  "<b>C)</b> For add the toolbar to the widget area (in sidebar, footer etc.) "
344
  "use the \"Text\" widget and add inside it the following shortcode:"
345
  msgstr ""
346
 
347
- #: inc/php/settings_page.php:381
348
  msgid ""
349
  "<b>D)</b> For add the toolbar directly to a theme files, just add one of the "
350
  "following code (both variants do the same) to needed place (where you want "
351
  "to display the toolbar) in your theme files:"
352
  msgstr ""
353
 
354
- #: inc/php/settings_page.php:384
355
  msgid ""
356
  "It's that simple! If you want more options then tell me and I will be happy "
357
  "to add it."
@@ -359,17 +378,17 @@ msgstr ""
359
  "Это так просто! Если вы хотите иметь больше опций, то скажите мне об этом и "
360
  "я буду счастлив добавить их."
361
 
362
- #: social-media-buttons-toolbar.php:73
363
  msgid "Settings"
364
  msgstr "Настройки"
365
 
366
- #: social-media-buttons-toolbar.php:105
367
  msgid "Social Buttons"
368
  msgstr "Социальные кнопки"
369
 
370
  #. Plugin URI of the plugin/theme
371
  msgid "https://github.com/ArthurGareginyan/social-media-buttons-toolbar"
372
- msgstr ""
373
 
374
  #. Description of the plugin/theme
375
  msgid ""
@@ -385,7 +404,19 @@ msgstr "Артур Гарегинян"
385
 
386
  #. Author URI of the plugin/theme
387
  msgid "http://www.arthurgareginyan.com"
388
- msgstr ""
 
 
 
 
 
 
 
 
 
 
 
 
389
 
390
  #~ msgid "Advertisement"
391
  #~ msgstr "Реклама"
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Social Media Buttons Toolbar\n"
4
+ "POT-Creation-Date: 2017-02-11 22:37+0300\n"
5
+ "PO-Revision-Date: 2017-02-11 22:39+0300\n"
6
  "Last-Translator: \n"
7
  "Language-Team: \n"
8
  "Language: ru\n"
22
  "X-Poedit-SearchPathExcluded-0: *.js\n"
23
 
24
  #. Plugin Name of the plugin/theme
25
+ #: inc/php/settings_page.php:24 social-media-buttons-toolbar.php:120
26
  msgid "Social Media Buttons Toolbar"
27
+ msgstr "Social Media Buttons Toolbar"
28
 
29
  #: inc/php/settings_page.php:27
30
  msgid ""
54
  msgid "Got something to say? Need help?"
55
  msgstr "Есть что сказать? Нужна помощь?"
56
 
57
+ #: inc/php/settings_page.php:53 social-media-buttons-toolbar.php:104
58
  msgid "Donate"
59
  msgstr "Поддержать разработку"
60
 
169
  msgstr "Введите ссылку на вашу страницу профиля MeetVibe"
170
 
171
  #: inc/php/settings_page.php:207
172
+ msgid "Enter the link to your Meetup profile page"
173
+ msgstr "Введите ссылку на вашу страницу профиля Meetup"
174
+
175
+ #: inc/php/settings_page.php:213
176
  msgid "Enter the link to your Steam profile page"
177
  msgstr "Введите ссылку на вашу страницу профиля Steam"
178
 
179
+ #: inc/php/settings_page.php:219
180
  msgid "Enter the link to your Discord profile page"
181
  msgstr "Введите ссылку на вашу страницу профиля Discord"
182
 
183
+ #: inc/php/settings_page.php:225
184
  msgid "Enter the link to your Yelp profile page"
185
  msgstr "Введите ссылку на вашу страницу профиля Yelp"
186
 
187
+ #: inc/php/settings_page.php:231
188
  msgid "Enter the link to your VKontakte profile page"
189
  msgstr "Введите ссылку на вашу страницу профиля ВКонтакте"
190
 
191
+ #: inc/php/settings_page.php:237
192
  msgid "Enter the link to your Odnoklassniki profile page"
193
  msgstr "Введите ссылку на вашу страницу профиля Одноклассники"
194
 
195
+ #: inc/php/settings_page.php:243
196
  msgid "Enter the link to your Telegram profile page"
197
  msgstr "Введите ссылку на вашу страницу профиля Telegram"
198
 
199
+ #: inc/php/settings_page.php:249
200
  msgid "Enter the link to your GitHub profile page"
201
  msgstr "Введите ссылку на вашу страницу профиля GitHub"
202
 
203
+ #: inc/php/settings_page.php:255
204
  msgid "Enter the link to your WordPress profile page"
205
  msgstr "Введите ссылку на вашу страницу профиля WordPress"
206
 
207
+ #: inc/php/settings_page.php:261
208
  msgid "Enter the link to your CodePen profile page"
209
  msgstr "Введите ссылку на вашу страницу профиля CodePen"
210
 
211
+ #: inc/php/settings_page.php:267
212
  msgid ""
213
  "Enter your Skype name with prefix <b>skype:</b> and suffix <b>?call</b>, or "
214
  "<b>?add</b>, or <b>?chat</b>, or <b>?userinfo</b> for view profile"
217
  "b>, или <b>?add</b>, или <b>?chat</b>, или <b>?userinfo</b> для просмотра "
218
  "профиля"
219
 
220
+ #: inc/php/settings_page.php:273
221
  msgid "Enter the link to your personal website"
222
  msgstr "Введите ссылку на ваш персональный сайт"
223
 
224
+ #: inc/php/settings_page.php:279
225
  msgid "Enter your email address with prefix <b>mailto:</b>"
226
  msgstr "Введите адрес электронной почты с префиксом <b>mailto:</b>"
227
 
228
+ #: inc/php/settings_page.php:285
229
  msgid "Enter the link to your RSS Feed"
230
  msgstr "Введите ссылку на ваш RSS поток"
231
 
232
+ #: inc/php/settings_page.php:289 inc/php/settings_page.php:371
233
  msgid "Save Changes"
234
  msgstr "Сохранить изменения"
235
 
236
+ #: inc/php/settings_page.php:294
237
  msgid "Display options"
238
  msgstr "Настройки отображения"
239
 
240
+ #: inc/php/settings_page.php:299
241
  msgid "Show on Posts"
242
  msgstr "Показать в записях"
243
 
244
+ #: inc/php/settings_page.php:300
245
+ msgid "Display toolbar below content on Posts."
246
  msgstr "Показывать кнопки под содержанием в записях"
247
 
248
+ #: inc/php/settings_page.php:304
249
  msgid "Show on Pages"
250
  msgstr "Показывать на страницах"
251
 
252
+ #: inc/php/settings_page.php:305
253
+ msgid "Display toolbar below content on Pages."
254
  msgstr "Показывать кнопки под содержанием на страницах"
255
 
256
+ #: inc/php/settings_page.php:309
257
+ msgid "Open in new tab"
258
+ msgstr "Открыть в новой вкладке"
259
+
260
+ #: inc/php/settings_page.php:310
261
+ msgid "Open link in a new tab/window."
262
  msgstr "Открыть ссылку в новом окне/вкладке"
263
 
264
+ #: inc/php/settings_page.php:314
265
+ msgid "Tooltips"
266
+ msgstr "Подсказки"
267
+
268
+ #: inc/php/settings_page.php:315
269
+ msgid ""
270
+ "Enable/disable a tooltips with name of the social media above every button."
271
+ msgstr ""
272
+ "Включить/отключить всплывающие подсказки с названием социальных медиа над "
273
+ "каждой кнопкой."
274
+
275
+ #: inc/php/settings_page.php:319
276
  msgid "Icon size"
277
  msgstr "Размер иконки"
278
 
279
+ #: inc/php/settings_page.php:320
280
  msgid "Enter the size of icons (in px) in your social media buttons toolbar."
281
  msgstr ""
282
  "Введите размер иконок (в пикселях) для вашей панели социальных медиа кнопок."
283
 
284
+ #: inc/php/settings_page.php:326
285
+ msgid "Margin"
286
+ msgstr "Отступ"
287
 
288
+ #: inc/php/settings_page.php:327
289
  msgid ""
290
  "Enter the size of space (in px) between icons in your social media buttons "
291
  "toolbar."
293
  "Введите размер пространства (в пикселях) между иконками для вашей панели "
294
  "социальных медиа кнопок."
295
 
296
+ #: inc/php/settings_page.php:343
297
  msgid "Alignment"
298
  msgstr "Выравнивание"
299
 
300
+ #: inc/php/settings_page.php:349
301
  msgid "Left"
302
  msgstr "Слева"
303
 
304
+ #: inc/php/settings_page.php:353
305
  msgid "Center"
306
  msgstr "По центру"
307
 
308
+ #: inc/php/settings_page.php:357
309
  msgid "Right"
310
  msgstr "Справа"
311
 
312
+ #: inc/php/settings_page.php:364
313
  msgid "Caption"
314
  msgstr "Заголовок"
315
 
316
+ #: inc/php/settings_page.php:365
317
  msgid ""
318
  "Enter the caption to your social media buttons toolbar. It will be displays "
319
  "before the toolbar."
321
  "Введите заголовок для блока с кнопками социальных медиа. Он будет отображает "
322
  "над панелью."
323
 
324
+ #: inc/php/settings_page.php:376
325
  msgid "Preview"
326
  msgstr "Предварительный просмотр"
327
 
328
+ #: inc/php/settings_page.php:378
329
  msgid "Click \"Save Changes\" to update this preview."
330
  msgstr ""
331
  "Нажмите кнопку «Сохранить изменения», чтобы обновить этот пред. просмотр."
332
 
333
+ #: inc/php/settings_page.php:384
334
  msgid "Using"
335
  msgstr "Как пользоваться"
336
 
337
+ #: inc/php/settings_page.php:386
338
  msgid ""
339
  "You have several methods for display the social media buttons toolbar "
340
  "(further just \"toolbar\") on your website. But first, fill in the required "
344
  "медиа кнопок (далее просто “кнопки”) на вашем вебсайте. Но сначала заполните "
345
  "поля для каждой нужной кнопки, а затем нажмите “Сохранить изменения”."
346
 
347
+ #: inc/php/settings_page.php:387
348
  msgid ""
349
  "<b>A)</b> For display the toolbar below content on every Posts or/and Pages, "
350
  "just check the checkbox \"Show on Posts\" or/and \"Show on Pages\" in the "
351
  "section \"Display options\", then click \"Save Changes\". It's that simple!"
352
  msgstr ""
353
 
354
+ #: inc/php/settings_page.php:388
355
  msgid ""
356
  "<b>B)</b> For add the toolbar inside a post from WP Post/Page Editor use the "
357
  "following shortcode:"
358
  msgstr ""
359
 
360
+ #: inc/php/settings_page.php:390
361
  msgid ""
362
  "<b>C)</b> For add the toolbar to the widget area (in sidebar, footer etc.) "
363
  "use the \"Text\" widget and add inside it the following shortcode:"
364
  msgstr ""
365
 
366
+ #: inc/php/settings_page.php:392
367
  msgid ""
368
  "<b>D)</b> For add the toolbar directly to a theme files, just add one of the "
369
  "following code (both variants do the same) to needed place (where you want "
370
  "to display the toolbar) in your theme files:"
371
  msgstr ""
372
 
373
+ #: inc/php/settings_page.php:395
374
  msgid ""
375
  "It's that simple! If you want more options then tell me and I will be happy "
376
  "to add it."
378
  "Это так просто! Если вы хотите иметь больше опций, то скажите мне об этом и "
379
  "я буду счастлив добавить их."
380
 
381
+ #: social-media-buttons-toolbar.php:88
382
  msgid "Settings"
383
  msgstr "Настройки"
384
 
385
+ #: social-media-buttons-toolbar.php:120
386
  msgid "Social Buttons"
387
  msgstr "Социальные кнопки"
388
 
389
  #. Plugin URI of the plugin/theme
390
  msgid "https://github.com/ArthurGareginyan/social-media-buttons-toolbar"
391
+ msgstr "https://github.com/ArthurGareginyan/social-media-buttons-toolbar"
392
 
393
  #. Description of the plugin/theme
394
  msgid ""
404
 
405
  #. Author URI of the plugin/theme
406
  msgid "http://www.arthurgareginyan.com"
407
+ msgstr "http://www.arthurgareginyan.com"
408
+
409
+ #~ msgid "Display toolbar below content on Posts"
410
+ #~ msgstr "Показывать кнопки под содержанием в записях"
411
+
412
+ #~ msgid "Display toolbar below content on Pages"
413
+ #~ msgstr "Показывать кнопки под содержанием на страницах"
414
+
415
+ #~ msgid "Open link in new tab/window"
416
+ #~ msgstr "Открыть ссылку в новом окне/вкладке"
417
+
418
+ #~ msgid "Margin right"
419
+ #~ msgstr "Отступ справа"
420
 
421
  #~ msgid "Advertisement"
422
  #~ msgstr "Реклама"
languages/social-media-buttons-toolbar.pot CHANGED
@@ -3,7 +3,7 @@ msgid ""
3
  msgstr ""
4
  "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
5
  "Project-Id-Version: Social Media Buttons Toolbar\n"
6
- "POT-Creation-Date: 2017-01-23 04:06+0300\n"
7
  "PO-Revision-Date: 2015-12-17 02:16+0300\n"
8
  "Last-Translator: \n"
9
  "Language-Team: \n"
@@ -21,7 +21,7 @@ msgstr ""
21
  "X-Poedit-SearchPathExcluded-0: *.js\n"
22
 
23
  #. Plugin Name of the plugin/theme
24
- #: inc/php/settings_page.php:24 social-media-buttons-toolbar.php:105
25
  msgid "Social Media Buttons Toolbar"
26
  msgstr ""
27
 
@@ -49,7 +49,7 @@ msgstr ""
49
  msgid "Got something to say? Need help?"
50
  msgstr ""
51
 
52
- #: inc/php/settings_page.php:53 social-media-buttons-toolbar.php:89
53
  msgid "Donate"
54
  msgstr ""
55
 
@@ -157,187 +157,204 @@ msgid "Enter the link to your MeetVibe profile page"
157
  msgstr ""
158
 
159
  #: inc/php/settings_page.php:207
160
- msgid "Enter the link to your Steam profile page"
161
  msgstr ""
162
 
163
  #: inc/php/settings_page.php:213
164
- msgid "Enter the link to your Discord profile page"
165
  msgstr ""
166
 
167
  #: inc/php/settings_page.php:219
168
- msgid "Enter the link to your Yelp profile page"
169
  msgstr ""
170
 
171
  #: inc/php/settings_page.php:225
172
- msgid "Enter the link to your VKontakte profile page"
173
  msgstr ""
174
 
175
  #: inc/php/settings_page.php:231
176
- msgid "Enter the link to your Odnoklassniki profile page"
177
  msgstr ""
178
 
179
  #: inc/php/settings_page.php:237
180
- msgid "Enter the link to your Telegram profile page"
181
  msgstr ""
182
 
183
  #: inc/php/settings_page.php:243
184
- msgid "Enter the link to your GitHub profile page"
185
  msgstr ""
186
 
187
  #: inc/php/settings_page.php:249
188
- msgid "Enter the link to your WordPress profile page"
189
  msgstr ""
190
 
191
  #: inc/php/settings_page.php:255
192
- msgid "Enter the link to your CodePen profile page"
193
  msgstr ""
194
 
195
  #: inc/php/settings_page.php:261
 
 
 
 
196
  msgid ""
197
  "Enter your Skype name with prefix <b>skype:</b> and suffix <b>?call</b>, or "
198
  "<b>?add</b>, or <b>?chat</b>, or <b>?userinfo</b> for view profile"
199
  msgstr ""
200
 
201
- #: inc/php/settings_page.php:267
202
  msgid "Enter the link to your personal website"
203
  msgstr ""
204
 
205
- #: inc/php/settings_page.php:273
206
  msgid "Enter your email address with prefix <b>mailto:</b>"
207
  msgstr ""
208
 
209
- #: inc/php/settings_page.php:279
210
  msgid "Enter the link to your RSS Feed"
211
  msgstr ""
212
 
213
- #: inc/php/settings_page.php:283 inc/php/settings_page.php:360
214
  msgid "Save Changes"
215
  msgstr ""
216
 
217
- #: inc/php/settings_page.php:288
218
  msgid "Display options"
219
  msgstr ""
220
 
221
- #: inc/php/settings_page.php:293
222
  msgid "Show on Posts"
223
  msgstr ""
224
 
225
- #: inc/php/settings_page.php:294
226
- msgid "Display toolbar below content on Posts"
227
  msgstr ""
228
 
229
- #: inc/php/settings_page.php:298
230
  msgid "Show on Pages"
231
  msgstr ""
232
 
233
- #: inc/php/settings_page.php:299
234
- msgid "Display toolbar below content on Pages"
 
 
 
 
 
 
 
 
 
 
 
 
235
  msgstr ""
236
 
237
- #: inc/php/settings_page.php:303
238
- msgid "Open link in new tab/window"
 
239
  msgstr ""
240
 
241
- #: inc/php/settings_page.php:308
242
  msgid "Icon size"
243
  msgstr ""
244
 
245
- #: inc/php/settings_page.php:309
246
  msgid "Enter the size of icons (in px) in your social media buttons toolbar."
247
  msgstr ""
248
 
249
- #: inc/php/settings_page.php:315
250
- msgid "Margin right"
251
  msgstr ""
252
 
253
- #: inc/php/settings_page.php:316
254
  msgid ""
255
  "Enter the size of space (in px) between icons in your social media buttons "
256
  "toolbar."
257
  msgstr ""
258
 
259
- #: inc/php/settings_page.php:332
260
  msgid "Alignment"
261
  msgstr ""
262
 
263
- #: inc/php/settings_page.php:338
264
  msgid "Left"
265
  msgstr ""
266
 
267
- #: inc/php/settings_page.php:342
268
  msgid "Center"
269
  msgstr ""
270
 
271
- #: inc/php/settings_page.php:346
272
  msgid "Right"
273
  msgstr ""
274
 
275
- #: inc/php/settings_page.php:353
276
  msgid "Caption"
277
  msgstr ""
278
 
279
- #: inc/php/settings_page.php:354
280
  msgid ""
281
  "Enter the caption to your social media buttons toolbar. It will be displays "
282
  "before the toolbar."
283
  msgstr ""
284
 
285
- #: inc/php/settings_page.php:365
286
  msgid "Preview"
287
  msgstr ""
288
 
289
- #: inc/php/settings_page.php:367
290
  msgid "Click \"Save Changes\" to update this preview."
291
  msgstr ""
292
 
293
- #: inc/php/settings_page.php:373
294
  msgid "Using"
295
  msgstr ""
296
 
297
- #: inc/php/settings_page.php:375
298
  msgid ""
299
  "You have several methods for display the social media buttons toolbar "
300
  "(further just \"toolbar\") on your website. But first, fill in the required "
301
  "fields, then click \"Save Changes\"."
302
  msgstr ""
303
 
304
- #: inc/php/settings_page.php:376
305
  msgid ""
306
  "<b>A)</b> For display the toolbar below content on every Posts or/and Pages, "
307
  "just check the checkbox \"Show on Posts\" or/and \"Show on Pages\" in the "
308
  "section \"Display options\", then click \"Save Changes\". It's that simple!"
309
  msgstr ""
310
 
311
- #: inc/php/settings_page.php:377
312
  msgid ""
313
  "<b>B)</b> For add the toolbar inside a post from WP Post/Page Editor use the "
314
  "following shortcode:"
315
  msgstr ""
316
 
317
- #: inc/php/settings_page.php:379
318
  msgid ""
319
  "<b>C)</b> For add the toolbar to the widget area (in sidebar, footer etc.) "
320
  "use the \"Text\" widget and add inside it the following shortcode:"
321
  msgstr ""
322
 
323
- #: inc/php/settings_page.php:381
324
  msgid ""
325
  "<b>D)</b> For add the toolbar directly to a theme files, just add one of the "
326
  "following code (both variants do the same) to needed place (where you want "
327
  "to display the toolbar) in your theme files:"
328
  msgstr ""
329
 
330
- #: inc/php/settings_page.php:384
331
  msgid ""
332
  "It's that simple! If you want more options then tell me and I will be happy "
333
  "to add it."
334
  msgstr ""
335
 
336
- #: social-media-buttons-toolbar.php:73
337
  msgid "Settings"
338
  msgstr ""
339
 
340
- #: social-media-buttons-toolbar.php:105
341
  msgid "Social Buttons"
342
  msgstr ""
343
 
3
  msgstr ""
4
  "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
5
  "Project-Id-Version: Social Media Buttons Toolbar\n"
6
+ "POT-Creation-Date: 2017-02-11 22:37+0300\n"
7
  "PO-Revision-Date: 2015-12-17 02:16+0300\n"
8
  "Last-Translator: \n"
9
  "Language-Team: \n"
21
  "X-Poedit-SearchPathExcluded-0: *.js\n"
22
 
23
  #. Plugin Name of the plugin/theme
24
+ #: inc/php/settings_page.php:24 social-media-buttons-toolbar.php:120
25
  msgid "Social Media Buttons Toolbar"
26
  msgstr ""
27
 
49
  msgid "Got something to say? Need help?"
50
  msgstr ""
51
 
52
+ #: inc/php/settings_page.php:53 social-media-buttons-toolbar.php:104
53
  msgid "Donate"
54
  msgstr ""
55
 
157
  msgstr ""
158
 
159
  #: inc/php/settings_page.php:207
160
+ msgid "Enter the link to your Meetup profile page"
161
  msgstr ""
162
 
163
  #: inc/php/settings_page.php:213
164
+ msgid "Enter the link to your Steam profile page"
165
  msgstr ""
166
 
167
  #: inc/php/settings_page.php:219
168
+ msgid "Enter the link to your Discord profile page"
169
  msgstr ""
170
 
171
  #: inc/php/settings_page.php:225
172
+ msgid "Enter the link to your Yelp profile page"
173
  msgstr ""
174
 
175
  #: inc/php/settings_page.php:231
176
+ msgid "Enter the link to your VKontakte profile page"
177
  msgstr ""
178
 
179
  #: inc/php/settings_page.php:237
180
+ msgid "Enter the link to your Odnoklassniki profile page"
181
  msgstr ""
182
 
183
  #: inc/php/settings_page.php:243
184
+ msgid "Enter the link to your Telegram profile page"
185
  msgstr ""
186
 
187
  #: inc/php/settings_page.php:249
188
+ msgid "Enter the link to your GitHub profile page"
189
  msgstr ""
190
 
191
  #: inc/php/settings_page.php:255
192
+ msgid "Enter the link to your WordPress profile page"
193
  msgstr ""
194
 
195
  #: inc/php/settings_page.php:261
196
+ msgid "Enter the link to your CodePen profile page"
197
+ msgstr ""
198
+
199
+ #: inc/php/settings_page.php:267
200
  msgid ""
201
  "Enter your Skype name with prefix <b>skype:</b> and suffix <b>?call</b>, or "
202
  "<b>?add</b>, or <b>?chat</b>, or <b>?userinfo</b> for view profile"
203
  msgstr ""
204
 
205
+ #: inc/php/settings_page.php:273
206
  msgid "Enter the link to your personal website"
207
  msgstr ""
208
 
209
+ #: inc/php/settings_page.php:279
210
  msgid "Enter your email address with prefix <b>mailto:</b>"
211
  msgstr ""
212
 
213
+ #: inc/php/settings_page.php:285
214
  msgid "Enter the link to your RSS Feed"
215
  msgstr ""
216
 
217
+ #: inc/php/settings_page.php:289 inc/php/settings_page.php:371
218
  msgid "Save Changes"
219
  msgstr ""
220
 
221
+ #: inc/php/settings_page.php:294
222
  msgid "Display options"
223
  msgstr ""
224
 
225
+ #: inc/php/settings_page.php:299
226
  msgid "Show on Posts"
227
  msgstr ""
228
 
229
+ #: inc/php/settings_page.php:300
230
+ msgid "Display toolbar below content on Posts."
231
  msgstr ""
232
 
233
+ #: inc/php/settings_page.php:304
234
  msgid "Show on Pages"
235
  msgstr ""
236
 
237
+ #: inc/php/settings_page.php:305
238
+ msgid "Display toolbar below content on Pages."
239
+ msgstr ""
240
+
241
+ #: inc/php/settings_page.php:309
242
+ msgid "Open in new tab"
243
+ msgstr ""
244
+
245
+ #: inc/php/settings_page.php:310
246
+ msgid "Open link in a new tab/window."
247
+ msgstr ""
248
+
249
+ #: inc/php/settings_page.php:314
250
+ msgid "Tooltips"
251
  msgstr ""
252
 
253
+ #: inc/php/settings_page.php:315
254
+ msgid ""
255
+ "Enable/disable a tooltips with name of the social media above every button."
256
  msgstr ""
257
 
258
+ #: inc/php/settings_page.php:319
259
  msgid "Icon size"
260
  msgstr ""
261
 
262
+ #: inc/php/settings_page.php:320
263
  msgid "Enter the size of icons (in px) in your social media buttons toolbar."
264
  msgstr ""
265
 
266
+ #: inc/php/settings_page.php:326
267
+ msgid "Margin"
268
  msgstr ""
269
 
270
+ #: inc/php/settings_page.php:327
271
  msgid ""
272
  "Enter the size of space (in px) between icons in your social media buttons "
273
  "toolbar."
274
  msgstr ""
275
 
276
+ #: inc/php/settings_page.php:343
277
  msgid "Alignment"
278
  msgstr ""
279
 
280
+ #: inc/php/settings_page.php:349
281
  msgid "Left"
282
  msgstr ""
283
 
284
+ #: inc/php/settings_page.php:353
285
  msgid "Center"
286
  msgstr ""
287
 
288
+ #: inc/php/settings_page.php:357
289
  msgid "Right"
290
  msgstr ""
291
 
292
+ #: inc/php/settings_page.php:364
293
  msgid "Caption"
294
  msgstr ""
295
 
296
+ #: inc/php/settings_page.php:365
297
  msgid ""
298
  "Enter the caption to your social media buttons toolbar. It will be displays "
299
  "before the toolbar."
300
  msgstr ""
301
 
302
+ #: inc/php/settings_page.php:376
303
  msgid "Preview"
304
  msgstr ""
305
 
306
+ #: inc/php/settings_page.php:378
307
  msgid "Click \"Save Changes\" to update this preview."
308
  msgstr ""
309
 
310
+ #: inc/php/settings_page.php:384
311
  msgid "Using"
312
  msgstr ""
313
 
314
+ #: inc/php/settings_page.php:386
315
  msgid ""
316
  "You have several methods for display the social media buttons toolbar "
317
  "(further just \"toolbar\") on your website. But first, fill in the required "
318
  "fields, then click \"Save Changes\"."
319
  msgstr ""
320
 
321
+ #: inc/php/settings_page.php:387
322
  msgid ""
323
  "<b>A)</b> For display the toolbar below content on every Posts or/and Pages, "
324
  "just check the checkbox \"Show on Posts\" or/and \"Show on Pages\" in the "
325
  "section \"Display options\", then click \"Save Changes\". It's that simple!"
326
  msgstr ""
327
 
328
+ #: inc/php/settings_page.php:388
329
  msgid ""
330
  "<b>B)</b> For add the toolbar inside a post from WP Post/Page Editor use the "
331
  "following shortcode:"
332
  msgstr ""
333
 
334
+ #: inc/php/settings_page.php:390
335
  msgid ""
336
  "<b>C)</b> For add the toolbar to the widget area (in sidebar, footer etc.) "
337
  "use the \"Text\" widget and add inside it the following shortcode:"
338
  msgstr ""
339
 
340
+ #: inc/php/settings_page.php:392
341
  msgid ""
342
  "<b>D)</b> For add the toolbar directly to a theme files, just add one of the "
343
  "following code (both variants do the same) to needed place (where you want "
344
  "to display the toolbar) in your theme files:"
345
  msgstr ""
346
 
347
+ #: inc/php/settings_page.php:395
348
  msgid ""
349
  "It's that simple! If you want more options then tell me and I will be happy "
350
  "to add it."
351
  msgstr ""
352
 
353
+ #: social-media-buttons-toolbar.php:88
354
  msgid "Settings"
355
  msgstr ""
356
 
357
+ #: social-media-buttons-toolbar.php:120
358
  msgid "Social Buttons"
359
  msgstr ""
360
 
readme.txt CHANGED
@@ -1,10 +1,10 @@
1
  === Social Media Buttons Toolbar ===
2
  Contributors: Arthur Gareginyan
3
- Tags: icon, icon set, button, social, media, social button, social media, social network, follow, follow button, follow link, follow icon, follow me, toolbar, link to profile, facebook, twitter, instagram, google plus, youtube, vimeo, blogger, livejournal, linkedIn, pinterest, tumblr, snapchat, twitch, imdb, soundcloud, spotify, dloky, Goodreads, meetvibe, steam, discord, yelp, vkontakte, vk, vk.com, odnoklassniki, ok, ok.ru, telegram, github, wordpress, codepen, skype, personal website, email, rss feed, rss, feed,
4
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=8A88KC7TFF6CS
5
  Requires at least: 3.9
6
  Tested up to: 4.7
7
- Stable tag: 3.13
8
  License: GPL3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -26,6 +26,7 @@ It give you finer control over buttons. You can configure they on plugins settin
26
  * [Some icons](https://www.iconfinder.com/iconsets/square-logo-buttons?ref=ArthurGareginyan) by [Arthur Gareginyan](http://www.arthurgareginyan.com)
27
  * Plugin settings page with many settings
28
  * Preview on plugin settings page
 
29
  * Shortcode for add social media buttons from Post/Page Editor
30
  * PHP/HTML code for add social media buttons directly in your theme files
31
  * Ready for translation (POT file included)
@@ -52,6 +53,7 @@ It give you finer control over buttons. You can configure they on plugins settin
52
  * Dloky
53
  * Goodreads
54
  * MeetVibe
 
55
  * Steam
56
  * Discord
57
  * Yelp
@@ -107,17 +109,17 @@ Install "Social Media Buttons Toolbar" just as you would any other WordPress Plu
107
 
108
  Automatically via WordPress:
109
 
110
- 1. Log into Dashboard of your WordPress website.
111
  2. Go to "`Plugins`" —> "`Add New`".
112
  3. Find this plugin and click install.
113
  4. Activate this plugin through the "`Plugins`" tab.
114
 
115
- Manual via FTP:
116
 
117
  1. Download a copy (ZIP file) of this plugin from WordPress.org.
118
  2. Unzip the ZIP file.
119
  3. Upload the unzipped catalog to your website's plugin directory (`/wp-content/plugins/`).
120
- 4. Log into Dashboard of your WordPress website.
121
  5. Activate this plugin through the "`Plugins`" tab.
122
 
123
  After installation, a "`Social Buttons`" menu item will appear in the "`Settings`" section. Click on this in order to view plugin's administration page.
@@ -162,7 +164,8 @@ A. Yes, any financial contributions are welcome! Just visit my website and click
162
  4. Social Media Buttons Toolbar displayed in the footer using a shortcode in text widget (Anarcho Notepad theme).
163
  5. Social Media Buttons Toolbar displayed in the footer using a simple call the function directly from theme file (vCard theme).
164
  6. Shortcode placed in the Text Widget.
165
- 7. All buttons.
 
166
 
167
 
168
  == Other Notes ==
@@ -178,7 +181,7 @@ Commercial licensing (e.g. for projects that can’t use an open-source license)
178
 
179
  Icon set [Social Buttons 2](https://www.iconfinder.com/iconsets/social-buttons-2?ref=ArthurGareginyan) by Ivlichev Victor Petrovich and licensed under the [Creative Commons (Attribution 3.0 Unported)](http://creativecommons.org/licenses/by/3.0/).
180
 
181
- Icons [meetvibe.png](https://www.iconfinder.com/iconsets/meetvibe?ref=ArthurGareginyan), [imdb.png, dloky.png, snapchat.png, steam.png, discord.png, twitch.png and goodreads.png](https://www.iconfinder.com/iconsets/square-logo-buttons?ref=ArthurGareginyan) by [Arthur Gareginyan](http://www.arthurgareginyan.com) and licensed under the [Creative Commons (Attribution 3.0 Unported)](http://creativecommons.org/licenses/by/3.0/).
182
 
183
  [Bootstrap](http://getbootstrap.com) released under the [MIT license](https://github.com/twbs/bootstrap/blob/master/LICENSE).
184
 
@@ -190,20 +193,24 @@ Icons [meetvibe.png](https://www.iconfinder.com/iconsets/meetvibe?ref=ArthurGare
190
  * [Dedicated Plugin Page on GitHub](https://github.com/ArthurGareginyan/social-media-buttons-toolbar)
191
 
192
  == Changelog ==
 
 
 
 
193
  = 3.13 =
194
- * Added option for Yelp button.
195
  = 3.12 =
196
- * Added option for Goodreads button.
197
  * Social media icons more optimized. Weight is reduced by 50%.
198
  * Links on the settings page cleared from http and https.
199
  * Added additional donate link on the Plugins page.
200
  = 3.11 =
201
- * Added option for Steam button.
202
- * Added option for Discord button.
203
  = 3.10 =
204
- * Added option for Twitch button.
205
  = 3.9 =
206
- * Added option for Dloky button.
207
  * Image of the donate button changed.
208
  = 3.8.2 =
209
  * Added some CSS code in order to fix compatibility issues with some themes.
@@ -212,19 +219,19 @@ Icons [meetvibe.png](https://www.iconfinder.com/iconsets/meetvibe?ref=ArthurGare
212
  * Fixed error "Use of undefined constant SSTOPB_TEXT...".
213
  * Readme for translations updated.
214
  = 3.8 =
215
- * Added option for IMDb button.
216
  * Added CSS fix for compatibility with some themes.
217
  = 3.7 =
218
- * Added option for Vimeo button.
219
  * Translations updated.
220
  * Ad banner replaced with new.
221
  = 3.6 =
222
- * Added option for Snapchat button.
223
  = 3.5 =
224
  * Added Spanish translation. (Thanks [Ramiro Garcés](http://www.ramirogarces.com.ve/))
225
  = 3.4 =
226
- * Added option for SoundCloud button.
227
- * Added option for Spotify button.
228
  * Improved examples in the fields on the settings page.
229
  * POT file updated.
230
  * Russian translation updated.
@@ -233,7 +240,7 @@ Icons [meetvibe.png](https://www.iconfinder.com/iconsets/meetvibe?ref=ArthurGare
233
  * Added the Readme.txt file for translation contribution.
234
  * Added global constant for plugin text-domain.
235
  = 3.2 =
236
- * Added option for Skype button.
237
  * Ready for translation improved.
238
  * Texts on settings page improved.
239
  * Russian translation improved.
@@ -316,7 +323,3 @@ Please update to new release!
316
  Please update to new release!
317
  = 1.0 =
318
  Please update to first stable release!
319
- = 0.3 =
320
- Prerelease.
321
- = 0.2 =
322
- Please update to beta version.
1
  === Social Media Buttons Toolbar ===
2
  Contributors: Arthur Gareginyan
3
+ Tags: icon, icon set, button, social, media, social button, social media, social network, follow, follow button, follow link, follow icon, follow me, toolbar, link to profile, facebook, twitter, instagram, google plus, youtube, vimeo, blogger, livejournal, linkedIn, pinterest, tumblr, snapchat, twitch, imdb, soundcloud, spotify, dloky, Goodreads, meetvibe, meetup, steam, discord, yelp, vkontakte, vk, vk.com, odnoklassniki, ok, ok.ru, telegram, github, wordpress, codepen, skype, personal website, email, rss feed, rss, feed, tooltips, bootstrap tooltip,
4
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=8A88KC7TFF6CS
5
  Requires at least: 3.9
6
  Tested up to: 4.7
7
+ Stable tag: 3.14
8
  License: GPL3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
26
  * [Some icons](https://www.iconfinder.com/iconsets/square-logo-buttons?ref=ArthurGareginyan) by [Arthur Gareginyan](http://www.arthurgareginyan.com)
27
  * Plugin settings page with many settings
28
  * Preview on plugin settings page
29
+ * Bootstrap Tooltips with name of the social media above every button
30
  * Shortcode for add social media buttons from Post/Page Editor
31
  * PHP/HTML code for add social media buttons directly in your theme files
32
  * Ready for translation (POT file included)
53
  * Dloky
54
  * Goodreads
55
  * MeetVibe
56
+ * Meetup
57
  * Steam
58
  * Discord
59
  * Yelp
109
 
110
  Automatically via WordPress:
111
 
112
+ 1. Log into Admin area of your WordPress website.
113
  2. Go to "`Plugins`" —> "`Add New`".
114
  3. Find this plugin and click install.
115
  4. Activate this plugin through the "`Plugins`" tab.
116
 
117
+ Manually via FTP access:
118
 
119
  1. Download a copy (ZIP file) of this plugin from WordPress.org.
120
  2. Unzip the ZIP file.
121
  3. Upload the unzipped catalog to your website's plugin directory (`/wp-content/plugins/`).
122
+ 4. Log into Admin area of your WordPress website.
123
  5. Activate this plugin through the "`Plugins`" tab.
124
 
125
  After installation, a "`Social Buttons`" menu item will appear in the "`Settings`" section. Click on this in order to view plugin's administration page.
164
  4. Social Media Buttons Toolbar displayed in the footer using a shortcode in text widget (Anarcho Notepad theme).
165
  5. Social Media Buttons Toolbar displayed in the footer using a simple call the function directly from theme file (vCard theme).
166
  6. Shortcode placed in the Text Widget.
167
+ 7. All buttons.
168
+ 8. Bootstrap tooltip with name of the social media displayed above button when you hover over the button.
169
 
170
 
171
  == Other Notes ==
181
 
182
  Icon set [Social Buttons 2](https://www.iconfinder.com/iconsets/social-buttons-2?ref=ArthurGareginyan) by Ivlichev Victor Petrovich and licensed under the [Creative Commons (Attribution 3.0 Unported)](http://creativecommons.org/licenses/by/3.0/).
183
 
184
+ Icons [meetvibe.png](https://www.iconfinder.com/iconsets/meetvibe?ref=ArthurGareginyan), [imdb.png, dloky.png, snapchat.png, steam.png, discord.png, twitch.png, goodreads.png and meetup.png](https://www.iconfinder.com/iconsets/square-logo-buttons?ref=ArthurGareginyan) by [Arthur Gareginyan](http://www.arthurgareginyan.com) and licensed under the [Creative Commons (Attribution 3.0 Unported)](http://creativecommons.org/licenses/by/3.0/).
185
 
186
  [Bootstrap](http://getbootstrap.com) released under the [MIT license](https://github.com/twbs/bootstrap/blob/master/LICENSE).
187
 
193
  * [Dedicated Plugin Page on GitHub](https://github.com/ArthurGareginyan/social-media-buttons-toolbar)
194
 
195
  == Changelog ==
196
+ = 3.14 =
197
+ * Added option for the Meetup button.
198
+ * Added option for the Bootstrap Tooltips.
199
+ * The position of the buttons relative to each other has improved. The "Margin right" option renamed to "Margin".
200
  = 3.13 =
201
+ * Added option for the Yelp button.
202
  = 3.12 =
203
+ * Added option for the Goodreads button.
204
  * Social media icons more optimized. Weight is reduced by 50%.
205
  * Links on the settings page cleared from http and https.
206
  * Added additional donate link on the Plugins page.
207
  = 3.11 =
208
+ * Added option for the Steam button.
209
+ * Added option for the Discord button.
210
  = 3.10 =
211
+ * Added option for the Twitch button.
212
  = 3.9 =
213
+ * Added option for the Dloky button.
214
  * Image of the donate button changed.
215
  = 3.8.2 =
216
  * Added some CSS code in order to fix compatibility issues with some themes.
219
  * Fixed error "Use of undefined constant SSTOPB_TEXT...".
220
  * Readme for translations updated.
221
  = 3.8 =
222
+ * Added option for the IMDb button.
223
  * Added CSS fix for compatibility with some themes.
224
  = 3.7 =
225
+ * Added option for the Vimeo button.
226
  * Translations updated.
227
  * Ad banner replaced with new.
228
  = 3.6 =
229
+ * Added option for the Snapchat button.
230
  = 3.5 =
231
  * Added Spanish translation. (Thanks [Ramiro Garcés](http://www.ramirogarces.com.ve/))
232
  = 3.4 =
233
+ * Added option for the SoundCloud button.
234
+ * Added option for the Spotify button.
235
  * Improved examples in the fields on the settings page.
236
  * POT file updated.
237
  * Russian translation updated.
240
  * Added the Readme.txt file for translation contribution.
241
  * Added global constant for plugin text-domain.
242
  = 3.2 =
243
+ * Added option for the Skype button.
244
  * Ready for translation improved.
245
  * Texts on settings page improved.
246
  * Russian translation improved.
323
  Please update to new release!
324
  = 1.0 =
325
  Please update to first stable release!
 
 
 
 
social-media-buttons-toolbar.php CHANGED
@@ -5,7 +5,7 @@
5
  * Description: Easily add the smart toolbar with social media buttons (not share, only link to your profiles) to any place of your WordPress website.
6
  * Author: Arthur Gareginyan
7
  * Author URI: http://www.arthurgareginyan.com
8
- * Version: 3.13
9
  * License: GPL3
10
  * Text Domain: social-media-buttons-toolbar
11
  * Domain Path: /languages/
@@ -27,6 +27,21 @@
27
  * You should have received a copy of the GNU General Public License
28
  * along with "Social Media Buttons Toolbar". If not, see <http://www.gnu.org/licenses/>.
29
  *
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
30
  */
31
 
32
 
@@ -40,14 +55,14 @@ defined('ABSPATH') or die("Restricted access!");
40
  /**
41
  * Define global constants
42
  *
43
- * @since 3.13
44
  */
45
  defined('SMEDIABT_DIR') or define('SMEDIABT_DIR', dirname(plugin_basename(__FILE__)));
46
  defined('SMEDIABT_BASE') or define('SMEDIABT_BASE', plugin_basename(__FILE__));
47
  defined('SMEDIABT_URL') or define('SMEDIABT_URL', plugin_dir_url(__FILE__));
48
  defined('SMEDIABT_PATH') or define('SMEDIABT_PATH', plugin_dir_path(__FILE__));
49
  defined('SMEDIABT_TEXT') or define('SMEDIABT_TEXT', 'social-media-buttons-toolbar');
50
- defined('SMEDIABT_VERSION') or define('SMEDIABT_VERSION', '3.13');
51
 
52
  /**
53
  * Register text domain
@@ -116,7 +131,7 @@ require_once( SMEDIABT_PATH . 'inc/php/settings_page.php' );
116
  /**
117
  * Load scripts and style sheet for settings page
118
  *
119
- * @since 3.1
120
  */
121
  function smbtoolbar_load_scripts($hook) {
122
 
@@ -127,16 +142,16 @@ function smbtoolbar_load_scripts($hook) {
127
 
128
  // Style sheet
129
  wp_enqueue_style( 'smbtoolbar-admin-css', SMEDIABT_URL . 'inc/css/admin.css' );
130
- wp_enqueue_style( 'smbtoolbar-bootstrap', SMEDIABT_URL . 'inc/css/bootstrap.css' );
131
- wp_enqueue_style( 'smbtoolbar-bootstrap-theme', SMEDIABT_URL . 'inc/css/bootstrap-theme.css' );
132
 
133
  // JavaScript
134
  wp_enqueue_script( 'smbtoolbar-admin-js', SMEDIABT_URL . 'inc/js/admin.js', array(), false, true );
135
- wp_enqueue_script( 'smbtoolbar-bootstrap-checkbox', SMEDIABT_URL . 'inc/js/bootstrap-checkbox.min.js' );
136
 
137
  }
138
  add_action( 'admin_enqueue_scripts', 'smbtoolbar_load_scripts' );
139
-
140
  /**
141
  * Register settings
142
  *
@@ -256,7 +271,7 @@ function smbtoolbar_setting($name, $label, $help=null, $field=null, $placeholder
256
  /**
257
  * Generate the buttons toolbar
258
  *
259
- * @since 3.8.2
260
  */
261
  function smbtoolbar_tollbar() {
262
 
@@ -290,6 +305,13 @@ function smbtoolbar_tollbar() {
290
  $new_tab = '';
291
  }
292
 
 
 
 
 
 
 
 
293
  // Add a caption above of buttons
294
  $caption = esc_textarea( $options['caption'] );
295
  if (empty($caption)) {
@@ -311,7 +333,7 @@ function smbtoolbar_tollbar() {
311
  if (!empty($value)) {
312
  $icon = plugins_url( "inc/img/social-media-icons/$slag.png", __FILE__ );
313
  $metatags_arr[] = '<li>
314
- <a href="' . $value . '" title="' . $label . '" ' . $new_tab . '>
315
  <img src="' . $icon . '" alt="' . $label . '" />
316
  </a>
317
  </li>';
@@ -323,7 +345,8 @@ function smbtoolbar_tollbar() {
323
  $metatags_arr[] = '</ul>';
324
 
325
  // Add stylesheet for toolbar
326
- $styles = "<style>
 
327
  /*
328
  * WP plugin 'Social Media Buttons Toolbar'
329
  * by Arthur Gareginyan http://www.arthurgareginyan.com
@@ -348,17 +371,36 @@ function smbtoolbar_tollbar() {
348
  .smbt-social-icons li img {
349
  width: " . $icon_size . "px !important;
350
  height: " . $icon_size . "px !important;
351
- margin-right: " . $margin_right . "px !important;
352
- }
353
- </style>";
354
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
355
  if ( count( $metatags_arr ) > 0 ) {
356
  array_unshift( $metatags_arr, $caption );
357
- array_push( $metatags_arr, $styles );
 
358
  }
359
 
360
  // Return the content of array
361
  return $metatags_arr;
 
362
  }
363
 
364
  /**
5
  * Description: Easily add the smart toolbar with social media buttons (not share, only link to your profiles) to any place of your WordPress website.
6
  * Author: Arthur Gareginyan
7
  * Author URI: http://www.arthurgareginyan.com
8
+ * Version: 3.14
9
  * License: GPL3
10
  * Text Domain: social-media-buttons-toolbar
11
  * Domain Path: /languages/
27
  * You should have received a copy of the GNU General Public License
28
  * along with "Social Media Buttons Toolbar". If not, see <http://www.gnu.org/licenses/>.
29
  *
30
+ *
31
+ * █████╗ ██████╗ ████████╗██╗ ██╗██╗ ██╗██████╗
32
+ * ██╔══██╗██╔══██╗╚══██╔══╝██║ ██║██║ ██║██╔══██╗
33
+ * ███████║██████╔╝ ██║ ███████║██║ ██║██████╔╝
34
+ * ██╔══██║██╔══██╗ ██║ ██╔══██║██║ ██║██╔══██╗
35
+ * ██║ ██║██║ ██║ ██║ ██║ ██║╚██████╔╝██║ ██║
36
+ * ╚═╝ ╚═╝╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝
37
+ *
38
+ * ██████╗ █████╗ ██████╗ ███████╗ ██████╗ ██╗███╗ ██╗██╗ ██╗ █████╗ ███╗ ██╗
39
+ * ██╔════╝ ██╔══██╗██╔══██╗██╔════╝██╔════╝ ██║████╗ ██║╚██╗ ██╔╝██╔══██╗████╗ ██║
40
+ * ██║ ███╗███████║██████╔╝█████╗ ██║ ███╗██║██╔██╗ ██║ ╚████╔╝ ███████║██╔██╗ ██║
41
+ * ██║ ██║██╔══██║██╔══██╗██╔══╝ ██║ ██║██║██║╚██╗██║ ╚██╔╝ ██╔══██║██║╚██╗██║
42
+ * ╚██████╔╝██║ ██║██║ ██║███████╗╚██████╔╝██║██║ ╚████║ ██║ ██║ ██║██║ ╚████║
43
+ * ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝ ╚═════╝ ╚═╝╚═╝ ╚═══╝ ╚═╝ ╚═╝ ╚═╝╚═╝ ╚═══╝
44
+ *
45
  */
46
 
47
 
55
  /**
56
  * Define global constants
57
  *
58
+ * @since 3.14
59
  */
60
  defined('SMEDIABT_DIR') or define('SMEDIABT_DIR', dirname(plugin_basename(__FILE__)));
61
  defined('SMEDIABT_BASE') or define('SMEDIABT_BASE', plugin_basename(__FILE__));
62
  defined('SMEDIABT_URL') or define('SMEDIABT_URL', plugin_dir_url(__FILE__));
63
  defined('SMEDIABT_PATH') or define('SMEDIABT_PATH', plugin_dir_path(__FILE__));
64
  defined('SMEDIABT_TEXT') or define('SMEDIABT_TEXT', 'social-media-buttons-toolbar');
65
+ defined('SMEDIABT_VERSION') or define('SMEDIABT_VERSION', '3.14');
66
 
67
  /**
68
  * Register text domain
131
  /**
132
  * Load scripts and style sheet for settings page
133
  *
134
+ * @since 3.14
135
  */
136
  function smbtoolbar_load_scripts($hook) {
137
 
142
 
143
  // Style sheet
144
  wp_enqueue_style( 'smbtoolbar-admin-css', SMEDIABT_URL . 'inc/css/admin.css' );
145
+ wp_enqueue_style( 'smbtoolbar-bootstrap-css', SMEDIABT_URL . 'inc/css/bootstrap.css' );
146
+ wp_enqueue_style( 'smbtoolbar-bootstrap-theme-css', SMEDIABT_URL . 'inc/css/bootstrap-theme.css' );
147
 
148
  // JavaScript
149
  wp_enqueue_script( 'smbtoolbar-admin-js', SMEDIABT_URL . 'inc/js/admin.js', array(), false, true );
150
+ wp_enqueue_script( 'smbtoolbar-bootstrap-checkbox-js', SMEDIABT_URL . 'inc/js/bootstrap-checkbox.min.js' );
151
 
152
  }
153
  add_action( 'admin_enqueue_scripts', 'smbtoolbar_load_scripts' );
154
+
155
  /**
156
  * Register settings
157
  *
271
  /**
272
  * Generate the buttons toolbar
273
  *
274
+ * @since 3.14
275
  */
276
  function smbtoolbar_tollbar() {
277
 
305
  $new_tab = '';
306
  }
307
 
308
+ // Enable Tolltips
309
+ if (!empty($options['tooltips'])) {
310
+ $tooltips = 'data-toggle="tooltip"';
311
+ } else {
312
+ $tooltips = '';
313
+ }
314
+
315
  // Add a caption above of buttons
316
  $caption = esc_textarea( $options['caption'] );
317
  if (empty($caption)) {
333
  if (!empty($value)) {
334
  $icon = plugins_url( "inc/img/social-media-icons/$slag.png", __FILE__ );
335
  $metatags_arr[] = '<li>
336
+ <a href="' . $value . '" ' . $tooltips . ' title="' . $label . '" ' . $new_tab . '>
337
  <img src="' . $icon . '" alt="' . $label . '" />
338
  </a>
339
  </li>';
345
  $metatags_arr[] = '</ul>';
346
 
347
  // Add stylesheet for toolbar
348
+ $tooltip_css = file_get_contents( SMEDIABT_URL . 'inc/css/bootstrap-tooltip.css' );
349
+ $css = "<style>
350
  /*
351
  * WP plugin 'Social Media Buttons Toolbar'
352
  * by Arthur Gareginyan http://www.arthurgareginyan.com
371
  .smbt-social-icons li img {
372
  width: " . $icon_size . "px !important;
373
  height: " . $icon_size . "px !important;
374
+ margin: " . ( $margin_right / 2 ) . "px !important;
375
+ vertical-align: top;
376
+ }"
377
+ . $tooltip_css .
378
+ "</style>";
379
+
380
+ // Add script for toolbar
381
+ if (!empty($options['tooltips'])) {
382
+ $tooltip_js = file_get_contents( SMEDIABT_URL . 'inc/js/bootstrap-tooltip.js' );
383
+ $js = "<script type='text/javascript'>"
384
+ . $tooltip_js .
385
+
386
+ "jQuery(document).ready(function($) {
387
+ // Enable Bootstrap Tooltips
388
+ $('[data-toggle=\"tooltip\"]').tooltip();
389
+ });
390
+ </script>";
391
+ } else {
392
+ $js = '';
393
+ }
394
+
395
  if ( count( $metatags_arr ) > 0 ) {
396
  array_unshift( $metatags_arr, $caption );
397
+ array_push( $metatags_arr, $css );
398
+ array_push( $metatags_arr, $js );
399
  }
400
 
401
  // Return the content of array
402
  return $metatags_arr;
403
+
404
  }
405
 
406
  /**