Head and Footer Scripts Inserter - Version 4.4

Version Description

  • On the plugin settings page, text of buttons are corrected.
  • On the plugin settings page, the information about the plugin version number moved to header section.
  • Some mention of constants replaced with variables for easier access.
  • Content of the "Usage" tab updated.
  • Content of the "FAQ" tab updated.
  • Added load of the jQuery library on the plugin settings page.
Download this release

Release Info

Developer Arthur Gareginyan
Plugin Icon 128x128 Head and Footer Scripts Inserter
Version 4.4
Comparing to
See all releases

Code changes from version 4.3 to 4.4

header-and-footer-scripts-inserter.php CHANGED
@@ -5,12 +5,12 @@
5
  * Description: Easily add your scripts to the WordPress website's head and footer sections. This is a must have tool for authors and website's owners.
6
  * Author: Arthur Gareginyan
7
  * Author URI: http://www.arthurgareginyan.com
8
- * Version: 4.3
9
  * License: GPL3
10
  * Text Domain: header-and-footer-scripts-inserter
11
  * Domain Path: /languages/
12
  *
13
- * Copyright 2016-2017 Arthur Gareginyan (email : arthurgareginyan@gmail.com)
14
  *
15
  * This plugin is free software: you can redistribute it and/or modify
16
  * it under the terms of the GNU General Public License as published by
5
  * Description: Easily add your scripts to the WordPress website's head and footer sections. This is a must have tool for authors and website's owners.
6
  * Author: Arthur Gareginyan
7
  * Author URI: http://www.arthurgareginyan.com
8
+ * Version: 4.4
9
  * License: GPL3
10
  * Text Domain: header-and-footer-scripts-inserter
11
  * Domain Path: /languages/
12
  *
13
+ * Copyright 2016-2017 Arthur Gareginyan ( website : http://www.arthurgareginyan.com )
14
  *
15
  * This plugin is free software: you can redistribute it and/or modify
16
  * it under the terms of the GNU General Public License as published by
inc/css/admin.css CHANGED
@@ -5,7 +5,7 @@
5
  * @uthor Arthur Gareginyan
6
  * @link http://www.arthurgareginyan.com
7
  * @copyright Copyright (c) 2016-2017 Arthur Gareginyan. All Rights Reserved.
8
- * @since 4.3
9
  */
10
 
11
 
@@ -52,16 +52,7 @@ h2 span {
52
  display: block ;
53
  margin-top: 15px;
54
  font-size: 16px;
55
- text-shadow: 0 -1px 0 #fff,
56
- 0 1px 0 #2e2e2e,
57
- 0 2px 0 #2a2a2a,
58
- 0 3px 0 #262626,
59
- 0 4px 0 #222,
60
- 0 5px 0 #1e1e1e,
61
- 0 6px 0 #1a1a1a,
62
- 0 7px 0 #161616,
63
- 0 8px 0 #121212,
64
- 0 22px 30px rgba(0, 0, 0, 0.9);
65
  line-height: 20px !important;
66
  }
67
  h2 span a,
@@ -74,6 +65,13 @@ h2 span a:hover {
74
  -webkit-transition: all 0.2s ease-in-out;
75
  transition: all 0.2s ease-in-out;
76
  }
 
 
 
 
 
 
 
77
 
78
  /* Titles and Descriptions of sections
79
  -------------------------------------------------------------- */
@@ -100,6 +98,9 @@ h3.title {
100
  margin-right: 20px;
101
  border-radius: 15px;
102
  }
 
 
 
103
  .hello-message .modal-body p {
104
  font-size: 16px;
105
  }
@@ -142,10 +143,6 @@ h3.title {
142
  #side-sortables .paypal {
143
  font-size: 18px;
144
  }
145
- #side-sortables .version {
146
- color: #888888;
147
- text-align: right;
148
- }
149
 
150
  /* Support - addition section
151
  -------------------------------------------------------------- */
5
  * @uthor Arthur Gareginyan
6
  * @link http://www.arthurgareginyan.com
7
  * @copyright Copyright (c) 2016-2017 Arthur Gareginyan. All Rights Reserved.
8
+ * @since 4.4
9
  */
10
 
11
 
52
  display: block ;
53
  margin-top: 15px;
54
  font-size: 16px;
55
+ text-shadow: none;
 
 
 
 
 
 
 
 
 
56
  line-height: 20px !important;
57
  }
58
  h2 span a,
65
  -webkit-transition: all 0.2s ease-in-out;
66
  transition: all 0.2s ease-in-out;
67
  }
68
+ h2 .version {
69
+ position: absolute;
70
+ right: 40px;
71
+ color: #a6a6a6;
72
+ text-shadow: none;
73
+ letter-spacing: .1em;
74
+ }
75
 
76
  /* Titles and Descriptions of sections
77
  -------------------------------------------------------------- */
98
  margin-right: 20px;
99
  border-radius: 15px;
100
  }
101
+ .hello-message .modal-body .emoji {
102
+ float: none;
103
+ }
104
  .hello-message .modal-body p {
105
  font-size: 16px;
106
  }
143
  #side-sortables .paypal {
144
  font-size: 18px;
145
  }
 
 
 
 
146
 
147
  /* Support - addition section
148
  -------------------------------------------------------------- */
inc/js/admin.js CHANGED
@@ -1,5 +1,5 @@
1
  /*
2
- * Plugin JavaScript and JQuery code for the admin pages of website
3
  *
4
  * @package Head and Footer Scripts Inserter
5
  * @uthor Arthur Gareginyan
1
  /*
2
+ * Plugin JavaScript and jQuery code for the admin pages of website
3
  *
4
  * @package Head and Footer Scripts Inserter
5
  * @uthor Arthur Gareginyan
inc/php/enqueue.php CHANGED
@@ -10,35 +10,43 @@ defined( 'ABSPATH' ) or die( "Restricted access!" );
10
  /**
11
  * Load scripts and style sheet for settings page
12
  *
13
- * @since 4.1
14
  */
15
  function HFScriptsIns_load_scripts_admin( $hook ) {
16
 
 
 
 
 
 
17
  // Return if the page is not a settings page of this plugin
18
- $settings_page = 'settings_page_' . HFSINS_SLUG;
19
  if ( $settings_page != $hook ) {
20
  return;
21
  }
22
 
 
 
 
23
  // Style sheet
24
- wp_enqueue_style( HFSINS_PREFIX . '-admin-css', HFSINS_URL . 'inc/css/admin.css' );
25
 
26
  // JavaScript
27
- wp_enqueue_script( HFSINS_PREFIX . '-admin-js', HFSINS_URL . 'inc/js/admin.js', array(), false, true );
28
 
29
  // Bootstrap library
30
- wp_enqueue_style( HFSINS_PREFIX . '-bootstrap-css', HFSINS_URL . 'inc/lib/bootstrap/bootstrap.css' );
31
- wp_enqueue_style( HFSINS_PREFIX . '-bootstrap-theme-css', HFSINS_URL . 'inc/lib/bootstrap/bootstrap-theme.css' );
32
- wp_enqueue_script( HFSINS_PREFIX . '-bootstrap-js', HFSINS_URL . 'inc/lib/bootstrap/bootstrap.js' );
33
 
34
  // CodeMirror library
35
- wp_enqueue_style( HFSINS_PREFIX . '-codemirror-css', HFSINS_URL . 'inc/lib/codemirror/codemirror.css' );
36
- wp_enqueue_script( HFSINS_PREFIX . '-codemirror-js', HFSINS_URL . 'inc/lib/codemirror/codemirror.js' );
37
- wp_enqueue_script( HFSINS_PREFIX . '-codemirror-mode-htmlmixed-js', HFSINS_URL . 'inc/lib/codemirror/mode/htmlmixed.js' );
38
- wp_enqueue_script( HFSINS_PREFIX . '-codemirror-mode-javascript-js', HFSINS_URL . 'inc/lib/codemirror/mode/javascript.js' );
39
- wp_enqueue_script( HFSINS_PREFIX . '-codemirror-mode-xml-js', HFSINS_URL . 'inc/lib/codemirror/mode/xml.js' );
40
- wp_enqueue_script( HFSINS_PREFIX . '-codemirror-mode-css-js', HFSINS_URL . 'inc/lib/codemirror/mode/css.js' );
41
- wp_enqueue_script( HFSINS_PREFIX . '-codemirror-mode-active-line-js', HFSINS_URL . 'inc/lib/codemirror/addons/active-line.js' );
42
 
43
  }
44
  add_action( 'admin_enqueue_scripts', HFSINS_PREFIX . '_load_scripts_admin' );
10
  /**
11
  * Load scripts and style sheet for settings page
12
  *
13
+ * @since 4.4
14
  */
15
  function HFScriptsIns_load_scripts_admin( $hook ) {
16
 
17
+ // Put value of constants to variables for easier access
18
+ $slug = HFSINS_SLUG;
19
+ $prefix = HFSINS_PREFIX;
20
+ $url = HFSINS_URL;
21
+
22
  // Return if the page is not a settings page of this plugin
23
+ $settings_page = 'settings_page_' . $slug;
24
  if ( $settings_page != $hook ) {
25
  return;
26
  }
27
 
28
+ // Load jQuery library
29
+ wp_enqueue_script( 'jquery' );
30
+
31
  // Style sheet
32
+ wp_enqueue_style( $prefix . '-admin-css', $url . 'inc/css/admin.css' );
33
 
34
  // JavaScript
35
+ wp_enqueue_script( $prefix . '-admin-js', $url . 'inc/js/admin.js', array(), false, true );
36
 
37
  // Bootstrap library
38
+ wp_enqueue_style( $prefix . '-bootstrap-css', $url . 'inc/lib/bootstrap/bootstrap.css' );
39
+ wp_enqueue_style( $prefix . '-bootstrap-theme-css', $url . 'inc/lib/bootstrap/bootstrap-theme.css' );
40
+ wp_enqueue_script( $prefix . '-bootstrap-js', $url . 'inc/lib/bootstrap/bootstrap.js' );
41
 
42
  // CodeMirror library
43
+ wp_enqueue_style( $prefix . '-codemirror-css', $url . 'inc/lib/codemirror/codemirror.css' );
44
+ wp_enqueue_script( $prefix . '-codemirror-js', $url . 'inc/lib/codemirror/codemirror.js' );
45
+ wp_enqueue_script( $prefix . '-codemirror-mode-htmlmixed-js', $url . 'inc/lib/codemirror/mode/htmlmixed.js' );
46
+ wp_enqueue_script( $prefix . '-codemirror-mode-javascript-js', $url . 'inc/lib/codemirror/mode/javascript.js' );
47
+ wp_enqueue_script( $prefix . '-codemirror-mode-xml-js', $url . 'inc/lib/codemirror/mode/xml.js' );
48
+ wp_enqueue_script( $prefix . '-codemirror-mode-css-js', $url . 'inc/lib/codemirror/mode/css.js' );
49
+ wp_enqueue_script( $prefix . '-codemirror-mode-active-line-js', $url . 'inc/lib/codemirror/addons/active-line.js' );
50
 
51
  }
52
  add_action( 'admin_enqueue_scripts', HFSINS_PREFIX . '_load_scripts_admin' );
inc/php/messages.php CHANGED
@@ -10,7 +10,7 @@ defined( 'ABSPATH' ) or die( "Restricted access!" );
10
  /**
11
  * Hello message - Bootstrap Modal
12
  *
13
- * @since 4.1
14
  */
15
  function HFScriptsIns_hello_message() {
16
 
@@ -29,7 +29,7 @@ function HFScriptsIns_hello_message() {
29
  <button type="button" class="close" data-dismiss="modal">&times;</button>
30
  <p><?php _e( 'Hello. I\'m Arthur, the author of this plugin.', HFSINS_TEXT ); ?></p>
31
  <p><?php printf(
32
- __( 'Thank you for installing my plugin! I hope you will love it %s', HFSINS_TEXT ),
33
  '&#x1F603;'
34
  );
35
  ?></p>
10
  /**
11
  * Hello message - Bootstrap Modal
12
  *
13
+ * @since 4.3
14
  */
15
  function HFScriptsIns_hello_message() {
16
 
29
  <button type="button" class="close" data-dismiss="modal">&times;</button>
30
  <p><?php _e( 'Hello. I\'m Arthur, the author of this plugin.', HFSINS_TEXT ); ?></p>
31
  <p><?php printf(
32
+ __( 'Thank you for installing my plugin! I hope you will love it! %s', HFSINS_TEXT ),
33
  '&#x1F603;'
34
  );
35
  ?></p>
inc/php/page.php CHANGED
@@ -10,10 +10,16 @@ defined( 'ABSPATH' ) or die( "Restricted access!" );
10
  /**
11
  * Render Settings Page
12
  *
13
- * @since 4.1
14
  */
15
  function HFScriptsIns_render_submenu_page() {
16
 
 
 
 
 
 
 
17
  // Call messages
18
  HFScriptsIns_hello_message();
19
  HFScriptsIns_error_message();
@@ -23,27 +29,28 @@ function HFScriptsIns_render_submenu_page() {
23
  ?>
24
  <div class="wrap">
25
  <h2>
26
- <?php echo HFSINS_NAME; ?>
27
  <span>
28
  <?php printf(
29
- __( 'by %s Arthur Gareginyan %s', HFSINS_TEXT ),
30
  '<a href="http://www.arthurgareginyan.com" target="_blank">',
31
  '</a>'
32
  );
33
  ?>
34
  </span>
 
35
  </h2>
36
 
37
  <div id="poststuff" class="metabox-holder has-right-sidebar">
38
 
39
  <!-- TABS NAVIGATION MENU -->
40
  <ul class="tabs-nav">
41
- <li class="active"><a href="#tab-core" data-toggle="tab"><?php _e( 'Main', HFSINS_TEXT ); ?></a></li>
42
- <li><a href="#tab-usage" data-toggle="tab"><?php _e( 'Usage', HFSINS_TEXT ); ?></a></li>
43
- <li><a href="#tab-faq" data-toggle="tab"><?php _e( 'F.A.Q.', HFSINS_TEXT ); ?></a></li>
44
- <li><a href="#tab-author" data-toggle="tab"><?php _e( 'Author', HFSINS_TEXT ); ?></a></li>
45
- <li><a href="#tab-support" data-toggle="tab"><?php _e( 'Support', HFSINS_TEXT ); ?></a></li>
46
- <li><a href="#tab-family" data-toggle="tab"><?php _e( 'Family', HFSINS_TEXT ); ?></a></li>
47
  </ul>
48
  <!-- END-TABS NAVIGATION MENU -->
49
 
@@ -58,13 +65,13 @@ function HFScriptsIns_render_submenu_page() {
58
  <!-- TAB 2 -->
59
  <div class="tab-page fade" id="tab-usage">
60
  <div class="postbox">
61
- <h3 class="title"><?php _e( 'Usage', HFSINS_TEXT ); ?></h3>
62
  <div class="inside">
63
- <p><?php _e( 'To add the script to your website, simply follow these steps:', HFSINS_TEXT ); ?></p>
64
  <ol class="custom-counter">
65
- <li><?php _e( 'Go to the "Main" tab.', HFSINS_TEXT ); ?></li>
66
- <li><?php _e( 'Add your scripts to the field and click the "Save Changes" button.', HFSINS_TEXT ); ?><br><br>
67
- <p><?php _e( 'Note that the fields are for inserting HTML code, so JavaScript and CSS code must be wrapped in the corresponding HTML tag. For JavaScript code use the <code>&lt;script&gt;</code> tag, and for CSS code use the <code>&lt;style&gt;</code> tag. Example:', HFSINS_TEXT ); ?></p>
68
  <?php $ExampleCode = '&lt;script&gt;
69
  function myFunction() {
70
  document.getElementById(&quot;demo&quot;).innerHTML = &quot;Hello World!&quot;;
@@ -78,9 +85,10 @@ function HFScriptsIns_render_submenu_page() {
78
  &lt;/style&gt;'; ?>
79
  <pre><code><?php echo $ExampleCode; ?></code></pre>
80
  </li>
81
- <li><?php _e( 'Enjoy the result of applying your scripts.', HFSINS_TEXT ); ?> <?php _e( 'It\'s that simple!', HFSINS_TEXT ); ?></li>
 
82
  </ol>
83
- <p class="note"><b><?php _e( 'Note!', HFSINS_TEXT ); ?></b> <?php _e( 'If you want more options then tell me and I will be happy to add it.', HFSINS_TEXT ); ?></p>
84
  </div>
85
  </div>
86
  </div>
@@ -89,12 +97,16 @@ function HFScriptsIns_render_submenu_page() {
89
  <!-- TAB 3 -->
90
  <div class="tab-page fade" id="tab-faq">
91
  <div class="postbox">
92
- <h3 class="title"><?php _e( 'Frequently Asked Questions', HFSINS_TEXT ); ?></h3>
93
  <div class="inside">
94
 
 
 
 
 
95
  <div class="panel-group" id="collapse-group">
96
  <?php
97
- $loopvalue = '11';
98
  for ( $i = 1; $i <= $loopvalue; $i++ ) {
99
  echo '<div class="panel panel-default">
100
  <div class="panel-heading">
@@ -111,59 +123,84 @@ function HFScriptsIns_render_submenu_page() {
111
  ?>
112
  </div>
113
 
114
- <div class="question-1"><?php _e( 'Will this plugin work on my WordPress.COM website?', HFSINS_TEXT ); ?></div>
115
- <div class="answer-1"><?php _e( 'Sorry, this plugin is available for use only on self-hosted (WordPress.ORG) websites.', HFSINS_TEXT ); ?></div>
116
 
117
- <div class="question-2"><?php _e( 'Can I use this plugin on my language?', HFSINS_TEXT ); ?></div>
118
  <div class="answer-2"><?php printf(
119
- __( 'Yes. But If your language is not available then you can make one. This plugin is ready for translation. The<code>.pot</code>file is included and placed in the <code>languages</code> folder. Many of plugin users would be delighted if you shared your translation with the community. Just send the translation files (<code>*.po, *.mo</code>) to me at the %s and I will include the translation within the next plugin update.', HFSINS_TEXT ),
120
- '<a href="mailto:arthurgareginyan@gmail.com?subject=Head and Footer Scripts Inserter">arthurgareginyan@gmail.com</a>'
121
- );
122
- ?></div>
 
123
 
124
- <div class="question-3"><?php _e( 'How does it work?', HFSINS_TEXT ); ?></div>
125
- <div class="answer-3"><?php _e( 'On the "Settings" tab, add your scripts to the field and click the "Save Changes" button. Enjoy the result of applying your scripts. It\'s that simple!', HFSINS_TEXT ); ?></div>
126
 
127
- <div class="question-4"><?php _e( 'How much of scripts I can enter in the field?', HFSINS_TEXT ); ?></div>
128
- <div class="answer-4"><?php _e( 'I don\'t limit the number of characters.', HFSINS_TEXT ); ?></div>
129
 
130
- <div class="question-5"><?php _e( 'Does this plugin requires any modification of the theme?', HFSINS_TEXT ); ?></div>
131
- <div class="answer-5"><?php _e( 'Absolutely not. This plugin is configurable entirely from the plugin settings page.', HFSINS_TEXT ); ?></div>
132
 
133
- <div class="question-6"><?php _e( 'Does this require any knowledge of HTML or CSS?', HFSINS_TEXT ); ?></div>
134
- <div class="answer-6"><?php _e( 'This plugin can be configured with no knowledge of HTML or CSS, using an easy-to-use plugin settings page. But you need to know the HTML or CSS in order to add/remove/modify the HTML or CSS code by using this plugin.', HFSINS_TEXT ); ?></div>
135
 
136
- <div class="question-7 question-red"><?php _e( 'It\'s not working. What could be wrong?', HFSINS_TEXT ); ?></div>
137
- <div class="answer-7"><?php _e( 'As with every plugin, it\'s possible that things don\'t work. The most common reason for this is a web browser\'s cache. Every web browser stores a cache of the websites you visit (pages, images, and etc.) to reduce bandwidth usage and server load. This is called the browser\'s cache.​ Clearing your browser\'s cache may solve the problem.', HFSINS_TEXT ); ?><br><br>
138
- <?php _e( 'It\'s impossible to tell what could be wrong exactly, but if you post a support request in the plugin\'s support forum on WordPress.org, I\'d be happy to give it a look and try to help out. Please include as much information as possible, including a link to your website where the problem can be seen.', HFSINS_TEXT ); ?></div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
139
 
140
- <div class="question-8 question-red"><?php _e( 'The last WordPress update is preventing me from editing my website that is using this plugin. Why is this?', HFSINS_TEXT ); ?></div>
141
- <div class="answer-8"><?php _e( 'This plugin can not cause such problem. More likely, the problem are related to the settings of the website. It could just be a cache, so please try to clear your website\'s cache (may be you using a caching plugin, or some web service such as the CloudFlare) and then the cache of your web browser. Also please try to re-login to the website, this too can help.', HFSINS_TEXT ); ?></div>
 
142
 
143
- <div class="question-9 question-red"><?php _e( 'Where to report bug if found?', HFSINS_TEXT ); ?></div>
144
- <div class="answer-9"><?php printf(
145
- __( 'Please visit the %s Dedicated Plugin Page on GitHub %s and report.', HFSINS_TEXT ),
146
- '<a href="https://github.com/ArthurGareginyan/header-and-footer-scripts-inserter" target="_blank">',
147
- '</a>'
148
- );
149
- ?></div>
150
 
151
- <div class="question-10"><?php _e( 'Where to share any ideas or suggestions to make the plugin better?', HFSINS_TEXT ); ?></div>
152
  <div class="answer-10"><?php printf(
153
- __( 'Any suggestions are very welcome! Please send me an email to %s arthurgareginyan@gmail.com %s. Thank you!', HFSINS_TEXT ),
154
- '<a href="mailto:arthurgareginyan@gmail.com?subject=Head and Footer Scripts Inserter">',
155
  '</a>'
156
  );
157
  ?></div>
158
 
159
- <div class="question-11"><?php _e( 'I love this plugin! Can I help somehow?', HFSINS_TEXT ); ?></div>
160
  <div class="answer-11"><?php printf(
161
- __( 'Yes, any financial contributions are welcome! Just visit %s my website %s, click on the donate button, and thank you!', HFSINS_TEXT ),
 
 
 
 
 
 
 
162
  '<a href="http://www.arthurgareginyan.com/donate.html" target="_blank">',
163
  '</a>'
164
  );
165
  ?></div>
166
 
 
 
 
 
 
 
 
167
  </div>
168
  </div>
169
  </div>
@@ -172,7 +209,7 @@ function HFScriptsIns_render_submenu_page() {
172
  <!-- TAB 4 -->
173
  <div class="tab-page fade" id="tab-author">
174
  <div class="postbox">
175
- <h3 class="title"><?php _e( 'Author', HFSINS_TEXT ); ?></h3>
176
  <div class="inside include-tab-author"></div>
177
  </div>
178
  </div>
@@ -181,7 +218,7 @@ function HFScriptsIns_render_submenu_page() {
181
  <!-- TAB 5 -->
182
  <div class="tab-page fade" id="tab-support">
183
  <div class="postbox">
184
- <h3 class="title"><?php _e( 'Support', HFSINS_TEXT ); ?></h3>
185
  <div class="inside include-tab-support"></div>
186
  </div>
187
  </div>
10
  /**
11
  * Render Settings Page
12
  *
13
+ * @since 4.4
14
  */
15
  function HFScriptsIns_render_submenu_page() {
16
 
17
+ // Put value of constants to variables for easier access
18
+ $name = HFSINS_NAME;
19
+ $slug = HFSINS_SLUG;
20
+ $version = HFSINS_VERSION;
21
+ $text = HFSINS_TEXT;
22
+
23
  // Call messages
24
  HFScriptsIns_hello_message();
25
  HFScriptsIns_error_message();
29
  ?>
30
  <div class="wrap">
31
  <h2>
32
+ <?php echo $name; ?>
33
  <span>
34
  <?php printf(
35
+ __( 'by %s Arthur Gareginyan %s', $text ),
36
  '<a href="http://www.arthurgareginyan.com" target="_blank">',
37
  '</a>'
38
  );
39
  ?>
40
  </span>
41
+ <p class="version"><?php _e( 'Version', $text ); ?> <?php echo $version; ?></p>
42
  </h2>
43
 
44
  <div id="poststuff" class="metabox-holder has-right-sidebar">
45
 
46
  <!-- TABS NAVIGATION MENU -->
47
  <ul class="tabs-nav">
48
+ <li class="active"><a href="#tab-core" data-toggle="tab"><?php _e( 'Main', $text ); ?></a></li>
49
+ <li><a href="#tab-usage" data-toggle="tab"><?php _e( 'Usage', $text ); ?></a></li>
50
+ <li><a href="#tab-faq" data-toggle="tab"><?php _e( 'F.A.Q.', $text ); ?></a></li>
51
+ <li><a href="#tab-author" data-toggle="tab"><?php _e( 'Author', $text ); ?></a></li>
52
+ <li><a href="#tab-support" data-toggle="tab"><?php _e( 'Support', $text ); ?></a></li>
53
+ <li><a href="#tab-family" data-toggle="tab"><?php _e( 'Family', $text ); ?></a></li>
54
  </ul>
55
  <!-- END-TABS NAVIGATION MENU -->
56
 
65
  <!-- TAB 2 -->
66
  <div class="tab-page fade" id="tab-usage">
67
  <div class="postbox">
68
+ <h3 class="title"><?php _e( 'Usage', $text ); ?></h3>
69
  <div class="inside">
70
+ <p><?php _e( 'To add the script to your website, simply follow these steps:', $text ); ?></p>
71
  <ol class="custom-counter">
72
+ <li><?php _e( 'Go to the "Main" tab.', $text ); ?></li>
73
+ <li><?php _e( 'Place your scripts in the field.', $text ); ?><br><br>
74
+ <p><?php _e( 'Note that the fields are for inserting HTML code, so JavaScript and CSS code must be wrapped in the corresponding HTML tag. For JavaScript code use the <code>&lt;script&gt;</code> tag, and for CSS code use the <code>&lt;style&gt;</code> tag. Example:', $text ); ?></p>
75
  <?php $ExampleCode = '&lt;script&gt;
76
  function myFunction() {
77
  document.getElementById(&quot;demo&quot;).innerHTML = &quot;Hello World!&quot;;
85
  &lt;/style&gt;'; ?>
86
  <pre><code><?php echo $ExampleCode; ?></code></pre>
87
  </li>
88
+ <li><?php _e( 'Click the "Save changes" button.', $text ); ?></li>
89
+ <li><?php _e( 'Enjoy the result of applying your scripts.', $text ); ?> <?php _e( 'It\'s that simple!', $text ); ?></li>
90
  </ol>
91
+ <p class="note"><b><?php _e( 'Note!', $text ); ?></b> <?php _e( 'If you want more options then tell me and I will be happy to add it.', $text ); ?></p>
92
  </div>
93
  </div>
94
  </div>
97
  <!-- TAB 3 -->
98
  <div class="tab-page fade" id="tab-faq">
99
  <div class="postbox">
100
+ <h3 class="title"><?php _e( 'Frequently Asked Questions', $text ); ?></h3>
101
  <div class="inside">
102
 
103
+ <p class="note">
104
+ <?php _e( 'If you have a question, please read the Frequently Asked Questions below to see if the answer is here.', $text ); ?>
105
+ </p>
106
+
107
  <div class="panel-group" id="collapse-group">
108
  <?php
109
+ $loopvalue = '13';
110
  for ( $i = 1; $i <= $loopvalue; $i++ ) {
111
  echo '<div class="panel panel-default">
112
  <div class="panel-heading">
123
  ?>
124
  </div>
125
 
126
+ <div class="question-1"><?php _e( 'Will this plugin work on my WordPress.COM website?', $text ); ?></div>
127
+ <div class="answer-1"><?php _e( 'Sorry, this plugin is available for use only on self-hosted (WordPress.ORG) websites.', $text ); ?></div>
128
 
129
+ <div class="question-2"><?php _e( 'Can I use this plugin on my language?', $text ); ?></div>
130
  <div class="answer-2"><?php printf(
131
+ __( 'Yes. This plugin is ready for translation and has already been translated into several languages. But If your language is not available then you can make one. The POT file is included and placed in the <code>languages</code> folder. Just send the PO file to me at the %s and I will include this translation within the next plugin update. Many of plugin users would be delighted if you share your translation with the community. Thanks for your contribution!', $text ),
132
+ '<a href="mailto:arthurgareginyan@gmail.com?subject=New translation of the ' . $name . ' plugin">arthurgareginyan@gmail.com</a>'
133
+ );
134
+ ?><br><br>
135
+ <?php _e( 'Maybe not all existed translations are up to date. You are welcome to contribute corrections!', $text ); ?></div>
136
 
137
+ <div class="question-3"><?php _e( 'How does it work?', $text ); ?></div>
138
+ <div class="answer-3"><?php _e( 'On the "Settings" tab, place your scripts in the field and click the "Save changes" button. Enjoy the result of applying your scripts. It\'s that simple!', $text ); ?></div>
139
 
140
+ <div class="question-4"><?php _e( 'How much of scripts I can enter in the field?', $text ); ?></div>
141
+ <div class="answer-4"><?php _e( 'I don\'t limit the number of characters.', $text ); ?></div>
142
 
143
+ <div class="question-5"><?php _e( 'Does this plugin requires any modification of the theme?', $text ); ?></div>
144
+ <div class="answer-5"><?php _e( 'Absolutely not. This plugin is configurable entirely from the plugin settings page.', $text ); ?></div>
145
 
146
+ <div class="question-6"><?php _e( 'Does this require any knowledge of HTML or CSS?', $text ); ?></div>
147
+ <div class="answer-6"><?php _e( 'This plugin can be configured with no knowledge of HTML or CSS, using an easy-to-use plugin settings page. But you need to know the HTML or CSS in order to add/remove/modify the HTML or CSS code by using this plugin.', $text ); ?></div>
148
 
149
+ <div class="question-7"><?php _e( 'Can I add my script to a specific page of my website?', $text ); ?></div>
150
+ <div class="answer-7"><?php _e( 'For now, this plugin does not have an option to apply the custom scripts only on specific pages. I plan to add this feature soon. But for now in order to apply your script only on specific pages of your website, you need to wrap your script in a PHP code that will determine the page you want. You need something like this:', $text ); ?><br><br>
151
+ <pre><code>function my_custom_script() {
152
+
153
+ // Stop the function if this is not the Home page of website
154
+ if ( !is_home() ) {
155
+ return;
156
+ }
157
+
158
+ // Print the script
159
+ echo '&lt;script&gt;YOUR SCRIPT&lt;/script&gt;';
160
+ }
161
+ add_action( 'wp_head', 'my_custom_script' );</code></pre>
162
+ <?php printf(
163
+ __( 'To apply the PHP code on a website, I can recommend you to use another my plugin called %s.', $text ),
164
+ '<a href="//wordpress.org/plugins/my-custom-functions/" target="_blank">My Custom Functions</a>'
165
+ ); ?></div>
166
 
167
+ <div class="question-8 question-red"><?php _e( 'It\'s not working. What could be wrong?', $text ); ?></div>
168
+ <div class="answer-8"><?php _e( 'As with every plugin, it\'s possible that things don\'t work. The most common reason for this is a web browser\'s cache. Every web browser stores a cache of the websites you visit (pages, images, and etc.) to reduce bandwidth usage and server load. This is called the browser\'s cache.​ Clearing your browser\'s cache may solve the problem.', $text ); ?><br><br>
169
+ <?php _e( 'It\'s impossible to tell what could be wrong exactly, but if you post a support request in the plugin\'s support forum on WordPress.org, I\'d be happy to give it a look and try to help out. Please include as much information as possible, including a link to your website where the problem can be seen.', $text ); ?></div>
170
 
171
+ <div class="question-9 question-red"><?php _e( 'The last WordPress update is preventing me from editing my website that is using this plugin. Why is this?', $text ); ?></div>
172
+ <div class="answer-9"><?php _e( 'This plugin can not cause such problem. More likely, the problem are related to the settings of the website. It could just be a cache, so please try to clear your website\'s cache (may be you using a caching plugin, or some web service such as the CloudFlare) and then the cache of your web browser. Also please try to re-login to the website, this too can help.', $text ); ?></div>
 
 
 
 
 
173
 
174
+ <div class="question-10 question-red"><?php _e( 'Where to report bug if found?', $text ); ?></div>
175
  <div class="answer-10"><?php printf(
176
+ __( 'Please visit the %s Dedicated Plugin Page on GitHub %s and report.', $text ),
177
+ '<a href="https://github.com/ArthurGareginyan/' . $slug . '" target="_blank">',
178
  '</a>'
179
  );
180
  ?></div>
181
 
182
+ <div class="question-11"><?php _e( 'Where to share any ideas or suggestions to make the plugin better?', $text ); ?></div>
183
  <div class="answer-11"><?php printf(
184
+ __( 'Any suggestions are very welcome! Please send me an email to %s. Thank you!', $text ),
185
+ '<a href="mailto:arthurgareginyan@gmail.com?subject=Suggestions about the ' . $name . '">arthurgareginyan@gmail.com</a>'
186
+ );
187
+ ?></div>
188
+
189
+ <div class="question-12"><?php _e( 'I love this plugin! Can I help somehow?', $text ); ?></div>
190
+ <div class="answer-12"><?php printf(
191
+ __( 'Yes, any financial contributions are welcome! Just visit %s my website %s, click on the donate button, and thank you!', $text ),
192
  '<a href="http://www.arthurgareginyan.com/donate.html" target="_blank">',
193
  '</a>'
194
  );
195
  ?></div>
196
 
197
+ <div class="question-13"><?php _e( 'My question wasn\'t answered here.', $text ); ?></div>
198
+ <div class="answer-13"><?php printf(
199
+ __( 'You can ask your question on the plugin support page %s. But please keep in mind that this plugin is free, and there is no a special support team, so I have no way to answer everyone.', $text ),
200
+ '<a href="https://wordpress.org/support/plugin/' . $slug . '/" target="_blank">here</a>'
201
+ );
202
+ ?></div>
203
+
204
  </div>
205
  </div>
206
  </div>
209
  <!-- TAB 4 -->
210
  <div class="tab-page fade" id="tab-author">
211
  <div class="postbox">
212
+ <h3 class="title"><?php _e( 'Author', $text ); ?></h3>
213
  <div class="inside include-tab-author"></div>
214
  </div>
215
  </div>
218
  <!-- TAB 5 -->
219
  <div class="tab-page fade" id="tab-support">
220
  <div class="postbox">
221
+ <h3 class="title"><?php _e( 'Support', $text ); ?></h3>
222
  <div class="inside include-tab-support"></div>
223
  </div>
224
  </div>
inc/php/settings.php CHANGED
@@ -10,7 +10,7 @@ defined( 'ABSPATH' ) or die( "Restricted access!" );
10
  /**
11
  * Render Settings Tab
12
  *
13
- * @since 4.3
14
  */
15
  ?>
16
  <!-- SIDEBAR -->
@@ -18,27 +18,25 @@ defined( 'ABSPATH' ) or die( "Restricted access!" );
18
  <div id="side-sortables" class="meta-box-sortabless ui-sortable">
19
 
20
  <div id="about" class="postbox">
21
- <h3 class="title"><?php _e( 'About', HFSINS_TEXT ); ?></h3>
22
  <div class="inside">
23
- <p><?php _e( 'This plugin allows you to easily insert scripts in your website.', HFSINS_TEXT ); ?></p>
24
- <p class="version"><?php _e( 'Version', HFSINS_TEXT ); ?> <?php echo HFSINS_VERSION; ?></p>
25
  </div>
26
  </div>
27
 
28
  <div id="support" class="postbox">
29
- <h3 class="title"><?php _e( 'Support', HFSINS_TEXT ); ?></h3>
30
  <div class="inside">
31
- <p><?php _e( 'I\'m an independent developer, without a regular income, so every little contribution helps cover my costs and lets me spend more time building things for people like you to enjoy.', HFSINS_TEXT ); ?></p>
32
- <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=8A88KC7TFF6CS" target="_blank" class="additional-button paypal"><?php _e( 'Donate with PayPal', HFSINS_TEXT ); ?></a>
33
- <p><?php _e( 'Thanks for your support!', HFSINS_TEXT ); ?></p>
34
  </div>
35
  </div>
36
 
37
  <div id="help" class="postbox">
38
- <h3 class="title"><?php _e( 'Help', HFSINS_TEXT ); ?></h3>
39
  <div class="inside">
40
- <p><?php _e( 'Got something to say? Need help?', HFSINS_TEXT ); ?></p>
41
- <p><a href="mailto:arthurgareginyan@gmail.com?subject=<?php echo HFSINS_NAME; ?>">arthurgareginyan@gmail.com</a></p>
42
  </div>
43
  </div>
44
 
@@ -75,35 +73,45 @@ defined( 'ABSPATH' ) or die( "Restricted access!" );
75
  ?>
76
 
77
  <div class="postbox" id="Head">
78
- <h3 class="title"><?php _e( 'Head Section', HFSINS_TEXT ); ?></h3>
79
  <div class="inside">
80
- <p class="note"><?php _e( 'You can use the fields below to add scripts to HEAD section of your website.', HFSINS_TEXT ); ?></p>
81
- <p class='help-text'><?php _e( 'Scripts from this field will be printed in the beginning of <b>HEAD</b> section. Do not place plain text in this!', HFSINS_TEXT ); ?></p>
 
 
82
  <textarea name="HFScriptsIns_settings[header_beginning]" id="HFScriptsIns_settings[header_beginning]" ><?php echo $header_beginning; ?></textarea>
83
- <p class='help-text'><?php _e( 'Scripts from this field will be printed in the end of <b>HEAD</b> section. Do not place plain text in this!', HFSINS_TEXT ); ?></p>
 
84
  <textarea name="HFScriptsIns_settings[header_end]" id="HFScriptsIns_settings[header_end]" ><?php echo $header_end; ?></textarea>
85
- <?php submit_button( __( 'Save Changes', HFSINS_TEXT ), 'primary', 'submit', true ); ?>
 
 
86
  </div>
87
  </div>
88
 
89
  <div class="postbox" id="Footer">
90
- <h3 class="title"><?php _e( 'Footer Section', HFSINS_TEXT ); ?></h3>
91
  <div class="inside">
92
- <p class="note"><?php _e( 'You can use the fields below to add scripts to FOOTER section of your website.', HFSINS_TEXT ); ?></p>
93
- <p class='help-text'><?php _e( 'Scripts from this field will be printed before a footers scripts. Do not place plain text in this!', HFSINS_TEXT ); ?></p>
 
 
94
  <textarea name="HFScriptsIns_settings[footer_beginning]" id="HFScriptsIns_settings[footer_beginning]" ><?php echo $footer_beginning; ?></textarea>
95
- <p class='help-text'><?php _e( 'Scripts from this field will be printed after all footers scripts. Do not place plain text in this!', HFSINS_TEXT ); ?></p>
 
96
  <textarea name="HFScriptsIns_settings[footer_end]" id="HFScriptsIns_settings[footer_end]" ><?php echo $footer_end; ?></textarea>
97
- <?php submit_button( __( 'Save Changes', HFSINS_TEXT ), 'primary', 'submit', true ); ?>
 
 
98
  </div>
99
  </div>
100
 
101
  <div class="postbox" id="support-addition">
102
- <h3 class="title"><?php _e( 'Support', HFSINS_TEXT ); ?></h3>
103
  <div class="inside">
104
- <p><?php _e( 'I\'m an independent developer, without a regular income, so every little contribution helps cover my costs and lets me spend more time building things for people like you to enjoy.', HFSINS_TEXT ); ?></p>
105
- <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=8A88KC7TFF6CS" target="_blank" class="additional-button paypal"><?php _e( 'Donate with PayPal', HFSINS_TEXT ); ?></a>
106
- <p><?php _e( 'Thanks for your support!', HFSINS_TEXT ); ?></p>
107
  </div>
108
  </div>
109
 
10
  /**
11
  * Render Settings Tab
12
  *
13
+ * @since 4.4
14
  */
15
  ?>
16
  <!-- SIDEBAR -->
18
  <div id="side-sortables" class="meta-box-sortabless ui-sortable">
19
 
20
  <div id="about" class="postbox">
21
+ <h3 class="title"><?php _e( 'About', $text ); ?></h3>
22
  <div class="inside">
23
+ <p><?php _e( 'This plugin allows you to easily insert scripts in your website.', $text ); ?></p>
 
24
  </div>
25
  </div>
26
 
27
  <div id="support" class="postbox">
28
+ <h3 class="title"><?php _e( 'Support', $text ); ?></h3>
29
  <div class="inside">
30
+ <p><?php _e( 'I\'m an independent developer, without a regular income, so every little contribution helps cover my costs and lets me spend more time building things for people like you to enjoy.', $text ); ?></p>
31
+ <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=8A88KC7TFF6CS" target="_blank" class="additional-button paypal"><?php _e( 'Donate with PayPal', $text ); ?></a>
32
+ <p><?php _e( 'Thanks for your support!', $text ); ?></p>
33
  </div>
34
  </div>
35
 
36
  <div id="help" class="postbox">
37
+ <h3 class="title"><?php _e( 'Help', $text ); ?></h3>
38
  <div class="inside">
39
+ <p><?php _e( 'If you have a question, please read the information in the FAQ section.', $text ); ?></p>
 
40
  </div>
41
  </div>
42
 
73
  ?>
74
 
75
  <div class="postbox" id="Head">
76
+ <h3 class="title"><?php _e( 'Head Section', $text ); ?></h3>
77
  <div class="inside">
78
+
79
+ <p class="note"><?php _e( 'You can use the fields below to add scripts to HEAD section of your website.', $text ); ?></p>
80
+
81
+ <p class='help-text'><?php _e( 'Scripts from this field will be printed in the beginning of <b>HEAD</b> section. Do not place plain text in this!', $text ); ?></p>
82
  <textarea name="HFScriptsIns_settings[header_beginning]" id="HFScriptsIns_settings[header_beginning]" ><?php echo $header_beginning; ?></textarea>
83
+
84
+ <p class='help-text'><?php _e( 'Scripts from this field will be printed in the end of <b>HEAD</b> section. Do not place plain text in this!', $text ); ?></p>
85
  <textarea name="HFScriptsIns_settings[header_end]" id="HFScriptsIns_settings[header_end]" ><?php echo $header_end; ?></textarea>
86
+
87
+ <?php submit_button( __( 'Save changes', $text ), 'primary', 'submit', true ); ?>
88
+
89
  </div>
90
  </div>
91
 
92
  <div class="postbox" id="Footer">
93
+ <h3 class="title"><?php _e( 'Footer Section', $text ); ?></h3>
94
  <div class="inside">
95
+
96
+ <p class="note"><?php _e( 'You can use the fields below to add scripts to FOOTER section of your website.', $text ); ?></p>
97
+
98
+ <p class='help-text'><?php _e( 'Scripts from this field will be printed before a footers scripts. Do not place plain text in this!', $text ); ?></p>
99
  <textarea name="HFScriptsIns_settings[footer_beginning]" id="HFScriptsIns_settings[footer_beginning]" ><?php echo $footer_beginning; ?></textarea>
100
+
101
+ <p class='help-text'><?php _e( 'Scripts from this field will be printed after all footers scripts. Do not place plain text in this!', $text ); ?></p>
102
  <textarea name="HFScriptsIns_settings[footer_end]" id="HFScriptsIns_settings[footer_end]" ><?php echo $footer_end; ?></textarea>
103
+
104
+ <?php submit_button( __( 'Save changes', $text ), 'primary', 'submit', true ); ?>
105
+
106
  </div>
107
  </div>
108
 
109
  <div class="postbox" id="support-addition">
110
+ <h3 class="title"><?php _e( 'Support', $text ); ?></h3>
111
  <div class="inside">
112
+ <p><?php _e( 'I\'m an independent developer, without a regular income, so every little contribution helps cover my costs and lets me spend more time building things for people like you to enjoy.', $text ); ?></p>
113
+ <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=8A88KC7TFF6CS" target="_blank" class="additional-button paypal"><?php _e( 'Donate with PayPal', $text ); ?></a>
114
+ <p><?php _e( 'Thanks for your support!', $text ); ?></p>
115
  </div>
116
  </div>
117
 
inc/php/versioning.php CHANGED
@@ -18,6 +18,7 @@ function HFScriptsIns_versioning() {
18
  // SETTING VARIABLES //
19
  ///////////////////////////////////////////////////////////////////
20
 
 
21
  $version_files = HFSINS_VERSION;
22
  $settings = HFSINS_SETTINGS;
23
 
18
  // SETTING VARIABLES //
19
  ///////////////////////////////////////////////////////////////////
20
 
21
+ // Put value of constants to variables for easier access
22
  $version_files = HFSINS_VERSION;
23
  $settings = HFSINS_SETTINGS;
24
 
languages/Readme.txt CHANGED
@@ -2,10 +2,12 @@
2
  CONTRIBUTING YOUR TRANSLATION
3
 
4
 
5
- This plugin is ready for translation.
6
 
7
- If you want to help translate this plugin, please visit the [translation page](https://translate.wordpress.org/projects/wp-plugins/header-and-footer-scripts-inserter), or use the POT file, that is included and placed in the "languages" folder, in order to create a translation files (*.po, *.mo). Just send the translation files (*.po, *.mo) to me at the arthurgareginyan@gmail.com and I will include the translation within the next plugin update.
8
 
9
- Also you can use an existing PO file that placed in the "languages" folder, in order to make corrections.
 
 
10
 
11
  Many of plugin users would be delighted if you share your translation with the community. Thanks for your contribution!
2
  CONTRIBUTING YOUR TRANSLATION
3
 
4
 
5
+ This plugin is ready for translation and has already been translated into several languages.
6
 
7
+ If you want to help translate this plugin then please visit the [translation page](https://translate.wordpress.org/projects/wp-plugins/header-and-footer-scripts-inserter).
8
 
9
+ You can also use the POT file, that is included and placed in the "languages" folder, in order to create a translation PO file. Just send the PO file to me at the arthurgareginyan@gmail.com and I will include this translation within the next plugin update.
10
+
11
+ Maybe not all existed translations are up to date. You are welcome to contribute corrections!
12
 
13
  Many of plugin users would be delighted if you share your translation with the community. Thanks for your contribution!
languages/header-and-footer-scripts-inserter-pl_PL.mo CHANGED
Binary file
languages/header-and-footer-scripts-inserter-pl_PL.po CHANGED
@@ -2,8 +2,8 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Header and Footer Scripts Inserter\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2017-06-04 13:31+0300\n"
6
- "PO-Revision-Date: 2017-06-04 13:31+0300\n"
7
  "Last-Translator: psouu <koko887@wp.pl>\n"
8
  "Language-Team: \n"
9
  "Language: pl\n"
@@ -39,7 +39,7 @@ msgstr ""
39
 
40
  #: inc/php/messages.php:32
41
  #, php-format
42
- msgid "Thank you for installing my plugin! I hope you will love it %s"
43
  msgstr ""
44
 
45
  #: inc/php/messages.php:67
@@ -54,49 +54,53 @@ msgstr ""
54
  msgid "Scripts updated successfully."
55
  msgstr ""
56
 
57
- #: inc/php/page.php:29
58
  #, php-format
59
  msgid "by %s Arthur Gareginyan %s"
60
  msgstr "wykonana przez %s Arthur Gareginyan %s"
61
 
62
  #: inc/php/page.php:41
 
 
 
 
63
  msgid "Main"
64
  msgstr ""
65
 
66
- #: inc/php/page.php:42 inc/php/page.php:61
67
  msgid "Usage"
68
  msgstr "Wykorzystanie"
69
 
70
- #: inc/php/page.php:43
71
  msgid "F.A.Q."
72
  msgstr "FAQ"
73
 
74
- #: inc/php/page.php:44 inc/php/page.php:175
75
  msgid "Author"
76
  msgstr "Autor"
77
 
78
- #: inc/php/page.php:45 inc/php/page.php:184 inc/php/settings.php:29
79
- #: inc/php/settings.php:102
80
  msgid "Support"
81
  msgstr ""
82
 
83
- #: inc/php/page.php:46
84
  msgid "Family"
85
  msgstr "Rodzina"
86
 
87
- #: inc/php/page.php:63
88
  msgid "To add the script to your website, simply follow these steps:"
89
  msgstr ""
90
 
91
- #: inc/php/page.php:65
92
  msgid "Go to the \"Main\" tab."
93
  msgstr ""
94
 
95
- #: inc/php/page.php:66
96
- msgid "Add your scripts to the field and click the \"Save Changes\" button."
97
  msgstr ""
98
 
99
- #: inc/php/page.php:67
100
  msgid ""
101
  "Note that the fields are for inserting HTML code, so JavaScript and CSS code "
102
  "must be wrapped in the corresponding HTML tag. For JavaScript code use the "
@@ -104,96 +108,133 @@ msgid ""
104
  "</code> tag. Example:"
105
  msgstr ""
106
 
107
- #: inc/php/page.php:81
 
 
 
 
108
  msgid "Enjoy the result of applying your scripts."
109
  msgstr ""
110
 
111
- #: inc/php/page.php:81
112
  msgid "It's that simple!"
113
  msgstr ""
114
 
115
- #: inc/php/page.php:83
116
  msgid "Note!"
117
  msgstr ""
118
 
119
- #: inc/php/page.php:83
120
  msgid "If you want more options then tell me and I will be happy to add it."
121
  msgstr "Jeśli potrzebujesz więcej opcji napisz mi o tym. Chętnie je dodam."
122
 
123
- #: inc/php/page.php:92
124
  msgid "Frequently Asked Questions"
125
  msgstr "Często zadawane pytania"
126
 
127
- #: inc/php/page.php:114
 
 
 
 
 
 
128
  msgid "Will this plugin work on my WordPress.COM website?"
129
  msgstr ""
130
 
131
- #: inc/php/page.php:115
132
  msgid ""
133
  "Sorry, this plugin is available for use only on self-hosted (WordPress.ORG) "
134
  "websites."
135
  msgstr ""
136
 
137
- #: inc/php/page.php:117
138
  msgid "Can I use this plugin on my language?"
139
  msgstr ""
140
 
141
- #: inc/php/page.php:119
142
  #, php-format
143
  msgid ""
144
- "Yes. But If your language is not available then you can make one. This "
145
- "plugin is ready for translation. The<code>.pot</code>file is included and "
146
- "placed in the <code>languages</code> folder. Many of plugin users would be "
147
- "delighted if you shared your translation with the community. Just send the "
148
- "translation files (<code>*.po, *.mo</code>) to me at the %s and I will "
149
- "include the translation within the next plugin update."
 
150
  msgstr ""
151
 
152
- #: inc/php/page.php:124
 
 
 
 
 
 
153
  msgid "How does it work?"
154
  msgstr ""
155
 
156
- #: inc/php/page.php:125
157
  msgid ""
158
- "On the \"Settings\" tab, add your scripts to the field and click the \"Save "
159
- "Changes\" button. Enjoy the result of applying your scripts. It's that "
160
- "simple!"
161
  msgstr ""
162
 
163
- #: inc/php/page.php:127
164
  msgid "How much of scripts I can enter in the field?"
165
  msgstr ""
166
 
167
- #: inc/php/page.php:128
168
  msgid "I don't limit the number of characters."
169
  msgstr ""
170
 
171
- #: inc/php/page.php:130
172
  msgid "Does this plugin requires any modification of the theme?"
173
  msgstr ""
174
 
175
- #: inc/php/page.php:131
176
  msgid ""
177
  "Absolutely not. This plugin is configurable entirely from the plugin "
178
  "settings page."
179
  msgstr ""
180
 
181
- #: inc/php/page.php:133
182
  msgid "Does this require any knowledge of HTML or CSS?"
183
  msgstr ""
184
 
185
- #: inc/php/page.php:134
186
  msgid ""
187
  "This plugin can be configured with no knowledge of HTML or CSS, using an "
188
  "easy-to-use plugin settings page. But you need to know the HTML or CSS in "
189
  "order to add/remove/modify the HTML or CSS code by using this plugin."
190
  msgstr ""
191
 
192
- #: inc/php/page.php:136
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
193
  msgid "It's not working. What could be wrong?"
194
  msgstr ""
195
 
196
- #: inc/php/page.php:137
197
  msgid ""
198
  "As with every plugin, it's possible that things don't work. The most common "
199
  "reason for this is a web browser's cache. Every web browser stores a cache "
@@ -202,7 +243,7 @@ msgid ""
202
  "browser's cache may solve the problem."
203
  msgstr ""
204
 
205
- #: inc/php/page.php:138
206
  msgid ""
207
  "It's impossible to tell what could be wrong exactly, but if you post a "
208
  "support request in the plugin's support forum on WordPress.org, I'd be happy "
@@ -210,13 +251,13 @@ msgid ""
210
  "possible, including a link to your website where the problem can be seen."
211
  msgstr ""
212
 
213
- #: inc/php/page.php:140
214
  msgid ""
215
  "The last WordPress update is preventing me from editing my website that is "
216
  "using this plugin. Why is this?"
217
  msgstr ""
218
 
219
- #: inc/php/page.php:141
220
  msgid ""
221
  "This plugin can not cause such problem. More likely, the problem are related "
222
  "to the settings of the website. It could just be a cache, so please try to "
@@ -225,37 +266,48 @@ msgid ""
225
  "please try to re-login to the website, this too can help."
226
  msgstr ""
227
 
228
- #: inc/php/page.php:143
229
  msgid "Where to report bug if found?"
230
  msgstr ""
231
 
232
- #: inc/php/page.php:145
233
  #, php-format
234
  msgid "Please visit the %s Dedicated Plugin Page on GitHub %s and report."
235
  msgstr ""
236
 
237
- #: inc/php/page.php:151
238
  msgid "Where to share any ideas or suggestions to make the plugin better?"
239
  msgstr ""
240
 
241
- #: inc/php/page.php:153
242
  #, php-format
243
  msgid ""
244
- "Any suggestions are very welcome! Please send me an email to %s "
245
- "arthurgareginyan@gmail.com %s. Thank you!"
246
  msgstr ""
247
 
248
- #: inc/php/page.php:159
249
  msgid "I love this plugin! Can I help somehow?"
250
  msgstr ""
251
 
252
- #: inc/php/page.php:161
253
  #, php-format
254
  msgid ""
255
  "Yes, any financial contributions are welcome! Just visit %s my website %s, "
256
  "click on the donate button, and thank you!"
257
  msgstr ""
258
 
 
 
 
 
 
 
 
 
 
 
 
 
259
  #: inc/php/settings.php:21
260
  msgid "About"
261
  msgstr "O wtyczce"
@@ -264,38 +316,34 @@ msgstr "O wtyczce"
264
  msgid "This plugin allows you to easily insert scripts in your website."
265
  msgstr "Ta wtyczka pozwala łatwo wstawić kod skryptów na stronę www."
266
 
267
- #: inc/php/settings.php:24
268
- msgid "Version"
269
- msgstr ""
270
-
271
- #: inc/php/settings.php:31 inc/php/settings.php:104
272
  msgid ""
273
  "I'm an independent developer, without a regular income, so every little "
274
  "contribution helps cover my costs and lets me spend more time building "
275
  "things for people like you to enjoy."
276
  msgstr ""
277
 
278
- #: inc/php/settings.php:32 inc/php/settings.php:105
279
  msgid "Donate with PayPal"
280
  msgstr ""
281
 
282
- #: inc/php/settings.php:33 inc/php/settings.php:106
283
  msgid "Thanks for your support!"
284
  msgstr "Dziękujemy za wsparcie!"
285
 
286
- #: inc/php/settings.php:38
287
  msgid "Help"
288
  msgstr "Pomoc"
289
 
290
- #: inc/php/settings.php:40
291
- msgid "Got something to say? Need help?"
292
  msgstr "Masz coś do powiedzenia? Potrzebujesz pomocy?"
293
 
294
- #: inc/php/settings.php:78
295
  msgid "Head Section"
296
  msgstr "Sekcja: Nagłówek"
297
 
298
- #: inc/php/settings.php:80
299
  msgid ""
300
  "You can use the fields below to add scripts to HEAD section of your website."
301
  msgstr "Pola poniżej można użyć, aby dodać kody skryptów do nagłówka witryny."
@@ -308,7 +356,7 @@ msgstr ""
308
  "Skrypty z tego pola zostaną dodane na początku sekcji <b>HEAD</b>. Nie "
309
  "należy tu umieszczać zwykłego tekstu!"
310
 
311
- #: inc/php/settings.php:83
312
  msgid ""
313
  "Scripts from this field will be printed in the end of <b>HEAD</b> section. "
314
  "Do not place plain text in this!"
@@ -316,21 +364,21 @@ msgstr ""
316
  "Skrypty z tego pola zostaną dodane na końcu sekcji <b>HEAD</b>. Nie należy "
317
  "tu umieszczać zwykłego tekstu!"
318
 
319
- #: inc/php/settings.php:85 inc/php/settings.php:97
320
- msgid "Save Changes"
321
  msgstr "Zapisz"
322
 
323
- #: inc/php/settings.php:90
324
  msgid "Footer Section"
325
  msgstr "Sekcja: Stopka"
326
 
327
- #: inc/php/settings.php:92
328
  msgid ""
329
  "You can use the fields below to add scripts to FOOTER section of your "
330
  "website."
331
  msgstr "Pola poniżej można użyć, aby dodać kody skryptów do stopki witryny."
332
 
333
- #: inc/php/settings.php:93
334
  msgid ""
335
  "Scripts from this field will be printed before a footers scripts. Do not "
336
  "place plain text in this!"
@@ -338,7 +386,7 @@ msgstr ""
338
  "Skrypty z tego pola zostaną dodane przed skryptami ze stopki. Nie należy tu "
339
  "umieszczać zwykłego tekstu!"
340
 
341
- #: inc/php/settings.php:95
342
  msgid ""
343
  "Scripts from this field will be printed after all footers scripts. Do not "
344
  "place plain text in this!"
@@ -378,7 +426,7 @@ msgstr "http://www.arthurgareginyan.com"
378
  #~ "\">Arthur Gareginyan</a>"
379
 
380
  #~ msgid ""
381
- #~ "To use, enter your custom scripts, then click \"Save Changes\". It's that "
382
  #~ "simple!"
383
  #~ msgstr ""
384
  #~ "Aby użyć, wprowadź kod skryptów, a następnie kliknij przycisk \"Zapisz\". "
2
  msgstr ""
3
  "Project-Id-Version: Header and Footer Scripts Inserter\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2017-06-16 03:34+0300\n"
6
+ "PO-Revision-Date: 2017-06-16 03:34+0300\n"
7
  "Last-Translator: psouu <koko887@wp.pl>\n"
8
  "Language-Team: \n"
9
  "Language: pl\n"
39
 
40
  #: inc/php/messages.php:32
41
  #, php-format
42
+ msgid "Thank you for installing my plugin! I hope you will love it! %s"
43
  msgstr ""
44
 
45
  #: inc/php/messages.php:67
54
  msgid "Scripts updated successfully."
55
  msgstr ""
56
 
57
+ #: inc/php/page.php:35
58
  #, php-format
59
  msgid "by %s Arthur Gareginyan %s"
60
  msgstr "wykonana przez %s Arthur Gareginyan %s"
61
 
62
  #: inc/php/page.php:41
63
+ msgid "Version"
64
+ msgstr ""
65
+
66
+ #: inc/php/page.php:48
67
  msgid "Main"
68
  msgstr ""
69
 
70
+ #: inc/php/page.php:49 inc/php/page.php:68
71
  msgid "Usage"
72
  msgstr "Wykorzystanie"
73
 
74
+ #: inc/php/page.php:50
75
  msgid "F.A.Q."
76
  msgstr "FAQ"
77
 
78
+ #: inc/php/page.php:51 inc/php/page.php:212
79
  msgid "Author"
80
  msgstr "Autor"
81
 
82
+ #: inc/php/page.php:52 inc/php/page.php:221 inc/php/settings.php:28
83
+ #: inc/php/settings.php:110
84
  msgid "Support"
85
  msgstr ""
86
 
87
+ #: inc/php/page.php:53
88
  msgid "Family"
89
  msgstr "Rodzina"
90
 
91
+ #: inc/php/page.php:70
92
  msgid "To add the script to your website, simply follow these steps:"
93
  msgstr ""
94
 
95
+ #: inc/php/page.php:72
96
  msgid "Go to the \"Main\" tab."
97
  msgstr ""
98
 
99
+ #: inc/php/page.php:73
100
+ msgid "Place your scripts in the field."
101
  msgstr ""
102
 
103
+ #: inc/php/page.php:74
104
  msgid ""
105
  "Note that the fields are for inserting HTML code, so JavaScript and CSS code "
106
  "must be wrapped in the corresponding HTML tag. For JavaScript code use the "
108
  "</code> tag. Example:"
109
  msgstr ""
110
 
111
+ #: inc/php/page.php:88
112
+ msgid "Click the \"Save changes\" button."
113
+ msgstr ""
114
+
115
+ #: inc/php/page.php:89
116
  msgid "Enjoy the result of applying your scripts."
117
  msgstr ""
118
 
119
+ #: inc/php/page.php:89
120
  msgid "It's that simple!"
121
  msgstr ""
122
 
123
+ #: inc/php/page.php:91
124
  msgid "Note!"
125
  msgstr ""
126
 
127
+ #: inc/php/page.php:91
128
  msgid "If you want more options then tell me and I will be happy to add it."
129
  msgstr "Jeśli potrzebujesz więcej opcji napisz mi o tym. Chętnie je dodam."
130
 
131
+ #: inc/php/page.php:100
132
  msgid "Frequently Asked Questions"
133
  msgstr "Często zadawane pytania"
134
 
135
+ #: inc/php/page.php:104
136
+ msgid ""
137
+ "If you have a question, please read the Frequently Asked Questions below to "
138
+ "see if the answer is here."
139
+ msgstr ""
140
+
141
+ #: inc/php/page.php:126
142
  msgid "Will this plugin work on my WordPress.COM website?"
143
  msgstr ""
144
 
145
+ #: inc/php/page.php:127
146
  msgid ""
147
  "Sorry, this plugin is available for use only on self-hosted (WordPress.ORG) "
148
  "websites."
149
  msgstr ""
150
 
151
+ #: inc/php/page.php:129
152
  msgid "Can I use this plugin on my language?"
153
  msgstr ""
154
 
155
+ #: inc/php/page.php:131
156
  #, php-format
157
  msgid ""
158
+ "Yes. This plugin is ready for translation and has already been translated "
159
+ "into several languages. But If your language is not available then you can "
160
+ "make one. The POT file is included and placed in the <code>languages</code> "
161
+ "folder. Just send the PO file to me at the %s and I will include this "
162
+ "translation within the next plugin update. Many of plugin users would be "
163
+ "delighted if you share your translation with the community. Thanks for your "
164
+ "contribution!"
165
  msgstr ""
166
 
167
+ #: inc/php/page.php:135
168
+ msgid ""
169
+ "Maybe not all existed translations are up to date. You are welcome to "
170
+ "contribute corrections!"
171
+ msgstr ""
172
+
173
+ #: inc/php/page.php:137
174
  msgid "How does it work?"
175
  msgstr ""
176
 
177
+ #: inc/php/page.php:138
178
  msgid ""
179
+ "On the \"Settings\" tab, place your scripts in the field and click the "
180
+ "\"Save changes\" button. Enjoy the result of applying your scripts. It's "
181
+ "that simple!"
182
  msgstr ""
183
 
184
+ #: inc/php/page.php:140
185
  msgid "How much of scripts I can enter in the field?"
186
  msgstr ""
187
 
188
+ #: inc/php/page.php:141
189
  msgid "I don't limit the number of characters."
190
  msgstr ""
191
 
192
+ #: inc/php/page.php:143
193
  msgid "Does this plugin requires any modification of the theme?"
194
  msgstr ""
195
 
196
+ #: inc/php/page.php:144
197
  msgid ""
198
  "Absolutely not. This plugin is configurable entirely from the plugin "
199
  "settings page."
200
  msgstr ""
201
 
202
+ #: inc/php/page.php:146
203
  msgid "Does this require any knowledge of HTML or CSS?"
204
  msgstr ""
205
 
206
+ #: inc/php/page.php:147
207
  msgid ""
208
  "This plugin can be configured with no knowledge of HTML or CSS, using an "
209
  "easy-to-use plugin settings page. But you need to know the HTML or CSS in "
210
  "order to add/remove/modify the HTML or CSS code by using this plugin."
211
  msgstr ""
212
 
213
+ #: inc/php/page.php:149
214
+ msgid "Can I add my script to a specific page of my website?"
215
+ msgstr ""
216
+
217
+ #: inc/php/page.php:150
218
+ msgid ""
219
+ "For now, this plugin does not have an option to apply the custom scripts "
220
+ "only on specific pages. I plan to add this feature soon. But for now in "
221
+ "order to apply your script only on specific pages of your website, you need "
222
+ "to wrap your script in a PHP code that will determine the page you want. You "
223
+ "need something like this:"
224
+ msgstr ""
225
+
226
+ #: inc/php/page.php:163
227
+ #, php-format
228
+ msgid ""
229
+ "To apply the PHP code on a website, I can recommend you to use another my "
230
+ "plugin called %s."
231
+ msgstr ""
232
+
233
+ #: inc/php/page.php:167
234
  msgid "It's not working. What could be wrong?"
235
  msgstr ""
236
 
237
+ #: inc/php/page.php:168
238
  msgid ""
239
  "As with every plugin, it's possible that things don't work. The most common "
240
  "reason for this is a web browser's cache. Every web browser stores a cache "
243
  "browser's cache may solve the problem."
244
  msgstr ""
245
 
246
+ #: inc/php/page.php:169
247
  msgid ""
248
  "It's impossible to tell what could be wrong exactly, but if you post a "
249
  "support request in the plugin's support forum on WordPress.org, I'd be happy "
251
  "possible, including a link to your website where the problem can be seen."
252
  msgstr ""
253
 
254
+ #: inc/php/page.php:171
255
  msgid ""
256
  "The last WordPress update is preventing me from editing my website that is "
257
  "using this plugin. Why is this?"
258
  msgstr ""
259
 
260
+ #: inc/php/page.php:172
261
  msgid ""
262
  "This plugin can not cause such problem. More likely, the problem are related "
263
  "to the settings of the website. It could just be a cache, so please try to "
266
  "please try to re-login to the website, this too can help."
267
  msgstr ""
268
 
269
+ #: inc/php/page.php:174
270
  msgid "Where to report bug if found?"
271
  msgstr ""
272
 
273
+ #: inc/php/page.php:176
274
  #, php-format
275
  msgid "Please visit the %s Dedicated Plugin Page on GitHub %s and report."
276
  msgstr ""
277
 
278
+ #: inc/php/page.php:182
279
  msgid "Where to share any ideas or suggestions to make the plugin better?"
280
  msgstr ""
281
 
282
+ #: inc/php/page.php:184
283
  #, php-format
284
  msgid ""
285
+ "Any suggestions are very welcome! Please send me an email to %s. Thank you!"
 
286
  msgstr ""
287
 
288
+ #: inc/php/page.php:189
289
  msgid "I love this plugin! Can I help somehow?"
290
  msgstr ""
291
 
292
+ #: inc/php/page.php:191
293
  #, php-format
294
  msgid ""
295
  "Yes, any financial contributions are welcome! Just visit %s my website %s, "
296
  "click on the donate button, and thank you!"
297
  msgstr ""
298
 
299
+ #: inc/php/page.php:197
300
+ msgid "My question wasn't answered here."
301
+ msgstr ""
302
+
303
+ #: inc/php/page.php:199
304
+ #, php-format
305
+ msgid ""
306
+ "You can ask your question on the plugin support page %s. But please keep in "
307
+ "mind that this plugin is free, and there is no a special support team, so I "
308
+ "have no way to answer everyone."
309
+ msgstr ""
310
+
311
  #: inc/php/settings.php:21
312
  msgid "About"
313
  msgstr "O wtyczce"
316
  msgid "This plugin allows you to easily insert scripts in your website."
317
  msgstr "Ta wtyczka pozwala łatwo wstawić kod skryptów na stronę www."
318
 
319
+ #: inc/php/settings.php:30 inc/php/settings.php:112
 
 
 
 
320
  msgid ""
321
  "I'm an independent developer, without a regular income, so every little "
322
  "contribution helps cover my costs and lets me spend more time building "
323
  "things for people like you to enjoy."
324
  msgstr ""
325
 
326
+ #: inc/php/settings.php:31 inc/php/settings.php:113
327
  msgid "Donate with PayPal"
328
  msgstr ""
329
 
330
+ #: inc/php/settings.php:32 inc/php/settings.php:114
331
  msgid "Thanks for your support!"
332
  msgstr "Dziękujemy za wsparcie!"
333
 
334
+ #: inc/php/settings.php:37
335
  msgid "Help"
336
  msgstr "Pomoc"
337
 
338
+ #: inc/php/settings.php:39
339
+ msgid "If you have a question, please read the information in the FAQ section."
340
  msgstr "Masz coś do powiedzenia? Potrzebujesz pomocy?"
341
 
342
+ #: inc/php/settings.php:76
343
  msgid "Head Section"
344
  msgstr "Sekcja: Nagłówek"
345
 
346
+ #: inc/php/settings.php:79
347
  msgid ""
348
  "You can use the fields below to add scripts to HEAD section of your website."
349
  msgstr "Pola poniżej można użyć, aby dodać kody skryptów do nagłówka witryny."
356
  "Skrypty z tego pola zostaną dodane na początku sekcji <b>HEAD</b>. Nie "
357
  "należy tu umieszczać zwykłego tekstu!"
358
 
359
+ #: inc/php/settings.php:84
360
  msgid ""
361
  "Scripts from this field will be printed in the end of <b>HEAD</b> section. "
362
  "Do not place plain text in this!"
364
  "Skrypty z tego pola zostaną dodane na końcu sekcji <b>HEAD</b>. Nie należy "
365
  "tu umieszczać zwykłego tekstu!"
366
 
367
+ #: inc/php/settings.php:87 inc/php/settings.php:104
368
+ msgid "Save changes"
369
  msgstr "Zapisz"
370
 
371
+ #: inc/php/settings.php:93
372
  msgid "Footer Section"
373
  msgstr "Sekcja: Stopka"
374
 
375
+ #: inc/php/settings.php:96
376
  msgid ""
377
  "You can use the fields below to add scripts to FOOTER section of your "
378
  "website."
379
  msgstr "Pola poniżej można użyć, aby dodać kody skryptów do stopki witryny."
380
 
381
+ #: inc/php/settings.php:98
382
  msgid ""
383
  "Scripts from this field will be printed before a footers scripts. Do not "
384
  "place plain text in this!"
386
  "Skrypty z tego pola zostaną dodane przed skryptami ze stopki. Nie należy tu "
387
  "umieszczać zwykłego tekstu!"
388
 
389
+ #: inc/php/settings.php:101
390
  msgid ""
391
  "Scripts from this field will be printed after all footers scripts. Do not "
392
  "place plain text in this!"
426
  #~ "\">Arthur Gareginyan</a>"
427
 
428
  #~ msgid ""
429
+ #~ "To use, enter your custom scripts, then click \"Save changes\". It's that "
430
  #~ "simple!"
431
  #~ msgstr ""
432
  #~ "Aby użyć, wprowadź kod skryptów, a następnie kliknij przycisk \"Zapisz\". "
languages/header-and-footer-scripts-inserter-ru_RU.mo CHANGED
Binary file
languages/header-and-footer-scripts-inserter-ru_RU.po CHANGED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Header and Footer Scripts Inserter\n"
4
- "POT-Creation-Date: 2017-06-04 13:31+0300\n"
5
- "PO-Revision-Date: 2017-06-04 13:38+0300\n"
6
  "Last-Translator: \n"
7
  "Language-Team: \n"
8
  "Language: ru\n"
@@ -35,8 +35,8 @@ msgstr "Привет! Я Артур, автор этого плагина."
35
 
36
  #: inc/php/messages.php:32
37
  #, php-format
38
- msgid "Thank you for installing my plugin! I hope you will love it %s"
39
- msgstr "Спасибо, что установили мой плагин! Надеюсь, что он вам полюбится %s"
40
 
41
  #: inc/php/messages.php:67
42
  msgid "You have installed an old version of this plugin."
@@ -50,49 +50,53 @@ msgstr "Пожалуйста, обновите плагин до последн
50
  msgid "Scripts updated successfully."
51
  msgstr "Скрипты успешно обновлены."
52
 
53
- #: inc/php/page.php:29
54
  #, php-format
55
  msgid "by %s Arthur Gareginyan %s"
56
  msgstr "от %s Артура Гарегинян %s"
57
 
58
  #: inc/php/page.php:41
 
 
 
 
59
  msgid "Main"
60
  msgstr "Главная"
61
 
62
- #: inc/php/page.php:42 inc/php/page.php:61
63
  msgid "Usage"
64
  msgstr "Применение"
65
 
66
- #: inc/php/page.php:43
67
  msgid "F.A.Q."
68
  msgstr "F.A.Q."
69
 
70
- #: inc/php/page.php:44 inc/php/page.php:175
71
  msgid "Author"
72
  msgstr "Автор"
73
 
74
- #: inc/php/page.php:45 inc/php/page.php:184 inc/php/settings.php:29
75
- #: inc/php/settings.php:102
76
  msgid "Support"
77
  msgstr "Поддержка"
78
 
79
- #: inc/php/page.php:46
80
  msgid "Family"
81
  msgstr "Семья"
82
 
83
- #: inc/php/page.php:63
84
  msgid "To add the script to your website, simply follow these steps:"
85
  msgstr ""
86
 
87
- #: inc/php/page.php:65
88
  msgid "Go to the \"Main\" tab."
89
  msgstr "Перейдите на вкладку «Главная»."
90
 
91
- #: inc/php/page.php:66
92
- msgid "Add your scripts to the field and click the \"Save Changes\" button."
93
- msgstr ""
94
 
95
- #: inc/php/page.php:67
96
  msgid ""
97
  "Note that the fields are for inserting HTML code, so JavaScript and CSS code "
98
  "must be wrapped in the corresponding HTML tag. For JavaScript code use the "
@@ -100,33 +104,43 @@ msgid ""
100
  "</code> tag. Example:"
101
  msgstr ""
102
 
103
- #: inc/php/page.php:81
 
 
 
 
104
  msgid "Enjoy the result of applying your scripts."
105
- msgstr ""
106
 
107
- #: inc/php/page.php:81
108
  msgid "It's that simple!"
109
  msgstr "Вот так просто!"
110
 
111
- #: inc/php/page.php:83
112
  msgid "Note!"
113
  msgstr "Примечание!"
114
 
115
- #: inc/php/page.php:83
116
  msgid "If you want more options then tell me and I will be happy to add it."
117
  msgstr ""
118
  "Если вы хотите больше опций, то скажите мне об этом и я буду счастлив "
119
  "добавить их."
120
 
121
- #: inc/php/page.php:92
122
  msgid "Frequently Asked Questions"
123
  msgstr "Часто задаваемые вопросы"
124
 
125
- #: inc/php/page.php:114
 
 
 
 
 
 
126
  msgid "Will this plugin work on my WordPress.COM website?"
127
  msgstr "Этот плагин будет работать на моем сайте WordPress.COM?"
128
 
129
- #: inc/php/page.php:115
130
  msgid ""
131
  "Sorry, this plugin is available for use only on self-hosted (WordPress.ORG) "
132
  "websites."
@@ -134,45 +148,52 @@ msgstr ""
134
  "К сожалению, этот плагин доступен для использования только на самостоятельно "
135
  "размещённых веб-сайтах (WordPress.ORG)."
136
 
137
- #: inc/php/page.php:117
138
  msgid "Can I use this plugin on my language?"
139
  msgstr "Можно ли использовать этот плагин на моём языке?"
140
 
141
- #: inc/php/page.php:119
142
  #, php-format
143
  msgid ""
144
- "Yes. But If your language is not available then you can make one. This "
145
- "plugin is ready for translation. The<code>.pot</code>file is included and "
146
- "placed in the <code>languages</code> folder. Many of plugin users would be "
147
- "delighted if you shared your translation with the community. Just send the "
148
- "translation files (<code>*.po, *.mo</code>) to me at the %s and I will "
149
- "include the translation within the next plugin update."
 
 
 
 
 
 
 
150
  msgstr ""
151
 
152
- #: inc/php/page.php:124
153
  msgid "How does it work?"
154
  msgstr "Как оно работает?"
155
 
156
- #: inc/php/page.php:125
157
  msgid ""
158
- "On the \"Settings\" tab, add your scripts to the field and click the \"Save "
159
- "Changes\" button. Enjoy the result of applying your scripts. It's that "
160
- "simple!"
161
  msgstr ""
162
 
163
- #: inc/php/page.php:127
164
  msgid "How much of scripts I can enter in the field?"
165
  msgstr ""
166
 
167
- #: inc/php/page.php:128
168
  msgid "I don't limit the number of characters."
169
  msgstr ""
170
 
171
- #: inc/php/page.php:130
172
  msgid "Does this plugin requires any modification of the theme?"
173
  msgstr "Этот плагин требует изменения темы?"
174
 
175
- #: inc/php/page.php:131
176
  msgid ""
177
  "Absolutely not. This plugin is configurable entirely from the plugin "
178
  "settings page."
@@ -180,11 +201,11 @@ msgstr ""
180
  "Абсолютно нет. Этот плагин настраивается полностью на странице настроек "
181
  "плагина."
182
 
183
- #: inc/php/page.php:133
184
  msgid "Does this require any knowledge of HTML or CSS?"
185
  msgstr "Требуются ли какие-либо знания HTML или CSS?"
186
 
187
- #: inc/php/page.php:134
188
  msgid ""
189
  "This plugin can be configured with no knowledge of HTML or CSS, using an "
190
  "easy-to-use plugin settings page. But you need to know the HTML or CSS in "
@@ -195,11 +216,31 @@ msgstr ""
195
  "для того, чтобы добавить/удалить/изменить код HTML или CSS, используя этот "
196
  "плагин."
197
 
198
- #: inc/php/page.php:136
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
199
  msgid "It's not working. What could be wrong?"
200
  msgstr "Оно не работает. Что может быть не так?"
201
 
202
- #: inc/php/page.php:137
203
  msgid ""
204
  "As with every plugin, it's possible that things don't work. The most common "
205
  "reason for this is a web browser's cache. Every web browser stores a cache "
@@ -208,7 +249,7 @@ msgid ""
208
  "browser's cache may solve the problem."
209
  msgstr ""
210
 
211
- #: inc/php/page.php:138
212
  msgid ""
213
  "It's impossible to tell what could be wrong exactly, but if you post a "
214
  "support request in the plugin's support forum on WordPress.org, I'd be happy "
@@ -216,13 +257,13 @@ msgid ""
216
  "possible, including a link to your website where the problem can be seen."
217
  msgstr ""
218
 
219
- #: inc/php/page.php:140
220
  msgid ""
221
  "The last WordPress update is preventing me from editing my website that is "
222
  "using this plugin. Why is this?"
223
  msgstr ""
224
 
225
- #: inc/php/page.php:141
226
  msgid ""
227
  "This plugin can not cause such problem. More likely, the problem are related "
228
  "to the settings of the website. It could just be a cache, so please try to "
@@ -231,39 +272,50 @@ msgid ""
231
  "please try to re-login to the website, this too can help."
232
  msgstr ""
233
 
234
- #: inc/php/page.php:143
235
  msgid "Where to report bug if found?"
236
  msgstr "Где можно сообщить об ошибке?"
237
 
238
- #: inc/php/page.php:145
239
  #, php-format
240
  msgid "Please visit the %s Dedicated Plugin Page on GitHub %s and report."
241
  msgstr ""
242
  "Пожалуйста, посетите %s страницу плагина на GitHub %s и сообщите об ошибке."
243
 
244
- #: inc/php/page.php:151
245
  msgid "Where to share any ideas or suggestions to make the plugin better?"
246
  msgstr ""
247
  "Где можно поделиться идеями или предложениями, чтобы сделать плагин лучше?"
248
 
249
- #: inc/php/page.php:153
250
  #, php-format
251
  msgid ""
252
- "Any suggestions are very welcome! Please send me an email to %s "
253
- "arthurgareginyan@gmail.com %s. Thank you!"
254
  msgstr ""
255
 
256
- #: inc/php/page.php:159
257
  msgid "I love this plugin! Can I help somehow?"
258
  msgstr "Мне нравится этот плагин! Могу Я чем-то помочь?"
259
 
260
- #: inc/php/page.php:161
261
  #, php-format
262
  msgid ""
263
  "Yes, any financial contributions are welcome! Just visit %s my website %s, "
264
  "click on the donate button, and thank you!"
265
  msgstr ""
266
 
 
 
 
 
 
 
 
 
 
 
 
 
267
  #: inc/php/settings.php:21
268
  msgid "About"
269
  msgstr "О плагине"
@@ -272,11 +324,7 @@ msgstr "О плагине"
272
  msgid "This plugin allows you to easily insert scripts in your website."
273
  msgstr "Этот плагин позволяет легко вставлять скрипты в ваш веб-сайте."
274
 
275
- #: inc/php/settings.php:24
276
- msgid "Version"
277
- msgstr "Версия"
278
-
279
- #: inc/php/settings.php:31 inc/php/settings.php:104
280
  msgid ""
281
  "I'm an independent developer, without a regular income, so every little "
282
  "contribution helps cover my costs and lets me spend more time building "
@@ -286,27 +334,27 @@ msgstr ""
286
  "вклад помогает мне покрыть затраты и позволяет тратить больше времени на "
287
  "создание программ для людей как вы."
288
 
289
- #: inc/php/settings.php:32 inc/php/settings.php:105
290
  msgid "Donate with PayPal"
291
  msgstr ""
292
 
293
- #: inc/php/settings.php:33 inc/php/settings.php:106
294
  msgid "Thanks for your support!"
295
  msgstr "Спасибо за вашу поддержку!"
296
 
297
- #: inc/php/settings.php:38
298
  msgid "Help"
299
  msgstr "Помощь"
300
 
301
- #: inc/php/settings.php:40
302
- msgid "Got something to say? Need help?"
303
  msgstr "Есть что сказать? Нужна помощь?"
304
 
305
- #: inc/php/settings.php:78
306
  msgid "Head Section"
307
  msgstr "Верхний колонтитул (HEAD)"
308
 
309
- #: inc/php/settings.php:80
310
  msgid ""
311
  "You can use the fields below to add scripts to HEAD section of your website."
312
  msgstr ""
@@ -321,7 +369,7 @@ msgstr ""
321
  "Скрипты этой области будут напечатаны в начале верхнего колонтитула "
322
  "(<b>HEAD</b>). Не помещайте сюда обычный текст!"
323
 
324
- #: inc/php/settings.php:83
325
  msgid ""
326
  "Scripts from this field will be printed in the end of <b>HEAD</b> section. "
327
  "Do not place plain text in this!"
@@ -329,15 +377,15 @@ msgstr ""
329
  "Скрипты этой области будут напечатаны в конце верхнего колонтитула (<b>HEAD</"
330
  "b>). Не помещайте сюда обычный текст!"
331
 
332
- #: inc/php/settings.php:85 inc/php/settings.php:97
333
- msgid "Save Changes"
334
  msgstr "Сохранить изменения"
335
 
336
- #: inc/php/settings.php:90
337
  msgid "Footer Section"
338
  msgstr "Нижний колонтитул (FOOTER)"
339
 
340
- #: inc/php/settings.php:92
341
  msgid ""
342
  "You can use the fields below to add scripts to FOOTER section of your "
343
  "website."
@@ -345,7 +393,7 @@ msgstr ""
345
  "Используйте поле расположенное ниже для того, чтобы добавить скрипты в "
346
  "нижний колонтитул вашего вебсайта."
347
 
348
- #: inc/php/settings.php:93
349
  msgid ""
350
  "Scripts from this field will be printed before a footers scripts. Do not "
351
  "place plain text in this!"
@@ -353,7 +401,7 @@ msgstr ""
353
  "Скрипты из этой области будут напечатаны в начале нижнего колонтитула. Не "
354
  "помещайте сюда обычный текст!"
355
 
356
- #: inc/php/settings.php:95
357
  msgid ""
358
  "Scripts from this field will be printed after all footers scripts. Do not "
359
  "place plain text in this!"
@@ -386,6 +434,13 @@ msgstr "Артур Гарегинян"
386
  msgid "http://www.arthurgareginyan.com"
387
  msgstr "http://www.arthurgareginyan.com"
388
 
 
 
 
 
 
 
 
389
  #~ msgid ""
390
  #~ "Note that this fields are for inserting HTML code, so JavaScript and CSS "
391
  #~ "code must be wrapped in the corresponding HTML tag. For JavaScript code "
@@ -408,7 +463,7 @@ msgstr "http://www.arthurgareginyan.com"
408
  #~ msgstr "Как пользоваться"
409
 
410
  #~ msgid ""
411
- #~ "To use, enter your custom scripts, then click \"Save Changes\". It's that "
412
  #~ "simple!"
413
  #~ msgstr ""
414
  #~ "Для использования, вставьте ваши пользовательские скрипты, затем нажмите "
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Header and Footer Scripts Inserter\n"
4
+ "POT-Creation-Date: 2017-06-16 03:34+0300\n"
5
+ "PO-Revision-Date: 2017-06-16 03:34+0300\n"
6
  "Last-Translator: \n"
7
  "Language-Team: \n"
8
  "Language: ru\n"
35
 
36
  #: inc/php/messages.php:32
37
  #, php-format
38
+ msgid "Thank you for installing my plugin! I hope you will love it! %s"
39
+ msgstr "Спасибо, что установили мой плагин! Надеюсь, что он вам полюбится! %s"
40
 
41
  #: inc/php/messages.php:67
42
  msgid "You have installed an old version of this plugin."
50
  msgid "Scripts updated successfully."
51
  msgstr "Скрипты успешно обновлены."
52
 
53
+ #: inc/php/page.php:35
54
  #, php-format
55
  msgid "by %s Arthur Gareginyan %s"
56
  msgstr "от %s Артура Гарегинян %s"
57
 
58
  #: inc/php/page.php:41
59
+ msgid "Version"
60
+ msgstr "Версия"
61
+
62
+ #: inc/php/page.php:48
63
  msgid "Main"
64
  msgstr "Главная"
65
 
66
+ #: inc/php/page.php:49 inc/php/page.php:68
67
  msgid "Usage"
68
  msgstr "Применение"
69
 
70
+ #: inc/php/page.php:50
71
  msgid "F.A.Q."
72
  msgstr "F.A.Q."
73
 
74
+ #: inc/php/page.php:51 inc/php/page.php:212
75
  msgid "Author"
76
  msgstr "Автор"
77
 
78
+ #: inc/php/page.php:52 inc/php/page.php:221 inc/php/settings.php:28
79
+ #: inc/php/settings.php:110
80
  msgid "Support"
81
  msgstr "Поддержка"
82
 
83
+ #: inc/php/page.php:53
84
  msgid "Family"
85
  msgstr "Семья"
86
 
87
+ #: inc/php/page.php:70
88
  msgid "To add the script to your website, simply follow these steps:"
89
  msgstr ""
90
 
91
+ #: inc/php/page.php:72
92
  msgid "Go to the \"Main\" tab."
93
  msgstr "Перейдите на вкладку «Главная»."
94
 
95
+ #: inc/php/page.php:73
96
+ msgid "Place your scripts in the field."
97
+ msgstr "Поместите свои скрипты в поле."
98
 
99
+ #: inc/php/page.php:74
100
  msgid ""
101
  "Note that the fields are for inserting HTML code, so JavaScript and CSS code "
102
  "must be wrapped in the corresponding HTML tag. For JavaScript code use the "
104
  "</code> tag. Example:"
105
  msgstr ""
106
 
107
+ #: inc/php/page.php:88
108
+ msgid "Click the \"Save changes\" button."
109
+ msgstr "Нажмите кнопку «Сохранить изменения»."
110
+
111
+ #: inc/php/page.php:89
112
  msgid "Enjoy the result of applying your scripts."
113
+ msgstr "Наслаждайтесь результатом применения ваших скриптов."
114
 
115
+ #: inc/php/page.php:89
116
  msgid "It's that simple!"
117
  msgstr "Вот так просто!"
118
 
119
+ #: inc/php/page.php:91
120
  msgid "Note!"
121
  msgstr "Примечание!"
122
 
123
+ #: inc/php/page.php:91
124
  msgid "If you want more options then tell me and I will be happy to add it."
125
  msgstr ""
126
  "Если вы хотите больше опций, то скажите мне об этом и я буду счастлив "
127
  "добавить их."
128
 
129
+ #: inc/php/page.php:100
130
  msgid "Frequently Asked Questions"
131
  msgstr "Часто задаваемые вопросы"
132
 
133
+ #: inc/php/page.php:104
134
+ msgid ""
135
+ "If you have a question, please read the Frequently Asked Questions below to "
136
+ "see if the answer is here."
137
+ msgstr ""
138
+
139
+ #: inc/php/page.php:126
140
  msgid "Will this plugin work on my WordPress.COM website?"
141
  msgstr "Этот плагин будет работать на моем сайте WordPress.COM?"
142
 
143
+ #: inc/php/page.php:127
144
  msgid ""
145
  "Sorry, this plugin is available for use only on self-hosted (WordPress.ORG) "
146
  "websites."
148
  "К сожалению, этот плагин доступен для использования только на самостоятельно "
149
  "размещённых веб-сайтах (WordPress.ORG)."
150
 
151
+ #: inc/php/page.php:129
152
  msgid "Can I use this plugin on my language?"
153
  msgstr "Можно ли использовать этот плагин на моём языке?"
154
 
155
+ #: inc/php/page.php:131
156
  #, php-format
157
  msgid ""
158
+ "Yes. This plugin is ready for translation and has already been translated "
159
+ "into several languages. But If your language is not available then you can "
160
+ "make one. The POT file is included and placed in the <code>languages</code> "
161
+ "folder. Just send the PO file to me at the %s and I will include this "
162
+ "translation within the next plugin update. Many of plugin users would be "
163
+ "delighted if you share your translation with the community. Thanks for your "
164
+ "contribution!"
165
+ msgstr ""
166
+
167
+ #: inc/php/page.php:135
168
+ msgid ""
169
+ "Maybe not all existed translations are up to date. You are welcome to "
170
+ "contribute corrections!"
171
  msgstr ""
172
 
173
+ #: inc/php/page.php:137
174
  msgid "How does it work?"
175
  msgstr "Как оно работает?"
176
 
177
+ #: inc/php/page.php:138
178
  msgid ""
179
+ "On the \"Settings\" tab, place your scripts in the field and click the "
180
+ "\"Save changes\" button. Enjoy the result of applying your scripts. It's "
181
+ "that simple!"
182
  msgstr ""
183
 
184
+ #: inc/php/page.php:140
185
  msgid "How much of scripts I can enter in the field?"
186
  msgstr ""
187
 
188
+ #: inc/php/page.php:141
189
  msgid "I don't limit the number of characters."
190
  msgstr ""
191
 
192
+ #: inc/php/page.php:143
193
  msgid "Does this plugin requires any modification of the theme?"
194
  msgstr "Этот плагин требует изменения темы?"
195
 
196
+ #: inc/php/page.php:144
197
  msgid ""
198
  "Absolutely not. This plugin is configurable entirely from the plugin "
199
  "settings page."
201
  "Абсолютно нет. Этот плагин настраивается полностью на странице настроек "
202
  "плагина."
203
 
204
+ #: inc/php/page.php:146
205
  msgid "Does this require any knowledge of HTML or CSS?"
206
  msgstr "Требуются ли какие-либо знания HTML или CSS?"
207
 
208
+ #: inc/php/page.php:147
209
  msgid ""
210
  "This plugin can be configured with no knowledge of HTML or CSS, using an "
211
  "easy-to-use plugin settings page. But you need to know the HTML or CSS in "
216
  "для того, чтобы добавить/удалить/изменить код HTML или CSS, используя этот "
217
  "плагин."
218
 
219
+ #: inc/php/page.php:149
220
+ msgid "Can I add my script to a specific page of my website?"
221
+ msgstr ""
222
+
223
+ #: inc/php/page.php:150
224
+ msgid ""
225
+ "For now, this plugin does not have an option to apply the custom scripts "
226
+ "only on specific pages. I plan to add this feature soon. But for now in "
227
+ "order to apply your script only on specific pages of your website, you need "
228
+ "to wrap your script in a PHP code that will determine the page you want. You "
229
+ "need something like this:"
230
+ msgstr ""
231
+
232
+ #: inc/php/page.php:163
233
+ #, php-format
234
+ msgid ""
235
+ "To apply the PHP code on a website, I can recommend you to use another my "
236
+ "plugin called %s."
237
+ msgstr ""
238
+
239
+ #: inc/php/page.php:167
240
  msgid "It's not working. What could be wrong?"
241
  msgstr "Оно не работает. Что может быть не так?"
242
 
243
+ #: inc/php/page.php:168
244
  msgid ""
245
  "As with every plugin, it's possible that things don't work. The most common "
246
  "reason for this is a web browser's cache. Every web browser stores a cache "
249
  "browser's cache may solve the problem."
250
  msgstr ""
251
 
252
+ #: inc/php/page.php:169
253
  msgid ""
254
  "It's impossible to tell what could be wrong exactly, but if you post a "
255
  "support request in the plugin's support forum on WordPress.org, I'd be happy "
257
  "possible, including a link to your website where the problem can be seen."
258
  msgstr ""
259
 
260
+ #: inc/php/page.php:171
261
  msgid ""
262
  "The last WordPress update is preventing me from editing my website that is "
263
  "using this plugin. Why is this?"
264
  msgstr ""
265
 
266
+ #: inc/php/page.php:172
267
  msgid ""
268
  "This plugin can not cause such problem. More likely, the problem are related "
269
  "to the settings of the website. It could just be a cache, so please try to "
272
  "please try to re-login to the website, this too can help."
273
  msgstr ""
274
 
275
+ #: inc/php/page.php:174
276
  msgid "Where to report bug if found?"
277
  msgstr "Где можно сообщить об ошибке?"
278
 
279
+ #: inc/php/page.php:176
280
  #, php-format
281
  msgid "Please visit the %s Dedicated Plugin Page on GitHub %s and report."
282
  msgstr ""
283
  "Пожалуйста, посетите %s страницу плагина на GitHub %s и сообщите об ошибке."
284
 
285
+ #: inc/php/page.php:182
286
  msgid "Where to share any ideas or suggestions to make the plugin better?"
287
  msgstr ""
288
  "Где можно поделиться идеями или предложениями, чтобы сделать плагин лучше?"
289
 
290
+ #: inc/php/page.php:184
291
  #, php-format
292
  msgid ""
293
+ "Any suggestions are very welcome! Please send me an email to %s. Thank you!"
 
294
  msgstr ""
295
 
296
+ #: inc/php/page.php:189
297
  msgid "I love this plugin! Can I help somehow?"
298
  msgstr "Мне нравится этот плагин! Могу Я чем-то помочь?"
299
 
300
+ #: inc/php/page.php:191
301
  #, php-format
302
  msgid ""
303
  "Yes, any financial contributions are welcome! Just visit %s my website %s, "
304
  "click on the donate button, and thank you!"
305
  msgstr ""
306
 
307
+ #: inc/php/page.php:197
308
+ msgid "My question wasn't answered here."
309
+ msgstr "Моего вопроса здесь нет."
310
+
311
+ #: inc/php/page.php:199
312
+ #, php-format
313
+ msgid ""
314
+ "You can ask your question on the plugin support page %s. But please keep in "
315
+ "mind that this plugin is free, and there is no a special support team, so I "
316
+ "have no way to answer everyone."
317
+ msgstr ""
318
+
319
  #: inc/php/settings.php:21
320
  msgid "About"
321
  msgstr "О плагине"
324
  msgid "This plugin allows you to easily insert scripts in your website."
325
  msgstr "Этот плагин позволяет легко вставлять скрипты в ваш веб-сайте."
326
 
327
+ #: inc/php/settings.php:30 inc/php/settings.php:112
 
 
 
 
328
  msgid ""
329
  "I'm an independent developer, without a regular income, so every little "
330
  "contribution helps cover my costs and lets me spend more time building "
334
  "вклад помогает мне покрыть затраты и позволяет тратить больше времени на "
335
  "создание программ для людей как вы."
336
 
337
+ #: inc/php/settings.php:31 inc/php/settings.php:113
338
  msgid "Donate with PayPal"
339
  msgstr ""
340
 
341
+ #: inc/php/settings.php:32 inc/php/settings.php:114
342
  msgid "Thanks for your support!"
343
  msgstr "Спасибо за вашу поддержку!"
344
 
345
+ #: inc/php/settings.php:37
346
  msgid "Help"
347
  msgstr "Помощь"
348
 
349
+ #: inc/php/settings.php:39
350
+ msgid "If you have a question, please read the information in the FAQ section."
351
  msgstr "Есть что сказать? Нужна помощь?"
352
 
353
+ #: inc/php/settings.php:76
354
  msgid "Head Section"
355
  msgstr "Верхний колонтитул (HEAD)"
356
 
357
+ #: inc/php/settings.php:79
358
  msgid ""
359
  "You can use the fields below to add scripts to HEAD section of your website."
360
  msgstr ""
369
  "Скрипты этой области будут напечатаны в начале верхнего колонтитула "
370
  "(<b>HEAD</b>). Не помещайте сюда обычный текст!"
371
 
372
+ #: inc/php/settings.php:84
373
  msgid ""
374
  "Scripts from this field will be printed in the end of <b>HEAD</b> section. "
375
  "Do not place plain text in this!"
377
  "Скрипты этой области будут напечатаны в конце верхнего колонтитула (<b>HEAD</"
378
  "b>). Не помещайте сюда обычный текст!"
379
 
380
+ #: inc/php/settings.php:87 inc/php/settings.php:104
381
+ msgid "Save changes"
382
  msgstr "Сохранить изменения"
383
 
384
+ #: inc/php/settings.php:93
385
  msgid "Footer Section"
386
  msgstr "Нижний колонтитул (FOOTER)"
387
 
388
+ #: inc/php/settings.php:96
389
  msgid ""
390
  "You can use the fields below to add scripts to FOOTER section of your "
391
  "website."
393
  "Используйте поле расположенное ниже для того, чтобы добавить скрипты в "
394
  "нижний колонтитул вашего вебсайта."
395
 
396
+ #: inc/php/settings.php:98
397
  msgid ""
398
  "Scripts from this field will be printed before a footers scripts. Do not "
399
  "place plain text in this!"
401
  "Скрипты из этой области будут напечатаны в начале нижнего колонтитула. Не "
402
  "помещайте сюда обычный текст!"
403
 
404
+ #: inc/php/settings.php:101
405
  msgid ""
406
  "Scripts from this field will be printed after all footers scripts. Do not "
407
  "place plain text in this!"
434
  msgid "http://www.arthurgareginyan.com"
435
  msgstr "http://www.arthurgareginyan.com"
436
 
437
+ #~ msgid "You can contact me by email %s"
438
+ #~ msgstr "Вы можете связаться со мной по электронной почте %s"
439
+
440
+ #~ msgid "Thank you for installing my plugin! I hope you will love it %s"
441
+ #~ msgstr ""
442
+ #~ "Спасибо, что установили мой плагин! Надеюсь, что он вам полюбится %s"
443
+
444
  #~ msgid ""
445
  #~ "Note that this fields are for inserting HTML code, so JavaScript and CSS "
446
  #~ "code must be wrapped in the corresponding HTML tag. For JavaScript code "
463
  #~ msgstr "Как пользоваться"
464
 
465
  #~ msgid ""
466
+ #~ "To use, enter your custom scripts, then click \"Save changes\". It's that "
467
  #~ "simple!"
468
  #~ msgstr ""
469
  #~ "Для использования, вставьте ваши пользовательские скрипты, затем нажмите "
languages/header-and-footer-scripts-inserter.pot CHANGED
@@ -3,7 +3,7 @@ msgid ""
3
  msgstr ""
4
  "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
5
  "Project-Id-Version: Header and Footer Scripts Inserter\n"
6
- "POT-Creation-Date: 2017-06-04 13:31+0300\n"
7
  "PO-Revision-Date: 2016-01-30 11:39+0300\n"
8
  "Last-Translator: \n"
9
  "Language-Team: \n"
@@ -14,8 +14,7 @@ msgstr ""
14
  "X-Poedit-Basepath: ..\n"
15
  "X-Poedit-WPHeader: header-and-footer-scripts-inserter.php\n"
16
  "X-Poedit-SourceCharset: UTF-8\n"
17
- "X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;"
18
- "_n_noop:1,2;_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
19
  "X-Poedit-SearchPath-0: .\n"
20
  "X-Poedit-SearchPathExcluded-0: *.js\n"
21
 
@@ -33,7 +32,7 @@ msgstr ""
33
 
34
  #: inc/php/messages.php:32
35
  #, php-format
36
- msgid "Thank you for installing my plugin! I hope you will love it %s"
37
  msgstr ""
38
 
39
  #: inc/php/messages.php:67
@@ -48,185 +47,220 @@ msgstr ""
48
  msgid "Scripts updated successfully."
49
  msgstr ""
50
 
51
- #: inc/php/page.php:29
52
  #, php-format
53
  msgid "by %s Arthur Gareginyan %s"
54
  msgstr ""
55
 
56
  #: inc/php/page.php:41
 
 
 
 
57
  msgid "Main"
58
  msgstr ""
59
 
60
- #: inc/php/page.php:42 inc/php/page.php:61
61
  msgid "Usage"
62
  msgstr ""
63
 
64
- #: inc/php/page.php:43
65
  msgid "F.A.Q."
66
  msgstr ""
67
 
68
- #: inc/php/page.php:44 inc/php/page.php:175
69
  msgid "Author"
70
  msgstr ""
71
 
72
- #: inc/php/page.php:45 inc/php/page.php:184 inc/php/settings.php:29 inc/php/settings.php:102
73
  msgid "Support"
74
  msgstr ""
75
 
76
- #: inc/php/page.php:46
77
  msgid "Family"
78
  msgstr ""
79
 
80
- #: inc/php/page.php:63
81
  msgid "To add the script to your website, simply follow these steps:"
82
  msgstr ""
83
 
84
- #: inc/php/page.php:65
85
  msgid "Go to the \"Main\" tab."
86
  msgstr ""
87
 
88
- #: inc/php/page.php:66
89
- msgid "Add your scripts to the field and click the \"Save Changes\" button."
90
  msgstr ""
91
 
92
- #: inc/php/page.php:67
93
  msgid ""
94
- "Note that the fields are for inserting HTML code, so JavaScript and CSS code must be wrapped in the corresponding HTML tag. For JavaScript code "
95
- "use the <code>&lt;script&gt;</code> tag, and for CSS code use the <code>&lt;style&gt;</code> tag. Example:"
96
  msgstr ""
97
 
98
- #: inc/php/page.php:81
 
 
 
 
99
  msgid "Enjoy the result of applying your scripts."
100
  msgstr ""
101
 
102
- #: inc/php/page.php:81
103
  msgid "It's that simple!"
104
  msgstr ""
105
 
106
- #: inc/php/page.php:83
107
  msgid "Note!"
108
  msgstr ""
109
 
110
- #: inc/php/page.php:83
111
  msgid "If you want more options then tell me and I will be happy to add it."
112
  msgstr ""
113
 
114
- #: inc/php/page.php:92
115
  msgid "Frequently Asked Questions"
116
  msgstr ""
117
 
118
- #: inc/php/page.php:114
 
 
 
 
119
  msgid "Will this plugin work on my WordPress.COM website?"
120
  msgstr ""
121
 
122
- #: inc/php/page.php:115
123
  msgid "Sorry, this plugin is available for use only on self-hosted (WordPress.ORG) websites."
124
  msgstr ""
125
 
126
- #: inc/php/page.php:117
127
  msgid "Can I use this plugin on my language?"
128
  msgstr ""
129
 
130
- #: inc/php/page.php:119
131
  #, php-format
132
  msgid ""
133
- "Yes. But If your language is not available then you can make one. This plugin is ready for translation. The<code>.pot</code>file is included and "
134
- "placed in the <code>languages</code> folder. Many of plugin users would be delighted if you shared your translation with the community. Just "
135
- "send the translation files (<code>*.po, *.mo</code>) to me at the %s and I will include the translation within the next plugin update."
 
 
 
 
136
  msgstr ""
137
 
138
- #: inc/php/page.php:124
139
  msgid "How does it work?"
140
  msgstr ""
141
 
142
- #: inc/php/page.php:125
143
- msgid ""
144
- "On the \"Settings\" tab, add your scripts to the field and click the \"Save Changes\" button. Enjoy the result of applying your scripts. It's "
145
- "that simple!"
146
  msgstr ""
147
 
148
- #: inc/php/page.php:127
149
  msgid "How much of scripts I can enter in the field?"
150
  msgstr ""
151
 
152
- #: inc/php/page.php:128
153
  msgid "I don't limit the number of characters."
154
  msgstr ""
155
 
156
- #: inc/php/page.php:130
157
  msgid "Does this plugin requires any modification of the theme?"
158
  msgstr ""
159
 
160
- #: inc/php/page.php:131
161
  msgid "Absolutely not. This plugin is configurable entirely from the plugin settings page."
162
  msgstr ""
163
 
164
- #: inc/php/page.php:133
165
  msgid "Does this require any knowledge of HTML or CSS?"
166
  msgstr ""
167
 
168
- #: inc/php/page.php:134
169
  msgid ""
170
- "This plugin can be configured with no knowledge of HTML or CSS, using an easy-to-use plugin settings page. But you need to know the HTML or CSS "
171
- "in order to add/remove/modify the HTML or CSS code by using this plugin."
172
  msgstr ""
173
 
174
- #: inc/php/page.php:136
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
175
  msgid "It's not working. What could be wrong?"
176
  msgstr ""
177
 
178
- #: inc/php/page.php:137
179
  msgid ""
180
- "As with every plugin, it's possible that things don't work. The most common reason for this is a web browser's cache. Every web browser stores a "
181
- "cache of the websites you visit (pages, images, and etc.) to reduce bandwidth usage and server load. This is called the browser's cache.​ "
182
- "Clearing your browser's cache may solve the problem."
183
  msgstr ""
184
 
185
- #: inc/php/page.php:138
186
  msgid ""
187
- "It's impossible to tell what could be wrong exactly, but if you post a support request in the plugin's support forum on WordPress.org, I'd be "
188
- "happy to give it a look and try to help out. Please include as much information as possible, including a link to your website where the problem "
189
- "can be seen."
190
  msgstr ""
191
 
192
- #: inc/php/page.php:140
193
  msgid "The last WordPress update is preventing me from editing my website that is using this plugin. Why is this?"
194
  msgstr ""
195
 
196
- #: inc/php/page.php:141
197
  msgid ""
198
- "This plugin can not cause such problem. More likely, the problem are related to the settings of the website. It could just be a cache, so please "
199
- "try to clear your website's cache (may be you using a caching plugin, or some web service such as the CloudFlare) and then the cache of your web "
200
- "browser. Also please try to re-login to the website, this too can help."
201
  msgstr ""
202
 
203
- #: inc/php/page.php:143
204
  msgid "Where to report bug if found?"
205
  msgstr ""
206
 
207
- #: inc/php/page.php:145
208
  #, php-format
209
  msgid "Please visit the %s Dedicated Plugin Page on GitHub %s and report."
210
  msgstr ""
211
 
212
- #: inc/php/page.php:151
213
  msgid "Where to share any ideas or suggestions to make the plugin better?"
214
  msgstr ""
215
 
216
- #: inc/php/page.php:153
217
  #, php-format
218
- msgid "Any suggestions are very welcome! Please send me an email to %s arthurgareginyan@gmail.com %s. Thank you!"
219
  msgstr ""
220
 
221
- #: inc/php/page.php:159
222
  msgid "I love this plugin! Can I help somehow?"
223
  msgstr ""
224
 
225
- #: inc/php/page.php:161
226
  #, php-format
227
  msgid "Yes, any financial contributions are welcome! Just visit %s my website %s, click on the donate button, and thank you!"
228
  msgstr ""
229
 
 
 
 
 
 
 
 
 
 
230
  #: inc/php/settings.php:21
231
  msgid "About"
232
  msgstr ""
@@ -235,37 +269,31 @@ msgstr ""
235
  msgid "This plugin allows you to easily insert scripts in your website."
236
  msgstr ""
237
 
238
- #: inc/php/settings.php:24
239
- msgid "Version"
240
- msgstr ""
241
-
242
- #: inc/php/settings.php:31 inc/php/settings.php:104
243
- msgid ""
244
- "I'm an independent developer, without a regular income, so every little contribution helps cover my costs and lets me spend more time building "
245
- "things for people like you to enjoy."
246
  msgstr ""
247
 
248
- #: inc/php/settings.php:32 inc/php/settings.php:105
249
  msgid "Donate with PayPal"
250
  msgstr ""
251
 
252
- #: inc/php/settings.php:33 inc/php/settings.php:106
253
  msgid "Thanks for your support!"
254
  msgstr ""
255
 
256
- #: inc/php/settings.php:38
257
  msgid "Help"
258
  msgstr ""
259
 
260
- #: inc/php/settings.php:40
261
- msgid "Got something to say? Need help?"
262
  msgstr ""
263
 
264
- #: inc/php/settings.php:78
265
  msgid "Head Section"
266
  msgstr ""
267
 
268
- #: inc/php/settings.php:80
269
  msgid "You can use the fields below to add scripts to HEAD section of your website."
270
  msgstr ""
271
 
@@ -273,27 +301,27 @@ msgstr ""
273
  msgid "Scripts from this field will be printed in the beginning of <b>HEAD</b> section. Do not place plain text in this!"
274
  msgstr ""
275
 
276
- #: inc/php/settings.php:83
277
  msgid "Scripts from this field will be printed in the end of <b>HEAD</b> section. Do not place plain text in this!"
278
  msgstr ""
279
 
280
- #: inc/php/settings.php:85 inc/php/settings.php:97
281
- msgid "Save Changes"
282
  msgstr ""
283
 
284
- #: inc/php/settings.php:90
285
  msgid "Footer Section"
286
  msgstr ""
287
 
288
- #: inc/php/settings.php:92
289
  msgid "You can use the fields below to add scripts to FOOTER section of your website."
290
  msgstr ""
291
 
292
- #: inc/php/settings.php:93
293
  msgid "Scripts from this field will be printed before a footers scripts. Do not place plain text in this!"
294
  msgstr ""
295
 
296
- #: inc/php/settings.php:95
297
  msgid "Scripts from this field will be printed after all footers scripts. Do not place plain text in this!"
298
  msgstr ""
299
 
3
  msgstr ""
4
  "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
5
  "Project-Id-Version: Header and Footer Scripts Inserter\n"
6
+ "POT-Creation-Date: 2017-06-16 03:33+0300\n"
7
  "PO-Revision-Date: 2016-01-30 11:39+0300\n"
8
  "Last-Translator: \n"
9
  "Language-Team: \n"
14
  "X-Poedit-Basepath: ..\n"
15
  "X-Poedit-WPHeader: header-and-footer-scripts-inserter.php\n"
16
  "X-Poedit-SourceCharset: UTF-8\n"
17
+ "X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
 
18
  "X-Poedit-SearchPath-0: .\n"
19
  "X-Poedit-SearchPathExcluded-0: *.js\n"
20
 
32
 
33
  #: inc/php/messages.php:32
34
  #, php-format
35
+ msgid "Thank you for installing my plugin! I hope you will love it! %s"
36
  msgstr ""
37
 
38
  #: inc/php/messages.php:67
47
  msgid "Scripts updated successfully."
48
  msgstr ""
49
 
50
+ #: inc/php/page.php:35
51
  #, php-format
52
  msgid "by %s Arthur Gareginyan %s"
53
  msgstr ""
54
 
55
  #: inc/php/page.php:41
56
+ msgid "Version"
57
+ msgstr ""
58
+
59
+ #: inc/php/page.php:48
60
  msgid "Main"
61
  msgstr ""
62
 
63
+ #: inc/php/page.php:49 inc/php/page.php:68
64
  msgid "Usage"
65
  msgstr ""
66
 
67
+ #: inc/php/page.php:50
68
  msgid "F.A.Q."
69
  msgstr ""
70
 
71
+ #: inc/php/page.php:51 inc/php/page.php:212
72
  msgid "Author"
73
  msgstr ""
74
 
75
+ #: inc/php/page.php:52 inc/php/page.php:221 inc/php/settings.php:28 inc/php/settings.php:110
76
  msgid "Support"
77
  msgstr ""
78
 
79
+ #: inc/php/page.php:53
80
  msgid "Family"
81
  msgstr ""
82
 
83
+ #: inc/php/page.php:70
84
  msgid "To add the script to your website, simply follow these steps:"
85
  msgstr ""
86
 
87
+ #: inc/php/page.php:72
88
  msgid "Go to the \"Main\" tab."
89
  msgstr ""
90
 
91
+ #: inc/php/page.php:73
92
+ msgid "Place your scripts in the field."
93
  msgstr ""
94
 
95
+ #: inc/php/page.php:74
96
  msgid ""
97
+ "Note that the fields are for inserting HTML code, so JavaScript and CSS code must be wrapped in the corresponding HTML tag. For JavaScript code use the <code>&lt;script&gt;</code> tag, and for CSS "
98
+ "code use the <code>&lt;style&gt;</code> tag. Example:"
99
  msgstr ""
100
 
101
+ #: inc/php/page.php:88
102
+ msgid "Click the \"Save changes\" button."
103
+ msgstr ""
104
+
105
+ #: inc/php/page.php:89
106
  msgid "Enjoy the result of applying your scripts."
107
  msgstr ""
108
 
109
+ #: inc/php/page.php:89
110
  msgid "It's that simple!"
111
  msgstr ""
112
 
113
+ #: inc/php/page.php:91
114
  msgid "Note!"
115
  msgstr ""
116
 
117
+ #: inc/php/page.php:91
118
  msgid "If you want more options then tell me and I will be happy to add it."
119
  msgstr ""
120
 
121
+ #: inc/php/page.php:100
122
  msgid "Frequently Asked Questions"
123
  msgstr ""
124
 
125
+ #: inc/php/page.php:104
126
+ msgid "If you have a question, please read the Frequently Asked Questions below to see if the answer is here."
127
+ msgstr ""
128
+
129
+ #: inc/php/page.php:126
130
  msgid "Will this plugin work on my WordPress.COM website?"
131
  msgstr ""
132
 
133
+ #: inc/php/page.php:127
134
  msgid "Sorry, this plugin is available for use only on self-hosted (WordPress.ORG) websites."
135
  msgstr ""
136
 
137
+ #: inc/php/page.php:129
138
  msgid "Can I use this plugin on my language?"
139
  msgstr ""
140
 
141
+ #: inc/php/page.php:131
142
  #, php-format
143
  msgid ""
144
+ "Yes. This plugin is ready for translation and has already been translated into several languages. But If your language is not available then you can make one. The POT file is included and placed in "
145
+ "the <code>languages</code> folder. Just send the PO file to me at the %s and I will include this translation within the next plugin update. Many of plugin users would be delighted if you share your "
146
+ "translation with the community. Thanks for your contribution!"
147
+ msgstr ""
148
+
149
+ #: inc/php/page.php:135
150
+ msgid "Maybe not all existed translations are up to date. You are welcome to contribute corrections!"
151
  msgstr ""
152
 
153
+ #: inc/php/page.php:137
154
  msgid "How does it work?"
155
  msgstr ""
156
 
157
+ #: inc/php/page.php:138
158
+ msgid "On the \"Settings\" tab, place your scripts in the field and click the \"Save changes\" button. Enjoy the result of applying your scripts. It's that simple!"
 
 
159
  msgstr ""
160
 
161
+ #: inc/php/page.php:140
162
  msgid "How much of scripts I can enter in the field?"
163
  msgstr ""
164
 
165
+ #: inc/php/page.php:141
166
  msgid "I don't limit the number of characters."
167
  msgstr ""
168
 
169
+ #: inc/php/page.php:143
170
  msgid "Does this plugin requires any modification of the theme?"
171
  msgstr ""
172
 
173
+ #: inc/php/page.php:144
174
  msgid "Absolutely not. This plugin is configurable entirely from the plugin settings page."
175
  msgstr ""
176
 
177
+ #: inc/php/page.php:146
178
  msgid "Does this require any knowledge of HTML or CSS?"
179
  msgstr ""
180
 
181
+ #: inc/php/page.php:147
182
  msgid ""
183
+ "This plugin can be configured with no knowledge of HTML or CSS, using an easy-to-use plugin settings page. But you need to know the HTML or CSS in order to add/remove/modify the HTML or CSS code by "
184
+ "using this plugin."
185
  msgstr ""
186
 
187
+ #: inc/php/page.php:149
188
+ msgid "Can I add my script to a specific page of my website?"
189
+ msgstr ""
190
+
191
+ #: inc/php/page.php:150
192
+ msgid ""
193
+ "For now, this plugin does not have an option to apply the custom scripts only on specific pages. I plan to add this feature soon. But for now in order to apply your script only on specific pages of "
194
+ "your website, you need to wrap your script in a PHP code that will determine the page you want. You need something like this:"
195
+ msgstr ""
196
+
197
+ #: inc/php/page.php:163
198
+ #, php-format
199
+ msgid "To apply the PHP code on a website, I can recommend you to use another my plugin called %s."
200
+ msgstr ""
201
+
202
+ #: inc/php/page.php:167
203
  msgid "It's not working. What could be wrong?"
204
  msgstr ""
205
 
206
+ #: inc/php/page.php:168
207
  msgid ""
208
+ "As with every plugin, it's possible that things don't work. The most common reason for this is a web browser's cache. Every web browser stores a cache of the websites you visit (pages, images, and "
209
+ "etc.) to reduce bandwidth usage and server load. This is called the browser's cache.​ Clearing your browser's cache may solve the problem."
 
210
  msgstr ""
211
 
212
+ #: inc/php/page.php:169
213
  msgid ""
214
+ "It's impossible to tell what could be wrong exactly, but if you post a support request in the plugin's support forum on WordPress.org, I'd be happy to give it a look and try to help out. Please "
215
+ "include as much information as possible, including a link to your website where the problem can be seen."
 
216
  msgstr ""
217
 
218
+ #: inc/php/page.php:171
219
  msgid "The last WordPress update is preventing me from editing my website that is using this plugin. Why is this?"
220
  msgstr ""
221
 
222
+ #: inc/php/page.php:172
223
  msgid ""
224
+ "This plugin can not cause such problem. More likely, the problem are related to the settings of the website. It could just be a cache, so please try to clear your website's cache (may be you using a "
225
+ "caching plugin, or some web service such as the CloudFlare) and then the cache of your web browser. Also please try to re-login to the website, this too can help."
 
226
  msgstr ""
227
 
228
+ #: inc/php/page.php:174
229
  msgid "Where to report bug if found?"
230
  msgstr ""
231
 
232
+ #: inc/php/page.php:176
233
  #, php-format
234
  msgid "Please visit the %s Dedicated Plugin Page on GitHub %s and report."
235
  msgstr ""
236
 
237
+ #: inc/php/page.php:182
238
  msgid "Where to share any ideas or suggestions to make the plugin better?"
239
  msgstr ""
240
 
241
+ #: inc/php/page.php:184
242
  #, php-format
243
+ msgid "Any suggestions are very welcome! Please send me an email to %s. Thank you!"
244
  msgstr ""
245
 
246
+ #: inc/php/page.php:189
247
  msgid "I love this plugin! Can I help somehow?"
248
  msgstr ""
249
 
250
+ #: inc/php/page.php:191
251
  #, php-format
252
  msgid "Yes, any financial contributions are welcome! Just visit %s my website %s, click on the donate button, and thank you!"
253
  msgstr ""
254
 
255
+ #: inc/php/page.php:197
256
+ msgid "My question wasn't answered here."
257
+ msgstr ""
258
+
259
+ #: inc/php/page.php:199
260
+ #, php-format
261
+ msgid "You can ask your question on the plugin support page %s. But please keep in mind that this plugin is free, and there is no a special support team, so I have no way to answer everyone."
262
+ msgstr ""
263
+
264
  #: inc/php/settings.php:21
265
  msgid "About"
266
  msgstr ""
269
  msgid "This plugin allows you to easily insert scripts in your website."
270
  msgstr ""
271
 
272
+ #: inc/php/settings.php:30 inc/php/settings.php:112
273
+ msgid "I'm an independent developer, without a regular income, so every little contribution helps cover my costs and lets me spend more time building things for people like you to enjoy."
 
 
 
 
 
 
274
  msgstr ""
275
 
276
+ #: inc/php/settings.php:31 inc/php/settings.php:113
277
  msgid "Donate with PayPal"
278
  msgstr ""
279
 
280
+ #: inc/php/settings.php:32 inc/php/settings.php:114
281
  msgid "Thanks for your support!"
282
  msgstr ""
283
 
284
+ #: inc/php/settings.php:37
285
  msgid "Help"
286
  msgstr ""
287
 
288
+ #: inc/php/settings.php:39
289
+ msgid "If you have a question, please read the information in the FAQ section."
290
  msgstr ""
291
 
292
+ #: inc/php/settings.php:76
293
  msgid "Head Section"
294
  msgstr ""
295
 
296
+ #: inc/php/settings.php:79
297
  msgid "You can use the fields below to add scripts to HEAD section of your website."
298
  msgstr ""
299
 
301
  msgid "Scripts from this field will be printed in the beginning of <b>HEAD</b> section. Do not place plain text in this!"
302
  msgstr ""
303
 
304
+ #: inc/php/settings.php:84
305
  msgid "Scripts from this field will be printed in the end of <b>HEAD</b> section. Do not place plain text in this!"
306
  msgstr ""
307
 
308
+ #: inc/php/settings.php:87 inc/php/settings.php:104
309
+ msgid "Save changes"
310
  msgstr ""
311
 
312
+ #: inc/php/settings.php:93
313
  msgid "Footer Section"
314
  msgstr ""
315
 
316
+ #: inc/php/settings.php:96
317
  msgid "You can use the fields below to add scripts to FOOTER section of your website."
318
  msgstr ""
319
 
320
+ #: inc/php/settings.php:98
321
  msgid "Scripts from this field will be printed before a footers scripts. Do not place plain text in this!"
322
  msgstr ""
323
 
324
+ #: inc/php/settings.php:101
325
  msgid "Scripts from this field will be printed after all footers scripts. Do not place plain text in this!"
326
  msgstr ""
327
 
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: inject, insert, insert scripts, insert javascript, insert js, insert html,
4
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=8A88KC7TFF6CS
5
  Requires at least: 3.9
6
  Tested up to: 4.8
7
- Stable tag: 4.3
8
  License: GPL3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -38,11 +38,15 @@ If you want more options then tell me and I will be happy to add it.
38
 
39
  = Translation =
40
 
 
 
41
  * English (default)
42
  * Russian
43
  * Polish
44
 
45
- If you would like to add a translation to this plugin then please head to our [Translating WordPress](https://translate.wordpress.org/projects/wp-plugins/header-and-footer-scripts-inserter) page.
 
 
46
 
47
  = Supported =
48
 
@@ -77,9 +81,9 @@ Manually via FTP access:
77
  4. Log into Admin Panel of your WordPress website.
78
  5. Activate this plugin through the "`Plugins`" tab.
79
 
80
- After installation, a "`Head and Footer Scripts Inserter`" menu item will appear in the "`Settings`" section. Click on this in order to view plugin administration page.
81
 
82
- [More help installing Plugins](http://codex.wordpress.org/Managing_Plugins#Installing_Plugins "WordPress Codex: Installing Plugins")
83
 
84
 
85
  == Frequently Asked Questions ==
@@ -87,10 +91,10 @@ After installation, a "`Head and Footer Scripts Inserter`" menu item will appea
87
  A. Sorry, this plugin is available for use only on self-hosted (WordPress.ORG) websites.
88
 
89
  = Q. Can I use this plugin on my language? =
90
- A. Yes. But If your language is not available then you can make one. This plugin is ready for translation. The `.pot` file is included and placed in the "`languages`" folder. Many of plugin users would be delighted if you shared your translation with the community. Just send the translation files (`*.po, *.mo`) to me at the arthurgareginyan@gmail.com and I will include the translation within the next plugin update.
91
 
92
  = Q. How does it work? =
93
- A. Simply go to the plugin settings page, add your scripts to the field and click the "Save Changes" button. Enjoy the result of applying your scripts. It's that simple!
94
  You can find the plugin settings page at "`WP Admin Panel`" -> "`Settings`" -> "`Head and Footer Scripts Inserter`".
95
 
96
  = Q. How much of scripts I can enter in the field? =
@@ -101,6 +105,22 @@ A. Absolutely not. This plugin is configurable entirely from the plugin settings
101
 
102
  = Q. Does this require any knowledge of HTML or CSS? =
103
  A. This plugin can be configured with no knowledge of HTML or CSS, using an easy-to-use plugin settings page. But you need to know the HTML or CSS in order to add/remove/modify the HTML or CSS code by using this plugin.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
104
 
105
  = Q. It's not working. What could be wrong? =
106
  A. As with every plugin, it's possible that things don't work. The most common reason for this is a web browser's cache. Every web browser stores a cache of the websites you visit (pages, images, and etc.) to reduce bandwidth usage and server load. This is called the browser's cache.​ Clearing your browser's cache may solve the problem.
@@ -149,6 +169,14 @@ Commercial licensing (e.g. for projects that can’t use an open-source license)
149
 
150
  == Changelog ==
151
 
 
 
 
 
 
 
 
 
152
  = 4.3 =
153
  * To the plugin settings page added information about the plugin version number.
154
  * The "Tested up to:" comment changed to 4.8 after full testing process.
4
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=8A88KC7TFF6CS
5
  Requires at least: 3.9
6
  Tested up to: 4.8
7
+ Stable tag: 4.4
8
  License: GPL3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
38
 
39
  = Translation =
40
 
41
+ This plugin is ready for translation and has already been translated into several languages.
42
+
43
  * English (default)
44
  * Russian
45
  * Polish
46
 
47
+ Maybe not all existed translations are up to date. You are welcome to contribute corrections!
48
+
49
+ If you want to help translate this plugin then please visit the [translation page](https://translate.wordpress.org/projects/wp-plugins/header-and-footer-scripts-inserter).
50
 
51
  = Supported =
52
 
81
  4. Log into Admin Panel of your WordPress website.
82
  5. Activate this plugin through the "`Plugins`" tab.
83
 
84
+ After installation and activation, the "`Head and Footer Scripts Inserter`" menu item will appear in the "`Settings`" section. Click on this in order to view plugin administration page.
85
 
86
+ [More help installing plugins](http://codex.wordpress.org/Managing_Plugins#Installing_Plugins "WordPress Codex: Installing Plugins")
87
 
88
 
89
  == Frequently Asked Questions ==
91
  A. Sorry, this plugin is available for use only on self-hosted (WordPress.ORG) websites.
92
 
93
  = Q. Can I use this plugin on my language? =
94
+ A. Yes. This plugin is ready for translation and has already been translated into several languages. But If your language is not available then you can make one. The POT file is included and placed in the "`languages`" folder. Just send the PO file to me at the arthurgareginyan@gmail.com and I will include this translation within the next plugin update. Many of plugin users would be delighted if you share your translation with the community. Thanks for your contribution!
95
 
96
  = Q. How does it work? =
97
+ A. Simply go to the plugin settings page, place your scripts in the field and click the "Save changes" button. Enjoy the result of applying your scripts. It's that simple!
98
  You can find the plugin settings page at "`WP Admin Panel`" -> "`Settings`" -> "`Head and Footer Scripts Inserter`".
99
 
100
  = Q. How much of scripts I can enter in the field? =
105
 
106
  = Q. Does this require any knowledge of HTML or CSS? =
107
  A. This plugin can be configured with no knowledge of HTML or CSS, using an easy-to-use plugin settings page. But you need to know the HTML or CSS in order to add/remove/modify the HTML or CSS code by using this plugin.
108
+
109
+ = Q. Can I add my script to a specific page of my website? =
110
+ A. For now, this plugin does not have an option to apply the custom scripts only on specific pages. I plan to add this feature soon. But for now in order to apply your script only on specific pages of your website, you need to wrap your script in a PHP code that will determine the page you want. You need something like this:
111
+ `function my_custom_script() {
112
+
113
+ // Stop the function if this is not the Home page of website
114
+ if ( !is_home() ) {
115
+ return;
116
+ }
117
+
118
+ // Print the script
119
+ echo '<script>YOUR SCRIPT</script>';
120
+ }
121
+ add_action( 'wp_head', 'my_custom_script' );`
122
+
123
+ To apply the PHP code on a website, I can recommend you to use another my plugin called [My Custom Functions](https://wordpress.org/plugins/my-custom-functions/).
124
 
125
  = Q. It's not working. What could be wrong? =
126
  A. As with every plugin, it's possible that things don't work. The most common reason for this is a web browser's cache. Every web browser stores a cache of the websites you visit (pages, images, and etc.) to reduce bandwidth usage and server load. This is called the browser's cache.​ Clearing your browser's cache may solve the problem.
169
 
170
  == Changelog ==
171
 
172
+ = 4.4 =
173
+ * On the plugin settings page, text of buttons are corrected.
174
+ * On the plugin settings page, the information about the plugin version number moved to header section.
175
+ * Some mention of constants replaced with variables for easier access.
176
+ * Content of the "Usage" tab updated.
177
+ * Content of the "FAQ" tab updated.
178
+ * Added load of the jQuery library on the plugin settings page.
179
+
180
  = 4.3 =
181
  * To the plugin settings page added information about the plugin version number.
182
  * The "Tested up to:" comment changed to 4.8 after full testing process.