Skip to content

Commit

Permalink
Plugin updated to version 2.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ArthurGareginyan committed Aug 23, 2016
1 parent a4c5632 commit 2b6fa1b
Show file tree
Hide file tree
Showing 10 changed files with 144 additions and 117 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ It give you finer control over buttons. You can configure they on plugins settin
* Icon set ["Social Buttons 2"](https://www.iconfinder.com/iconsets/social-buttons-2) by Ivlichev Victor Petrovich
* Ready for translation (.pot file included)
* Russian translation
* Published on [WordPess.org](http://wordpess.org/)

**Supported social media:**

Expand Down
Binary file removed inc/images/author.png
Binary file not shown.
Binary file removed inc/images/thanks.png
Binary file not shown.
42 changes: 19 additions & 23 deletions inc/settings_page.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
/**
* Render Settings Page
*
* @since 2.3
* @since 2.3.1
*/
function smbtoolbar_render_submenu_page() {

Expand All @@ -24,7 +24,7 @@ function smbtoolbar_render_submenu_page() {
<?php _e( 'Social Media Buttons Toolbar', 'social-media-buttons-toolbar' ); ?>
<br/>
<span>
<?php _e( 'by <a href="http://www.arthurgareginyan.com" target="_blank">Arthur "Berserkr" Gareginyan</a>', 'social-media-buttons-toolbar' ); ?>
<?php _e( 'by <a href="http://www.arthurgareginyan.com" target="_blank">Arthur Gareginyan</a>', 'social-media-buttons-toolbar' ); ?>
<span/>
</h2>

Expand All @@ -37,37 +37,33 @@ function smbtoolbar_render_submenu_page() {
<div id="about" class="postbox">
<h3 class="title"><?php _e( 'About', 'social-media-buttons-toolbar' ); ?></h3>
<div class="inside">
<p><?php _e( 'This plugin allows you to easily add the social media buttons toolbar to any place of your website.', 'social-media-buttons-toolbar' ) ?></p>
<p><?php _e( 'This plugin allows you to easily add the social media buttons toolbar to any place of your website.', 'social-media-buttons-toolbar' ); ?></p>
</div>
</div>

<div id="help" class="postbox">
<h3 class="title"><?php _e( 'Help', 'social-media-buttons-toolbar' ); ?></h3>
<div class="inside">
<p><?php _e( 'If you want more options then tell me and I will be happy to add it.', 'social-media-buttons-toolbar' ); ?></p>
<p><a href="mailto:[email protected]">[email protected]</a></p>
<p><?php _e( 'Got something to say? Need help?', 'social-media-buttons-toolbar' ); ?></p>
<p><a href="mailto:[email protected]?subject=Social Media Buttons Toolbar">[email protected]</a></p>
</div>
</div>

<div id="donate" class="postbox">
<h3 class="title"><?php _e( 'Donate', 'social-media-buttons-toolbar' ); ?></h3>
<div class="inside">
<img src="<?php echo plugins_url('images/thanks.png', __FILE__); ?>">
<p><?php _e( 'If you like this plugin and find it useful, help me to make this plugin even better and keep it up-to-date.', 'social-media-buttons-toolbar' ) ?></p>
<p><?php _e( 'If you like this plugin and find it useful, please help me to make this plugin even better and keep it up-to-date.', 'social-media-buttons-toolbar' ); ?></p>
<a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=8A88KC7TFF6CS" target="_blank" rel="nofollow">
<img src="<?php echo plugins_url('images/btn_donateCC_LG.gif', __FILE__); ?>" alt="Make a donation">
</a>
<p><?php _e( 'Thanks for your support!', 'social-media-buttons-toolbar' ) ?></p>
<p><?php _e( 'Thanks for your support!', 'social-media-buttons-toolbar' ); ?></p>
</div>
</div>

<div id="freelance" class="postbox">
<h3 class="title"><?php _e( 'Freelance', 'social-media-buttons-toolbar' ) ?></h3>
<div id="advertisement" class="postbox">
<h3 class="title"><?php _e( 'Advertisement', 'social-media-buttons-toolbar' ); ?></h3>
<div class="inside">
<img src="<?php echo plugins_url('images/author.png', __FILE__); ?>">
<p><?php _e( 'Hello, my name is Arthur and I\'m a freelance web designer and developer.', 'social-media-buttons-toolbar' ) ?></p>
<p><?php _e( 'Share your thoughts with me. You may have a brilliant idea in your mind and I can make it happen, so let’s get started!', 'social-media-buttons-toolbar' ) ?></p>
<p><a href="http://www.arthurgareginyan.com/" target="_blank">www.arthurgareginyan.com</a></p>
<a href="http://www.elegantthemes.com/affiliates/idevaffiliate.php?id=36439_5_1_21" target="_blank" rel="nofollow"><img style="border:0px" src="http://www.elegantthemes.com/affiliates/media/banners/divi_250x250.jpg" width="250" height="250" alt="Divi WordPress Theme"></a>
</div>
</div>

Expand Down Expand Up @@ -220,7 +216,7 @@ function smbtoolbar_render_submenu_page() {
</div>

<div class="postbox" id="DisplayOptions">
<h3 class="title"><?php _e( 'Display options', 'social-media-buttons-toolbar' ) ?></h3>
<h3 class="title"><?php _e( 'Display options', 'social-media-buttons-toolbar' ); ?></h3>
<div class="inside">
<p class="description"></p>
<table class="form-table">
Expand Down Expand Up @@ -266,23 +262,23 @@ function smbtoolbar_render_submenu_page() {
</div>

<div class="postbox" id="Preview">
<h3 class="title"><?php _e( 'Preview', 'social-media-buttons-toolbar' ) ?></h3>
<h3 class="title"><?php _e( 'Preview', 'social-media-buttons-toolbar' ); ?></h3>
<div class="inside">
<p class="description"><?php _e( 'Enter your User ID\'s, then click "Save Changes" to update this preview.', 'social-media-buttons-toolbar' ) ?></p></br>
<p class="description"><?php _e( 'Enter your User ID\'s, then click "Save Changes" to update this preview.', 'social-media-buttons-toolbar' ); ?></p></br>
<?php echo smbtoolbar_shortcode(); ?>
</div>
</div>

<div class="postbox" id="Using">
<h3 class="title"><?php _e( 'Using', 'social-media-buttons-toolbar' ) ?></h3>
<h3 class="title"><?php _e( 'Using', 'social-media-buttons-toolbar' ); ?></h3>
<div class="inside">
<p><?php _e( 'You have several methods for display the social media buttons toolbar (further just "toolbar") on your website. But first, enter a links for each buttons, then click "Save Changes".', 'social-media-buttons-toolbar' ) ?></p>
<p><?php _e( '<b>A)</b> For display the toolbar below content on every Posts or/and Pages, just check the checkbox "Show on Posts" or/and "Show on Pages" in the section "Display options", then click "Save Changes". It\'s that simple!', 'social-media-buttons-toolbar' ) ?></p>
<p><?php _e( '<b>B)</b> For add the toolbar inside a post from WP Post/Page Editor use the following shortcode:', 'social-media-buttons-toolbar' ) ?></p>
<p><?php _e( 'You have several methods for display the social media buttons toolbar (further just "toolbar") on your website. But first, enter a links for each buttons, then click "Save Changes".', 'social-media-buttons-toolbar' ); ?></p>
<p><?php _e( '<b>A)</b> For display the toolbar below content on every Posts or/and Pages, just check the checkbox "Show on Posts" or/and "Show on Pages" in the section "Display options", then click "Save Changes". It\'s that simple!', 'social-media-buttons-toolbar' ); ?></p>
<p><?php _e( '<b>B)</b> For add the toolbar inside a post from WP Post/Page Editor use the following shortcode:', 'social-media-buttons-toolbar' ); ?></p>
<p><?php highlight_string('[smbtoolbar]'); ?></p>
<p><?php _e( '<b>C)</b> For add the toolbar to the widget area (in sidebar, footer etc.) use the "Text" widget and add inside it the following shortcode:', 'social-media-buttons-toolbar' ) ?></p>
<p><?php _e( '<b>C)</b> For add the toolbar to the widget area (in sidebar, footer etc.) use the "Text" widget and add inside it the following shortcode:', 'social-media-buttons-toolbar' ); ?></p>
<p><?php highlight_string('[smbtoolbar]'); ?></p>
<p><?php _e( '<b>D)</b> For add the toolbar directly to a theme files, just add one of the following code (both variants do the same) to needed place (where you want to display the toolbar) in your theme files:', 'social-media-buttons-toolbar' ) ?></p>
<p><?php _e( '<b>D)</b> For add the toolbar directly to a theme files, just add one of the following code (both variants do the same) to needed place (where you want to display the toolbar) in your theme files:', 'social-media-buttons-toolbar' ); ?></p>
<p><?php highlight_string('<?php echo do_shortcode("[smbtoolbar]"); ?>'); ?></p>
<p><?php highlight_string('<?php echo smbtoolbar_shortcode(); ?>'); ?></p>
</div>
Expand Down
7 changes: 5 additions & 2 deletions inc/style-admin.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* Social Media Buttons Toolbar
* Style sheet for plugin's page
* @since 1.4
* @since 2.3.1
* @agareginyan
*/

Expand Down Expand Up @@ -67,11 +67,14 @@ td.help-text {
#help {
text-align: center;
}
#help p {
margin: 0;
}

#donate {
text-align: center;
}

#freelance {
#advertisement {
text-align: center;
}
Binary file modified languages/social-media-buttons-toolbar-ru_RU.mo
Binary file not shown.
118 changes: 72 additions & 46 deletions languages/social-media-buttons-toolbar-ru_RU.po
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
msgid ""
msgstr ""
"Project-Id-Version: Social Media Buttons Toolbar\n"
"POT-Creation-Date: 2016-04-08 18:22+0300\n"
"PO-Revision-Date: 2016-04-08 18:23+0300\n"
"POT-Creation-Date: 2016-08-23 07:14+0300\n"
"PO-Revision-Date: 2016-08-23 07:14+0300\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: ru\n"
Expand All @@ -29,10 +29,10 @@ msgstr ""
#: inc/settings_page.php:27
msgid ""
"by <a href=\"http://www.arthurgareginyan.com\" target=\"_blank\">Arthur "
"\"Berserkr\" Gareginyan</a>"
"Gareginyan</a>"
msgstr ""
"от <a href=http://www.arthurgareginyan.com target=_blank>Артур "
"“Berserkr” Гарегинян</a>"
"от <a href=\"http://www.arthurgareginyan.com\" target=\"_blank\">Артур "
"Гарегинян</a>"

#: inc/settings_page.php:38
msgid "About"
Expand All @@ -51,49 +51,34 @@ msgid "Help"
msgstr "Помощь"

#: inc/settings_page.php:47
msgid "If you want more options then tell me and I will be happy to add it."
msgstr ""
"Если вы хотите больше опций, то скажите мне об этом и я буду счастлив "
"добавить их."
msgid "Got something to say? Need help?"
msgstr "Есть что сказать? Нужна помощь?"

#: inc/settings_page.php:53
msgid "Donate"
msgstr "Пожертвование"

#: inc/settings_page.php:56
#: inc/settings_page.php:55
msgid ""
"If you like this plugin and find it useful, help me to make this plugin even "
"better and keep it up-to-date."
"If you like this plugin and find it useful, please help me to make this "
"plugin even better and keep it up-to-date."
msgstr ""
"Если вам нравится этот плагин и вы находите его полезным, то помогите мне "
"сделать этот плагин ещё лучше и держать его современным."
"Если вам нравится этот плагин и вы находите его полезным, то пожалуйста "
"помогите мне сделать его ещё лучше."

#: inc/settings_page.php:60
#: inc/settings_page.php:59
msgid "Thanks for your support!"
msgstr "Спасибо за вашу поддержку!"

#: inc/settings_page.php:65
msgid "Freelance"
msgstr "Фриланс"

#: inc/settings_page.php:68
msgid ""
"Hello, my name is Arthur and I'm a freelance web designer and developer."
msgstr "Привет, меня зовут Артур и Я внештатный веб-дизайнер и разработчик."
#: inc/settings_page.php:64
msgid "Advertisement"
msgstr "Реклама"

#: inc/settings_page.php:69
msgid ""
"Share your thoughts with me. You may have a brilliant idea in your mind and "
"I can make it happen, so let’s get started!"
msgstr ""
"Поделитесь со мной своими мыслями. У вас может быть блестящая идея в уме, а "
"я могу сделать её явью, так что давайте начнём!"

#: inc/settings_page.php:87
#: inc/settings_page.php:83
msgid "Buttons"
msgstr "Кнопки"

#: inc/settings_page.php:89
#: inc/settings_page.php:85
msgid ""
"Enter your User ID for each service you choose below to make the button link "
"directly to your profile. If you don't want to use any of the following "
Expand All @@ -103,30 +88,30 @@ msgstr ""
"чтобы создать кнопку с ссылкой на свой профиль. Если вы не хотите "
"использовать какие-либо из следующих опций, то вы можете просто забыть о них."

#: inc/settings_page.php:200 inc/settings_page.php:246
#: inc/settings_page.php:214 inc/settings_page.php:260
msgid "Save Changes"
msgstr "Сохранить изменения"

#: inc/settings_page.php:205
#: inc/settings_page.php:219
msgid "Display options"
msgstr "Настройки отображения"

#: inc/settings_page.php:251
#: inc/settings_page.php:265
msgid "Preview"
msgstr "Предварительный просмотр"

#: inc/settings_page.php:253
#: inc/settings_page.php:267
msgid ""
"Enter your User ID's, then click \"Save Changes\" to update this preview."
msgstr ""
"Введите ваши ID пользователя, а затем нажмите кнопку “Сохранить изменения”, "
"чтобы обновить этот просмотр."

#: inc/settings_page.php:259
#: inc/settings_page.php:273
msgid "Using"
msgstr "Использование:"

#: inc/settings_page.php:261
#: inc/settings_page.php:275
msgid ""
"You have several methods for display the social media buttons toolbar "
"(further just \"toolbar\") on your website. But first, enter a links for "
Expand All @@ -136,26 +121,26 @@ msgstr ""
"медиа кнопок (далее просто “кнопки”) на вашем вебсайте. Но сначала укажите "
"ссылки для каждой кнопки, а затем нажмите “Сохранить изменения”."

#: inc/settings_page.php:262
#: inc/settings_page.php:276
msgid ""
"<b>A)</b> For display the toolbar below content on every Posts or/and Pages, "
"just check the checkbox \"Show on Posts\" or/and \"Show on Pages\" in the "
"section \"Display options\", then click \"Save Changes\". It's that simple!"
msgstr ""

#: inc/settings_page.php:263
#: inc/settings_page.php:277
msgid ""
"<b>B)</b> For add the toolbar inside a post from WP Post/Page Editor use the "
"following shortcode:"
msgstr ""

#: inc/settings_page.php:265
#: inc/settings_page.php:279
msgid ""
"<b>C)</b> For add the toolbar to the widget area (in sidebar, footer etc.) "
"use the \"Text\" widget and add inside it the following shortcode:"
msgstr ""

#: inc/settings_page.php:267
#: inc/settings_page.php:281
msgid ""
"<b>D)</b> For add the toolbar directly to a theme files, just add one of the "
"following code (both variants do the same) to needed place (where you want "
Expand All @@ -177,10 +162,8 @@ msgstr ""
#. Description of the plugin/theme
msgid ""
"Easily add the smart toolbar with social media buttons (not share, only link "
"to your profiles) to any place of your WordPress web-site."
"to your profiles) to any place of your WordPress website."
msgstr ""
"Легко добавьте умный блок с кнопками социальных медиа (не расшаривание, а "
"только ссылки на ваши профили) в любое место вашего WordPress веб-сайта."

#. Author of the plugin/theme
msgid "Arthur Gareginyan"
Expand All @@ -190,6 +173,49 @@ msgstr "Артур Гарегинян"
msgid "http://www.arthurgareginyan.com"
msgstr ""

#~ msgid "Advertising"
#~ msgstr "Реклама"

#~ msgid ""
#~ "by <a href=\"http://www.arthurgareginyan.com\" target=\"_blank\">Arthur "
#~ "\"Berserkr\" Gareginyan</a>"
#~ msgstr ""
#~ "от <a href=“http://www.arthurgareginyan.com” target=“_blank”>Артур "
#~ "“Berserkr” Гарегинян</a>"

#~ msgid "If you want more options then tell me and I will be happy to add it."
#~ msgstr ""
#~ "Если вы хотите больше опций, то скажите мне об этом и я буду счастлив "
#~ "добавить их."

#~ msgid ""
#~ "If you like this plugin and find it useful, help me to make this plugin "
#~ "even better and keep it up-to-date."
#~ msgstr ""
#~ "Если вам нравится этот плагин и вы находите его полезным, то помогите мне "
#~ "сделать этот плагин ещё лучше и держать его современным."

#~ msgid "Freelance"
#~ msgstr "Фриланс"

#~ msgid ""
#~ "Hello, my name is Arthur and I'm a freelance web designer and developer."
#~ msgstr "Привет, меня зовут Артур и Я внештатный веб-дизайнер и разработчик."

#~ msgid ""
#~ "Share your thoughts with me. You may have a brilliant idea in your mind "
#~ "and I can make it happen, so let’s get started!"
#~ msgstr ""
#~ "Поделитесь со мной своими мыслями. У вас может быть блестящая идея в уме, "
#~ "а я могу сделать её явью, так что давайте начнём!"

#~ msgid ""
#~ "Easily add the smart toolbar with social media buttons (not share, only "
#~ "link to your profiles) to any place of your WordPress web-site."
#~ msgstr ""
#~ "Легко добавьте умный блок с кнопками социальных медиа (не расшаривание, а "
#~ "только ссылки на ваши профили) в любое место вашего WordPress веб-сайта."

#~ msgid "Arthur \"Berserkr\" Gareginyan"
#~ msgstr "Артур “Берсеркр” Гарегинян"

Expand Down
Loading

0 comments on commit 2b6fa1b

Please sign in to comment.