Skip to content

Commit

Permalink
Plugin updated to version 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ArthurGareginyan committed Apr 8, 2016
1 parent 3c53a97 commit 3f5e836
Show file tree
Hide file tree
Showing 29 changed files with 129 additions and 129 deletions.
File renamed without changes
Binary file added inc/images/btn_donateCC_LG.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
66 changes: 33 additions & 33 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 1.4
* @since 2.0
*/
function smbtoolbar_render_submenu_page() {

Expand All @@ -21,10 +21,10 @@ function smbtoolbar_render_submenu_page() {
?>
<div class="wrap">
<h2>
<?php _e( 'Social Media Buttons Toolbar', 'smbtoolbar' ); ?>
<?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>', 'smbtoolbar' ); ?>
<?php _e( 'by <a href="http://www.arthurgareginyan.com" target="_blank">Arthur "Berserkr" Gareginyan</a>', 'social-media-buttons-toolbar' ); ?>
<span/>
</h2>

Expand All @@ -35,38 +35,38 @@ function smbtoolbar_render_submenu_page() {
<div id="side-sortables" class="meta-box-sortabless ui-sortable">

<div id="about" class="postbox">
<h3 class="title"><?php _e( 'About', 'smbtoolbar' ); ?></h3>
<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.', 'smbtoolbar' ) ?></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', 'smbtoolbar' ); ?></h3>
<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.', 'smbtoolbar' ); ?></p>
<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>
</div>
</div>

<div id="donate" class="postbox">
<h3 class="title"><?php _e( 'Donate', 'smbtoolbar' ); ?></h3>
<h3 class="title"><?php _e( 'Donate', 'social-media-buttons-toolbar' ); ?></h3>
<div class="inside">
<img src="<?php echo plugins_url('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.', 'smbtoolbar' ) ?></p>
<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>
<a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=8A88KC7TFF6CS" target="_blank" rel="nofollow">
<img src="https://www.paypal.com/en_US/i/btn/btn_donateCC_LG.gif" alt="Make a donation">
<img src="<?php echo plugins_url('images/btn_donateCC_LG.gif', __FILE__); ?>" alt="Make a donation">
</a>
<p class="donate"><?php _e( 'Thanks for your support!', 'smbtoolbar' ) ?></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', 'allmetatags' ) ?></h3>
<h3 class="title"><?php _e( 'Freelance', 'social-media-buttons-toolbar' ) ?></h3>
<div class="inside">
<img src="<?php echo plugins_url('author.png', __FILE__); ?>">
<p><?php _e( 'Hello, my name is Arthur and I\'m a freelance web designer and developer.', 'allmetatags' ) ?></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!', 'allmetatags' ) ?></p>
<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>
</div>
</div>
Expand All @@ -84,9 +84,9 @@ function smbtoolbar_render_submenu_page() {
<?php settings_fields( 'smbtoolbar_settings_group' ); ?>

<div class="postbox" id="Buttons">
<h3 class="title"><?php _e( 'Buttons', 'smbtoolbar' ); ?></h3>
<h3 class="title"><?php _e( 'Buttons', 'social-media-buttons-toolbar' ); ?></h3>
<div class="inside">
<p class="description"><?php _e( '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 options, you can just forget about these.', 'smbtoolbar' ); ?></p>
<p class="description"><?php _e( '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 options, you can just forget about these.', 'social-media-buttons-toolbar' ); ?></p>
<table class="form-table">
<?php smbtoolbar_media( 'facebook',
'Facebook',
Expand Down Expand Up @@ -197,12 +197,12 @@ function smbtoolbar_render_submenu_page() {
''
);?>
</table>
<?php submit_button( __( 'Save Changes', 'smbtoolbar' ), 'primary', 'submit', true ); ?>
<?php submit_button( __( 'Save Changes', 'social-media-buttons-toolbar' ), 'primary', 'submit', true ); ?>
</div>
</div>

<div class="postbox" id="DisplayOptions">
<h3 class="title"><?php _e( 'Display options', 'smbtoolbar' ) ?></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 @@ -243,39 +243,39 @@ function smbtoolbar_render_submenu_page() {
'50'
);?>
</table>
<?php submit_button( __( 'Save Changes', 'smbtoolbar' ), 'primary', 'submit', true ); ?>
<?php submit_button( __( 'Save Changes', 'social-media-buttons-toolbar' ), 'primary', 'submit', true ); ?>
</div>
</div>

<div class="postbox" id="Preview">
<h3 class="title"><?php _e( 'Preview', 'smbtoolbar' ) ?></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.', 'smbtoolbar' ) ?></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', 'smbtoolbar' ) ?></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".', 'smbtoolbar' ) ?></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!', 'smbtoolbar' ) ?></p>
<p><?php _e( '<b>B)</b> For add the toolbar inside a post from WP Post/Page Editor use the following shortcode:', 'smbtoolbar' ) ?></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:', '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 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:', '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 highlight_string('<?php echo do_shortcode("[smbtoolbar]"); ?>'); ?></p>
<p><?php highlight_string('<?php echo smbtoolbar_shortcode(); ?>'); ?></p>
</div>
</div>

</div>
</form>

</div>
</div>
<!-- END-FORM -->

</form>
</div>
<!-- END-FORM -->

</div>

Expand Down
4 changes: 2 additions & 2 deletions inc/style-admin.css
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,11 @@ td.help-text {
text-align: center;
}

#donate {
#help {
text-align: center;
}

#help {
#donate {
text-align: center;
}

Expand Down
Binary file removed languages/smbtoolbar-ru_RU.mo
Binary file not shown.
Binary file added languages/social-media-buttons-toolbar-ru_RU.mo
Binary file not shown.
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-03-28 01:02+0300\n"
"PO-Revision-Date: 2016-03-28 01:02+0300\n"
"POT-Creation-Date: 2016-04-08 18:22+0300\n"
"PO-Revision-Date: 2016-04-08 18:23+0300\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: ru\n"
Expand All @@ -22,7 +22,7 @@ msgstr ""
"X-Poedit-SearchPathExcluded-0: *.js\n"

#. Plugin Name of the plugin/theme
#: inc/settings_page.php:24 social-media-buttons-toolbar.php:73
#: inc/settings_page.php:24 social-media-buttons-toolbar.php:82
msgid "Social Media Buttons Toolbar"
msgstr ""

Expand All @@ -47,31 +47,31 @@ msgstr ""
"место на вашем веб-сайте."

#: inc/settings_page.php:45
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 ""
"Если вы хотите больше опций, то скажите мне об этом и я буду счастлив "
"добавить их."

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

#: inc/settings_page.php:48
#: inc/settings_page.php:56
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 ""
"Если вам нравится этот плагин и вы находите его полезным, то помогите мне "
"сделать этот плагин ещё лучше и держать его современным."

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

#: inc/settings_page.php:57
msgid "Help"
msgstr "Помощь"

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

#: inc/settings_page.php:65
msgid "Freelance"
msgstr "Фриланс"
Expand Down Expand Up @@ -162,11 +162,11 @@ msgid ""
"to display the toolbar) in your theme files:"
msgstr ""

#: social-media-buttons-toolbar.php:60
#: social-media-buttons-toolbar.php:70
msgid "Settings"
msgstr "Настройки"

#: social-media-buttons-toolbar.php:73
#: social-media-buttons-toolbar.php:82
msgid "Social Buttons"
msgstr "Социальные кнопки"

Expand All @@ -183,13 +183,16 @@ msgstr ""
"только ссылки на ваши профили) в любое место вашего WordPress веб-сайта."

#. Author of the plugin/theme
msgid "Arthur \"Berserkr\" Gareginyan"
msgstr "Артур “Берсеркр” Гарегинян"
msgid "Arthur Gareginyan"
msgstr "Артур Гарегинян"

#. Author URI of the plugin/theme
msgid "http://www.arthurgareginyan.com"
msgstr ""

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

#~ msgid ""
#~ "This plugin allows you to easily add the social media buttons toolbar to "
#~ "any place of your web-site."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ msgid ""
msgstr ""
"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
"Project-Id-Version: Social Media Buttons Toolbar\n"
"POT-Creation-Date: 2016-03-28 01:02+0300\n"
"POT-Creation-Date: 2016-04-08 18:22+0300\n"
"PO-Revision-Date: 2015-12-17 02:16+0300\n"
"Last-Translator: \n"
"Language-Team: \n"
Expand All @@ -21,7 +21,7 @@ msgstr ""
"X-Poedit-SearchPathExcluded-0: *.js\n"

#. Plugin Name of the plugin/theme
#: inc/settings_page.php:24 social-media-buttons-toolbar.php:73
#: inc/settings_page.php:24 social-media-buttons-toolbar.php:82
msgid "Social Media Buttons Toolbar"
msgstr ""

Expand All @@ -42,27 +42,27 @@ msgid ""
msgstr ""

#: inc/settings_page.php:45
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 ""

#: inc/settings_page.php:53
msgid "Donate"
msgstr ""

#: inc/settings_page.php:48
#: inc/settings_page.php:56
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 ""

#: inc/settings_page.php:52
#: inc/settings_page.php:60
msgid "Thanks for your support!"
msgstr ""

#: inc/settings_page.php:57
msgid "Help"
msgstr ""

#: inc/settings_page.php:59
msgid "If you want more options then tell me and I will be happy to add it."
msgstr ""

#: inc/settings_page.php:65
msgid "Freelance"
msgstr ""
Expand Down Expand Up @@ -143,11 +143,11 @@ msgid ""
"to display the toolbar) in your theme files:"
msgstr ""

#: social-media-buttons-toolbar.php:60
#: social-media-buttons-toolbar.php:70
msgid "Settings"
msgstr ""

#: social-media-buttons-toolbar.php:73
#: social-media-buttons-toolbar.php:82
msgid "Social Buttons"
msgstr ""

Expand All @@ -162,7 +162,7 @@ msgid ""
msgstr ""

#. Author of the plugin/theme
msgid "Arthur \"Berserkr\" Gareginyan"
msgid "Arthur Gareginyan"
msgstr ""

#. Author URI of the plugin/theme
Expand Down
Loading

0 comments on commit 3f5e836

Please sign in to comment.