Version Description
- 09.03.2018 =
- NEW : Ability to change buttons align has been added.
- NEW : Ability to change Facebook App ID has been added.
Download this release
Release Info
Developer | bestwebsoft |
Plugin | Facebook Button by BestWebSoft |
Version | 2.57 |
Comparing to | |
See all releases |
Code changes from version 2.56 to 2.57
- css/style.css +96 -5
- facebook-button-plugin.php +49 -31
- includes/class-fcbkbttn-settings.php +78 -43
- js/admin-script.js +73 -0
- js/script.js +14 -67
- languages/facebook-button-plugin-ru_RU.mo +0 -0
- languages/facebook-button-plugin-ru_RU.po +131 -81
- languages/facebook-button-plugin-uk.mo +0 -0
- languages/facebook-button-plugin-uk.po +130 -80
- readme.txt +20 -7
- screenshot-1.png +0 -0
- screenshot-2.png +0 -0
- screenshot-3.png +0 -0
css/style.css
CHANGED
@@ -1,11 +1,11 @@
|
|
1 |
/*
|
2 |
* Plugin styles
|
3 |
*/
|
4 |
-
.
|
5 |
clear: both;
|
6 |
line-height: 1;
|
7 |
}
|
8 |
-
.
|
9 |
vertical-align: top;
|
10 |
}
|
11 |
.fcbkbttn_button {
|
@@ -36,7 +36,7 @@
|
|
36 |
.fcbkbttn_button a img {
|
37 |
display: inline-block !important;
|
38 |
}
|
39 |
-
.
|
40 |
.fcbkbttn_like .fb_iframe_widget span {
|
41 |
vertical-align: top !important;
|
42 |
}
|
@@ -46,8 +46,99 @@
|
|
46 |
.fcbkbttn_pro_block {
|
47 |
max-width: 100%;
|
48 |
}
|
49 |
-
|
50 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
51 |
margin-top: 20px;
|
52 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
53 |
}
|
1 |
/*
|
2 |
* Plugin styles
|
3 |
*/
|
4 |
+
.fcbkbttn_buttons_block {
|
5 |
clear: both;
|
6 |
line-height: 1;
|
7 |
}
|
8 |
+
.fcbkbttn_buttons_block * {
|
9 |
vertical-align: top;
|
10 |
}
|
11 |
.fcbkbttn_button {
|
36 |
.fcbkbttn_button a img {
|
37 |
display: inline-block !important;
|
38 |
}
|
39 |
+
.fcbkbttn_buttons_block img,
|
40 |
.fcbkbttn_like .fb_iframe_widget span {
|
41 |
vertical-align: top !important;
|
42 |
}
|
46 |
.fcbkbttn_pro_block {
|
47 |
max-width: 100%;
|
48 |
}
|
49 |
+
#fcbkbttn_right {
|
50 |
+
text-align: right;
|
51 |
+
}
|
52 |
+
#fcbkbttn_middle {
|
53 |
+
text-align: center;
|
54 |
+
}
|
55 |
+
#fcbkbttn_left {
|
56 |
+
text-align: left;
|
57 |
+
}
|
58 |
+
.fb-share-button.fb_iframe_widget.fb_iframe_widget_fluid span {
|
59 |
+
top: -4px;
|
60 |
+
}
|
61 |
+
.fb-share-button.fb_iframe_widget.fb_iframe_widget_fluid {
|
62 |
+
display: inline-block !important;
|
63 |
+
margin-bottom: 10px;
|
64 |
+
top: 4px;
|
65 |
+
}
|
66 |
+
|
67 |
+
@media screen and ( max-width: 1070px ) {
|
68 |
+
.fb-share-button.fb_iframe_widget.fb_iframe_widget_fluid span {
|
69 |
+
top: -4px;
|
70 |
+
}
|
71 |
+
.fb-share-button.fb_iframe_widget.fb_iframe_widget_fluid {
|
72 |
+
display: inline-block !important;
|
73 |
+
margin-bottom: 10px;
|
74 |
+
top: 4px;
|
75 |
+
}
|
76 |
+
}
|
77 |
+
|
78 |
+
@media screen and ( max-width: 990px ) {
|
79 |
+
.fb-share-button.fb_iframe_widget.fb_iframe_widget_fluid span {
|
80 |
+
top: -4px;
|
81 |
+
}
|
82 |
+
.fb-share-button.fb_iframe_widget.fb_iframe_widget_fluid {
|
83 |
+
display: inline-block !important;
|
84 |
+
margin-bottom: 10px;
|
85 |
+
top: 4px;
|
86 |
+
}
|
87 |
+
}
|
88 |
+
|
89 |
+
@media screen and ( max-width: 768px ) {
|
90 |
+
.fb-share-button.fb_iframe_widget.fb_iframe_widget_fluid span {
|
91 |
+
top: -4px;
|
92 |
+
}
|
93 |
+
.fb-share-button.fb_iframe_widget.fb_iframe_widget_fluid {
|
94 |
+
display: inline-block !important;
|
95 |
+
margin-bottom: 10px;
|
96 |
+
top: 4px;
|
97 |
+
}
|
98 |
+
}
|
99 |
+
|
100 |
+
@media screen and ( max-width: 505px ) {
|
101 |
+
.fb-share-button.fb_iframe_widget.fb_iframe_widget_fluid span {
|
102 |
+
top: -4px;
|
103 |
+
}
|
104 |
+
.fb-share-button.fb_iframe_widget.fb_iframe_widget_fluid {
|
105 |
+
display: inline-block !important;
|
106 |
+
margin-bottom: 10px;
|
107 |
+
top: 4px;
|
108 |
+
}
|
109 |
+
}
|
110 |
+
|
111 |
+
@media screen and ( max-width: 482px ) {
|
112 |
+
.fcbkbttn_button,
|
113 |
+
.fcbkbttn_like {
|
114 |
+
display: block;
|
115 |
+
}
|
116 |
+
#fcbkbttn_right .fcbkbttn_like {
|
117 |
+
margin-right: 0px !important;
|
118 |
+
}
|
119 |
+
#fcbkbttn_right .fcbkbttn_like.fcbkbttn_large_button,
|
120 |
+
.fcbkbttn_button {
|
121 |
+
margin-right: 0px !important;
|
122 |
+
}
|
123 |
+
}
|
124 |
+
|
125 |
+
@media screen and ( max-width: 386px ) {
|
126 |
+
.fcbkbttn_buttons_block {
|
127 |
margin-top: 20px;
|
128 |
}
|
129 |
+
.fb-share-button.fb_iframe_widget.fb_iframe_widget_fluid span {
|
130 |
+
top: -4px;
|
131 |
+
}
|
132 |
+
.fb-share-button.fb_iframe_widget.fb_iframe_widget_fluid {
|
133 |
+
display: inline-block !important;
|
134 |
+
margin-bottom: 10px;
|
135 |
+
top: 4px;
|
136 |
+
}
|
137 |
+
#fcbkbttn_right .fcbkbttn_like {
|
138 |
+
margin-right: 0px !important;
|
139 |
+
}
|
140 |
+
#fcbkbttn_right .fcbkbttn_like.fcbkbttn_large_button,
|
141 |
+
.fcbkbttn_button {
|
142 |
+
margin-right: 0px !important;
|
143 |
+
}
|
144 |
}
|
facebook-button-plugin.php
CHANGED
@@ -6,7 +6,7 @@ Description: Add Facebook Like, Share and Profile buttons to WordPress posts, pa
|
|
6 |
Author: BestWebSoft
|
7 |
Text Domain: facebook-button-plugin
|
8 |
Domain Path: /languages
|
9 |
-
Version: 2.
|
10 |
Author URI: https://bestwebsoft.com/
|
11 |
License: GPLv2 or later
|
12 |
*/
|
@@ -14,18 +14,18 @@ require_once( dirname( __FILE__ ) . '/includes/deprecated.php' );
|
|
14 |
|
15 |
/* Copyright 2017 BestWebSoft ( https://support.bestwebsoft.com )
|
16 |
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
*/
|
30 |
|
31 |
/* Add menu pages */
|
@@ -83,7 +83,6 @@ if ( ! function_exists( 'fcbkbttn_init' ) ) {
|
|
83 |
|
84 |
if ( ! is_admin() ) {
|
85 |
add_filter( 'the_content', 'fcbkbttn_display_button' );
|
86 |
-
|
87 |
if ( isset( $fcbkbttn_options['display_for_excerpt'] ) && ! empty( $fcbkbttn_options['display_for_excerpt'] ) ) {
|
88 |
add_filter( 'the_excerpt', 'fcbkbttn_display_button' );
|
89 |
}
|
@@ -106,6 +105,7 @@ if ( ! function_exists( 'fcbkbttn_admin_init' ) ) {
|
|
106 |
|
107 |
/* add Facebook to global $bws_shortcode_list */
|
108 |
$bws_shortcode_list['fcbkbttn'] = array( 'name' => 'Facebook Button' );
|
|
|
109 |
}
|
110 |
}
|
111 |
/* end fcbkbttn_admin_init */
|
@@ -125,12 +125,12 @@ if ( ! function_exists( 'fcbkbttn_settings' ) ) {
|
|
125 |
|
126 |
if ( ! isset( $fcbkbttn_options['plugin_option_version'] ) || $fcbkbttn_options['plugin_option_version'] != $fcbkbttn_plugin_info["Version"] ) {
|
127 |
/**
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
if (
|
132 |
isset( $fcbkbttn_options['plugin_option_version'] ) &&
|
133 |
-
version_compare( $fcbkbttn_options['plugin_option_version'] , '2.
|
134 |
function_exists( 'fcbkbttn_update_options' )
|
135 |
) {
|
136 |
fcbkbttn_update_options();
|
@@ -143,6 +143,7 @@ if ( ! function_exists( 'fcbkbttn_settings' ) ) {
|
|
143 |
$options_default = fcbkbttn_get_options_default();
|
144 |
$fcbkbttn_options = array_merge( $options_default, $fcbkbttn_options );
|
145 |
$fcbkbttn_options['plugin_option_version'] = $fcbkbttn_plugin_info["Version"];
|
|
|
146 |
update_option( 'fcbkbttn_options', $fcbkbttn_options );
|
147 |
}
|
148 |
}
|
@@ -166,7 +167,7 @@ if ( ! function_exists( 'fcbkbttn_get_options_default' ) ) {
|
|
166 |
'color_scheme' => 'light',
|
167 |
'share' => 0,
|
168 |
'faces' => 0,
|
169 |
-
'width' =>
|
170 |
'size' => 'small',
|
171 |
'where' => array( 'before' ),
|
172 |
'display_option' => 'standard',
|
@@ -176,15 +177,17 @@ if ( ! function_exists( 'fcbkbttn_get_options_default' ) ) {
|
|
176 |
'locale' => 'en_US',
|
177 |
'html5' => 0,
|
178 |
'use_multilanguage_locale' => 0,
|
179 |
-
'display_for_excerpt' => 0
|
|
|
|
|
180 |
);
|
181 |
return $options_default;
|
182 |
}
|
183 |
}
|
184 |
|
185 |
/**
|
186 |
-
|
187 |
-
|
188 |
if ( ! function_exists( 'fcbkbttn_plugin_activate' ) ) {
|
189 |
function fcbkbttn_plugin_activate() {
|
190 |
/* registering uninstall hook */
|
@@ -205,7 +208,11 @@ if ( ! function_exists( 'fcbkbttn_settings_page' ) ) {
|
|
205 |
$page = new Fcbkbttn_Settings_Tabs( plugin_basename( __FILE__ ) ); ?>
|
206 |
<div class="wrap">
|
207 |
<h1><?php _e( 'Facebook Button Settings', 'facebook-button-plugin' ); ?></h1>
|
208 |
-
<noscript
|
|
|
|
|
|
|
|
|
209 |
<?php $page->display_content(); ?>
|
210 |
</div>
|
211 |
<?php }
|
@@ -220,8 +227,18 @@ if ( ! function_exists( 'fcbkbttn_button' ) ) {
|
|
220 |
$permalink_post = get_permalink( $post->ID );
|
221 |
}
|
222 |
|
223 |
-
$
|
|
|
|
|
|
|
224 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
225 |
if ( ! empty( $fcbkbttn_options['my_page'] ) ) {
|
226 |
$button .= '<div class="fcbkbttn_button">
|
227 |
<a href="https://www.facebook.com/' . $fcbkbttn_options['link'] . '" target="_blank">
|
@@ -231,7 +248,7 @@ if ( ! function_exists( 'fcbkbttn_button' ) ) {
|
|
231 |
}
|
232 |
|
233 |
if ( ! empty( $fcbkbttn_options['like'] ) ) {
|
234 |
-
$button .= '<div class="fcbkbttn_like">';
|
235 |
|
236 |
if ( ! empty( $fcbkbttn_options['html5'] ) ) {
|
237 |
$button .= '<div class="fb-like fb-like-'. $fcbkbttn_options['layout_like_option'] .'" data-href="' . $permalink_post . '" data-colorscheme="' . $fcbkbttn_options['color_scheme'] . '" data-layout="' . $fcbkbttn_options['layout_like_option'] . '" data-action="' . $fcbkbttn_options['like_action'] . '" ';
|
@@ -253,7 +270,7 @@ if ( ! function_exists( 'fcbkbttn_button' ) ) {
|
|
253 |
}
|
254 |
}
|
255 |
if ( ! empty( $fcbkbttn_options['share'] ) ){
|
256 |
-
$button .= '<div class="fb-share-button" data-href="' . $permalink_post . '" data-type="' . $fcbkbttn_options['layout_share_option'] . '" data-size="' . $fcbkbttn_options['size'] . '"></div>';
|
257 |
}
|
258 |
|
259 |
$button .= '</div>';
|
@@ -344,7 +361,6 @@ if ( ! function_exists( 'fcbkbttn_meta' ) ) {
|
|
344 |
if ( ! function_exists( 'fcbkbttn_get_locale' ) ) {
|
345 |
function fcbkbttn_get_locale() {
|
346 |
global $fcbkbttn_options, $fcbkbttn_lang_codes, $mltlngg_current_language;
|
347 |
-
|
348 |
if ( ! empty( $fcbkbttn_options['use_multilanguage_locale'] ) && isset( $mltlngg_current_language ) ) {
|
349 |
if ( array_key_exists( $mltlngg_current_language, $fcbkbttn_lang_codes ) ) {
|
350 |
$fcbkbttn_locale = $mltlngg_current_language;
|
@@ -374,15 +390,18 @@ if ( ! function_exists( 'fcbkbttn_get_locale' ) ) {
|
|
374 |
if ( ! function_exists( 'fcbkbttn_footer_script' ) ) {
|
375 |
function fcbkbttn_footer_script() {
|
376 |
global $fcbkbttn_options, $fcbkbttn_shortcode_add_script;
|
|
|
377 |
if ( isset( $fcbkbttn_shortcode_add_script ) ||
|
378 |
( ( ! empty( $fcbkbttn_options['like'] ) || ! empty( $fcbkbttn_options['share'] ) ) && ! empty( $fcbkbttn_options['where'] ) )
|
379 |
|| defined( 'BWS_ENQUEUE_ALL_SCRIPTS' ) ) { ?>
|
380 |
<div id="fb-root"></div>
|
381 |
<script>(function(d, s, id) {
|
382 |
-
var js, fjs = d.getElementsByTagName(s)[0];
|
|
|
383 |
if (d.getElementById(id)) return;
|
384 |
js = d.createElement(s); js.id = id;
|
385 |
-
|
|
|
386 |
fjs.parentNode.insertBefore(js, fjs);
|
387 |
}(document, 'script', 'facebook-jssdk'));
|
388 |
</script>
|
@@ -402,10 +421,11 @@ if ( ! function_exists( 'fcbkbttn_enqueue_scripts' ) ) {
|
|
402 |
if ( isset( $_GET['page'] ) && ( "facebook-button-plugin.php" == $_GET['page'] || "social-buttons.php" == $_GET['page'] ) ) {
|
403 |
bws_enqueue_settings_scripts();
|
404 |
bws_plugins_include_codemirror();
|
405 |
-
wp_enqueue_script( 'fcbkbttn_script', plugins_url( 'js/script.js', __FILE__ ), array( 'jquery' ) );
|
406 |
wp_enqueue_style( 'fcbkbttn_stylesheet', plugins_url( 'css/style.css', __FILE__ ) );
|
407 |
} elseif ( ! is_admin() ) {
|
408 |
wp_enqueue_style( 'fcbkbttn_stylesheet', plugins_url( 'css/style.css', __FILE__ ) );
|
|
|
409 |
}
|
410 |
}
|
411 |
}
|
@@ -503,7 +523,6 @@ if ( ! function_exists( 'fcbkbttn_delete_options' ) ) {
|
|
503 |
@rmdir( $fcbkbttn_cstm_mg_folder );
|
504 |
}
|
505 |
|
506 |
-
|
507 |
if ( function_exists( 'is_multisite' ) && is_multisite() ) {
|
508 |
global $wpdb;
|
509 |
$old_blog = $wpdb->blogid;
|
@@ -532,7 +551,6 @@ add_action( 'admin_menu', 'fcbkbttn_admin_menu' );
|
|
532 |
add_action( 'plugins_loaded', 'fcbkbttn_plugins_loaded' );
|
533 |
add_action( 'init', 'fcbkbttn_init' );
|
534 |
add_action( 'admin_init', 'fcbkbttn_admin_init' );
|
535 |
-
|
536 |
/* Adding stylesheets */
|
537 |
add_action( 'wp_enqueue_scripts', 'fcbkbttn_enqueue_scripts' );
|
538 |
add_action( 'admin_enqueue_scripts', 'fcbkbttn_enqueue_scripts' );
|
@@ -548,4 +566,4 @@ add_filter( 'bws_shortcode_button_content', 'fcbkbttn_shortcode_button_content'
|
|
548 |
add_filter( 'plugin_action_links', 'fcbkbttn_action_links', 10, 2 );
|
549 |
add_filter( 'plugin_row_meta', 'fcbkbttn_links', 10, 2 );
|
550 |
/* Adding banner */
|
551 |
-
add_action( 'admin_notices', 'fcbkbttn_plugin_banner' );
|
6 |
Author: BestWebSoft
|
7 |
Text Domain: facebook-button-plugin
|
8 |
Domain Path: /languages
|
9 |
+
Version: 2.57
|
10 |
Author URI: https://bestwebsoft.com/
|
11 |
License: GPLv2 or later
|
12 |
*/
|
14 |
|
15 |
/* Copyright 2017 BestWebSoft ( https://support.bestwebsoft.com )
|
16 |
|
17 |
+
This program is free software; you can redistribute it and/or modify
|
18 |
+
it under the terms of the GNU General Public License, version 2, as
|
19 |
+
published by the Free Software Foundation.
|
20 |
|
21 |
+
This program is distributed in the hope that it will be useful,
|
22 |
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
23 |
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
24 |
+
GNU General Public License for more details.
|
25 |
|
26 |
+
You should have received a copy of the GNU General Public License
|
27 |
+
along with this program; if not, write to the Free Software
|
28 |
+
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
29 |
*/
|
30 |
|
31 |
/* Add menu pages */
|
83 |
|
84 |
if ( ! is_admin() ) {
|
85 |
add_filter( 'the_content', 'fcbkbttn_display_button' );
|
|
|
86 |
if ( isset( $fcbkbttn_options['display_for_excerpt'] ) && ! empty( $fcbkbttn_options['display_for_excerpt'] ) ) {
|
87 |
add_filter( 'the_excerpt', 'fcbkbttn_display_button' );
|
88 |
}
|
105 |
|
106 |
/* add Facebook to global $bws_shortcode_list */
|
107 |
$bws_shortcode_list['fcbkbttn'] = array( 'name' => 'Facebook Button' );
|
108 |
+
|
109 |
}
|
110 |
}
|
111 |
/* end fcbkbttn_admin_init */
|
125 |
|
126 |
if ( ! isset( $fcbkbttn_options['plugin_option_version'] ) || $fcbkbttn_options['plugin_option_version'] != $fcbkbttn_plugin_info["Version"] ) {
|
127 |
/**
|
128 |
+
* @deprecated since 2.57
|
129 |
+
* @todo remove after 20.04.2018
|
130 |
+
*/
|
131 |
if (
|
132 |
isset( $fcbkbttn_options['plugin_option_version'] ) &&
|
133 |
+
version_compare( $fcbkbttn_options['plugin_option_version'] , '2.57', '<' ) &&
|
134 |
function_exists( 'fcbkbttn_update_options' )
|
135 |
) {
|
136 |
fcbkbttn_update_options();
|
143 |
$options_default = fcbkbttn_get_options_default();
|
144 |
$fcbkbttn_options = array_merge( $options_default, $fcbkbttn_options );
|
145 |
$fcbkbttn_options['plugin_option_version'] = $fcbkbttn_plugin_info["Version"];
|
146 |
+
|
147 |
update_option( 'fcbkbttn_options', $fcbkbttn_options );
|
148 |
}
|
149 |
}
|
167 |
'color_scheme' => 'light',
|
168 |
'share' => 0,
|
169 |
'faces' => 0,
|
170 |
+
'width' => 225,
|
171 |
'size' => 'small',
|
172 |
'where' => array( 'before' ),
|
173 |
'display_option' => 'standard',
|
177 |
'locale' => 'en_US',
|
178 |
'html5' => 0,
|
179 |
'use_multilanguage_locale' => 0,
|
180 |
+
'display_for_excerpt' => 0,
|
181 |
+
'location' => 'left',
|
182 |
+
'id' => 1443946719181573
|
183 |
);
|
184 |
return $options_default;
|
185 |
}
|
186 |
}
|
187 |
|
188 |
/**
|
189 |
+
* Function for activation
|
190 |
+
*/
|
191 |
if ( ! function_exists( 'fcbkbttn_plugin_activate' ) ) {
|
192 |
function fcbkbttn_plugin_activate() {
|
193 |
/* registering uninstall hook */
|
208 |
$page = new Fcbkbttn_Settings_Tabs( plugin_basename( __FILE__ ) ); ?>
|
209 |
<div class="wrap">
|
210 |
<h1><?php _e( 'Facebook Button Settings', 'facebook-button-plugin' ); ?></h1>
|
211 |
+
<noscript>
|
212 |
+
<div class="error below-h2">
|
213 |
+
<p><strong><?php _e( "Please, enable JavaScript in your browser.", 'facebook-button-plugin' ); ?></strong></p>
|
214 |
+
</div>
|
215 |
+
</noscript>
|
216 |
<?php $page->display_content(); ?>
|
217 |
</div>
|
218 |
<?php }
|
227 |
$permalink_post = get_permalink( $post->ID );
|
228 |
}
|
229 |
|
230 |
+
$if_large = '';
|
231 |
+
if ( $fcbkbttn_options['size'] == 'large' ) {
|
232 |
+
$if_large = 'fcbkbttn_large_button';
|
233 |
+
}
|
234 |
|
235 |
+
if ( 'right' == $fcbkbttn_options['location'] ) {
|
236 |
+
$button = '<div class="fcbkbttn_buttons_block" id="fcbkbttn_right">';
|
237 |
+
} elseif ( 'middle' == $fcbkbttn_options['location'] ) {
|
238 |
+
$button = '<div class="fcbkbttn_buttons_block" id="fcbkbttn_middle">';
|
239 |
+
} elseif ( 'left' == $fcbkbttn_options['location'] ) {
|
240 |
+
$button = '<div class="fcbkbttn_buttons_block" id="fcbkbttn_left">';
|
241 |
+
}
|
242 |
if ( ! empty( $fcbkbttn_options['my_page'] ) ) {
|
243 |
$button .= '<div class="fcbkbttn_button">
|
244 |
<a href="https://www.facebook.com/' . $fcbkbttn_options['link'] . '" target="_blank">
|
248 |
}
|
249 |
|
250 |
if ( ! empty( $fcbkbttn_options['like'] ) ) {
|
251 |
+
$button .= '<div class="fcbkbttn_like ' . $if_large . '">';
|
252 |
|
253 |
if ( ! empty( $fcbkbttn_options['html5'] ) ) {
|
254 |
$button .= '<div class="fb-like fb-like-'. $fcbkbttn_options['layout_like_option'] .'" data-href="' . $permalink_post . '" data-colorscheme="' . $fcbkbttn_options['color_scheme'] . '" data-layout="' . $fcbkbttn_options['layout_like_option'] . '" data-action="' . $fcbkbttn_options['like_action'] . '" ';
|
270 |
}
|
271 |
}
|
272 |
if ( ! empty( $fcbkbttn_options['share'] ) ){
|
273 |
+
$button .= '<div class="fb-share-button ' . $if_large . ' " data-href="' . $permalink_post . '" data-type="' . $fcbkbttn_options['layout_share_option'] . '" data-size="' . $fcbkbttn_options['size'] . '"></div>';
|
274 |
}
|
275 |
|
276 |
$button .= '</div>';
|
361 |
if ( ! function_exists( 'fcbkbttn_get_locale' ) ) {
|
362 |
function fcbkbttn_get_locale() {
|
363 |
global $fcbkbttn_options, $fcbkbttn_lang_codes, $mltlngg_current_language;
|
|
|
364 |
if ( ! empty( $fcbkbttn_options['use_multilanguage_locale'] ) && isset( $mltlngg_current_language ) ) {
|
365 |
if ( array_key_exists( $mltlngg_current_language, $fcbkbttn_lang_codes ) ) {
|
366 |
$fcbkbttn_locale = $mltlngg_current_language;
|
390 |
if ( ! function_exists( 'fcbkbttn_footer_script' ) ) {
|
391 |
function fcbkbttn_footer_script() {
|
392 |
global $fcbkbttn_options, $fcbkbttn_shortcode_add_script;
|
393 |
+
|
394 |
if ( isset( $fcbkbttn_shortcode_add_script ) ||
|
395 |
( ( ! empty( $fcbkbttn_options['like'] ) || ! empty( $fcbkbttn_options['share'] ) ) && ! empty( $fcbkbttn_options['where'] ) )
|
396 |
|| defined( 'BWS_ENQUEUE_ALL_SCRIPTS' ) ) { ?>
|
397 |
<div id="fb-root"></div>
|
398 |
<script>(function(d, s, id) {
|
399 |
+
var js, fjs = d.getElementsByTagName(s)[0];
|
400 |
+
|
401 |
if (d.getElementById(id)) return;
|
402 |
js = d.createElement(s); js.id = id;
|
403 |
+
|
404 |
+
js.src = "//connect.facebook.net/<?php echo fcbkbttn_get_locale(); ?>/sdk.js#xfbml=1&appId=<?php echo $fcbkbttn_options['id']; ?>&version=v2.57";
|
405 |
fjs.parentNode.insertBefore(js, fjs);
|
406 |
}(document, 'script', 'facebook-jssdk'));
|
407 |
</script>
|
421 |
if ( isset( $_GET['page'] ) && ( "facebook-button-plugin.php" == $_GET['page'] || "social-buttons.php" == $_GET['page'] ) ) {
|
422 |
bws_enqueue_settings_scripts();
|
423 |
bws_plugins_include_codemirror();
|
424 |
+
wp_enqueue_script( 'fcbkbttn_script', plugins_url( 'js/admin-script.js', __FILE__ ), array( 'jquery' ) );
|
425 |
wp_enqueue_style( 'fcbkbttn_stylesheet', plugins_url( 'css/style.css', __FILE__ ) );
|
426 |
} elseif ( ! is_admin() ) {
|
427 |
wp_enqueue_style( 'fcbkbttn_stylesheet', plugins_url( 'css/style.css', __FILE__ ) );
|
428 |
+
wp_enqueue_script( 'fcbkbttn_script', plugins_url( 'js/script.js', __FILE__ ), array( 'jquery' ) );
|
429 |
}
|
430 |
}
|
431 |
}
|
523 |
@rmdir( $fcbkbttn_cstm_mg_folder );
|
524 |
}
|
525 |
|
|
|
526 |
if ( function_exists( 'is_multisite' ) && is_multisite() ) {
|
527 |
global $wpdb;
|
528 |
$old_blog = $wpdb->blogid;
|
551 |
add_action( 'plugins_loaded', 'fcbkbttn_plugins_loaded' );
|
552 |
add_action( 'init', 'fcbkbttn_init' );
|
553 |
add_action( 'admin_init', 'fcbkbttn_admin_init' );
|
|
|
554 |
/* Adding stylesheets */
|
555 |
add_action( 'wp_enqueue_scripts', 'fcbkbttn_enqueue_scripts' );
|
556 |
add_action( 'admin_enqueue_scripts', 'fcbkbttn_enqueue_scripts' );
|
566 |
add_filter( 'plugin_action_links', 'fcbkbttn_action_links', 10, 2 );
|
567 |
add_filter( 'plugin_row_meta', 'fcbkbttn_links', 10, 2 );
|
568 |
/* Adding banner */
|
569 |
+
add_action( 'admin_notices', 'fcbkbttn_plugin_banner' );
|
includes/class-fcbkbttn-settings.php
CHANGED
@@ -1,21 +1,21 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
|
4 |
-
|
5 |
|
6 |
require_once( dirname( dirname( __FILE__ ) ) . '/bws_menu/class-bws-settings.php' );
|
7 |
|
8 |
if ( ! class_exists( 'Fcbkbttn_Settings_Tabs' ) ) {
|
9 |
class Fcbkbttn_Settings_Tabs extends Bws_Settings_Tabs {
|
10 |
/**
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
public function __construct( $plugin_basename ) {
|
20 |
global $fcbkbttn_options, $fcbkbttn_plugin_info;
|
21 |
|
@@ -49,20 +49,27 @@ if ( ! class_exists( 'Fcbkbttn_Settings_Tabs' ) ) {
|
|
49 |
}
|
50 |
|
51 |
/**
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
public function save_options() {
|
58 |
|
59 |
/* Takes all the changed settings on the plugin's admin page and saves them in array 'fcbkbttn_options'. */
|
|
|
|
|
|
|
|
|
|
|
|
|
60 |
$this->options['link'] = stripslashes( esc_html( $_REQUEST['fcbkbttn_link'] ) );
|
61 |
$this->options['link'] = str_replace( 'https://www.facebook.com/profile.php?id=', '', $this->options['link'] );
|
62 |
$this->options['link'] = str_replace( 'https://www.facebook.com/', '', $this->options['link'] );
|
63 |
|
64 |
$this->options['size'] = isset( $_REQUEST['fcbkbttn_size'] ) ? $_REQUEST['fcbkbttn_size'] : $this->options['size'];
|
65 |
$this->options['where'] = isset( $_REQUEST['fcbkbttn_where'] ) ? $_REQUEST['fcbkbttn_where'] : array();
|
|
|
66 |
$this->options['display_option'] = isset( $_REQUEST['fcbkbttn_display_option'] ) ? $_REQUEST['fcbkbttn_display_option'] : $this->options['display_option'];
|
67 |
|
68 |
if ( 'standard' == $this->options['display_option'] ) {
|
@@ -71,7 +78,7 @@ if ( ! class_exists( 'Fcbkbttn_Settings_Tabs' ) ) {
|
|
71 |
'large-facebook-ico' :
|
72 |
'standard-facebook-ico';
|
73 |
|
74 |
-
$this->options['fb_img_link']
|
75 |
}
|
76 |
|
77 |
$this->options['my_page'] = isset( $_REQUEST['fcbkbttn_my_page'] ) ? 1 : 0;
|
@@ -162,8 +169,8 @@ if ( ! class_exists( 'Fcbkbttn_Settings_Tabs' ) ) {
|
|
162 |
}
|
163 |
|
164 |
/**
|
165 |
-
|
166 |
-
|
167 |
public function tab_settings() {
|
168 |
global $fcbkbttn_lang_codes, $wp_version;
|
169 |
if ( ! $this->upload_dir ) {
|
@@ -177,10 +184,24 @@ if ( ! class_exists( 'Fcbkbttn_Settings_Tabs' ) ) {
|
|
177 |
$this->all_plugins = get_plugins();
|
178 |
} ?>
|
179 |
<h3 class="bws_tab_label"><?php _e( 'Facebook Button Settings', 'facebook-button-plugin' ); ?></h3>
|
180 |
-
<?php $this->help_phrase();
|
|
|
|
|
|
|
|
|
|
|
|
|
181 |
<hr>
|
182 |
<div class="bws_tab_sub_label"><?php _e( 'General', 'facebook-button-plugin' ); ?></div>
|
183 |
<table class="form-table">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
184 |
<tr>
|
185 |
<th scope="row"><?php _e( 'Buttons', 'facebook-button-plugin' ); ?></th>
|
186 |
<td>
|
@@ -208,7 +229,7 @@ if ( ! class_exists( 'Fcbkbttn_Settings_Tabs' ) ) {
|
|
208 |
<input type="checkbox" name="fcbkbttn_where[]" value="before" <?php checked( in_array( 'before', $this->options['where'] ) ); ?> />
|
209 |
<?php _e( 'Before content', 'facebook-button-plugin' ); ?></option>
|
210 |
</label>
|
211 |
-
<br
|
212 |
<label>
|
213 |
<input type="checkbox" name="fcbkbttn_where[]" value="after" <?php checked( in_array( 'after', $this->options['where'] ) ); ?> />
|
214 |
<?php _e( 'After content', 'facebook-button-plugin' ); ?></option>
|
@@ -216,6 +237,16 @@ if ( ! class_exists( 'Fcbkbttn_Settings_Tabs' ) ) {
|
|
216 |
</fieldset>
|
217 |
</td>
|
218 |
</tr>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
219 |
<tr>
|
220 |
<th><?php _e( 'Language', 'facebook-button-plugin' ); ?></th>
|
221 |
<td>
|
@@ -282,7 +313,7 @@ if ( ! class_exists( 'Fcbkbttn_Settings_Tabs' ) ) {
|
|
282 |
<th><?php _e( 'Meta Description', 'facebook-button-plugin' ); ?></th>
|
283 |
<td>
|
284 |
<textarea disabled="disabled" name="fcbkbttn_meta_description_custom"></textarea>
|
285 |
-
<br
|
286 |
<span class="bws_info"><?php _e( 'This description will be used for all pages and posts. Leave blank to use page description.', 'facebook-button-plugin' ); ?></span>
|
287 |
</td>
|
288 |
</tr>
|
@@ -310,7 +341,7 @@ if ( ! class_exists( 'Fcbkbttn_Settings_Tabs' ) ) {
|
|
310 |
<input type="radio" name="fcbkbttn_display_option" value="standard" <?php checked( 'standard', $this->options['display_option'] ); ?> />
|
311 |
<?php _e( 'Default', 'facebook-button-plugin' ); ?>
|
312 |
</label>
|
313 |
-
<br
|
314 |
<label>
|
315 |
<input type="radio" name="fcbkbttn_display_option" value="custom" <?php checked( 'custom', $this->options['display_option'] ); ?> />
|
316 |
<?php _e( 'Custom image', 'facebook-button-plugin' ); ?>
|
@@ -400,7 +431,7 @@ if ( ! class_exists( 'Fcbkbttn_Settings_Tabs' ) ) {
|
|
400 |
<input type="radio" name="fcbkbttn_like_action" value="like" <?php checked( 'like', $this->options['like_action'] ); ?> />
|
401 |
<?php _e( 'Like', 'facebook-button-plugin' ); ?>
|
402 |
</label>
|
403 |
-
<br
|
404 |
<label>
|
405 |
<input type="radio" name="fcbkbttn_like_action" value="recommend" <?php checked( 'recommend', $this->options['like_action'] ); ?> />
|
406 |
<?php _e( 'Recommend', 'facebook-button-plugin' ); ?>
|
@@ -418,7 +449,10 @@ if ( ! class_exists( 'Fcbkbttn_Settings_Tabs' ) ) {
|
|
418 |
<tr class="fcbkbttn_like_standard_layout">
|
419 |
<th><?php _e( 'Layout Width', 'facebook-button-plugin' ); ?></th>
|
420 |
<td>
|
421 |
-
<label
|
|
|
|
|
|
|
422 |
</td>
|
423 |
</tr>
|
424 |
<tr class="fcbkbttn_like_standard_layout">
|
@@ -429,7 +463,7 @@ if ( ! class_exists( 'Fcbkbttn_Settings_Tabs' ) ) {
|
|
429 |
<input type="radio" name="fcbkbttn_color_scheme" value="light" <?php checked( 'light', $this->options['color_scheme'] ) ; ?> />
|
430 |
<?php _e( 'Light', 'facebook-button-plugin' ); ?>
|
431 |
</label>
|
432 |
-
<br
|
433 |
<label>
|
434 |
<input type="radio" name="fcbkbttn_color_scheme" value="dark" <?php checked( 'dark', $this->options['color_scheme'] ); ?> />
|
435 |
<?php _e( 'Dark', 'facebook-button-plugin' ); ?>
|
@@ -441,9 +475,10 @@ if ( ! class_exists( 'Fcbkbttn_Settings_Tabs' ) ) {
|
|
441 |
<th scope="row"><?php _e( 'Like Button HTML Tag', 'facebook-button-plugin' ); ?></th>
|
442 |
<td>
|
443 |
<fieldset>
|
444 |
-
<label><input name='fcbkbttn_html5' type='radio' value='0' <?php checked( '0', $this->options['html5'] ); ?> /><?php echo "<fb:like>";
|
445 |
-
|
446 |
-
<
|
|
|
447 |
<span class="bws_info"><?php printf( __( "Tag %s can be used to improve website code validation.", 'facebook-button-plugin' ), '<div>' ); ?></span>
|
448 |
</fieldset>
|
449 |
</td>
|
@@ -469,19 +504,19 @@ if ( ! class_exists( 'Fcbkbttn_Settings_Tabs' ) ) {
|
|
469 |
<?php }
|
470 |
|
471 |
/**
|
472 |
-
|
473 |
-
|
474 |
-
|
475 |
public function additional_misc_options() {
|
476 |
do_action( 'fcbkbttn_settings_page_misc_action', $this->options );
|
477 |
}
|
478 |
|
479 |
/**
|
480 |
-
|
481 |
-
|
482 |
-
|
483 |
-
|
484 |
-
|
485 |
public function display_metabox() { ?>
|
486 |
<div class="postbox">
|
487 |
<h3 class="hndle">
|
@@ -495,11 +530,11 @@ if ( ! class_exists( 'Fcbkbttn_Settings_Tabs' ) ) {
|
|
495 |
<?php }
|
496 |
|
497 |
/**
|
498 |
-
|
499 |
-
|
500 |
-
|
501 |
-
|
502 |
-
|
503 |
public function display_second_postbox() {
|
504 |
/*pls */
|
505 |
if ( ! $this->hide_pro_tabs ) { ?>
|
@@ -518,8 +553,8 @@ if ( ! class_exists( 'Fcbkbttn_Settings_Tabs' ) ) {
|
|
518 |
}
|
519 |
|
520 |
/**
|
521 |
-
|
522 |
-
|
523 |
public function tab_display() { ?>
|
524 |
<h3 class="bws_tab_label"><?php _e( 'Display Settings', 'facebook-button-plugin' ); ?></h3>
|
525 |
<?php $this->help_phrase(); ?>
|
1 |
<?php
|
2 |
/**
|
3 |
+
* Displays the content on the plugin settings page
|
4 |
+
*/
|
5 |
|
6 |
require_once( dirname( dirname( __FILE__ ) ) . '/bws_menu/class-bws-settings.php' );
|
7 |
|
8 |
if ( ! class_exists( 'Fcbkbttn_Settings_Tabs' ) ) {
|
9 |
class Fcbkbttn_Settings_Tabs extends Bws_Settings_Tabs {
|
10 |
/**
|
11 |
+
* Constructor.
|
12 |
+
*
|
13 |
+
* @access public
|
14 |
+
*
|
15 |
+
* @see Bws_Settings_Tabs::__construct() for more information on default arguments.
|
16 |
+
*
|
17 |
+
* @param string $plugin_basename
|
18 |
+
*/
|
19 |
public function __construct( $plugin_basename ) {
|
20 |
global $fcbkbttn_options, $fcbkbttn_plugin_info;
|
21 |
|
49 |
}
|
50 |
|
51 |
/**
|
52 |
+
* Save plugin options to the database
|
53 |
+
* @access public
|
54 |
+
* @param void
|
55 |
+
* @return array The action results
|
56 |
+
*/
|
57 |
public function save_options() {
|
58 |
|
59 |
/* Takes all the changed settings on the plugin's admin page and saves them in array 'fcbkbttn_options'. */
|
60 |
+
if ( ! empty( $_REQUEST['fcbkbttn_id'] ) ) {
|
61 |
+
$this->options['id'] = stripslashes( esc_html( $_REQUEST['fcbkbttn_id'] ) );
|
62 |
+
} else {
|
63 |
+
$this->options['id'] = 1443946719181573;
|
64 |
+
}
|
65 |
+
|
66 |
$this->options['link'] = stripslashes( esc_html( $_REQUEST['fcbkbttn_link'] ) );
|
67 |
$this->options['link'] = str_replace( 'https://www.facebook.com/profile.php?id=', '', $this->options['link'] );
|
68 |
$this->options['link'] = str_replace( 'https://www.facebook.com/', '', $this->options['link'] );
|
69 |
|
70 |
$this->options['size'] = isset( $_REQUEST['fcbkbttn_size'] ) ? $_REQUEST['fcbkbttn_size'] : $this->options['size'];
|
71 |
$this->options['where'] = isset( $_REQUEST['fcbkbttn_where'] ) ? $_REQUEST['fcbkbttn_where'] : array();
|
72 |
+
$this->options['location'] = isset( $_REQUEST['fcbkbttn_location'] ) ? $_REQUEST['fcbkbttn_location'] : $this->options['location'];
|
73 |
$this->options['display_option'] = isset( $_REQUEST['fcbkbttn_display_option'] ) ? $_REQUEST['fcbkbttn_display_option'] : $this->options['display_option'];
|
74 |
|
75 |
if ( 'standard' == $this->options['display_option'] ) {
|
78 |
'large-facebook-ico' :
|
79 |
'standard-facebook-ico';
|
80 |
|
81 |
+
$this->options['fb_img_link'] = plugins_url( 'images/' . $img_name . '.png', dirname( __FILE__ ) );
|
82 |
}
|
83 |
|
84 |
$this->options['my_page'] = isset( $_REQUEST['fcbkbttn_my_page'] ) ? 1 : 0;
|
169 |
}
|
170 |
|
171 |
/**
|
172 |
+
*
|
173 |
+
*/
|
174 |
public function tab_settings() {
|
175 |
global $fcbkbttn_lang_codes, $wp_version;
|
176 |
if ( ! $this->upload_dir ) {
|
184 |
$this->all_plugins = get_plugins();
|
185 |
} ?>
|
186 |
<h3 class="bws_tab_label"><?php _e( 'Facebook Button Settings', 'facebook-button-plugin' ); ?></h3>
|
187 |
+
<?php $this->help_phrase();
|
188 |
+
$output_key;
|
189 |
+
if ( 1443946719181573 == $this->options['id'] ) {
|
190 |
+
$output_key = '';
|
191 |
+
} else {
|
192 |
+
$output_key = $this->options['id'];
|
193 |
+
} ?>
|
194 |
<hr>
|
195 |
<div class="bws_tab_sub_label"><?php _e( 'General', 'facebook-button-plugin' ); ?></div>
|
196 |
<table class="form-table">
|
197 |
+
<tr>
|
198 |
+
<th scope="row"><?php _e( 'Change App ID', 'facebook-button-plugin' ); ?></th>
|
199 |
+
<td>
|
200 |
+
<input name='fcbkbttn_id' type='text' maxlength='250' value='<?php echo $output_key; ?>' />
|
201 |
+
<br />
|
202 |
+
<span class="bws_info"><?php _e( 'You can use standard App ID or', 'facebook-button-plugin' ); ?> <a href="https://developers.facebook.com/quickstarts/?platform=web" target="_blank"><?php _e( 'create a new one', 'facebook-button-plugin' ); ?></a><br /><?php _e( ' Leave blank to use standard App ID.', 'facebook-button-plugin' ); ?></span>
|
203 |
+
</td>
|
204 |
+
</tr>
|
205 |
<tr>
|
206 |
<th scope="row"><?php _e( 'Buttons', 'facebook-button-plugin' ); ?></th>
|
207 |
<td>
|
229 |
<input type="checkbox" name="fcbkbttn_where[]" value="before" <?php checked( in_array( 'before', $this->options['where'] ) ); ?> />
|
230 |
<?php _e( 'Before content', 'facebook-button-plugin' ); ?></option>
|
231 |
</label>
|
232 |
+
<br />
|
233 |
<label>
|
234 |
<input type="checkbox" name="fcbkbttn_where[]" value="after" <?php checked( in_array( 'after', $this->options['where'] ) ); ?> />
|
235 |
<?php _e( 'After content', 'facebook-button-plugin' ); ?></option>
|
237 |
</fieldset>
|
238 |
</td>
|
239 |
</tr>
|
240 |
+
<tr>
|
241 |
+
<th><?php _e( 'Buttons Align', 'facebook-button-plugin' ); ?></th>
|
242 |
+
<td>
|
243 |
+
<fieldset>
|
244 |
+
<label><input name="fcbkbttn_location" type="radio" value="right" <?php checked( 'right', $this->options['location'] ); ?> /> <?php _e( 'Right', 'facebook-button-plugin' ); ?></label><br />
|
245 |
+
<label><input name="fcbkbttn_location" type="radio" value="middle" <?php checked( 'middle', $this->options['location'] ); ?> /> <?php _e( 'Center', 'facebook-button-plugin' ); ?></label><br />
|
246 |
+
<label><input name="fcbkbttn_location" type="radio" value="left" <?php checked( 'left', $this->options['location'] ); ?> /> <?php _e( 'Left', 'facebook-button-plugin' ); ?></label><br />
|
247 |
+
</fieldset>
|
248 |
+
</td>
|
249 |
+
</tr>
|
250 |
<tr>
|
251 |
<th><?php _e( 'Language', 'facebook-button-plugin' ); ?></th>
|
252 |
<td>
|
313 |
<th><?php _e( 'Meta Description', 'facebook-button-plugin' ); ?></th>
|
314 |
<td>
|
315 |
<textarea disabled="disabled" name="fcbkbttn_meta_description_custom"></textarea>
|
316 |
+
<br />
|
317 |
<span class="bws_info"><?php _e( 'This description will be used for all pages and posts. Leave blank to use page description.', 'facebook-button-plugin' ); ?></span>
|
318 |
</td>
|
319 |
</tr>
|
341 |
<input type="radio" name="fcbkbttn_display_option" value="standard" <?php checked( 'standard', $this->options['display_option'] ); ?> />
|
342 |
<?php _e( 'Default', 'facebook-button-plugin' ); ?>
|
343 |
</label>
|
344 |
+
<br />
|
345 |
<label>
|
346 |
<input type="radio" name="fcbkbttn_display_option" value="custom" <?php checked( 'custom', $this->options['display_option'] ); ?> />
|
347 |
<?php _e( 'Custom image', 'facebook-button-plugin' ); ?>
|
431 |
<input type="radio" name="fcbkbttn_like_action" value="like" <?php checked( 'like', $this->options['like_action'] ); ?> />
|
432 |
<?php _e( 'Like', 'facebook-button-plugin' ); ?>
|
433 |
</label>
|
434 |
+
<br />
|
435 |
<label>
|
436 |
<input type="radio" name="fcbkbttn_like_action" value="recommend" <?php checked( 'recommend', $this->options['like_action'] ); ?> />
|
437 |
<?php _e( 'Recommend', 'facebook-button-plugin' ); ?>
|
449 |
<tr class="fcbkbttn_like_standard_layout">
|
450 |
<th><?php _e( 'Layout Width', 'facebook-button-plugin' ); ?></th>
|
451 |
<td>
|
452 |
+
<label>
|
453 |
+
<input name="fcbkbttn_width" type="number" step="1" min="225" max="450" value="<?php echo $this->options['width']; ?>" />
|
454 |
+
<?php _e( 'px', 'facebook-button-plugin' ); ?>
|
455 |
+
</label>
|
456 |
</td>
|
457 |
</tr>
|
458 |
<tr class="fcbkbttn_like_standard_layout">
|
463 |
<input type="radio" name="fcbkbttn_color_scheme" value="light" <?php checked( 'light', $this->options['color_scheme'] ) ; ?> />
|
464 |
<?php _e( 'Light', 'facebook-button-plugin' ); ?>
|
465 |
</label>
|
466 |
+
<br />
|
467 |
<label>
|
468 |
<input type="radio" name="fcbkbttn_color_scheme" value="dark" <?php checked( 'dark', $this->options['color_scheme'] ); ?> />
|
469 |
<?php _e( 'Dark', 'facebook-button-plugin' ); ?>
|
475 |
<th scope="row"><?php _e( 'Like Button HTML Tag', 'facebook-button-plugin' ); ?></th>
|
476 |
<td>
|
477 |
<fieldset>
|
478 |
+
<label><input name='fcbkbttn_html5' type='radio' value='0' <?php checked( '0', $this->options['html5'] ); ?> /><?php echo "<fb:like>"; ?>
|
479 |
+
</label><br />
|
480 |
+
<label><input name='fcbkbttn_html5' type='radio' value='1' <?php checked( '1', $this->options['html5'] ); ?> /><?php echo "<div>"; ?>
|
481 |
+
</label><br />
|
482 |
<span class="bws_info"><?php printf( __( "Tag %s can be used to improve website code validation.", 'facebook-button-plugin' ), '<div>' ); ?></span>
|
483 |
</fieldset>
|
484 |
</td>
|
504 |
<?php }
|
505 |
|
506 |
/**
|
507 |
+
* Display custom options on the 'misc' tab
|
508 |
+
* @access public
|
509 |
+
*/
|
510 |
public function additional_misc_options() {
|
511 |
do_action( 'fcbkbttn_settings_page_misc_action', $this->options );
|
512 |
}
|
513 |
|
514 |
/**
|
515 |
+
* Display custom metabox
|
516 |
+
* @access public
|
517 |
+
* @param void
|
518 |
+
* @return array The action results
|
519 |
+
*/
|
520 |
public function display_metabox() { ?>
|
521 |
<div class="postbox">
|
522 |
<h3 class="hndle">
|
530 |
<?php }
|
531 |
|
532 |
/**
|
533 |
+
* Display custom metabox
|
534 |
+
* @access public
|
535 |
+
* @param void
|
536 |
+
* @return array The action results
|
537 |
+
*/
|
538 |
public function display_second_postbox() {
|
539 |
/*pls */
|
540 |
if ( ! $this->hide_pro_tabs ) { ?>
|
553 |
}
|
554 |
|
555 |
/**
|
556 |
+
*
|
557 |
+
*/
|
558 |
public function tab_display() { ?>
|
559 |
<h3 class="bws_tab_label"><?php _e( 'Display Settings', 'facebook-button-plugin' ); ?></h3>
|
560 |
<?php $this->help_phrase(); ?>
|
js/admin-script.js
ADDED
@@ -0,0 +1,73 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
( function( $ ) {
|
2 |
+
$( document ).ready( function() {
|
3 |
+
function fcbkbttn_my_page() {
|
4 |
+
if ( $( 'input[name="fcbkbttn_my_page"]' ).is( ':checked' ) ) {
|
5 |
+
$( '.fcbkbttn_my_page_enabled' ).show();
|
6 |
+
} else {
|
7 |
+
$( '.fcbkbttn_my_page_enabled' ).hide();
|
8 |
+
}
|
9 |
+
}
|
10 |
+
function fcbkbttn_display_option() {
|
11 |
+
if ( $( 'input[name="fcbkbttn_display_option"]:checked' ).val() == 'custom' ) {
|
12 |
+
$( '#fcbkbttn_display_option_custom' ).show();
|
13 |
+
} else {
|
14 |
+
$( '#fcbkbttn_display_option_custom' ).hide();
|
15 |
+
}
|
16 |
+
}
|
17 |
+
function fcbkbttn_like() {
|
18 |
+
if ( $( 'input[name="fcbkbttn_like"]' ).is( ':checked' ) ) {
|
19 |
+
$( '.fcbkbttn_like_enabled, .fcbkbttn_share_like_block' ).show();
|
20 |
+
fcbkbttn_layout_option();
|
21 |
+
} else {
|
22 |
+
$( '.fcbkbttn_like_enabled, .fcbkbttn_like_standard_layout' ).hide();
|
23 |
+
if( ! $( 'input[name="fcbkbttn_share"]' ).is( ':checked' ) ) {
|
24 |
+
$( '.fcbkbttn_share_like_block' ).hide();
|
25 |
+
} else {
|
26 |
+
$( '.fcbkbttn_share_like_block' ).show();
|
27 |
+
}
|
28 |
+
}
|
29 |
+
}
|
30 |
+
function fcbkbttn_share() {
|
31 |
+
if ( $( 'input[name="fcbkbttn_share"]' ).is( ':checked' ) ) {
|
32 |
+
$( '.fcbkbttn_share_enabled' ).show();
|
33 |
+
} else {
|
34 |
+
$( '.fcbkbttn_share_enabled' ).hide();
|
35 |
+
if( ! $( 'input[name="fcbkbttn_like"]' ).is( ':checked' ) ) {
|
36 |
+
$( '.fcbkbttn_share_like_block' ).hide();
|
37 |
+
} else {
|
38 |
+
$( '.fcbkbttn_share_like_block' ).show();
|
39 |
+
}
|
40 |
+
}
|
41 |
+
}
|
42 |
+
function fcbkbttn_layout_option() {
|
43 |
+
if ( $( 'input[name="fcbkbttn_like_layout"]:checked' ).val() == 'standard' ) {
|
44 |
+
$( '.fcbkbttn_like_standard_layout' ).show();
|
45 |
+
} else {
|
46 |
+
$( '.fcbkbttn_like_standard_layout' ).hide();
|
47 |
+
}
|
48 |
+
}
|
49 |
+
|
50 |
+
fcbkbttn_my_page();
|
51 |
+
$( 'input[name="fcbkbttn_my_page"]' ).on( 'change', function() {
|
52 |
+
fcbkbttn_my_page();
|
53 |
+
} );
|
54 |
+
fcbkbttn_display_option();
|
55 |
+
$( 'input[name="fcbkbttn_display_option"]' ).on( 'change', function() {
|
56 |
+
fcbkbttn_display_option();
|
57 |
+
} );
|
58 |
+
fcbkbttn_layout_option();
|
59 |
+
$( 'input[name="fcbkbttn_like_layout"]' ).on( 'change', function() {
|
60 |
+
fcbkbttn_layout_option();
|
61 |
+
} );
|
62 |
+
fcbkbttn_like();
|
63 |
+
$( 'input[name="fcbkbttn_like"]' ).on( 'change', function() {
|
64 |
+
fcbkbttn_like();
|
65 |
+
} );
|
66 |
+
fcbkbttn_share();
|
67 |
+
$( 'input[name="fcbkbttn_share"]' ).on( 'change', function() {
|
68 |
+
fcbkbttn_share();
|
69 |
+
} );
|
70 |
+
|
71 |
+
});
|
72 |
+
|
73 |
+
} )( jQuery );
|
js/script.js
CHANGED
@@ -1,72 +1,19 @@
|
|
1 |
( function( $ ) {
|
2 |
-
$(
|
3 |
-
function fcbkbttn_my_page() {
|
4 |
-
if ( $( 'input[name="fcbkbttn_my_page"]' ).is( ":checked" ) ) {
|
5 |
-
$( '.fcbkbttn_my_page_enabled' ).show();
|
6 |
-
} else {
|
7 |
-
$( '.fcbkbttn_my_page_enabled' ).hide();
|
8 |
-
}
|
9 |
-
}
|
10 |
-
function fcbkbttn_display_option() {
|
11 |
-
if ( $( 'input[name="fcbkbttn_display_option"]:checked' ).val() == 'custom' ) {
|
12 |
-
$( '#fcbkbttn_display_option_custom' ).show();
|
13 |
-
} else {
|
14 |
-
$( '#fcbkbttn_display_option_custom' ).hide();
|
15 |
-
}
|
16 |
-
}
|
17 |
-
function fcbkbttn_like() {
|
18 |
-
if ( $( 'input[name="fcbkbttn_like"]' ).is( ':checked' ) ) {
|
19 |
-
$( '.fcbkbttn_like_enabled, .fcbkbttn_share_like_block' ).show();
|
20 |
-
fcbkbttn_layout_option();
|
21 |
-
} else {
|
22 |
-
$( '.fcbkbttn_like_enabled, .fcbkbttn_like_standard_layout' ).hide();
|
23 |
-
if( ! $( 'input[name="fcbkbttn_share"]' ).is( ":checked" ) ) {
|
24 |
-
$( '.fcbkbttn_share_like_block' ).hide();
|
25 |
-
} else {
|
26 |
-
$( '.fcbkbttn_share_like_block' ).show();
|
27 |
-
}
|
28 |
-
}
|
29 |
-
}
|
30 |
-
function fcbkbttn_share() {
|
31 |
-
if ( $( 'input[name="fcbkbttn_share"]' ).is( ":checked" ) ) {
|
32 |
-
$( '.fcbkbttn_share_enabled' ).show();
|
33 |
-
} else {
|
34 |
-
$( '.fcbkbttn_share_enabled' ).hide();
|
35 |
-
if( ! $( 'input[name="fcbkbttn_like"]' ).is( ":checked" ) ) {
|
36 |
-
$( '.fcbkbttn_share_like_block' ).hide();
|
37 |
-
} else {
|
38 |
-
$( '.fcbkbttn_share_like_block' ).show();
|
39 |
-
}
|
40 |
-
}
|
41 |
-
}
|
42 |
-
function fcbkbttn_layout_option() {
|
43 |
-
if ( $( 'input[name="fcbkbttn_like_layout"]:checked' ).val() == 'standard' ) {
|
44 |
-
$( '.fcbkbttn_like_standard_layout' ).show();
|
45 |
-
} else {
|
46 |
-
$( '.fcbkbttn_like_standard_layout' ).hide();
|
47 |
-
}
|
48 |
-
}
|
49 |
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
fcbkbttn_like();
|
63 |
-
$( 'input[name="fcbkbttn_like"]' ).change( function() {
|
64 |
-
fcbkbttn_like();
|
65 |
-
});
|
66 |
-
fcbkbttn_share();
|
67 |
-
$( 'input[name="fcbkbttn_share"]' ).change( function() {
|
68 |
-
fcbkbttn_share();
|
69 |
-
});
|
70 |
|
71 |
});
|
|
|
72 |
} )( jQuery );
|
1 |
( function( $ ) {
|
2 |
+
$( window ).on( 'load', function() {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
|
4 |
+
var windowWidth= $( window ).width();
|
5 |
+
console.log( windowWidth );
|
6 |
+
|
7 |
+
if ( windowWidth < 483 ) {
|
8 |
+
//$("._51m-._2pir._51mw").insertBefore($("._51m-.vTop.hCent"));
|
9 |
+
$("._51m-._2pir._51mw").before($("._51m-.vTop.hCent"));
|
10 |
+
console.log( 1 );
|
11 |
+
}
|
12 |
+
else {
|
13 |
+
$("._51m-.vTop.hCent").insertBefore($("._51m-._2pir._51mw"));
|
14 |
+
console.log( 2 );
|
15 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
16 |
|
17 |
});
|
18 |
+
|
19 |
} )( jQuery );
|
languages/facebook-button-plugin-ru_RU.mo
CHANGED
Binary file
|
languages/facebook-button-plugin-ru_RU.po
CHANGED
@@ -2,8 +2,8 @@ msgid ""
|
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: facebook-button-plugin\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
-
"POT-Creation-Date: 2018-
|
6 |
-
"PO-Revision-Date: 2018-
|
7 |
"Last-Translator: plugin@bestwebsoft.com <plugin@bestwebsoft.com>\n"
|
8 |
"Language-Team: BestWebSoft <plugin@bestwebsoft.com>\n"
|
9 |
"Language: ru_RU\n"
|
@@ -17,12 +17,12 @@ msgstr ""
|
|
17 |
"X-Poedit-SearchPath-0: .\n"
|
18 |
|
19 |
#: facebook-button-plugin.php:36 facebook-button-plugin.php:37
|
20 |
-
#: facebook-button-plugin.php:
|
21 |
msgid "Facebook Button Settings"
|
22 |
msgstr "Настройки Facebook Button"
|
23 |
|
24 |
-
#: facebook-button-plugin.php:37 facebook-button-plugin.php:
|
25 |
-
#: facebook-button-plugin.php:
|
26 |
msgid "Settings"
|
27 |
msgstr "Настройки"
|
28 |
|
@@ -30,19 +30,19 @@ msgstr "Настройки"
|
|
30 |
msgid "Upgrade to Pro"
|
31 |
msgstr "Обновиться до Pro"
|
32 |
|
33 |
-
#: facebook-button-plugin.php:
|
34 |
msgid "Please, enable JavaScript in your browser."
|
35 |
msgstr "Пожалуйста, включите поддержку JavaScript в вашем браузере."
|
36 |
|
37 |
-
#: facebook-button-plugin.php:
|
38 |
msgid "Add Facebook buttons to your page or post"
|
39 |
msgstr "Добавить Facebook кнопки на вашу страницу или запись"
|
40 |
|
41 |
-
#: facebook-button-plugin.php:
|
42 |
msgid "FAQ"
|
43 |
msgstr "FAQ"
|
44 |
|
45 |
-
#: facebook-button-plugin.php:
|
46 |
msgid "Support"
|
47 |
msgstr "Поддержка"
|
48 |
|
@@ -62,90 +62,122 @@ msgstr "Пользовательский код"
|
|
62 |
msgid "License Key"
|
63 |
msgstr "Лицензионный ключ"
|
64 |
|
65 |
-
#: includes/class-fcbkbttn-settings.php:
|
66 |
msgid "Settings saved"
|
67 |
msgstr "Настройки сохранены"
|
68 |
|
69 |
-
#: includes/class-fcbkbttn-settings.php:
|
70 |
msgid "Error: File size must not exceed 32KB"
|
71 |
msgstr "Ошибка: Размер файла не должен превышать 32КБ"
|
72 |
|
73 |
-
#: includes/class-fcbkbttn-settings.php:
|
74 |
msgid "Error: Invalid file type"
|
75 |
msgstr "Ошибка: Некорректный тип файла"
|
76 |
|
77 |
-
#: includes/class-fcbkbttn-settings.php:
|
78 |
msgid "Upload successful."
|
79 |
msgstr "Загрузка прошла удачно."
|
80 |
|
81 |
-
#: includes/class-fcbkbttn-settings.php:
|
82 |
msgid "Error: Failed to move file."
|
83 |
msgstr "Ошибка: При перемещении файла произошла ошибка."
|
84 |
|
85 |
-
#: includes/class-fcbkbttn-settings.php:
|
86 |
msgid "Error: Check image width or height."
|
87 |
msgstr "Ошибка: Проверьте ширину и высоту изображения."
|
88 |
|
89 |
-
#: includes/class-fcbkbttn-settings.php:
|
90 |
msgid "Uploading Error: Check image properties"
|
91 |
msgstr "Ошибка загрузки: Проверьте параметры изображения"
|
92 |
|
93 |
-
#: includes/class-fcbkbttn-settings.php:
|
94 |
msgid "General"
|
95 |
msgstr "Общее"
|
96 |
|
97 |
-
#: includes/class-fcbkbttn-settings.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
98 |
msgid "Buttons"
|
99 |
msgstr "Кнопки"
|
100 |
|
101 |
-
#: includes/class-fcbkbttn-settings.php:
|
102 |
msgid "Profile URL"
|
103 |
msgstr "URL профиля"
|
104 |
|
105 |
-
#: includes/class-fcbkbttn-settings.php:
|
106 |
-
#: includes/class-fcbkbttn-settings.php:
|
107 |
msgid "Like"
|
108 |
msgstr "Нравится"
|
109 |
|
110 |
-
#: includes/class-fcbkbttn-settings.php:
|
111 |
msgid "Share"
|
112 |
msgstr "Поделиться"
|
113 |
|
114 |
-
#: includes/class-fcbkbttn-settings.php:
|
115 |
msgid "Buttons Size"
|
116 |
msgstr "Размер кнопок"
|
117 |
|
118 |
-
#: includes/class-fcbkbttn-settings.php:
|
119 |
msgid "Small"
|
120 |
msgstr "Маленькие"
|
121 |
|
122 |
-
#: includes/class-fcbkbttn-settings.php:
|
123 |
msgid "Large"
|
124 |
msgstr "Большие"
|
125 |
|
126 |
-
#: includes/class-fcbkbttn-settings.php:
|
127 |
msgid "Buttons Position"
|
128 |
msgstr "Позиция кнопок"
|
129 |
|
130 |
-
#: includes/class-fcbkbttn-settings.php:
|
131 |
msgid "Before content"
|
132 |
msgstr "Перед содержимым"
|
133 |
|
134 |
-
#: includes/class-fcbkbttn-settings.php:
|
135 |
msgid "After content"
|
136 |
msgstr "После содержимого"
|
137 |
|
138 |
-
#: includes/class-fcbkbttn-settings.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
139 |
msgid "Language"
|
140 |
msgstr "Язык"
|
141 |
|
142 |
-
#: includes/class-fcbkbttn-settings.php:
|
143 |
msgid "Select the default language for Facebook button(-s)."
|
144 |
msgstr "Выберите язык отображения по умолчанию для кнопок Facebook."
|
145 |
|
146 |
-
#: includes/class-fcbkbttn-settings.php:
|
147 |
-
#: includes/class-fcbkbttn-settings.php:
|
148 |
-
#: includes/class-fcbkbttn-settings.php:
|
149 |
msgid ""
|
150 |
"Enable to switch language automatically on multilingual website using "
|
151 |
"Multilanguage plugin."
|
@@ -153,49 +185,49 @@ msgstr ""
|
|
153 |
"Включите, чтобы переключить язык автоматически на многоязычном сайте, "
|
154 |
"используя плагин Multilanguage."
|
155 |
|
156 |
-
#: includes/class-fcbkbttn-settings.php:
|
157 |
msgid "Activate"
|
158 |
msgstr "Активировать"
|
159 |
|
160 |
-
#: includes/class-fcbkbttn-settings.php:
|
161 |
msgid "Install Now"
|
162 |
msgstr "Установить сейчас"
|
163 |
|
164 |
-
#: includes/class-fcbkbttn-settings.php:
|
165 |
msgid "Excerpt"
|
166 |
msgstr "Цитата"
|
167 |
|
168 |
-
#: includes/class-fcbkbttn-settings.php:
|
169 |
msgid "Enable to display buttons in excerpt."
|
170 |
msgstr "Включите, чтоб отображать кнопки для цитаты."
|
171 |
|
172 |
-
#: includes/class-fcbkbttn-settings.php:
|
173 |
-
#: includes/class-fcbkbttn-settings.php:
|
174 |
-
#: includes/class-fcbkbttn-settings.php:
|
175 |
msgid "Close"
|
176 |
msgstr "Закрыть"
|
177 |
|
178 |
-
#: includes/class-fcbkbttn-settings.php:
|
179 |
msgid "Meta Image"
|
180 |
msgstr "Мета изображение"
|
181 |
|
182 |
-
#: includes/class-fcbkbttn-settings.php:
|
183 |
msgid "Featured Image"
|
184 |
msgstr "Миниатюра записи"
|
185 |
|
186 |
-
#: includes/class-fcbkbttn-settings.php:
|
187 |
msgid "Custom Image"
|
188 |
msgstr "Пользовательское изображение"
|
189 |
|
190 |
-
#: includes/class-fcbkbttn-settings.php:
|
191 |
msgid "This image will be used for all posts"
|
192 |
msgstr "Это изображение будет использоваться для всех записей"
|
193 |
|
194 |
-
#: includes/class-fcbkbttn-settings.php:
|
195 |
msgid "Meta Description"
|
196 |
msgstr "Мета описание"
|
197 |
|
198 |
-
#: includes/class-fcbkbttn-settings.php:
|
199 |
msgid ""
|
200 |
"This description will be used for all pages and posts. Leave blank to use "
|
201 |
"page description."
|
@@ -203,27 +235,27 @@ msgstr ""
|
|
203 |
"Это описание будет использоваться для всех записей и страниц. Оставьте "
|
204 |
"пустым, чтобы использовать описание страницы."
|
205 |
|
206 |
-
#: includes/class-fcbkbttn-settings.php:
|
207 |
msgid "Profile URL Button"
|
208 |
msgstr "Кнопка URL профиля"
|
209 |
|
210 |
-
#: includes/class-fcbkbttn-settings.php:
|
211 |
msgid "Facebook ID or Username"
|
212 |
msgstr "Facebook ID или имя пользователя"
|
213 |
|
214 |
-
#: includes/class-fcbkbttn-settings.php:
|
215 |
msgid "Profile Button Image"
|
216 |
msgstr "Изображение кнопки профиля"
|
217 |
|
218 |
-
#: includes/class-fcbkbttn-settings.php:
|
219 |
msgid "Default"
|
220 |
msgstr "По умолчанию"
|
221 |
|
222 |
-
#: includes/class-fcbkbttn-settings.php:
|
223 |
msgid "Custom image"
|
224 |
msgstr "Пользовательское изображение"
|
225 |
|
226 |
-
#: includes/class-fcbkbttn-settings.php:
|
227 |
msgid ""
|
228 |
"To use custom image, You need to setup permissions for upload directory of "
|
229 |
"your site"
|
@@ -231,11 +263,11 @@ msgstr ""
|
|
231 |
"Для использования пользовательского изображения, вам нужно выдать права "
|
232 |
"доступа на папку загрузок на вашем сайте"
|
233 |
|
234 |
-
#: includes/class-fcbkbttn-settings.php:
|
235 |
msgid "Current image"
|
236 |
msgstr "Текущее изображение"
|
237 |
|
238 |
-
#: includes/class-fcbkbttn-settings.php:
|
239 |
msgid ""
|
240 |
"Image requirements: max image width: 100px; max image height: 40px; max "
|
241 |
"image size: 32Kb; image types: \"jpg\", \"jpeg\", \"png\"."
|
@@ -243,76 +275,76 @@ msgstr ""
|
|
243 |
"Требования к изображению: максимальная ширина: 100px; максимальная высота: "
|
244 |
"40px; максимальный размер: 32Kb; тип файла: \"jpg\", \"jpeg\", \"png\"."
|
245 |
|
246 |
-
#: includes/class-fcbkbttn-settings.php:
|
247 |
msgid "Like&Share Buttons"
|
248 |
msgstr "Кнопки \"Нравится\" и \"Поделиться\""
|
249 |
|
250 |
-
#: includes/class-fcbkbttn-settings.php:
|
251 |
msgid "Like Button Layout"
|
252 |
-
msgstr "Вид кнопки \"
|
253 |
|
254 |
-
#: includes/class-fcbkbttn-settings.php:
|
255 |
msgid "Share Button Layout"
|
256 |
msgstr "Вид кнопки \"Поделиться\""
|
257 |
|
258 |
-
#: includes/class-fcbkbttn-settings.php:
|
259 |
msgid "Like Button Action"
|
260 |
msgstr "Действие кнопки \"Нравится\""
|
261 |
|
262 |
-
#: includes/class-fcbkbttn-settings.php:
|
263 |
msgid "Recommend"
|
264 |
msgstr "Рекомендую"
|
265 |
|
266 |
-
#: includes/class-fcbkbttn-settings.php:
|
267 |
msgid "Friends Faces"
|
268 |
msgstr "Лица друзей"
|
269 |
|
270 |
-
#: includes/class-fcbkbttn-settings.php:
|
271 |
msgid "Enable to show faces of your friends who submitted the button."
|
272 |
msgstr "Включите, чтобы показать лица своих друзей, которые нажали кнопку."
|
273 |
|
274 |
-
#: includes/class-fcbkbttn-settings.php:
|
275 |
msgid "Layout Width"
|
276 |
msgstr "Ширина блока"
|
277 |
|
278 |
-
#: includes/class-fcbkbttn-settings.php:
|
279 |
msgid "px"
|
280 |
msgstr "пикс"
|
281 |
|
282 |
-
#: includes/class-fcbkbttn-settings.php:
|
283 |
msgid "Theme"
|
284 |
msgstr "Тема"
|
285 |
|
286 |
-
#: includes/class-fcbkbttn-settings.php:
|
287 |
msgid "Light"
|
288 |
msgstr "Светлая"
|
289 |
|
290 |
-
#: includes/class-fcbkbttn-settings.php:
|
291 |
msgid "Dark"
|
292 |
msgstr "Тёмная"
|
293 |
|
294 |
-
#: includes/class-fcbkbttn-settings.php:
|
295 |
msgid "Like Button HTML Tag"
|
296 |
msgstr "HTML тег кнопки \"Нравится\""
|
297 |
|
298 |
-
#: includes/class-fcbkbttn-settings.php:
|
299 |
#, php-format
|
300 |
msgid "Tag %s can be used to improve website code validation."
|
301 |
msgstr "Тег %s может быть использован для улучшения валидации кода сайта."
|
302 |
|
303 |
-
#: includes/class-fcbkbttn-settings.php:
|
304 |
msgid "URL to Like"
|
305 |
msgstr "URL кнопки \"Нравится\""
|
306 |
|
307 |
-
#: includes/class-fcbkbttn-settings.php:
|
308 |
msgid "Leave blank to use current page URL."
|
309 |
msgstr "Оставьте пустым, чтобы использовать ссылку на текущую страницу."
|
310 |
|
311 |
-
#: includes/class-fcbkbttn-settings.php:
|
312 |
msgid "Facebook Button Shortcode"
|
313 |
msgstr "Шорткод Facebook Button"
|
314 |
|
315 |
-
#: includes/class-fcbkbttn-settings.php:
|
316 |
msgid ""
|
317 |
"Add Facebook button(-s) to your posts, pages, custom post types or widgets "
|
318 |
"by using the following shortcode:"
|
@@ -320,15 +352,15 @@ msgstr ""
|
|
320 |
"Добавить кнопки Facebook на ваши записи, страницы, пользовательские типы "
|
321 |
"записей или виджеты с помощью данного шорткода:"
|
322 |
|
323 |
-
#: includes/class-fcbkbttn-settings.php:
|
324 |
msgid "Facebook Buttons Preview"
|
325 |
msgstr "Предварительный просмотр Facebook кнопок"
|
326 |
|
327 |
-
#: includes/class-fcbkbttn-settings.php:
|
328 |
msgid "Display Settings"
|
329 |
msgstr "Настройка отображения"
|
330 |
|
331 |
-
#: includes/class-fcbkbttn-settings.php:
|
332 |
msgid ""
|
333 |
"Please choose the necessary post types (or single pages) where Facebook "
|
334 |
"button will be displayed:"
|
@@ -336,14 +368,35 @@ msgstr ""
|
|
336 |
"Пожалуйста, выберите те типы записей (или отдельные страницы), где будут "
|
337 |
"отображаться кнопки Facebook:"
|
338 |
|
339 |
-
#: includes/class-fcbkbttn-settings.php:
|
340 |
msgid "Show URL for pages"
|
341 |
msgstr "Отображать URL для страниц"
|
342 |
|
343 |
-
#: includes/class-fcbkbttn-settings.php:
|
344 |
msgid "Example of site pages tree"
|
345 |
msgstr "Пример дерева страниц сайта"
|
346 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
347 |
#~ msgid "Layout"
|
348 |
#~ msgstr "Вид"
|
349 |
|
@@ -392,9 +445,6 @@ msgstr "Пример дерева страниц сайта"
|
|
392 |
#~ msgid "Plugins page"
|
393 |
#~ msgstr "Страницу плагинов"
|
394 |
|
395 |
-
#~ msgid "Learn More"
|
396 |
-
#~ msgstr "Подробнее"
|
397 |
-
|
398 |
#~ msgid "Save Changes"
|
399 |
#~ msgstr "Сохранить изменения"
|
400 |
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: facebook-button-plugin\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2018-02-14 16:47+0200\n"
|
6 |
+
"PO-Revision-Date: 2018-02-14 16:47+0200\n"
|
7 |
"Last-Translator: plugin@bestwebsoft.com <plugin@bestwebsoft.com>\n"
|
8 |
"Language-Team: BestWebSoft <plugin@bestwebsoft.com>\n"
|
9 |
"Language: ru_RU\n"
|
17 |
"X-Poedit-SearchPath-0: .\n"
|
18 |
|
19 |
#: facebook-button-plugin.php:36 facebook-button-plugin.php:37
|
20 |
+
#: facebook-button-plugin.php:210 includes/class-fcbkbttn-settings.php:186
|
21 |
msgid "Facebook Button Settings"
|
22 |
msgstr "Настройки Facebook Button"
|
23 |
|
24 |
+
#: facebook-button-plugin.php:37 facebook-button-plugin.php:438
|
25 |
+
#: facebook-button-plugin.php:452 includes/class-fcbkbttn-settings.php:23
|
26 |
msgid "Settings"
|
27 |
msgstr "Настройки"
|
28 |
|
30 |
msgid "Upgrade to Pro"
|
31 |
msgstr "Обновиться до Pro"
|
32 |
|
33 |
+
#: facebook-button-plugin.php:213
|
34 |
msgid "Please, enable JavaScript in your browser."
|
35 |
msgstr "Пожалуйста, включите поддержку JavaScript в вашем браузере."
|
36 |
|
37 |
+
#: facebook-button-plugin.php:323
|
38 |
msgid "Add Facebook buttons to your page or post"
|
39 |
msgstr "Добавить Facebook кнопки на вашу страницу или запись"
|
40 |
|
41 |
+
#: facebook-button-plugin.php:454
|
42 |
msgid "FAQ"
|
43 |
msgstr "FAQ"
|
44 |
|
45 |
+
#: facebook-button-plugin.php:455
|
46 |
msgid "Support"
|
47 |
msgstr "Поддержка"
|
48 |
|
62 |
msgid "License Key"
|
63 |
msgstr "Лицензионный ключ"
|
64 |
|
65 |
+
#: includes/class-fcbkbttn-settings.php:110
|
66 |
msgid "Settings saved"
|
67 |
msgstr "Настройки сохранены"
|
68 |
|
69 |
+
#: includes/class-fcbkbttn-settings.php:139
|
70 |
msgid "Error: File size must not exceed 32KB"
|
71 |
msgstr "Ошибка: Размер файла не должен превышать 32КБ"
|
72 |
|
73 |
+
#: includes/class-fcbkbttn-settings.php:142
|
74 |
msgid "Error: Invalid file type"
|
75 |
msgstr "Ошибка: Некорректный тип файла"
|
76 |
|
77 |
+
#: includes/class-fcbkbttn-settings.php:148
|
78 |
msgid "Upload successful."
|
79 |
msgstr "Загрузка прошла удачно."
|
80 |
|
81 |
+
#: includes/class-fcbkbttn-settings.php:156
|
82 |
msgid "Error: Failed to move file."
|
83 |
msgstr "Ошибка: При перемещении файла произошла ошибка."
|
84 |
|
85 |
+
#: includes/class-fcbkbttn-settings.php:159
|
86 |
msgid "Error: Check image width or height."
|
87 |
msgstr "Ошибка: Проверьте ширину и высоту изображения."
|
88 |
|
89 |
+
#: includes/class-fcbkbttn-settings.php:163
|
90 |
msgid "Uploading Error: Check image properties"
|
91 |
msgstr "Ошибка загрузки: Проверьте параметры изображения"
|
92 |
|
93 |
+
#: includes/class-fcbkbttn-settings.php:195
|
94 |
msgid "General"
|
95 |
msgstr "Общее"
|
96 |
|
97 |
+
#: includes/class-fcbkbttn-settings.php:198
|
98 |
+
msgid "Change App ID"
|
99 |
+
msgstr "Изменить App ID"
|
100 |
+
|
101 |
+
#: includes/class-fcbkbttn-settings.php:202
|
102 |
+
msgid "You can use standard App ID or"
|
103 |
+
msgstr "Вы можете использовать стандартный App ID или"
|
104 |
+
|
105 |
+
#: includes/class-fcbkbttn-settings.php:202
|
106 |
+
msgid "create a new one"
|
107 |
+
msgstr "создать свой собственный."
|
108 |
+
|
109 |
+
#: includes/class-fcbkbttn-settings.php:202
|
110 |
+
msgid " Leave blank to use standard App ID."
|
111 |
+
msgstr "Чтобы использовать стандартный App ID, оставьте это поле пустым."
|
112 |
+
|
113 |
+
#: includes/class-fcbkbttn-settings.php:206
|
114 |
msgid "Buttons"
|
115 |
msgstr "Кнопки"
|
116 |
|
117 |
+
#: includes/class-fcbkbttn-settings.php:209
|
118 |
msgid "Profile URL"
|
119 |
msgstr "URL профиля"
|
120 |
|
121 |
+
#: includes/class-fcbkbttn-settings.php:210
|
122 |
+
#: includes/class-fcbkbttn-settings.php:432
|
123 |
msgid "Like"
|
124 |
msgstr "Нравится"
|
125 |
|
126 |
+
#: includes/class-fcbkbttn-settings.php:211
|
127 |
msgid "Share"
|
128 |
msgstr "Поделиться"
|
129 |
|
130 |
+
#: includes/class-fcbkbttn-settings.php:216
|
131 |
msgid "Buttons Size"
|
132 |
msgstr "Размер кнопок"
|
133 |
|
134 |
+
#: includes/class-fcbkbttn-settings.php:219
|
135 |
msgid "Small"
|
136 |
msgstr "Маленькие"
|
137 |
|
138 |
+
#: includes/class-fcbkbttn-settings.php:220
|
139 |
msgid "Large"
|
140 |
msgstr "Большие"
|
141 |
|
142 |
+
#: includes/class-fcbkbttn-settings.php:225
|
143 |
msgid "Buttons Position"
|
144 |
msgstr "Позиция кнопок"
|
145 |
|
146 |
+
#: includes/class-fcbkbttn-settings.php:230
|
147 |
msgid "Before content"
|
148 |
msgstr "Перед содержимым"
|
149 |
|
150 |
+
#: includes/class-fcbkbttn-settings.php:235
|
151 |
msgid "After content"
|
152 |
msgstr "После содержимого"
|
153 |
|
154 |
+
#: includes/class-fcbkbttn-settings.php:241
|
155 |
+
msgid "Buttons Align"
|
156 |
+
msgstr "Выравнивание кнопок"
|
157 |
+
|
158 |
+
#: includes/class-fcbkbttn-settings.php:244
|
159 |
+
msgid "Right"
|
160 |
+
msgstr "Справа"
|
161 |
+
|
162 |
+
#: includes/class-fcbkbttn-settings.php:245
|
163 |
+
msgid "Center"
|
164 |
+
msgstr "По середине"
|
165 |
+
|
166 |
+
#: includes/class-fcbkbttn-settings.php:246
|
167 |
+
msgid "Left"
|
168 |
+
msgstr "Слева"
|
169 |
+
|
170 |
+
#: includes/class-fcbkbttn-settings.php:251
|
171 |
msgid "Language"
|
172 |
msgstr "Язык"
|
173 |
|
174 |
+
#: includes/class-fcbkbttn-settings.php:262
|
175 |
msgid "Select the default language for Facebook button(-s)."
|
176 |
msgstr "Выберите язык отображения по умолчанию для кнопок Facebook."
|
177 |
|
178 |
+
#: includes/class-fcbkbttn-settings.php:271
|
179 |
+
#: includes/class-fcbkbttn-settings.php:274
|
180 |
+
#: includes/class-fcbkbttn-settings.php:278
|
181 |
msgid ""
|
182 |
"Enable to switch language automatically on multilingual website using "
|
183 |
"Multilanguage plugin."
|
185 |
"Включите, чтобы переключить язык автоматически на многоязычном сайте, "
|
186 |
"используя плагин Multilanguage."
|
187 |
|
188 |
+
#: includes/class-fcbkbttn-settings.php:274
|
189 |
msgid "Activate"
|
190 |
msgstr "Активировать"
|
191 |
|
192 |
+
#: includes/class-fcbkbttn-settings.php:278
|
193 |
msgid "Install Now"
|
194 |
msgstr "Установить сейчас"
|
195 |
|
196 |
+
#: includes/class-fcbkbttn-settings.php:283
|
197 |
msgid "Excerpt"
|
198 |
msgstr "Цитата"
|
199 |
|
200 |
+
#: includes/class-fcbkbttn-settings.php:285
|
201 |
msgid "Enable to display buttons in excerpt."
|
202 |
msgstr "Включите, чтоб отображать кнопки для цитаты."
|
203 |
|
204 |
+
#: includes/class-fcbkbttn-settings.php:293
|
205 |
+
#: includes/class-fcbkbttn-settings.php:490
|
206 |
+
#: includes/class-fcbkbttn-settings.php:544
|
207 |
msgid "Close"
|
208 |
msgstr "Закрыть"
|
209 |
|
210 |
+
#: includes/class-fcbkbttn-settings.php:297
|
211 |
msgid "Meta Image"
|
212 |
msgstr "Мета изображение"
|
213 |
|
214 |
+
#: includes/class-fcbkbttn-settings.php:302
|
215 |
msgid "Featured Image"
|
216 |
msgstr "Миниатюра записи"
|
217 |
|
218 |
+
#: includes/class-fcbkbttn-settings.php:306
|
219 |
msgid "Custom Image"
|
220 |
msgstr "Пользовательское изображение"
|
221 |
|
222 |
+
#: includes/class-fcbkbttn-settings.php:306
|
223 |
msgid "This image will be used for all posts"
|
224 |
msgstr "Это изображение будет использоваться для всех записей"
|
225 |
|
226 |
+
#: includes/class-fcbkbttn-settings.php:313
|
227 |
msgid "Meta Description"
|
228 |
msgstr "Мета описание"
|
229 |
|
230 |
+
#: includes/class-fcbkbttn-settings.php:317
|
231 |
msgid ""
|
232 |
"This description will be used for all pages and posts. Leave blank to use "
|
233 |
"page description."
|
235 |
"Это описание будет использоваться для всех записей и страниц. Оставьте "
|
236 |
"пустым, чтобы использовать описание страницы."
|
237 |
|
238 |
+
#: includes/class-fcbkbttn-settings.php:325
|
239 |
msgid "Profile URL Button"
|
240 |
msgstr "Кнопка URL профиля"
|
241 |
|
242 |
+
#: includes/class-fcbkbttn-settings.php:328
|
243 |
msgid "Facebook ID or Username"
|
244 |
msgstr "Facebook ID или имя пользователя"
|
245 |
|
246 |
+
#: includes/class-fcbkbttn-settings.php:335
|
247 |
msgid "Profile Button Image"
|
248 |
msgstr "Изображение кнопки профиля"
|
249 |
|
250 |
+
#: includes/class-fcbkbttn-settings.php:342
|
251 |
msgid "Default"
|
252 |
msgstr "По умолчанию"
|
253 |
|
254 |
+
#: includes/class-fcbkbttn-settings.php:347
|
255 |
msgid "Custom image"
|
256 |
msgstr "Пользовательское изображение"
|
257 |
|
258 |
+
#: includes/class-fcbkbttn-settings.php:351
|
259 |
msgid ""
|
260 |
"To use custom image, You need to setup permissions for upload directory of "
|
261 |
"your site"
|
263 |
"Для использования пользовательского изображения, вам нужно выдать права "
|
264 |
"доступа на папку загрузок на вашем сайте"
|
265 |
|
266 |
+
#: includes/class-fcbkbttn-settings.php:358
|
267 |
msgid "Current image"
|
268 |
msgstr "Текущее изображение"
|
269 |
|
270 |
+
#: includes/class-fcbkbttn-settings.php:366
|
271 |
msgid ""
|
272 |
"Image requirements: max image width: 100px; max image height: 40px; max "
|
273 |
"image size: 32Kb; image types: \"jpg\", \"jpeg\", \"png\"."
|
275 |
"Требования к изображению: максимальная ширина: 100px; максимальная высота: "
|
276 |
"40px; максимальный размер: 32Kb; тип файла: \"jpg\", \"jpeg\", \"png\"."
|
277 |
|
278 |
+
#: includes/class-fcbkbttn-settings.php:370
|
279 |
msgid "Like&Share Buttons"
|
280 |
msgstr "Кнопки \"Нравится\" и \"Поделиться\""
|
281 |
|
282 |
+
#: includes/class-fcbkbttn-settings.php:373
|
283 |
msgid "Like Button Layout"
|
284 |
+
msgstr "Вид кнопки \"Нравится\""
|
285 |
|
286 |
+
#: includes/class-fcbkbttn-settings.php:396
|
287 |
msgid "Share Button Layout"
|
288 |
msgstr "Вид кнопки \"Поделиться\""
|
289 |
|
290 |
+
#: includes/class-fcbkbttn-settings.php:427
|
291 |
msgid "Like Button Action"
|
292 |
msgstr "Действие кнопки \"Нравится\""
|
293 |
|
294 |
+
#: includes/class-fcbkbttn-settings.php:437
|
295 |
msgid "Recommend"
|
296 |
msgstr "Рекомендую"
|
297 |
|
298 |
+
#: includes/class-fcbkbttn-settings.php:443
|
299 |
msgid "Friends Faces"
|
300 |
msgstr "Лица друзей"
|
301 |
|
302 |
+
#: includes/class-fcbkbttn-settings.php:446
|
303 |
msgid "Enable to show faces of your friends who submitted the button."
|
304 |
msgstr "Включите, чтобы показать лица своих друзей, которые нажали кнопку."
|
305 |
|
306 |
+
#: includes/class-fcbkbttn-settings.php:450
|
307 |
msgid "Layout Width"
|
308 |
msgstr "Ширина блока"
|
309 |
|
310 |
+
#: includes/class-fcbkbttn-settings.php:454
|
311 |
msgid "px"
|
312 |
msgstr "пикс"
|
313 |
|
314 |
+
#: includes/class-fcbkbttn-settings.php:459
|
315 |
msgid "Theme"
|
316 |
msgstr "Тема"
|
317 |
|
318 |
+
#: includes/class-fcbkbttn-settings.php:464
|
319 |
msgid "Light"
|
320 |
msgstr "Светлая"
|
321 |
|
322 |
+
#: includes/class-fcbkbttn-settings.php:469
|
323 |
msgid "Dark"
|
324 |
msgstr "Тёмная"
|
325 |
|
326 |
+
#: includes/class-fcbkbttn-settings.php:475
|
327 |
msgid "Like Button HTML Tag"
|
328 |
msgstr "HTML тег кнопки \"Нравится\""
|
329 |
|
330 |
+
#: includes/class-fcbkbttn-settings.php:482
|
331 |
#, php-format
|
332 |
msgid "Tag %s can be used to improve website code validation."
|
333 |
msgstr "Тег %s может быть использован для улучшения валидации кода сайта."
|
334 |
|
335 |
+
#: includes/class-fcbkbttn-settings.php:494
|
336 |
msgid "URL to Like"
|
337 |
msgstr "URL кнопки \"Нравится\""
|
338 |
|
339 |
+
#: includes/class-fcbkbttn-settings.php:496
|
340 |
msgid "Leave blank to use current page URL."
|
341 |
msgstr "Оставьте пустым, чтобы использовать ссылку на текущую страницу."
|
342 |
|
343 |
+
#: includes/class-fcbkbttn-settings.php:523
|
344 |
msgid "Facebook Button Shortcode"
|
345 |
msgstr "Шорткод Facebook Button"
|
346 |
|
347 |
+
#: includes/class-fcbkbttn-settings.php:526
|
348 |
msgid ""
|
349 |
"Add Facebook button(-s) to your posts, pages, custom post types or widgets "
|
350 |
"by using the following shortcode:"
|
352 |
"Добавить кнопки Facebook на ваши записи, страницы, пользовательские типы "
|
353 |
"записей или виджеты с помощью данного шорткода:"
|
354 |
|
355 |
+
#: includes/class-fcbkbttn-settings.php:545
|
356 |
msgid "Facebook Buttons Preview"
|
357 |
msgstr "Предварительный просмотр Facebook кнопок"
|
358 |
|
359 |
+
#: includes/class-fcbkbttn-settings.php:559
|
360 |
msgid "Display Settings"
|
361 |
msgstr "Настройка отображения"
|
362 |
|
363 |
+
#: includes/class-fcbkbttn-settings.php:568
|
364 |
msgid ""
|
365 |
"Please choose the necessary post types (or single pages) where Facebook "
|
366 |
"button will be displayed:"
|
368 |
"Пожалуйста, выберите те типы записей (или отдельные страницы), где будут "
|
369 |
"отображаться кнопки Facebook:"
|
370 |
|
371 |
+
#: includes/class-fcbkbttn-settings.php:575
|
372 |
msgid "Show URL for pages"
|
373 |
msgstr "Отображать URL для страниц"
|
374 |
|
375 |
+
#: includes/class-fcbkbttn-settings.php:581
|
376 |
msgid "Example of site pages tree"
|
377 |
msgstr "Пример дерева страниц сайта"
|
378 |
|
379 |
+
#, fuzzy
|
380 |
+
#~ msgid "This option is optional, but you can create your own App ID."
|
381 |
+
#~ msgstr ""
|
382 |
+
#~ "Этот параметр является необязательным, но вы можете создать свой "
|
383 |
+
#~ "собственный App ID."
|
384 |
+
|
385 |
+
#~ msgid "Learn More"
|
386 |
+
#~ msgstr "Подробнее"
|
387 |
+
|
388 |
+
#, fuzzy
|
389 |
+
#~ msgid "Centering Buttons"
|
390 |
+
#~ msgstr "Центрирование кнопки"
|
391 |
+
|
392 |
+
#, fuzzy
|
393 |
+
#~ msgid "Middle"
|
394 |
+
#~ msgstr "По середине"
|
395 |
+
|
396 |
+
#, fuzzy
|
397 |
+
#~ msgid "Enter the required App ID."
|
398 |
+
#~ msgstr "Введите требуемый App ID."
|
399 |
+
|
400 |
#~ msgid "Layout"
|
401 |
#~ msgstr "Вид"
|
402 |
|
445 |
#~ msgid "Plugins page"
|
446 |
#~ msgstr "Страницу плагинов"
|
447 |
|
|
|
|
|
|
|
448 |
#~ msgid "Save Changes"
|
449 |
#~ msgstr "Сохранить изменения"
|
450 |
|
languages/facebook-button-plugin-uk.mo
CHANGED
Binary file
|
languages/facebook-button-plugin-uk.po
CHANGED
@@ -2,8 +2,8 @@ msgid ""
|
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: facebook-button-plugin\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
-
"POT-Creation-Date: 2018-
|
6 |
-
"PO-Revision-Date: 2018-
|
7 |
"Last-Translator: plugin@bestwebsoft.com <plugin@bestwebsoft.com>\n"
|
8 |
"Language-Team: BestWebSoft <plugin@bestwebsoft.com>\n"
|
9 |
"Language: uk\n"
|
@@ -19,12 +19,12 @@ msgstr ""
|
|
19 |
"X-Poedit-SearchPath-0: .\n"
|
20 |
|
21 |
#: facebook-button-plugin.php:36 facebook-button-plugin.php:37
|
22 |
-
#: facebook-button-plugin.php:
|
23 |
msgid "Facebook Button Settings"
|
24 |
msgstr "Налаштування Facebook Button"
|
25 |
|
26 |
-
#: facebook-button-plugin.php:37 facebook-button-plugin.php:
|
27 |
-
#: facebook-button-plugin.php:
|
28 |
msgid "Settings"
|
29 |
msgstr "Налаштування"
|
30 |
|
@@ -32,19 +32,19 @@ msgstr "Налаштування"
|
|
32 |
msgid "Upgrade to Pro"
|
33 |
msgstr "Оновитися до Pro"
|
34 |
|
35 |
-
#: facebook-button-plugin.php:
|
36 |
msgid "Please, enable JavaScript in your browser."
|
37 |
msgstr "Будь ласка, активуйте JavaScript у Вашому браузері."
|
38 |
|
39 |
-
#: facebook-button-plugin.php:
|
40 |
msgid "Add Facebook buttons to your page or post"
|
41 |
msgstr "Додати кнопки Facebook на вашу сторінку або запис"
|
42 |
|
43 |
-
#: facebook-button-plugin.php:
|
44 |
msgid "FAQ"
|
45 |
msgstr "FAQ"
|
46 |
|
47 |
-
#: facebook-button-plugin.php:
|
48 |
msgid "Support"
|
49 |
msgstr "Підтримка"
|
50 |
|
@@ -64,90 +64,122 @@ msgstr "Користувацький код"
|
|
64 |
msgid "License Key"
|
65 |
msgstr "Ліцензійний ключ"
|
66 |
|
67 |
-
#: includes/class-fcbkbttn-settings.php:
|
68 |
msgid "Settings saved"
|
69 |
msgstr "Налаштування збережені"
|
70 |
|
71 |
-
#: includes/class-fcbkbttn-settings.php:
|
72 |
msgid "Error: File size must not exceed 32KB"
|
73 |
msgstr "Помилка: Розмiр файлу не повинен перевищувати 32КБ"
|
74 |
|
75 |
-
#: includes/class-fcbkbttn-settings.php:
|
76 |
msgid "Error: Invalid file type"
|
77 |
msgstr "Помилка: Невірний тип файлу"
|
78 |
|
79 |
-
#: includes/class-fcbkbttn-settings.php:
|
80 |
msgid "Upload successful."
|
81 |
msgstr "Файл був завантажений успішно"
|
82 |
|
83 |
-
#: includes/class-fcbkbttn-settings.php:
|
84 |
msgid "Error: Failed to move file."
|
85 |
msgstr "Помилка: Не вдалося переміщення файлу."
|
86 |
|
87 |
-
#: includes/class-fcbkbttn-settings.php:
|
88 |
msgid "Error: Check image width or height."
|
89 |
msgstr "Помилка: Перевірте ширину або висоту зображення."
|
90 |
|
91 |
-
#: includes/class-fcbkbttn-settings.php:
|
92 |
msgid "Uploading Error: Check image properties"
|
93 |
msgstr "Помилка завантаження: Перевірте властивості зображення"
|
94 |
|
95 |
-
#: includes/class-fcbkbttn-settings.php:
|
96 |
msgid "General"
|
97 |
msgstr "Загальне"
|
98 |
|
99 |
-
#: includes/class-fcbkbttn-settings.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
100 |
msgid "Buttons"
|
101 |
msgstr "Кнопки"
|
102 |
|
103 |
-
#: includes/class-fcbkbttn-settings.php:
|
104 |
msgid "Profile URL"
|
105 |
msgstr "URL профілю"
|
106 |
|
107 |
-
#: includes/class-fcbkbttn-settings.php:
|
108 |
-
#: includes/class-fcbkbttn-settings.php:
|
109 |
msgid "Like"
|
110 |
msgstr "Подобається"
|
111 |
|
112 |
-
#: includes/class-fcbkbttn-settings.php:
|
113 |
msgid "Share"
|
114 |
msgstr "Поширити"
|
115 |
|
116 |
-
#: includes/class-fcbkbttn-settings.php:
|
117 |
msgid "Buttons Size"
|
118 |
msgstr "Розмiр кнопок"
|
119 |
|
120 |
-
#: includes/class-fcbkbttn-settings.php:
|
121 |
msgid "Small"
|
122 |
msgstr "Малi"
|
123 |
|
124 |
-
#: includes/class-fcbkbttn-settings.php:
|
125 |
msgid "Large"
|
126 |
msgstr "Великi"
|
127 |
|
128 |
-
#: includes/class-fcbkbttn-settings.php:
|
129 |
msgid "Buttons Position"
|
130 |
msgstr "Розташування кнопок"
|
131 |
|
132 |
-
#: includes/class-fcbkbttn-settings.php:
|
133 |
msgid "Before content"
|
134 |
msgstr "Перед вмістом"
|
135 |
|
136 |
-
#: includes/class-fcbkbttn-settings.php:
|
137 |
msgid "After content"
|
138 |
msgstr "Після вмісту"
|
139 |
|
140 |
-
#: includes/class-fcbkbttn-settings.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
141 |
msgid "Language"
|
142 |
msgstr "Мова"
|
143 |
|
144 |
-
#: includes/class-fcbkbttn-settings.php:
|
145 |
msgid "Select the default language for Facebook button(-s)."
|
146 |
msgstr "Оберіть мову за замовчуванням для кнопок Facebook."
|
147 |
|
148 |
-
#: includes/class-fcbkbttn-settings.php:
|
149 |
-
#: includes/class-fcbkbttn-settings.php:
|
150 |
-
#: includes/class-fcbkbttn-settings.php:
|
151 |
msgid ""
|
152 |
"Enable to switch language automatically on multilingual website using "
|
153 |
"Multilanguage plugin."
|
@@ -155,49 +187,49 @@ msgstr ""
|
|
155 |
"Включiть, щоб перемкнути мову автоматично на багатомовному сайті, "
|
156 |
"використовуючи плагін Multilanguage."
|
157 |
|
158 |
-
#: includes/class-fcbkbttn-settings.php:
|
159 |
msgid "Activate"
|
160 |
msgstr "Активувати"
|
161 |
|
162 |
-
#: includes/class-fcbkbttn-settings.php:
|
163 |
msgid "Install Now"
|
164 |
msgstr "Встановити зараз"
|
165 |
|
166 |
-
#: includes/class-fcbkbttn-settings.php:
|
167 |
msgid "Excerpt"
|
168 |
msgstr "Уривок"
|
169 |
|
170 |
-
#: includes/class-fcbkbttn-settings.php:
|
171 |
msgid "Enable to display buttons in excerpt."
|
172 |
msgstr "Ввімкнути для відображення кнопок в уривку."
|
173 |
|
174 |
-
#: includes/class-fcbkbttn-settings.php:
|
175 |
-
#: includes/class-fcbkbttn-settings.php:
|
176 |
-
#: includes/class-fcbkbttn-settings.php:
|
177 |
msgid "Close"
|
178 |
msgstr "Закрити"
|
179 |
|
180 |
-
#: includes/class-fcbkbttn-settings.php:
|
181 |
msgid "Meta Image"
|
182 |
msgstr "Мета зображення"
|
183 |
|
184 |
-
#: includes/class-fcbkbttn-settings.php:
|
185 |
msgid "Featured Image"
|
186 |
msgstr "Головне зображення"
|
187 |
|
188 |
-
#: includes/class-fcbkbttn-settings.php:
|
189 |
msgid "Custom Image"
|
190 |
msgstr "Користувацьке зображення"
|
191 |
|
192 |
-
#: includes/class-fcbkbttn-settings.php:
|
193 |
msgid "This image will be used for all posts"
|
194 |
msgstr "Це зображення буде використовуватися для всiх записiв"
|
195 |
|
196 |
-
#: includes/class-fcbkbttn-settings.php:
|
197 |
msgid "Meta Description"
|
198 |
msgstr "Мета опис"
|
199 |
|
200 |
-
#: includes/class-fcbkbttn-settings.php:
|
201 |
msgid ""
|
202 |
"This description will be used for all pages and posts. Leave blank to use "
|
203 |
"page description."
|
@@ -205,27 +237,27 @@ msgstr ""
|
|
205 |
"Цей опис буде використовуватися для всіх записів і сторінок. Залиште "
|
206 |
"порожнім, щоб використовувати опис сторінки."
|
207 |
|
208 |
-
#: includes/class-fcbkbttn-settings.php:
|
209 |
msgid "Profile URL Button"
|
210 |
msgstr "Кнопка URL профілю"
|
211 |
|
212 |
-
#: includes/class-fcbkbttn-settings.php:
|
213 |
msgid "Facebook ID or Username"
|
214 |
msgstr "Facebook ID або Ім'я користувача"
|
215 |
|
216 |
-
#: includes/class-fcbkbttn-settings.php:
|
217 |
msgid "Profile Button Image"
|
218 |
msgstr "Зображення кнопки профілю"
|
219 |
|
220 |
-
#: includes/class-fcbkbttn-settings.php:
|
221 |
msgid "Default"
|
222 |
msgstr "За замовчуванням"
|
223 |
|
224 |
-
#: includes/class-fcbkbttn-settings.php:
|
225 |
msgid "Custom image"
|
226 |
msgstr "Користувацьке зображення"
|
227 |
|
228 |
-
#: includes/class-fcbkbttn-settings.php:
|
229 |
msgid ""
|
230 |
"To use custom image, You need to setup permissions for upload directory of "
|
231 |
"your site"
|
@@ -233,11 +265,11 @@ msgstr ""
|
|
233 |
"Для використання користувацького зображення, вам необхідно видати права "
|
234 |
"доступу на папку завантажень на вашому сайті"
|
235 |
|
236 |
-
#: includes/class-fcbkbttn-settings.php:
|
237 |
msgid "Current image"
|
238 |
msgstr "Поточне зображення"
|
239 |
|
240 |
-
#: includes/class-fcbkbttn-settings.php:
|
241 |
msgid ""
|
242 |
"Image requirements: max image width: 100px; max image height: 40px; max "
|
243 |
"image size: 32Kb; image types: \"jpg\", \"jpeg\", \"png\"."
|
@@ -246,76 +278,76 @@ msgstr ""
|
|
246 |
"висота зображення: 40px; максимальний розмір зображення: 32Kb; типи "
|
247 |
"зображеннь : \"jpg\", \"jpeg\", \"png\"."
|
248 |
|
249 |
-
#: includes/class-fcbkbttn-settings.php:
|
250 |
msgid "Like&Share Buttons"
|
251 |
msgstr "Кнопки \"Подобається\" та \"Поширити\""
|
252 |
|
253 |
-
#: includes/class-fcbkbttn-settings.php:
|
254 |
msgid "Like Button Layout"
|
255 |
msgstr "Вид кнопки \"Подобається\""
|
256 |
|
257 |
-
#: includes/class-fcbkbttn-settings.php:
|
258 |
msgid "Share Button Layout"
|
259 |
msgstr "Вид кнопки \"Поширити\""
|
260 |
|
261 |
-
#: includes/class-fcbkbttn-settings.php:
|
262 |
msgid "Like Button Action"
|
263 |
msgstr "Дія кнопки \"Подобається\""
|
264 |
|
265 |
-
#: includes/class-fcbkbttn-settings.php:
|
266 |
msgid "Recommend"
|
267 |
msgstr "Рекомендую"
|
268 |
|
269 |
-
#: includes/class-fcbkbttn-settings.php:
|
270 |
msgid "Friends Faces"
|
271 |
msgstr "Обличчя друзів"
|
272 |
|
273 |
-
#: includes/class-fcbkbttn-settings.php:
|
274 |
msgid "Enable to show faces of your friends who submitted the button."
|
275 |
msgstr "Включiть, щоб показати обличчя своїх друзів, які натиснули кнопку."
|
276 |
|
277 |
-
#: includes/class-fcbkbttn-settings.php:
|
278 |
msgid "Layout Width"
|
279 |
msgstr "Ширина блоку"
|
280 |
|
281 |
-
#: includes/class-fcbkbttn-settings.php:
|
282 |
msgid "px"
|
283 |
msgstr "пікс"
|
284 |
|
285 |
-
#: includes/class-fcbkbttn-settings.php:
|
286 |
msgid "Theme"
|
287 |
msgstr "Тема"
|
288 |
|
289 |
-
#: includes/class-fcbkbttn-settings.php:
|
290 |
msgid "Light"
|
291 |
msgstr "Світла"
|
292 |
|
293 |
-
#: includes/class-fcbkbttn-settings.php:
|
294 |
msgid "Dark"
|
295 |
msgstr "Темна"
|
296 |
|
297 |
-
#: includes/class-fcbkbttn-settings.php:
|
298 |
msgid "Like Button HTML Tag"
|
299 |
msgstr "HTML тег кнопки \"Подобається\""
|
300 |
|
301 |
-
#: includes/class-fcbkbttn-settings.php:
|
302 |
#, php-format
|
303 |
msgid "Tag %s can be used to improve website code validation."
|
304 |
msgstr "Тег %s може бути використаний для поліпшення валідації коду сайту."
|
305 |
|
306 |
-
#: includes/class-fcbkbttn-settings.php:
|
307 |
msgid "URL to Like"
|
308 |
msgstr "URL кнопки \"Подобається\""
|
309 |
|
310 |
-
#: includes/class-fcbkbttn-settings.php:
|
311 |
msgid "Leave blank to use current page URL."
|
312 |
msgstr "Залиште порожнім, щоб використовувати посилання на поточну сторінку."
|
313 |
|
314 |
-
#: includes/class-fcbkbttn-settings.php:
|
315 |
msgid "Facebook Button Shortcode"
|
316 |
msgstr "Шорткод Facebook Button"
|
317 |
|
318 |
-
#: includes/class-fcbkbttn-settings.php:
|
319 |
msgid ""
|
320 |
"Add Facebook button(-s) to your posts, pages, custom post types or widgets "
|
321 |
"by using the following shortcode:"
|
@@ -323,15 +355,15 @@ msgstr ""
|
|
323 |
"Додати кнопки Facebook на ваші записи, сторінки, користувацькі типи записів "
|
324 |
"або віджети за допомогою даного шорткода:"
|
325 |
|
326 |
-
#: includes/class-fcbkbttn-settings.php:
|
327 |
msgid "Facebook Buttons Preview"
|
328 |
msgstr "Попередній перегляд Facebook кнопок"
|
329 |
|
330 |
-
#: includes/class-fcbkbttn-settings.php:
|
331 |
msgid "Display Settings"
|
332 |
msgstr "Налаштування відображення"
|
333 |
|
334 |
-
#: includes/class-fcbkbttn-settings.php:
|
335 |
msgid ""
|
336 |
"Please choose the necessary post types (or single pages) where Facebook "
|
337 |
"button will be displayed:"
|
@@ -339,14 +371,35 @@ msgstr ""
|
|
339 |
"Будь ласка, оберіть необхідні типи записів (чи сторінок), де буде "
|
340 |
"відображатися кнопка Facebook"
|
341 |
|
342 |
-
#: includes/class-fcbkbttn-settings.php:
|
343 |
msgid "Show URL for pages"
|
344 |
msgstr "Відображати URL сторінок"
|
345 |
|
346 |
-
#: includes/class-fcbkbttn-settings.php:
|
347 |
msgid "Example of site pages tree"
|
348 |
msgstr "Приклад дерева сторінок сайту"
|
349 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
350 |
#~ msgid "Layout"
|
351 |
#~ msgstr "Вид"
|
352 |
|
@@ -382,9 +435,6 @@ msgstr "Приклад дерева сторінок сайту"
|
|
382 |
#~ msgid "Activate %s"
|
383 |
#~ msgstr "Активувати %s"
|
384 |
|
385 |
-
#~ msgid "Learn More"
|
386 |
-
#~ msgstr "Докладніше"
|
387 |
-
|
388 |
#~ msgid "Error: File size > 32K"
|
389 |
#~ msgstr "Помилка: Розмір файлу не повинен перевищувати 32Kб"
|
390 |
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: facebook-button-plugin\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2018-02-12 14:52+0200\n"
|
6 |
+
"PO-Revision-Date: 2018-02-12 14:54+0200\n"
|
7 |
"Last-Translator: plugin@bestwebsoft.com <plugin@bestwebsoft.com>\n"
|
8 |
"Language-Team: BestWebSoft <plugin@bestwebsoft.com>\n"
|
9 |
"Language: uk\n"
|
19 |
"X-Poedit-SearchPath-0: .\n"
|
20 |
|
21 |
#: facebook-button-plugin.php:36 facebook-button-plugin.php:37
|
22 |
+
#: facebook-button-plugin.php:211 includes/class-fcbkbttn-settings.php:186
|
23 |
msgid "Facebook Button Settings"
|
24 |
msgstr "Налаштування Facebook Button"
|
25 |
|
26 |
+
#: facebook-button-plugin.php:37 facebook-button-plugin.php:435
|
27 |
+
#: facebook-button-plugin.php:449 includes/class-fcbkbttn-settings.php:23
|
28 |
msgid "Settings"
|
29 |
msgstr "Налаштування"
|
30 |
|
32 |
msgid "Upgrade to Pro"
|
33 |
msgstr "Оновитися до Pro"
|
34 |
|
35 |
+
#: facebook-button-plugin.php:212
|
36 |
msgid "Please, enable JavaScript in your browser."
|
37 |
msgstr "Будь ласка, активуйте JavaScript у Вашому браузері."
|
38 |
|
39 |
+
#: facebook-button-plugin.php:320
|
40 |
msgid "Add Facebook buttons to your page or post"
|
41 |
msgstr "Додати кнопки Facebook на вашу сторінку або запис"
|
42 |
|
43 |
+
#: facebook-button-plugin.php:451
|
44 |
msgid "FAQ"
|
45 |
msgstr "FAQ"
|
46 |
|
47 |
+
#: facebook-button-plugin.php:452
|
48 |
msgid "Support"
|
49 |
msgstr "Підтримка"
|
50 |
|
64 |
msgid "License Key"
|
65 |
msgstr "Ліцензійний ключ"
|
66 |
|
67 |
+
#: includes/class-fcbkbttn-settings.php:110
|
68 |
msgid "Settings saved"
|
69 |
msgstr "Налаштування збережені"
|
70 |
|
71 |
+
#: includes/class-fcbkbttn-settings.php:139
|
72 |
msgid "Error: File size must not exceed 32KB"
|
73 |
msgstr "Помилка: Розмiр файлу не повинен перевищувати 32КБ"
|
74 |
|
75 |
+
#: includes/class-fcbkbttn-settings.php:142
|
76 |
msgid "Error: Invalid file type"
|
77 |
msgstr "Помилка: Невірний тип файлу"
|
78 |
|
79 |
+
#: includes/class-fcbkbttn-settings.php:148
|
80 |
msgid "Upload successful."
|
81 |
msgstr "Файл був завантажений успішно"
|
82 |
|
83 |
+
#: includes/class-fcbkbttn-settings.php:156
|
84 |
msgid "Error: Failed to move file."
|
85 |
msgstr "Помилка: Не вдалося переміщення файлу."
|
86 |
|
87 |
+
#: includes/class-fcbkbttn-settings.php:159
|
88 |
msgid "Error: Check image width or height."
|
89 |
msgstr "Помилка: Перевірте ширину або висоту зображення."
|
90 |
|
91 |
+
#: includes/class-fcbkbttn-settings.php:163
|
92 |
msgid "Uploading Error: Check image properties"
|
93 |
msgstr "Помилка завантаження: Перевірте властивості зображення"
|
94 |
|
95 |
+
#: includes/class-fcbkbttn-settings.php:195
|
96 |
msgid "General"
|
97 |
msgstr "Загальне"
|
98 |
|
99 |
+
#: includes/class-fcbkbttn-settings.php:198
|
100 |
+
msgid "Change App ID"
|
101 |
+
msgstr "Змінити App ID"
|
102 |
+
|
103 |
+
#: includes/class-fcbkbttn-settings.php:202
|
104 |
+
msgid "You can use standard App ID or"
|
105 |
+
msgstr "Ви можете використовувати стандартний App ID або"
|
106 |
+
|
107 |
+
#: includes/class-fcbkbttn-settings.php:202
|
108 |
+
msgid "create a new one"
|
109 |
+
msgstr "створити свій власний."
|
110 |
+
|
111 |
+
#: includes/class-fcbkbttn-settings.php:202
|
112 |
+
msgid " Leave blank to use standard App ID."
|
113 |
+
msgstr "Щоб використовувати стандартний App ID, залиште це поле порожнім."
|
114 |
+
|
115 |
+
#: includes/class-fcbkbttn-settings.php:206
|
116 |
msgid "Buttons"
|
117 |
msgstr "Кнопки"
|
118 |
|
119 |
+
#: includes/class-fcbkbttn-settings.php:209
|
120 |
msgid "Profile URL"
|
121 |
msgstr "URL профілю"
|
122 |
|
123 |
+
#: includes/class-fcbkbttn-settings.php:210
|
124 |
+
#: includes/class-fcbkbttn-settings.php:432
|
125 |
msgid "Like"
|
126 |
msgstr "Подобається"
|
127 |
|
128 |
+
#: includes/class-fcbkbttn-settings.php:211
|
129 |
msgid "Share"
|
130 |
msgstr "Поширити"
|
131 |
|
132 |
+
#: includes/class-fcbkbttn-settings.php:216
|
133 |
msgid "Buttons Size"
|
134 |
msgstr "Розмiр кнопок"
|
135 |
|
136 |
+
#: includes/class-fcbkbttn-settings.php:219
|
137 |
msgid "Small"
|
138 |
msgstr "Малi"
|
139 |
|
140 |
+
#: includes/class-fcbkbttn-settings.php:220
|
141 |
msgid "Large"
|
142 |
msgstr "Великi"
|
143 |
|
144 |
+
#: includes/class-fcbkbttn-settings.php:225
|
145 |
msgid "Buttons Position"
|
146 |
msgstr "Розташування кнопок"
|
147 |
|
148 |
+
#: includes/class-fcbkbttn-settings.php:230
|
149 |
msgid "Before content"
|
150 |
msgstr "Перед вмістом"
|
151 |
|
152 |
+
#: includes/class-fcbkbttn-settings.php:235
|
153 |
msgid "After content"
|
154 |
msgstr "Після вмісту"
|
155 |
|
156 |
+
#: includes/class-fcbkbttn-settings.php:241
|
157 |
+
msgid "Buttons Align"
|
158 |
+
msgstr "Вирівнювання кнопок"
|
159 |
+
|
160 |
+
#: includes/class-fcbkbttn-settings.php:244
|
161 |
+
msgid "Right"
|
162 |
+
msgstr "Зправа"
|
163 |
+
|
164 |
+
#: includes/class-fcbkbttn-settings.php:245
|
165 |
+
msgid "Center"
|
166 |
+
msgstr "По середині"
|
167 |
+
|
168 |
+
#: includes/class-fcbkbttn-settings.php:246
|
169 |
+
msgid "Left"
|
170 |
+
msgstr "Зліва"
|
171 |
+
|
172 |
+
#: includes/class-fcbkbttn-settings.php:251
|
173 |
msgid "Language"
|
174 |
msgstr "Мова"
|
175 |
|
176 |
+
#: includes/class-fcbkbttn-settings.php:262
|
177 |
msgid "Select the default language for Facebook button(-s)."
|
178 |
msgstr "Оберіть мову за замовчуванням для кнопок Facebook."
|
179 |
|
180 |
+
#: includes/class-fcbkbttn-settings.php:271
|
181 |
+
#: includes/class-fcbkbttn-settings.php:274
|
182 |
+
#: includes/class-fcbkbttn-settings.php:278
|
183 |
msgid ""
|
184 |
"Enable to switch language automatically on multilingual website using "
|
185 |
"Multilanguage plugin."
|
187 |
"Включiть, щоб перемкнути мову автоматично на багатомовному сайті, "
|
188 |
"використовуючи плагін Multilanguage."
|
189 |
|
190 |
+
#: includes/class-fcbkbttn-settings.php:274
|
191 |
msgid "Activate"
|
192 |
msgstr "Активувати"
|
193 |
|
194 |
+
#: includes/class-fcbkbttn-settings.php:278
|
195 |
msgid "Install Now"
|
196 |
msgstr "Встановити зараз"
|
197 |
|
198 |
+
#: includes/class-fcbkbttn-settings.php:283
|
199 |
msgid "Excerpt"
|
200 |
msgstr "Уривок"
|
201 |
|
202 |
+
#: includes/class-fcbkbttn-settings.php:285
|
203 |
msgid "Enable to display buttons in excerpt."
|
204 |
msgstr "Ввімкнути для відображення кнопок в уривку."
|
205 |
|
206 |
+
#: includes/class-fcbkbttn-settings.php:293
|
207 |
+
#: includes/class-fcbkbttn-settings.php:486
|
208 |
+
#: includes/class-fcbkbttn-settings.php:540
|
209 |
msgid "Close"
|
210 |
msgstr "Закрити"
|
211 |
|
212 |
+
#: includes/class-fcbkbttn-settings.php:297
|
213 |
msgid "Meta Image"
|
214 |
msgstr "Мета зображення"
|
215 |
|
216 |
+
#: includes/class-fcbkbttn-settings.php:302
|
217 |
msgid "Featured Image"
|
218 |
msgstr "Головне зображення"
|
219 |
|
220 |
+
#: includes/class-fcbkbttn-settings.php:306
|
221 |
msgid "Custom Image"
|
222 |
msgstr "Користувацьке зображення"
|
223 |
|
224 |
+
#: includes/class-fcbkbttn-settings.php:306
|
225 |
msgid "This image will be used for all posts"
|
226 |
msgstr "Це зображення буде використовуватися для всiх записiв"
|
227 |
|
228 |
+
#: includes/class-fcbkbttn-settings.php:313
|
229 |
msgid "Meta Description"
|
230 |
msgstr "Мета опис"
|
231 |
|
232 |
+
#: includes/class-fcbkbttn-settings.php:317
|
233 |
msgid ""
|
234 |
"This description will be used for all pages and posts. Leave blank to use "
|
235 |
"page description."
|
237 |
"Цей опис буде використовуватися для всіх записів і сторінок. Залиште "
|
238 |
"порожнім, щоб використовувати опис сторінки."
|
239 |
|
240 |
+
#: includes/class-fcbkbttn-settings.php:325
|
241 |
msgid "Profile URL Button"
|
242 |
msgstr "Кнопка URL профілю"
|
243 |
|
244 |
+
#: includes/class-fcbkbttn-settings.php:328
|
245 |
msgid "Facebook ID or Username"
|
246 |
msgstr "Facebook ID або Ім'я користувача"
|
247 |
|
248 |
+
#: includes/class-fcbkbttn-settings.php:335
|
249 |
msgid "Profile Button Image"
|
250 |
msgstr "Зображення кнопки профілю"
|
251 |
|
252 |
+
#: includes/class-fcbkbttn-settings.php:342
|
253 |
msgid "Default"
|
254 |
msgstr "За замовчуванням"
|
255 |
|
256 |
+
#: includes/class-fcbkbttn-settings.php:347
|
257 |
msgid "Custom image"
|
258 |
msgstr "Користувацьке зображення"
|
259 |
|
260 |
+
#: includes/class-fcbkbttn-settings.php:351
|
261 |
msgid ""
|
262 |
"To use custom image, You need to setup permissions for upload directory of "
|
263 |
"your site"
|
265 |
"Для використання користувацького зображення, вам необхідно видати права "
|
266 |
"доступу на папку завантажень на вашому сайті"
|
267 |
|
268 |
+
#: includes/class-fcbkbttn-settings.php:358
|
269 |
msgid "Current image"
|
270 |
msgstr "Поточне зображення"
|
271 |
|
272 |
+
#: includes/class-fcbkbttn-settings.php:366
|
273 |
msgid ""
|
274 |
"Image requirements: max image width: 100px; max image height: 40px; max "
|
275 |
"image size: 32Kb; image types: \"jpg\", \"jpeg\", \"png\"."
|
278 |
"висота зображення: 40px; максимальний розмір зображення: 32Kb; типи "
|
279 |
"зображеннь : \"jpg\", \"jpeg\", \"png\"."
|
280 |
|
281 |
+
#: includes/class-fcbkbttn-settings.php:370
|
282 |
msgid "Like&Share Buttons"
|
283 |
msgstr "Кнопки \"Подобається\" та \"Поширити\""
|
284 |
|
285 |
+
#: includes/class-fcbkbttn-settings.php:373
|
286 |
msgid "Like Button Layout"
|
287 |
msgstr "Вид кнопки \"Подобається\""
|
288 |
|
289 |
+
#: includes/class-fcbkbttn-settings.php:396
|
290 |
msgid "Share Button Layout"
|
291 |
msgstr "Вид кнопки \"Поширити\""
|
292 |
|
293 |
+
#: includes/class-fcbkbttn-settings.php:427
|
294 |
msgid "Like Button Action"
|
295 |
msgstr "Дія кнопки \"Подобається\""
|
296 |
|
297 |
+
#: includes/class-fcbkbttn-settings.php:437
|
298 |
msgid "Recommend"
|
299 |
msgstr "Рекомендую"
|
300 |
|
301 |
+
#: includes/class-fcbkbttn-settings.php:443
|
302 |
msgid "Friends Faces"
|
303 |
msgstr "Обличчя друзів"
|
304 |
|
305 |
+
#: includes/class-fcbkbttn-settings.php:446
|
306 |
msgid "Enable to show faces of your friends who submitted the button."
|
307 |
msgstr "Включiть, щоб показати обличчя своїх друзів, які натиснули кнопку."
|
308 |
|
309 |
+
#: includes/class-fcbkbttn-settings.php:450
|
310 |
msgid "Layout Width"
|
311 |
msgstr "Ширина блоку"
|
312 |
|
313 |
+
#: includes/class-fcbkbttn-settings.php:452
|
314 |
msgid "px"
|
315 |
msgstr "пікс"
|
316 |
|
317 |
+
#: includes/class-fcbkbttn-settings.php:456
|
318 |
msgid "Theme"
|
319 |
msgstr "Тема"
|
320 |
|
321 |
+
#: includes/class-fcbkbttn-settings.php:461
|
322 |
msgid "Light"
|
323 |
msgstr "Світла"
|
324 |
|
325 |
+
#: includes/class-fcbkbttn-settings.php:466
|
326 |
msgid "Dark"
|
327 |
msgstr "Темна"
|
328 |
|
329 |
+
#: includes/class-fcbkbttn-settings.php:472
|
330 |
msgid "Like Button HTML Tag"
|
331 |
msgstr "HTML тег кнопки \"Подобається\""
|
332 |
|
333 |
+
#: includes/class-fcbkbttn-settings.php:478
|
334 |
#, php-format
|
335 |
msgid "Tag %s can be used to improve website code validation."
|
336 |
msgstr "Тег %s може бути використаний для поліпшення валідації коду сайту."
|
337 |
|
338 |
+
#: includes/class-fcbkbttn-settings.php:490
|
339 |
msgid "URL to Like"
|
340 |
msgstr "URL кнопки \"Подобається\""
|
341 |
|
342 |
+
#: includes/class-fcbkbttn-settings.php:492
|
343 |
msgid "Leave blank to use current page URL."
|
344 |
msgstr "Залиште порожнім, щоб використовувати посилання на поточну сторінку."
|
345 |
|
346 |
+
#: includes/class-fcbkbttn-settings.php:519
|
347 |
msgid "Facebook Button Shortcode"
|
348 |
msgstr "Шорткод Facebook Button"
|
349 |
|
350 |
+
#: includes/class-fcbkbttn-settings.php:522
|
351 |
msgid ""
|
352 |
"Add Facebook button(-s) to your posts, pages, custom post types or widgets "
|
353 |
"by using the following shortcode:"
|
355 |
"Додати кнопки Facebook на ваші записи, сторінки, користувацькі типи записів "
|
356 |
"або віджети за допомогою даного шорткода:"
|
357 |
|
358 |
+
#: includes/class-fcbkbttn-settings.php:541
|
359 |
msgid "Facebook Buttons Preview"
|
360 |
msgstr "Попередній перегляд Facebook кнопок"
|
361 |
|
362 |
+
#: includes/class-fcbkbttn-settings.php:555
|
363 |
msgid "Display Settings"
|
364 |
msgstr "Налаштування відображення"
|
365 |
|
366 |
+
#: includes/class-fcbkbttn-settings.php:564
|
367 |
msgid ""
|
368 |
"Please choose the necessary post types (or single pages) where Facebook "
|
369 |
"button will be displayed:"
|
371 |
"Будь ласка, оберіть необхідні типи записів (чи сторінок), де буде "
|
372 |
"відображатися кнопка Facebook"
|
373 |
|
374 |
+
#: includes/class-fcbkbttn-settings.php:571
|
375 |
msgid "Show URL for pages"
|
376 |
msgstr "Відображати URL сторінок"
|
377 |
|
378 |
+
#: includes/class-fcbkbttn-settings.php:577
|
379 |
msgid "Example of site pages tree"
|
380 |
msgstr "Приклад дерева сторінок сайту"
|
381 |
|
382 |
+
#, fuzzy
|
383 |
+
#~ msgid "This option is optional, but you can create your own App ID."
|
384 |
+
#~ msgstr ""
|
385 |
+
#~ "Этот параметр является необязательным, но вы можете создать свой "
|
386 |
+
#~ "собственный App ID."
|
387 |
+
|
388 |
+
#~ msgid "Learn More"
|
389 |
+
#~ msgstr "Докладніше"
|
390 |
+
|
391 |
+
#, fuzzy
|
392 |
+
#~ msgid "Centering Buttons"
|
393 |
+
#~ msgstr "Центрування кнопок"
|
394 |
+
|
395 |
+
#, fuzzy
|
396 |
+
#~ msgid "Middle"
|
397 |
+
#~ msgstr "По середині"
|
398 |
+
|
399 |
+
#, fuzzy
|
400 |
+
#~ msgid "Enter the required App ID."
|
401 |
+
#~ msgstr "Введіть необхідний App ID."
|
402 |
+
|
403 |
#~ msgid "Layout"
|
404 |
#~ msgstr "Вид"
|
405 |
|
435 |
#~ msgid "Activate %s"
|
436 |
#~ msgstr "Активувати %s"
|
437 |
|
|
|
|
|
|
|
438 |
#~ msgid "Error: File size > 32K"
|
439 |
#~ msgstr "Помилка: Розмір файлу не повинен перевищувати 32Kб"
|
440 |
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: bestwebsoft
|
|
3 |
Donate link: https://bestwebsoft.com/donate/
|
4 |
Tags: facebook buttons, share, like, add share button, social buttons, facebook, facebook button icon, follow, follow button, like button, share button, facebook plugin
|
5 |
Requires at least: 3.9
|
6 |
-
Tested up to: 4.9.
|
7 |
-
Stable tag: 2.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -26,17 +26,23 @@ https://www.youtube.com/watch?v=hGNQs-rF8b8
|
|
26 |
* Like
|
27 |
* Share
|
28 |
* Follow
|
|
|
29 |
* Change color scheme for Share button
|
30 |
* Select layout for Like and Share buttons:
|
31 |
* Standard
|
32 |
* Box count
|
33 |
* Button count
|
34 |
* Button
|
35 |
-
* Select
|
36 |
-
*
|
37 |
-
|
38 |
-
|
39 |
-
|
|
|
|
|
|
|
|
|
|
|
40 |
* Show/hide faces option
|
41 |
* Compatible with [Multilanguage](https://bestwebsoft.com/products/wordpress/plugins/multilanguage/?k=ce7cc6ad47715a97a579a6d9b59ed8b3) (current website language detection)
|
42 |
* Choose Like button action - like or recommend
|
@@ -156,6 +162,10 @@ Please make sure that the problem hasn't been discussed yet on our forum (<https
|
|
156 |
|
157 |
== Changelog ==
|
158 |
|
|
|
|
|
|
|
|
|
159 |
= V2.56 - 24.01.2018 =
|
160 |
* Bugfix : Compatibility with Multilanguage plugin by BestWebSoft has been fixed.
|
161 |
* Update : The Czech language file has been updated.
|
@@ -382,6 +392,9 @@ Please make sure that the problem hasn't been discussed yet on our forum (<https
|
|
382 |
|
383 |
== Upgrade Notice ==
|
384 |
|
|
|
|
|
|
|
385 |
= V2.56 =
|
386 |
* Bugs fixed.
|
387 |
* Languages updated.
|
3 |
Donate link: https://bestwebsoft.com/donate/
|
4 |
Tags: facebook buttons, share, like, add share button, social buttons, facebook, facebook button icon, follow, follow button, like button, share button, facebook plugin
|
5 |
Requires at least: 3.9
|
6 |
+
Tested up to: 4.9.4
|
7 |
+
Stable tag: 2.57
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
26 |
* Like
|
27 |
* Share
|
28 |
* Follow
|
29 |
+
* Сhange Facebook App ID [NEW]
|
30 |
* Change color scheme for Share button
|
31 |
* Select layout for Like and Share buttons:
|
32 |
* Standard
|
33 |
* Box count
|
34 |
* Button count
|
35 |
* Button
|
36 |
+
* Select buttons
|
37 |
+
* Position:
|
38 |
+
* Before content
|
39 |
+
* After content
|
40 |
+
* Before and after
|
41 |
+
* Custom position (using shortcode)
|
42 |
+
* Align: [NEW]
|
43 |
+
* Right
|
44 |
+
* Left
|
45 |
+
* Center
|
46 |
* Show/hide faces option
|
47 |
* Compatible with [Multilanguage](https://bestwebsoft.com/products/wordpress/plugins/multilanguage/?k=ce7cc6ad47715a97a579a6d9b59ed8b3) (current website language detection)
|
48 |
* Choose Like button action - like or recommend
|
162 |
|
163 |
== Changelog ==
|
164 |
|
165 |
+
= V2.57 - 09.03.2018 =
|
166 |
+
* NEW : Ability to change buttons align has been added.
|
167 |
+
* NEW : Ability to change Facebook App ID has been added.
|
168 |
+
|
169 |
= V2.56 - 24.01.2018 =
|
170 |
* Bugfix : Compatibility with Multilanguage plugin by BestWebSoft has been fixed.
|
171 |
* Update : The Czech language file has been updated.
|
392 |
|
393 |
== Upgrade Notice ==
|
394 |
|
395 |
+
= V2.57 =
|
396 |
+
* Functionality expanded.
|
397 |
+
|
398 |
= V2.56 =
|
399 |
* Bugs fixed.
|
400 |
* Languages updated.
|
screenshot-1.png
CHANGED
Binary file
|
screenshot-2.png
CHANGED
Binary file
|
screenshot-3.png
CHANGED
Binary file
|