Version Description
- Added new constants: "SLUG", "_PREFIX", "_SETTINGS" and "NAME".
- Value of the "_VERSION" constant replaced with information from the plugin header data.
- All references to the plugin name, slug, prefix are replaced with constants.
- The "name" attribute removed from the "
- Code formatting improved.
- F.A.Q. section updated.
Download this release
Release Info
Developer | Arthur Gareginyan |
Plugin | My Custom Functions |
Version | 4.1 |
Comparing to | |
See all releases |
Code changes from version 4.0.1 to 4.1
- inc/php/core.php +21 -19
- inc/php/enqueue.php +14 -13
- inc/php/functional.php +13 -13
- inc/php/messages.php +7 -7
- inc/php/page.php +13 -11
- inc/php/settings.php +8 -8
- inc/php/uninstall.php +5 -5
- inc/php/version.php +6 -6
- languages/my-custom-functions-es_ES.mo +0 -0
- languages/my-custom-functions-es_ES.po +66 -56
- languages/my-custom-functions-fr_FR.mo +0 -0
- languages/my-custom-functions-fr_FR.po +70 -56
- languages/my-custom-functions-ru_RU.mo +0 -0
- languages/my-custom-functions-ru_RU.po +70 -56
- languages/my-custom-functions-zh_TW.mo +0 -0
- languages/my-custom-functions-zh_TW.po +70 -56
- languages/my-custom-functions.pot +68 -55
- my-custom-functions.php +13 -9
- readme.txt +16 -1
inc/php/core.php
CHANGED
@@ -5,17 +5,17 @@
|
|
5 |
*
|
6 |
* @since 0.1
|
7 |
*/
|
8 |
-
defined('ABSPATH') or die("Restricted access!");
|
9 |
|
10 |
/**
|
11 |
* Register text domain
|
12 |
*
|
13 |
-
* @since
|
14 |
*/
|
15 |
function MCFunctions_textdomain() {
|
16 |
load_plugin_textdomain( MCFUNC_TEXT, false, MCFUNC_DIR . '/languages/' );
|
17 |
}
|
18 |
-
add_action( 'init', '
|
19 |
|
20 |
/**
|
21 |
* Print direct link to plugin admin page
|
@@ -23,37 +23,37 @@ add_action( 'init', 'MCFunctions_textdomain' );
|
|
23 |
* Fetches array of links generated by WP Plugin admin page ( Deactivate | Edit )
|
24 |
* and inserts a link to the plugin admin page
|
25 |
*
|
26 |
-
* @since
|
27 |
* @param array $links Array of links generated by WP in Plugin Admin page.
|
28 |
* @return array Array of links to be output on Plugin Admin page.
|
29 |
*/
|
30 |
function MCFunctions_settings_link( $links ) {
|
31 |
-
$page = '<a href="' . admin_url( 'themes.php?page=
|
32 |
array_unshift( $links, $page );
|
33 |
return $links;
|
34 |
}
|
35 |
-
add_filter( 'plugin_action_links_'.MCFUNC_BASE, '
|
36 |
|
37 |
/**
|
38 |
* Print link to My Custom Functions PRO page
|
39 |
*
|
40 |
-
* @since 4.
|
41 |
*/
|
42 |
function MCFunctions_upgrade_link( $links ) {
|
43 |
$upgrade_page = '<a href="//www.arthurgareginyan.com/plugin-my-custom-functions-pro.html" target="_blank"><b style="color:red;">' . __( 'Upgrade to PRO', MCFUNC_TEXT ) . '</b></a>';
|
44 |
array_unshift( $links, $upgrade_page );
|
45 |
return $links;
|
46 |
}
|
47 |
-
add_filter( 'plugin_action_links_'.MCFUNC_BASE, '
|
48 |
|
49 |
/**
|
50 |
* Print additional links to plugin meta row
|
51 |
*
|
52 |
-
* @since 4.
|
53 |
*/
|
54 |
function MCFunctions_plugin_row_meta( $links, $file ) {
|
55 |
|
56 |
-
if ( strpos( $file, '
|
57 |
|
58 |
$new_links = array(
|
59 |
'donate' => '<a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=8A88KC7TFF6CS" target="_blank"><span class="dashicons dashicons-heart"></span> ' . __( 'Donate', MCFUNC_TEXT ) . '</a>',
|
@@ -64,26 +64,28 @@ function MCFunctions_plugin_row_meta( $links, $file ) {
|
|
64 |
|
65 |
return $links;
|
66 |
}
|
67 |
-
add_filter( 'plugin_row_meta', '
|
68 |
|
69 |
/**
|
70 |
* Register plugin's submenu in the "Appearance" Admin Menu
|
71 |
*
|
72 |
-
* @since 4.
|
73 |
*/
|
74 |
function MCFunctions_register_submenu_page() {
|
75 |
-
|
|
|
|
|
76 |
}
|
77 |
-
add_action( 'admin_menu', '
|
78 |
|
79 |
/**
|
80 |
* Register settings
|
81 |
*
|
82 |
-
* @since 4.
|
83 |
*/
|
84 |
function MCFunctions_register_settings() {
|
85 |
-
register_setting( '
|
86 |
-
register_setting( '
|
87 |
-
register_setting( '
|
88 |
}
|
89 |
-
add_action( 'admin_init', '
|
5 |
*
|
6 |
* @since 0.1
|
7 |
*/
|
8 |
+
defined( 'ABSPATH' ) or die( "Restricted access!" );
|
9 |
|
10 |
/**
|
11 |
* Register text domain
|
12 |
*
|
13 |
+
* @since 4.1
|
14 |
*/
|
15 |
function MCFunctions_textdomain() {
|
16 |
load_plugin_textdomain( MCFUNC_TEXT, false, MCFUNC_DIR . '/languages/' );
|
17 |
}
|
18 |
+
add_action( 'init', MCFUNC_PREFIX . '_textdomain' );
|
19 |
|
20 |
/**
|
21 |
* Print direct link to plugin admin page
|
23 |
* Fetches array of links generated by WP Plugin admin page ( Deactivate | Edit )
|
24 |
* and inserts a link to the plugin admin page
|
25 |
*
|
26 |
+
* @since 4.1
|
27 |
* @param array $links Array of links generated by WP in Plugin Admin page.
|
28 |
* @return array Array of links to be output on Plugin Admin page.
|
29 |
*/
|
30 |
function MCFunctions_settings_link( $links ) {
|
31 |
+
$page = '<a href="' . admin_url( 'themes.php?page=' . MCFUNC_SLUG . '.php' ) .'">' . __( 'Settings', MCFUNC_TEXT ) . '</a>';
|
32 |
array_unshift( $links, $page );
|
33 |
return $links;
|
34 |
}
|
35 |
+
add_filter( 'plugin_action_links_' . MCFUNC_BASE, MCFUNC_PREFIX . '_settings_link' );
|
36 |
|
37 |
/**
|
38 |
* Print link to My Custom Functions PRO page
|
39 |
*
|
40 |
+
* @since 4.1
|
41 |
*/
|
42 |
function MCFunctions_upgrade_link( $links ) {
|
43 |
$upgrade_page = '<a href="//www.arthurgareginyan.com/plugin-my-custom-functions-pro.html" target="_blank"><b style="color:red;">' . __( 'Upgrade to PRO', MCFUNC_TEXT ) . '</b></a>';
|
44 |
array_unshift( $links, $upgrade_page );
|
45 |
return $links;
|
46 |
}
|
47 |
+
add_filter( 'plugin_action_links_' . MCFUNC_BASE, MCFUNC_PREFIX . '_upgrade_link' );
|
48 |
|
49 |
/**
|
50 |
* Print additional links to plugin meta row
|
51 |
*
|
52 |
+
* @since 4.1
|
53 |
*/
|
54 |
function MCFunctions_plugin_row_meta( $links, $file ) {
|
55 |
|
56 |
+
if ( strpos( $file, MCFUNC_SLUG . '.php' ) !== false ) {
|
57 |
|
58 |
$new_links = array(
|
59 |
'donate' => '<a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=8A88KC7TFF6CS" target="_blank"><span class="dashicons dashicons-heart"></span> ' . __( 'Donate', MCFUNC_TEXT ) . '</a>',
|
64 |
|
65 |
return $links;
|
66 |
}
|
67 |
+
add_filter( 'plugin_row_meta', MCFUNC_PREFIX . '_plugin_row_meta', 10, 2 );
|
68 |
|
69 |
/**
|
70 |
* Register plugin's submenu in the "Appearance" Admin Menu
|
71 |
*
|
72 |
+
* @since 4.1
|
73 |
*/
|
74 |
function MCFunctions_register_submenu_page() {
|
75 |
+
$menu_title = __( 'Custom Functions', MCFUNC_TEXT );
|
76 |
+
$capability = 'edit_theme_options';
|
77 |
+
add_theme_page( MCFUNC_NAME, $menu_title, $capability, MCFUNC_SLUG, MCFUNC_PREFIX . '_render_submenu_page' );
|
78 |
}
|
79 |
+
add_action( 'admin_menu', MCFUNC_PREFIX . '_register_submenu_page' );
|
80 |
|
81 |
/**
|
82 |
* Register settings
|
83 |
*
|
84 |
+
* @since 4.1
|
85 |
*/
|
86 |
function MCFunctions_register_settings() {
|
87 |
+
register_setting( MCFUNC_SETTINGS . '_settings_group', MCFUNC_SETTINGS . '_settings' );
|
88 |
+
register_setting( MCFUNC_SETTINGS . '_settings_group', MCFUNC_SETTINGS . '_service_info' );
|
89 |
+
register_setting( MCFUNC_SETTINGS . '_settings_group', MCFUNC_SETTINGS . '_error' );
|
90 |
}
|
91 |
+
add_action( 'admin_init', MCFUNC_PREFIX . '_register_settings' );
|
inc/php/enqueue.php
CHANGED
@@ -5,35 +5,36 @@
|
|
5 |
*
|
6 |
* @since 0.1
|
7 |
*/
|
8 |
-
defined('ABSPATH') or die("Restricted access!");
|
9 |
|
10 |
/**
|
11 |
* Load scripts and style sheet for settings page
|
12 |
*
|
13 |
-
* @since 4.
|
14 |
*/
|
15 |
-
function MCFunctions_load_scripts_admin($hook) {
|
16 |
|
17 |
// Return if the page is not a settings page of this plugin
|
18 |
-
|
|
|
19 |
return;
|
20 |
}
|
21 |
|
22 |
// Style sheet
|
23 |
-
wp_enqueue_style( '
|
24 |
|
25 |
// JavaScript
|
26 |
-
wp_enqueue_script( '
|
27 |
|
28 |
// Bootstrap library
|
29 |
-
wp_enqueue_style( '
|
30 |
-
wp_enqueue_style( '
|
31 |
-
wp_enqueue_script( '
|
32 |
|
33 |
// CodeMirror library
|
34 |
-
wp_enqueue_style( '
|
35 |
-
wp_enqueue_script( '
|
36 |
-
wp_enqueue_script( '
|
37 |
|
38 |
}
|
39 |
-
add_action( 'admin_enqueue_scripts', '
|
5 |
*
|
6 |
* @since 0.1
|
7 |
*/
|
8 |
+
defined( 'ABSPATH' ) or die( "Restricted access!" );
|
9 |
|
10 |
/**
|
11 |
* Load scripts and style sheet for settings page
|
12 |
*
|
13 |
+
* @since 4.1
|
14 |
*/
|
15 |
+
function MCFunctions_load_scripts_admin( $hook ) {
|
16 |
|
17 |
// Return if the page is not a settings page of this plugin
|
18 |
+
$settings_page = 'appearance_page_' . MCFUNC_SLUG;
|
19 |
+
if ( $settings_page != $hook ) {
|
20 |
return;
|
21 |
}
|
22 |
|
23 |
// Style sheet
|
24 |
+
wp_enqueue_style( MCFUNC_PREFIX . '-admin-css', MCFUNC_URL . 'inc/css/admin.css' );
|
25 |
|
26 |
// JavaScript
|
27 |
+
wp_enqueue_script( MCFUNC_PREFIX . '-admin-js', MCFUNC_URL . 'inc/js/admin.js', array(), false, true );
|
28 |
|
29 |
// Bootstrap library
|
30 |
+
wp_enqueue_style( MCFUNC_PREFIX . '-bootstrap-css', MCFUNC_URL . 'inc/lib/bootstrap/bootstrap.css' );
|
31 |
+
wp_enqueue_style( MCFUNC_PREFIX . '-bootstrap-theme-css', MCFUNC_URL . 'inc/lib/bootstrap/bootstrap-theme.css' );
|
32 |
+
wp_enqueue_script( MCFUNC_PREFIX . '-bootstrap-js', MCFUNC_URL . 'inc/lib/bootstrap/bootstrap.js' );
|
33 |
|
34 |
// CodeMirror library
|
35 |
+
wp_enqueue_style( MCFUNC_PREFIX . '-codemirror-css', MCFUNC_URL . 'inc/lib/codemirror/codemirror.css' );
|
36 |
+
wp_enqueue_script( MCFUNC_PREFIX . '-codemirror-js', MCFUNC_URL . 'inc/lib/codemirror/codemirror-compressed.js' );
|
37 |
+
wp_enqueue_script( MCFUNC_PREFIX . '-codemirror-active-line-js', MCFUNC_URL . 'inc/lib/codemirror/addons/active-line.js' );
|
38 |
|
39 |
}
|
40 |
+
add_action( 'admin_enqueue_scripts', MCFUNC_PREFIX . '_load_scripts_admin' );
|
inc/php/functional.php
CHANGED
@@ -5,14 +5,14 @@
|
|
5 |
*
|
6 |
* @since 0.1
|
7 |
*/
|
8 |
-
defined('ABSPATH') or die("Restricted access!");
|
9 |
|
10 |
/**
|
11 |
* Prepare the user entered code for execution
|
12 |
*
|
13 |
* @since 2.4
|
14 |
*/
|
15 |
-
function MCFunctions_prepare($content) {
|
16 |
|
17 |
// Cleaning
|
18 |
$content = trim( $content );
|
@@ -26,9 +26,9 @@ function MCFunctions_prepare($content) {
|
|
26 |
/**
|
27 |
* Check the user entered code for duplicate names of functions
|
28 |
*
|
29 |
-
* @since
|
30 |
*/
|
31 |
-
function MCFunctions_duplicates($content) {
|
32 |
|
33 |
// Find names of user entered functions and check for duplicates
|
34 |
preg_match_all('/function[\s\n]+(\S+)[\s\n]*\(/i', $content, $user_func_names);
|
@@ -42,10 +42,10 @@ function MCFunctions_duplicates($content) {
|
|
42 |
|
43 |
// Update error status
|
44 |
if ( $user_func_a != $user_func_b OR count( $declared_func_user ) != 0 OR count( $declared_func_internal ) != 0 ) {
|
45 |
-
update_option( '
|
46 |
$error_status = '1';
|
47 |
} else {
|
48 |
-
update_option( '
|
49 |
$error_status = '0';
|
50 |
}
|
51 |
|
@@ -56,7 +56,7 @@ function MCFunctions_duplicates($content) {
|
|
56 |
/**
|
57 |
* Execute the user entered code
|
58 |
*
|
59 |
-
* @since
|
60 |
*/
|
61 |
function MCFunctions_exec() {
|
62 |
|
@@ -66,7 +66,7 @@ function MCFunctions_exec() {
|
|
66 |
}
|
67 |
|
68 |
// Read data from DB
|
69 |
-
$options = get_option( '
|
70 |
$content = isset( $options['anarcho_cfunctions-content'] ) && !empty( $options['anarcho_cfunctions-content'] ) ? $options['anarcho_cfunctions-content'] : ' ';
|
71 |
$enable = isset( $options['enable'] ) && !empty( $options['enable'] ) ? $options['enable'] : ' ';
|
72 |
|
@@ -76,25 +76,25 @@ function MCFunctions_exec() {
|
|
76 |
}
|
77 |
|
78 |
// Prepare the user entered functions by calling the "prepare" function
|
79 |
-
$content = MCFunctions_prepare($content);
|
80 |
|
81 |
// If content is empty...
|
82 |
-
if ( empty($content) OR $content == ' ' ) {
|
83 |
return; // EXIT
|
84 |
}
|
85 |
|
86 |
// If the duplicates functions finded...
|
87 |
-
$duplicates = MCFunctions_duplicates($content);
|
88 |
if ( $duplicates != 0 ) {
|
89 |
return; // EXIT
|
90 |
}
|
91 |
|
92 |
// Parsing and execute by Eval
|
93 |
if ( false === @eval( $content ) ) {
|
94 |
-
update_option( '
|
95 |
return; // EXIT
|
96 |
} else {
|
97 |
-
update_option( '
|
98 |
}
|
99 |
}
|
100 |
MCFunctions_exec();
|
5 |
*
|
6 |
* @since 0.1
|
7 |
*/
|
8 |
+
defined( 'ABSPATH' ) or die( "Restricted access!" );
|
9 |
|
10 |
/**
|
11 |
* Prepare the user entered code for execution
|
12 |
*
|
13 |
* @since 2.4
|
14 |
*/
|
15 |
+
function MCFunctions_prepare( $content ) {
|
16 |
|
17 |
// Cleaning
|
18 |
$content = trim( $content );
|
26 |
/**
|
27 |
* Check the user entered code for duplicate names of functions
|
28 |
*
|
29 |
+
* @since 4.1
|
30 |
*/
|
31 |
+
function MCFunctions_duplicates( $content ) {
|
32 |
|
33 |
// Find names of user entered functions and check for duplicates
|
34 |
preg_match_all('/function[\s\n]+(\S+)[\s\n]*\(/i', $content, $user_func_names);
|
42 |
|
43 |
// Update error status
|
44 |
if ( $user_func_a != $user_func_b OR count( $declared_func_user ) != 0 OR count( $declared_func_internal ) != 0 ) {
|
45 |
+
update_option( MCFUNC_SETTINGS . '_error', '1' ); // ERROR
|
46 |
$error_status = '1';
|
47 |
} else {
|
48 |
+
update_option( MCFUNC_SETTINGS . '_error', '0' ); // RESET ERROR VALUE
|
49 |
$error_status = '0';
|
50 |
}
|
51 |
|
56 |
/**
|
57 |
* Execute the user entered code
|
58 |
*
|
59 |
+
* @since 4.1
|
60 |
*/
|
61 |
function MCFunctions_exec() {
|
62 |
|
66 |
}
|
67 |
|
68 |
// Read data from DB
|
69 |
+
$options = get_option( MCFUNC_SETTINGS . '_settings' );
|
70 |
$content = isset( $options['anarcho_cfunctions-content'] ) && !empty( $options['anarcho_cfunctions-content'] ) ? $options['anarcho_cfunctions-content'] : ' ';
|
71 |
$enable = isset( $options['enable'] ) && !empty( $options['enable'] ) ? $options['enable'] : ' ';
|
72 |
|
76 |
}
|
77 |
|
78 |
// Prepare the user entered functions by calling the "prepare" function
|
79 |
+
$content = MCFunctions_prepare( $content );
|
80 |
|
81 |
// If content is empty...
|
82 |
+
if ( empty( $content ) OR $content == ' ' ) {
|
83 |
return; // EXIT
|
84 |
}
|
85 |
|
86 |
// If the duplicates functions finded...
|
87 |
+
$duplicates = MCFunctions_duplicates( $content );
|
88 |
if ( $duplicates != 0 ) {
|
89 |
return; // EXIT
|
90 |
}
|
91 |
|
92 |
// Parsing and execute by Eval
|
93 |
if ( false === @eval( $content ) ) {
|
94 |
+
update_option( MCFUNC_SETTINGS . '_error', '1' ); // ERROR
|
95 |
return; // EXIT
|
96 |
} else {
|
97 |
+
update_option( MCFUNC_SETTINGS . '_error', '0' ); // RESET ERROR VALUE
|
98 |
}
|
99 |
}
|
100 |
MCFunctions_exec();
|
inc/php/messages.php
CHANGED
@@ -5,18 +5,18 @@
|
|
5 |
*
|
6 |
* @since 0.1
|
7 |
*/
|
8 |
-
defined('ABSPATH') or die("Restricted access!");
|
9 |
|
10 |
/**
|
11 |
* Hello message - Bootstrap Modal
|
12 |
*
|
13 |
-
* @since 4.
|
14 |
*/
|
15 |
function MCFunctions_hello_message() {
|
16 |
|
17 |
-
$options = get_option( '
|
18 |
|
19 |
-
if ( !empty($options) ) {
|
20 |
return;
|
21 |
}
|
22 |
|
@@ -48,11 +48,11 @@ function MCFunctions_hello_message() {
|
|
48 |
/**
|
49 |
* Error message (When the old version of plugin installed) - Bootstrap Modal
|
50 |
*
|
51 |
-
* @since 4.
|
52 |
*/
|
53 |
function MCFunctions_error_message() {
|
54 |
|
55 |
-
$info = get_option( '
|
56 |
$old_version = isset( $info['old_version'] ) && !empty( $info['old_version'] ) ? $info['old_version'] : '0';
|
57 |
|
58 |
if ( $old_version != '1' ) {
|
@@ -102,7 +102,7 @@ function MCFunctions_successfull_message() {
|
|
102 |
*/
|
103 |
function MCFunctions_parsing_error_message() {
|
104 |
|
105 |
-
$error = get_option( '
|
106 |
if ( $error == '1' ) {
|
107 |
?>
|
108 |
<div id="message" class="error">
|
5 |
*
|
6 |
* @since 0.1
|
7 |
*/
|
8 |
+
defined( 'ABSPATH' ) or die( "Restricted access!" );
|
9 |
|
10 |
/**
|
11 |
* Hello message - Bootstrap Modal
|
12 |
*
|
13 |
+
* @since 4.1
|
14 |
*/
|
15 |
function MCFunctions_hello_message() {
|
16 |
|
17 |
+
$options = get_option( MCFUNC_SETTINGS . '_settings' );
|
18 |
|
19 |
+
if ( !empty( $options ) ) {
|
20 |
return;
|
21 |
}
|
22 |
|
48 |
/**
|
49 |
* Error message (When the old version of plugin installed) - Bootstrap Modal
|
50 |
*
|
51 |
+
* @since 4.1
|
52 |
*/
|
53 |
function MCFunctions_error_message() {
|
54 |
|
55 |
+
$info = get_option( MCFUNC_SETTINGS . '_service_info' );
|
56 |
$old_version = isset( $info['old_version'] ) && !empty( $info['old_version'] ) ? $info['old_version'] : '0';
|
57 |
|
58 |
if ( $old_version != '1' ) {
|
102 |
*/
|
103 |
function MCFunctions_parsing_error_message() {
|
104 |
|
105 |
+
$error = get_option( MCFUNC_SETTINGS . '_error' );
|
106 |
if ( $error == '1' ) {
|
107 |
?>
|
108 |
<div id="message" class="error">
|
inc/php/page.php
CHANGED
@@ -5,12 +5,12 @@
|
|
5 |
*
|
6 |
* @since 0.1
|
7 |
*/
|
8 |
-
defined('ABSPATH') or die("Restricted access!");
|
9 |
|
10 |
/**
|
11 |
* Render Settings Page
|
12 |
*
|
13 |
-
* @since 4.
|
14 |
*/
|
15 |
function MCFunctions_render_submenu_page() {
|
16 |
|
@@ -24,7 +24,7 @@ function MCFunctions_render_submenu_page() {
|
|
24 |
?>
|
25 |
<div class="wrap">
|
26 |
<h2>
|
27 |
-
<?php
|
28 |
<span>
|
29 |
<?php printf(
|
30 |
__( 'by %s Arthur Gareginyan %s', MCFUNC_TEXT ),
|
@@ -48,7 +48,6 @@ function MCFunctions_render_submenu_page() {
|
|
48 |
</ul>
|
49 |
<!-- END-TABS NAVIGATION MENU -->
|
50 |
|
51 |
-
|
52 |
<!-- TAB 1 -->
|
53 |
<div class="tab-page fade active in" id="tab-core">
|
54 |
|
@@ -91,7 +90,7 @@ function MCFunctions_render_submenu_page() {
|
|
91 |
|
92 |
<div class="panel-group" id="collapse-group">
|
93 |
<?php
|
94 |
-
$loopvalue = '
|
95 |
for ( $i = 1; $i <= $loopvalue; $i++ ) {
|
96 |
echo '<div class="panel panel-default">
|
97 |
<div class="panel-heading">
|
@@ -164,24 +163,27 @@ function MCFunctions_render_submenu_page() {
|
|
164 |
</ol>
|
165 |
<?php _e( 'This plugin stored you entered code in the Database of your website. For getting your code, you also can go to the <code>Database</code> ➡ Table <code>wp_options</code> ➡ Option <code>anarcho_cfunctions_settings</code> ➡ <code>option_value</code>.', MCFUNC_TEXT ); ?></div>
|
166 |
|
167 |
-
<div class="question-11 question-red"><?php _e( '
|
168 |
-
<div class="answer-11"><?php
|
|
|
|
|
|
|
169 |
__( 'Please visit the %s Dedicated Plugin Page on GitHub %s and report.', MCFUNC_TEXT ),
|
170 |
'<a href="https://github.com/ArthurGareginyan/my-custom-functions" target="_blank">',
|
171 |
'</a>'
|
172 |
);
|
173 |
?></div>
|
174 |
|
175 |
-
<div class="question-
|
176 |
-
<div class="answer-
|
177 |
__( 'Any suggestions are very welcome! Please send me an email to %s arthurgareginyan@gmail.com %s. Thank you!', MCFUNC_TEXT ),
|
178 |
'<a href="mailto:arthurgareginyan@gmail.com?subject=My Custom Functions">',
|
179 |
'</a>'
|
180 |
);
|
181 |
?></div>
|
182 |
|
183 |
-
<div class="question-
|
184 |
-
<div class="answer-
|
185 |
__( 'Yes, any financial contributions are welcome! Just visit %s my website %s, click on the donate button, and thank you!', MCFUNC_TEXT ),
|
186 |
'<a href="http://www.arthurgareginyan.com/donate.html" target="_blank">',
|
187 |
'</a>'
|
5 |
*
|
6 |
* @since 0.1
|
7 |
*/
|
8 |
+
defined( 'ABSPATH' ) or die( "Restricted access!" );
|
9 |
|
10 |
/**
|
11 |
* Render Settings Page
|
12 |
*
|
13 |
+
* @since 4.1
|
14 |
*/
|
15 |
function MCFunctions_render_submenu_page() {
|
16 |
|
24 |
?>
|
25 |
<div class="wrap">
|
26 |
<h2>
|
27 |
+
<?php echo MCFUNC_NAME; ?>
|
28 |
<span>
|
29 |
<?php printf(
|
30 |
__( 'by %s Arthur Gareginyan %s', MCFUNC_TEXT ),
|
48 |
</ul>
|
49 |
<!-- END-TABS NAVIGATION MENU -->
|
50 |
|
|
|
51 |
<!-- TAB 1 -->
|
52 |
<div class="tab-page fade active in" id="tab-core">
|
53 |
|
90 |
|
91 |
<div class="panel-group" id="collapse-group">
|
92 |
<?php
|
93 |
+
$loopvalue = '14';
|
94 |
for ( $i = 1; $i <= $loopvalue; $i++ ) {
|
95 |
echo '<div class="panel panel-default">
|
96 |
<div class="panel-heading">
|
163 |
</ol>
|
164 |
<?php _e( 'This plugin stored you entered code in the Database of your website. For getting your code, you also can go to the <code>Database</code> ➡ Table <code>wp_options</code> ➡ Option <code>anarcho_cfunctions_settings</code> ➡ <code>option_value</code>.', MCFUNC_TEXT ); ?></div>
|
165 |
|
166 |
+
<div class="question-11 question-red"><?php _e( 'The last WordPress update is preventing me from editing my website that is using this plugin. Why is this?', MCFUNC_TEXT ); ?></div>
|
167 |
+
<div class="answer-11"><?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.', MCFUNC_TEXT ); ?></div>
|
168 |
+
|
169 |
+
<div class="question-12 question-red"><?php _e( 'Where to report bug if found?', MCFUNC_TEXT ); ?></div>
|
170 |
+
<div class="answer-12"><?php printf(
|
171 |
__( 'Please visit the %s Dedicated Plugin Page on GitHub %s and report.', MCFUNC_TEXT ),
|
172 |
'<a href="https://github.com/ArthurGareginyan/my-custom-functions" target="_blank">',
|
173 |
'</a>'
|
174 |
);
|
175 |
?></div>
|
176 |
|
177 |
+
<div class="question-13"><?php _e( 'Where to share any ideas or suggestions to make the plugin better?', MCFUNC_TEXT ); ?></div>
|
178 |
+
<div class="answer-13"><?php printf(
|
179 |
__( 'Any suggestions are very welcome! Please send me an email to %s arthurgareginyan@gmail.com %s. Thank you!', MCFUNC_TEXT ),
|
180 |
'<a href="mailto:arthurgareginyan@gmail.com?subject=My Custom Functions">',
|
181 |
'</a>'
|
182 |
);
|
183 |
?></div>
|
184 |
|
185 |
+
<div class="question-14"><?php _e( 'I love this plugin! Can I help somehow?', MCFUNC_TEXT ); ?></div>
|
186 |
+
<div class="answer-14"><?php printf(
|
187 |
__( 'Yes, any financial contributions are welcome! Just visit %s my website %s, click on the donate button, and thank you!', MCFUNC_TEXT ),
|
188 |
'<a href="http://www.arthurgareginyan.com/donate.html" target="_blank">',
|
189 |
'</a>'
|
inc/php/settings.php
CHANGED
@@ -5,12 +5,12 @@
|
|
5 |
*
|
6 |
* @since 0.1
|
7 |
*/
|
8 |
-
defined('ABSPATH') or die("Restricted access!");
|
9 |
|
10 |
/**
|
11 |
* Render Settings Tab
|
12 |
*
|
13 |
-
* @since
|
14 |
*/
|
15 |
?>
|
16 |
<!-- SIDEBAR -->
|
@@ -46,7 +46,7 @@ defined('ABSPATH') or die("Restricted access!");
|
|
46 |
<h3 class="title"><?php _e( 'Help', MCFUNC_TEXT ); ?></h3>
|
47 |
<div class="inside">
|
48 |
<p><?php _e( 'Got something to say? Need help?', MCFUNC_TEXT ); ?></p>
|
49 |
-
<p><a href="mailto:arthurgareginyan@gmail.com?subject
|
50 |
</div>
|
51 |
</div>
|
52 |
|
@@ -59,14 +59,14 @@ defined('ABSPATH') or die("Restricted access!");
|
|
59 |
<div id="post-body-content" class="has-sidebar-content">
|
60 |
<div class="meta-box-sortabless">
|
61 |
|
62 |
-
<form
|
63 |
-
<?php settings_fields( '
|
64 |
|
65 |
<?php
|
66 |
// Get options from the BD
|
67 |
-
$options = get_option( '
|
68 |
|
69 |
-
//
|
70 |
$content = isset( $options['anarcho_cfunctions-content'] ) && !empty( $options['anarcho_cfunctions-content'] ) ? $options['anarcho_cfunctions-content'] : '/* Enter Your Custom Functions Here */';
|
71 |
$enable = isset( $options['enable'] ) && !empty( $options['enable'] ) && $options['enable'] == "on" ? 'checked' : ' ';
|
72 |
?>
|
@@ -86,7 +86,7 @@ defined('ABSPATH') or die("Restricted access!");
|
|
86 |
|
87 |
<?php submit_button( __( 'Save Changes', MCFUNC_TEXT ), 'primary', 'submit', true ); ?>
|
88 |
|
89 |
-
<div id="support-addition"
|
90 |
<h3 class="title"><?php _e( 'Support', MCFUNC_TEXT ); ?></h3>
|
91 |
<div class="inside">
|
92 |
<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.', MCFUNC_TEXT ); ?></p>
|
5 |
*
|
6 |
* @since 0.1
|
7 |
*/
|
8 |
+
defined( 'ABSPATH' ) or die( "Restricted access!" );
|
9 |
|
10 |
/**
|
11 |
* Render Settings Tab
|
12 |
*
|
13 |
+
* @since 4.1
|
14 |
*/
|
15 |
?>
|
16 |
<!-- SIDEBAR -->
|
46 |
<h3 class="title"><?php _e( 'Help', MCFUNC_TEXT ); ?></h3>
|
47 |
<div class="inside">
|
48 |
<p><?php _e( 'Got something to say? Need help?', MCFUNC_TEXT ); ?></p>
|
49 |
+
<p><a href="mailto:arthurgareginyan@gmail.com?subject=<?php echo MCFUNC_NAME; ?>">arthurgareginyan@gmail.com</a></p>
|
50 |
</div>
|
51 |
</div>
|
52 |
|
59 |
<div id="post-body-content" class="has-sidebar-content">
|
60 |
<div class="meta-box-sortabless">
|
61 |
|
62 |
+
<form action="options.php" method="post" enctype="multipart/form-data">
|
63 |
+
<?php settings_fields( MCFUNC_SETTINGS . '_settings_group' ); ?>
|
64 |
|
65 |
<?php
|
66 |
// Get options from the BD
|
67 |
+
$options = get_option( MCFUNC_SETTINGS . '_settings' );
|
68 |
|
69 |
+
// Set default value if the option is empty
|
70 |
$content = isset( $options['anarcho_cfunctions-content'] ) && !empty( $options['anarcho_cfunctions-content'] ) ? $options['anarcho_cfunctions-content'] : '/* Enter Your Custom Functions Here */';
|
71 |
$enable = isset( $options['enable'] ) && !empty( $options['enable'] ) && $options['enable'] == "on" ? 'checked' : ' ';
|
72 |
?>
|
86 |
|
87 |
<?php submit_button( __( 'Save Changes', MCFUNC_TEXT ), 'primary', 'submit', true ); ?>
|
88 |
|
89 |
+
<div class="postbox" id="support-addition">
|
90 |
<h3 class="title"><?php _e( 'Support', MCFUNC_TEXT ); ?></h3>
|
91 |
<div class="inside">
|
92 |
<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.', MCFUNC_TEXT ); ?></p>
|
inc/php/uninstall.php
CHANGED
@@ -5,15 +5,15 @@
|
|
5 |
*
|
6 |
* @since 0.1
|
7 |
*/
|
8 |
-
defined('ABSPATH') or die("Restricted access!");
|
9 |
|
10 |
/**
|
11 |
* Delete options on uninstall
|
12 |
*
|
13 |
-
* @since
|
14 |
*/
|
15 |
function MCFunctions_uninstall() {
|
16 |
-
delete_option( '
|
17 |
-
delete_option( '
|
18 |
}
|
19 |
-
register_uninstall_hook( __FILE__, '
|
5 |
*
|
6 |
* @since 0.1
|
7 |
*/
|
8 |
+
defined( 'ABSPATH' ) or die( "Restricted access!" );
|
9 |
|
10 |
/**
|
11 |
* Delete options on uninstall
|
12 |
*
|
13 |
+
* @since 4.1
|
14 |
*/
|
15 |
function MCFunctions_uninstall() {
|
16 |
+
delete_option( MCFUNC_SETTINGS . '_settings' );
|
17 |
+
delete_option( MCFUNC_SETTINGS . '_error' );
|
18 |
}
|
19 |
+
register_uninstall_hook( __FILE__, MCFUNC_PREFIX . '_uninstall' );
|
inc/php/version.php
CHANGED
@@ -5,12 +5,12 @@
|
|
5 |
*
|
6 |
* @since 0.1
|
7 |
*/
|
8 |
-
defined('ABSPATH') or die("Restricted access!");
|
9 |
|
10 |
/**
|
11 |
* Function for managing information about the version number of the plugin
|
12 |
*
|
13 |
-
* @since 4.
|
14 |
*/
|
15 |
function MCFunctions_plugin_version_number() {
|
16 |
|
@@ -19,7 +19,7 @@ function MCFunctions_plugin_version_number() {
|
|
19 |
// - Make the "$info" array if the plugin service information in the database is not exist
|
20 |
// - Get the current plugin version number from the database
|
21 |
// - Get the new plugin version number from the global constant
|
22 |
-
$info = get_option( '
|
23 |
if ( !is_array( $info ) ) {
|
24 |
$info = array();
|
25 |
}
|
@@ -39,7 +39,7 @@ function MCFunctions_plugin_version_number() {
|
|
39 |
if ( $info['old_version'] == '1' ) {
|
40 |
|
41 |
$info['old_version'] = '0';
|
42 |
-
update_option( '
|
43 |
|
44 |
}
|
45 |
|
@@ -54,7 +54,7 @@ function MCFunctions_plugin_version_number() {
|
|
54 |
|
55 |
$info['version'] = $new_number;
|
56 |
$info['old_version'] = '0';
|
57 |
-
update_option( '
|
58 |
|
59 |
return;
|
60 |
}
|
@@ -65,7 +65,7 @@ function MCFunctions_plugin_version_number() {
|
|
65 |
if ( $new_number < $current_number ) {
|
66 |
|
67 |
$info['old_version'] = '1';
|
68 |
-
update_option( '
|
69 |
|
70 |
return;
|
71 |
}
|
5 |
*
|
6 |
* @since 0.1
|
7 |
*/
|
8 |
+
defined( 'ABSPATH' ) or die( "Restricted access!" );
|
9 |
|
10 |
/**
|
11 |
* Function for managing information about the version number of the plugin
|
12 |
*
|
13 |
+
* @since 4.1
|
14 |
*/
|
15 |
function MCFunctions_plugin_version_number() {
|
16 |
|
19 |
// - Make the "$info" array if the plugin service information in the database is not exist
|
20 |
// - Get the current plugin version number from the database
|
21 |
// - Get the new plugin version number from the global constant
|
22 |
+
$info = get_option( MCFUNC_SETTINGS . '_service_info' );
|
23 |
if ( !is_array( $info ) ) {
|
24 |
$info = array();
|
25 |
}
|
39 |
if ( $info['old_version'] == '1' ) {
|
40 |
|
41 |
$info['old_version'] = '0';
|
42 |
+
update_option( MCFUNC_SETTINGS . '_service_info', $info );
|
43 |
|
44 |
}
|
45 |
|
54 |
|
55 |
$info['version'] = $new_number;
|
56 |
$info['old_version'] = '0';
|
57 |
+
update_option( MCFUNC_SETTINGS . '_service_info', $info );
|
58 |
|
59 |
return;
|
60 |
}
|
65 |
if ( $new_number < $current_number ) {
|
66 |
|
67 |
$info['old_version'] = '1';
|
68 |
+
update_option( MCFUNC_SETTINGS . '_service_info', $info );
|
69 |
|
70 |
return;
|
71 |
}
|
languages/my-custom-functions-es_ES.mo
CHANGED
Binary file
|
languages/my-custom-functions-es_ES.po
CHANGED
@@ -3,8 +3,8 @@
|
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: Plugins - My Custom Functions - Development Readme (trunk)\n"
|
6 |
-
"POT-Creation-Date: 2017-05-
|
7 |
-
"PO-Revision-Date: 2017-05-
|
8 |
"Last-Translator: \n"
|
9 |
"Language-Team: \n"
|
10 |
"Language: es\n"
|
@@ -33,11 +33,6 @@ msgstr ""
|
|
33 |
msgid "Donate"
|
34 |
msgstr "Hacer una donación"
|
35 |
|
36 |
-
#. Plugin Name of the plugin/theme
|
37 |
-
#: inc/php/core.php:75 inc/php/page.php:27
|
38 |
-
msgid "My Custom Functions"
|
39 |
-
msgstr "My Custom Functions"
|
40 |
-
|
41 |
#: inc/php/core.php:75
|
42 |
msgid "Custom Functions"
|
43 |
msgstr ""
|
@@ -80,7 +75,7 @@ msgstr "por %s Arthur Gareginyan %s"
|
|
80 |
msgid "Main"
|
81 |
msgstr ""
|
82 |
|
83 |
-
#: inc/php/page.php:43 inc/php/page.php:
|
84 |
msgid "Usage"
|
85 |
msgstr ""
|
86 |
|
@@ -88,11 +83,11 @@ msgstr ""
|
|
88 |
msgid "F.A.Q."
|
89 |
msgstr ""
|
90 |
|
91 |
-
#: inc/php/page.php:45 inc/php/page.php:
|
92 |
msgid "Author"
|
93 |
msgstr ""
|
94 |
|
95 |
-
#: inc/php/page.php:46 inc/php/page.php:
|
96 |
msgid "Support"
|
97 |
msgstr ""
|
98 |
|
@@ -100,63 +95,63 @@ msgstr ""
|
|
100 |
msgid "Family"
|
101 |
msgstr ""
|
102 |
|
103 |
-
#: inc/php/page.php:
|
104 |
msgid "To add your custom functions (the PHP code) to your website, simply follow these steps:"
|
105 |
msgstr ""
|
106 |
|
107 |
-
#: inc/php/page.php:
|
108 |
msgid "Go to the \"Main\" tab."
|
109 |
msgstr ""
|
110 |
|
111 |
-
#: inc/php/page.php:
|
112 |
msgid "Add your PHP code to the field, switch the toggle to the \"ON\" position and click the \"Save Changes\" button."
|
113 |
msgstr ""
|
114 |
|
115 |
-
#: inc/php/page.php:
|
116 |
msgid "Example of PHP code:"
|
117 |
msgstr ""
|
118 |
|
119 |
-
#: inc/php/page.php:
|
120 |
msgid "Note!"
|
121 |
msgstr ""
|
122 |
|
123 |
-
#: inc/php/page.php:
|
124 |
msgid "Please do not wrap your PHP code in the <code><?php</code>...<code>?></code> HTML tags."
|
125 |
msgstr ""
|
126 |
|
127 |
-
#: inc/php/page.php:
|
128 |
msgid "Before use, please read the instructions on the F.A.Q. tab on what to do in case of a website crash."
|
129 |
msgstr ""
|
130 |
|
131 |
-
#: inc/php/page.php:
|
132 |
msgid "Enjoy the result of applying your PHP code."
|
133 |
msgstr ""
|
134 |
|
135 |
-
#: inc/php/page.php:
|
136 |
msgid "It's that simple!"
|
137 |
msgstr ""
|
138 |
|
139 |
-
#: inc/php/page.php:
|
140 |
msgid "If you want more options then tell me and I will be happy to add it."
|
141 |
msgstr ""
|
142 |
|
143 |
-
#: inc/php/page.php:
|
144 |
msgid "Frequently Asked Questions"
|
145 |
msgstr ""
|
146 |
|
147 |
-
#: inc/php/page.php:
|
148 |
msgid "Will this plugin work on my WordPress.COM website?"
|
149 |
msgstr ""
|
150 |
|
151 |
-
#: inc/php/page.php:
|
152 |
msgid "Sorry, this plugin is available for use only on self-hosted (WordPress.ORG) websites."
|
153 |
msgstr ""
|
154 |
|
155 |
-
#: inc/php/page.php:
|
156 |
msgid "Can I use this plugin on my language?"
|
157 |
msgstr ""
|
158 |
|
159 |
-
#: inc/php/page.php:
|
160 |
#, php-format
|
161 |
msgid ""
|
162 |
"Yes. But If your language is not available then you can make one. This plugin is ready for translation. The<code>.pot</"
|
@@ -165,152 +160,163 @@ msgid ""
|
|
165 |
"I will include the translation within the next plugin update."
|
166 |
msgstr ""
|
167 |
|
168 |
-
#: inc/php/page.php:
|
169 |
msgid "How does it work?"
|
170 |
msgstr ""
|
171 |
|
172 |
-
#: inc/php/page.php:
|
173 |
msgid ""
|
174 |
"On the \"Settings\" tab, add your PHP code to the field, switch the toggle to the \"ON\" position and click the \"Save "
|
175 |
"Changes\" button. Enjoy the result of applying your PHP code. It's that simple!"
|
176 |
msgstr ""
|
177 |
|
178 |
-
#: inc/php/page.php:
|
179 |
msgid "Can I use HTML/CSS/JS code integrated in PHP code?"
|
180 |
msgstr ""
|
181 |
|
182 |
-
#: inc/php/page.php:
|
183 |
msgid "Yes. But you need to do it properly, like this:"
|
184 |
msgstr ""
|
185 |
|
186 |
-
#: inc/php/page.php:
|
187 |
msgid "How much of PHP code (characters) I can enter in the text field?"
|
188 |
msgstr ""
|
189 |
|
190 |
-
#: inc/php/page.php:
|
191 |
msgid "I don't limit the number of characters."
|
192 |
msgstr ""
|
193 |
|
194 |
-
#: inc/php/page.php:
|
195 |
msgid "On the plugin settings page, an error message appears. What could be wrong?"
|
196 |
msgstr ""
|
197 |
|
198 |
-
#: inc/php/page.php:
|
199 |
msgid "Here are a few of the most likely causes of the error message:"
|
200 |
msgstr ""
|
201 |
|
202 |
-
#: inc/php/page.php:
|
203 |
msgid "You make a syntax error in the code that you have entered. Check the syntax of your code and try again."
|
204 |
msgstr ""
|
205 |
|
206 |
-
#: inc/php/page.php:
|
207 |
msgid "You entered two functions with the same name. Use a unique names for your functions."
|
208 |
msgstr ""
|
209 |
|
210 |
-
#: inc/php/page.php:
|
211 |
msgid ""
|
212 |
"You have entered function with a name that is already occupied by another function. Use a unique name for your function."
|
213 |
msgstr ""
|
214 |
|
215 |
-
#: inc/php/page.php:
|
216 |
msgid "You are trying to overwrite an existing function (of WordPress, theme, or plugin). Instead, use filters and hooks."
|
217 |
msgstr ""
|
218 |
|
219 |
-
#: inc/php/page.php:
|
220 |
msgid "Does this plugin requires any modification of the theme?"
|
221 |
msgstr ""
|
222 |
|
223 |
-
#: inc/php/page.php:
|
224 |
msgid "Absolutely not. This plugin is configurable entirely from the plugin settings page."
|
225 |
msgstr ""
|
226 |
|
227 |
-
#: inc/php/page.php:
|
228 |
msgid "Does this require any knowledge of HTML or CSS?"
|
229 |
msgstr ""
|
230 |
|
231 |
-
#: inc/php/page.php:
|
232 |
msgid ""
|
233 |
"This plugin can be configured with no knowledge of HTML or CSS, using an easy-to-use plugin settings page. But you need "
|
234 |
"to know the HTML or CSS in order to add/remove/modify the HTML or CSS code by using this plugin."
|
235 |
msgstr ""
|
236 |
|
237 |
-
#: inc/php/page.php:
|
238 |
msgid "It's not working. What could be wrong?"
|
239 |
msgstr ""
|
240 |
|
241 |
-
#: inc/php/page.php:
|
242 |
msgid ""
|
243 |
"As with every plugin, it's possible that things don't work. The most common reason for this is a web browser's cache. "
|
244 |
"Every web browser stores a cache of the websites you visit (pages, images, and etc.) to reduce bandwidth usage and server "
|
245 |
"load. This is called the browser's cache. Clearing your browser's cache may solve the problem."
|
246 |
msgstr ""
|
247 |
|
248 |
-
#: inc/php/page.php:
|
249 |
msgid ""
|
250 |
"It's impossible to tell what could be wrong exactly, but if you post a support request in the plugin's support forum on "
|
251 |
"WordPress.org, I'd be happy to give it a look and try to help out. Please include as much information as possible, "
|
252 |
"including a link to your website where the problem can be seen."
|
253 |
msgstr ""
|
254 |
|
255 |
-
#: inc/php/page.php:
|
256 |
msgid "What to do if this plugin caused the white screen (WSOD)?"
|
257 |
msgstr ""
|
258 |
|
259 |
-
#: inc/php/page.php:
|
260 |
msgid ""
|
261 |
"This plugin is not perfect, so there are times when the entered custom code causes the error and white screen (WSOD). "
|
262 |
"This is due to the fact that your custom code has a syntax error that this plugin could not detect. If this happened with "
|
263 |
"you then do the following and all will be fine."
|
264 |
msgstr ""
|
265 |
|
266 |
-
#: inc/php/page.php:
|
267 |
msgid ""
|
268 |
"Via FTP, go to the plugin folder (in <code>wp-content/plugins/my-custom-functions/</code>). Rename the \"START\" file to "
|
269 |
"\"STOP\"."
|
270 |
msgstr ""
|
271 |
|
272 |
-
#: inc/php/page.php:
|
273 |
msgid "Return to the plugin settings page."
|
274 |
msgstr ""
|
275 |
|
276 |
-
#: inc/php/page.php:
|
277 |
msgid "Edit/fix your custom code that you entered before the crash."
|
278 |
msgstr ""
|
279 |
|
280 |
-
#: inc/php/page.php:
|
281 |
msgid "Rename the \"STOP\" file to \"START\" and you're done!"
|
282 |
msgstr ""
|
283 |
|
284 |
-
#: inc/php/page.php:
|
285 |
msgid ""
|
286 |
"This plugin stored you entered code in the Database of your website. For getting your code, you also can go to the "
|
287 |
"<code>Database</code> ➡ Table <code>wp_options</code> ➡ Option <code>anarcho_cfunctions_settings</code> "
|
288 |
"➡ <code>option_value</code>."
|
289 |
msgstr ""
|
290 |
|
|
|
|
|
|
|
|
|
291 |
#: inc/php/page.php:167
|
292 |
-
msgid "
|
|
|
|
|
|
|
293 |
msgstr ""
|
294 |
|
295 |
#: inc/php/page.php:169
|
|
|
|
|
|
|
|
|
296 |
#, php-format
|
297 |
msgid "Please visit the %s Dedicated Plugin Page on GitHub %s and report."
|
298 |
msgstr ""
|
299 |
|
300 |
-
#: inc/php/page.php:
|
301 |
msgid "Where to share any ideas or suggestions to make the plugin better?"
|
302 |
msgstr ""
|
303 |
|
304 |
-
#: inc/php/page.php:
|
305 |
#, php-format
|
306 |
msgid "Any suggestions are very welcome! Please send me an email to %s arthurgareginyan@gmail.com %s. Thank you!"
|
307 |
msgstr ""
|
308 |
|
309 |
-
#: inc/php/page.php:
|
310 |
msgid "I love this plugin! Can I help somehow?"
|
311 |
msgstr ""
|
312 |
|
313 |
-
#: inc/php/page.php:
|
314 |
#, php-format
|
315 |
msgid ""
|
316 |
"Yes, any financial contributions are welcome! Just visit %s my website %s, click on the donate button, and thank you!"
|
@@ -360,6 +366,10 @@ msgstr ""
|
|
360 |
msgid "Save Changes"
|
361 |
msgstr "Guardar los cambios"
|
362 |
|
|
|
|
|
|
|
|
|
363 |
#. Plugin URI of the plugin/theme
|
364 |
msgid "https://github.com/ArthurGareginyan/my-custom-functions"
|
365 |
msgstr ""
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: Plugins - My Custom Functions - Development Readme (trunk)\n"
|
6 |
+
"POT-Creation-Date: 2017-05-23 08:34+0300\n"
|
7 |
+
"PO-Revision-Date: 2017-05-23 08:34+0300\n"
|
8 |
"Last-Translator: \n"
|
9 |
"Language-Team: \n"
|
10 |
"Language: es\n"
|
33 |
msgid "Donate"
|
34 |
msgstr "Hacer una donación"
|
35 |
|
|
|
|
|
|
|
|
|
|
|
36 |
#: inc/php/core.php:75
|
37 |
msgid "Custom Functions"
|
38 |
msgstr ""
|
75 |
msgid "Main"
|
76 |
msgstr ""
|
77 |
|
78 |
+
#: inc/php/page.php:43 inc/php/page.php:62
|
79 |
msgid "Usage"
|
80 |
msgstr ""
|
81 |
|
83 |
msgid "F.A.Q."
|
84 |
msgstr ""
|
85 |
|
86 |
+
#: inc/php/page.php:45 inc/php/page.php:201
|
87 |
msgid "Author"
|
88 |
msgstr ""
|
89 |
|
90 |
+
#: inc/php/page.php:46 inc/php/page.php:210 inc/php/settings.php:37 inc/php/settings.php:90
|
91 |
msgid "Support"
|
92 |
msgstr ""
|
93 |
|
95 |
msgid "Family"
|
96 |
msgstr ""
|
97 |
|
98 |
+
#: inc/php/page.php:64
|
99 |
msgid "To add your custom functions (the PHP code) to your website, simply follow these steps:"
|
100 |
msgstr ""
|
101 |
|
102 |
+
#: inc/php/page.php:66
|
103 |
msgid "Go to the \"Main\" tab."
|
104 |
msgstr ""
|
105 |
|
106 |
+
#: inc/php/page.php:67
|
107 |
msgid "Add your PHP code to the field, switch the toggle to the \"ON\" position and click the \"Save Changes\" button."
|
108 |
msgstr ""
|
109 |
|
110 |
+
#: inc/php/page.php:68
|
111 |
msgid "Example of PHP code:"
|
112 |
msgstr ""
|
113 |
|
114 |
+
#: inc/php/page.php:74 inc/php/page.php:75 inc/php/page.php:79
|
115 |
msgid "Note!"
|
116 |
msgstr ""
|
117 |
|
118 |
+
#: inc/php/page.php:74
|
119 |
msgid "Please do not wrap your PHP code in the <code><?php</code>...<code>?></code> HTML tags."
|
120 |
msgstr ""
|
121 |
|
122 |
+
#: inc/php/page.php:75
|
123 |
msgid "Before use, please read the instructions on the F.A.Q. tab on what to do in case of a website crash."
|
124 |
msgstr ""
|
125 |
|
126 |
+
#: inc/php/page.php:77
|
127 |
msgid "Enjoy the result of applying your PHP code."
|
128 |
msgstr ""
|
129 |
|
130 |
+
#: inc/php/page.php:77
|
131 |
msgid "It's that simple!"
|
132 |
msgstr ""
|
133 |
|
134 |
+
#: inc/php/page.php:79
|
135 |
msgid "If you want more options then tell me and I will be happy to add it."
|
136 |
msgstr ""
|
137 |
|
138 |
+
#: inc/php/page.php:88
|
139 |
msgid "Frequently Asked Questions"
|
140 |
msgstr ""
|
141 |
|
142 |
+
#: inc/php/page.php:110
|
143 |
msgid "Will this plugin work on my WordPress.COM website?"
|
144 |
msgstr ""
|
145 |
|
146 |
+
#: inc/php/page.php:111
|
147 |
msgid "Sorry, this plugin is available for use only on self-hosted (WordPress.ORG) websites."
|
148 |
msgstr ""
|
149 |
|
150 |
+
#: inc/php/page.php:113
|
151 |
msgid "Can I use this plugin on my language?"
|
152 |
msgstr ""
|
153 |
|
154 |
+
#: inc/php/page.php:115
|
155 |
#, php-format
|
156 |
msgid ""
|
157 |
"Yes. But If your language is not available then you can make one. This plugin is ready for translation. The<code>.pot</"
|
160 |
"I will include the translation within the next plugin update."
|
161 |
msgstr ""
|
162 |
|
163 |
+
#: inc/php/page.php:120
|
164 |
msgid "How does it work?"
|
165 |
msgstr ""
|
166 |
|
167 |
+
#: inc/php/page.php:121
|
168 |
msgid ""
|
169 |
"On the \"Settings\" tab, add your PHP code to the field, switch the toggle to the \"ON\" position and click the \"Save "
|
170 |
"Changes\" button. Enjoy the result of applying your PHP code. It's that simple!"
|
171 |
msgstr ""
|
172 |
|
173 |
+
#: inc/php/page.php:123
|
174 |
msgid "Can I use HTML/CSS/JS code integrated in PHP code?"
|
175 |
msgstr ""
|
176 |
|
177 |
+
#: inc/php/page.php:124
|
178 |
msgid "Yes. But you need to do it properly, like this:"
|
179 |
msgstr ""
|
180 |
|
181 |
+
#: inc/php/page.php:134
|
182 |
msgid "How much of PHP code (characters) I can enter in the text field?"
|
183 |
msgstr ""
|
184 |
|
185 |
+
#: inc/php/page.php:135
|
186 |
msgid "I don't limit the number of characters."
|
187 |
msgstr ""
|
188 |
|
189 |
+
#: inc/php/page.php:137
|
190 |
msgid "On the plugin settings page, an error message appears. What could be wrong?"
|
191 |
msgstr ""
|
192 |
|
193 |
+
#: inc/php/page.php:138
|
194 |
msgid "Here are a few of the most likely causes of the error message:"
|
195 |
msgstr ""
|
196 |
|
197 |
+
#: inc/php/page.php:140
|
198 |
msgid "You make a syntax error in the code that you have entered. Check the syntax of your code and try again."
|
199 |
msgstr ""
|
200 |
|
201 |
+
#: inc/php/page.php:141
|
202 |
msgid "You entered two functions with the same name. Use a unique names for your functions."
|
203 |
msgstr ""
|
204 |
|
205 |
+
#: inc/php/page.php:142
|
206 |
msgid ""
|
207 |
"You have entered function with a name that is already occupied by another function. Use a unique name for your function."
|
208 |
msgstr ""
|
209 |
|
210 |
+
#: inc/php/page.php:143
|
211 |
msgid "You are trying to overwrite an existing function (of WordPress, theme, or plugin). Instead, use filters and hooks."
|
212 |
msgstr ""
|
213 |
|
214 |
+
#: inc/php/page.php:146
|
215 |
msgid "Does this plugin requires any modification of the theme?"
|
216 |
msgstr ""
|
217 |
|
218 |
+
#: inc/php/page.php:147
|
219 |
msgid "Absolutely not. This plugin is configurable entirely from the plugin settings page."
|
220 |
msgstr ""
|
221 |
|
222 |
+
#: inc/php/page.php:149
|
223 |
msgid "Does this require any knowledge of HTML or CSS?"
|
224 |
msgstr ""
|
225 |
|
226 |
+
#: inc/php/page.php:150
|
227 |
msgid ""
|
228 |
"This plugin can be configured with no knowledge of HTML or CSS, using an easy-to-use plugin settings page. But you need "
|
229 |
"to know the HTML or CSS in order to add/remove/modify the HTML or CSS code by using this plugin."
|
230 |
msgstr ""
|
231 |
|
232 |
+
#: inc/php/page.php:152
|
233 |
msgid "It's not working. What could be wrong?"
|
234 |
msgstr ""
|
235 |
|
236 |
+
#: inc/php/page.php:153
|
237 |
msgid ""
|
238 |
"As with every plugin, it's possible that things don't work. The most common reason for this is a web browser's cache. "
|
239 |
"Every web browser stores a cache of the websites you visit (pages, images, and etc.) to reduce bandwidth usage and server "
|
240 |
"load. This is called the browser's cache. Clearing your browser's cache may solve the problem."
|
241 |
msgstr ""
|
242 |
|
243 |
+
#: inc/php/page.php:154
|
244 |
msgid ""
|
245 |
"It's impossible to tell what could be wrong exactly, but if you post a support request in the plugin's support forum on "
|
246 |
"WordPress.org, I'd be happy to give it a look and try to help out. Please include as much information as possible, "
|
247 |
"including a link to your website where the problem can be seen."
|
248 |
msgstr ""
|
249 |
|
250 |
+
#: inc/php/page.php:156
|
251 |
msgid "What to do if this plugin caused the white screen (WSOD)?"
|
252 |
msgstr ""
|
253 |
|
254 |
+
#: inc/php/page.php:157
|
255 |
msgid ""
|
256 |
"This plugin is not perfect, so there are times when the entered custom code causes the error and white screen (WSOD). "
|
257 |
"This is due to the fact that your custom code has a syntax error that this plugin could not detect. If this happened with "
|
258 |
"you then do the following and all will be fine."
|
259 |
msgstr ""
|
260 |
|
261 |
+
#: inc/php/page.php:159
|
262 |
msgid ""
|
263 |
"Via FTP, go to the plugin folder (in <code>wp-content/plugins/my-custom-functions/</code>). Rename the \"START\" file to "
|
264 |
"\"STOP\"."
|
265 |
msgstr ""
|
266 |
|
267 |
+
#: inc/php/page.php:160
|
268 |
msgid "Return to the plugin settings page."
|
269 |
msgstr ""
|
270 |
|
271 |
+
#: inc/php/page.php:161
|
272 |
msgid "Edit/fix your custom code that you entered before the crash."
|
273 |
msgstr ""
|
274 |
|
275 |
+
#: inc/php/page.php:162
|
276 |
msgid "Rename the \"STOP\" file to \"START\" and you're done!"
|
277 |
msgstr ""
|
278 |
|
279 |
+
#: inc/php/page.php:164
|
280 |
msgid ""
|
281 |
"This plugin stored you entered code in the Database of your website. For getting your code, you also can go to the "
|
282 |
"<code>Database</code> ➡ Table <code>wp_options</code> ➡ Option <code>anarcho_cfunctions_settings</code> "
|
283 |
"➡ <code>option_value</code>."
|
284 |
msgstr ""
|
285 |
|
286 |
+
#: inc/php/page.php:166
|
287 |
+
msgid "The last WordPress update is preventing me from editing my website that is using this plugin. Why is this?"
|
288 |
+
msgstr ""
|
289 |
+
|
290 |
#: inc/php/page.php:167
|
291 |
+
msgid ""
|
292 |
+
"This plugin can not cause such problem. More likely, the problem are related to the settings of the website. It could "
|
293 |
+
"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 "
|
294 |
+
"as the CloudFlare) and then the cache of your web browser. Also please try to re-login to the website, this too can help."
|
295 |
msgstr ""
|
296 |
|
297 |
#: inc/php/page.php:169
|
298 |
+
msgid "Where to report bug if found?"
|
299 |
+
msgstr ""
|
300 |
+
|
301 |
+
#: inc/php/page.php:171
|
302 |
#, php-format
|
303 |
msgid "Please visit the %s Dedicated Plugin Page on GitHub %s and report."
|
304 |
msgstr ""
|
305 |
|
306 |
+
#: inc/php/page.php:177
|
307 |
msgid "Where to share any ideas or suggestions to make the plugin better?"
|
308 |
msgstr ""
|
309 |
|
310 |
+
#: inc/php/page.php:179
|
311 |
#, php-format
|
312 |
msgid "Any suggestions are very welcome! Please send me an email to %s arthurgareginyan@gmail.com %s. Thank you!"
|
313 |
msgstr ""
|
314 |
|
315 |
+
#: inc/php/page.php:185
|
316 |
msgid "I love this plugin! Can I help somehow?"
|
317 |
msgstr ""
|
318 |
|
319 |
+
#: inc/php/page.php:187
|
320 |
#, php-format
|
321 |
msgid ""
|
322 |
"Yes, any financial contributions are welcome! Just visit %s my website %s, click on the donate button, and thank you!"
|
366 |
msgid "Save Changes"
|
367 |
msgstr "Guardar los cambios"
|
368 |
|
369 |
+
#. Plugin Name of the plugin/theme
|
370 |
+
msgid "My Custom Functions"
|
371 |
+
msgstr "My Custom Functions"
|
372 |
+
|
373 |
#. Plugin URI of the plugin/theme
|
374 |
msgid "https://github.com/ArthurGareginyan/my-custom-functions"
|
375 |
msgstr ""
|
languages/my-custom-functions-fr_FR.mo
CHANGED
Binary file
|
languages/my-custom-functions-fr_FR.po
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: My Custom Functions\n"
|
4 |
-
"POT-Creation-Date: 2017-05-
|
5 |
-
"PO-Revision-Date: 2017-05-
|
6 |
"Last-Translator: \n"
|
7 |
"Language-Team: \n"
|
8 |
"Language: fr_FR\n"
|
@@ -32,11 +32,6 @@ msgstr ""
|
|
32 |
msgid "Donate"
|
33 |
msgstr "Faire un don"
|
34 |
|
35 |
-
#. Plugin Name of the plugin/theme
|
36 |
-
#: inc/php/core.php:75 inc/php/page.php:27
|
37 |
-
msgid "My Custom Functions"
|
38 |
-
msgstr "My Custom Functions"
|
39 |
-
|
40 |
#: inc/php/core.php:75
|
41 |
msgid "Custom Functions"
|
42 |
msgstr "Custom Functions"
|
@@ -81,7 +76,7 @@ msgstr "par %s Arthur Gareginyan %s"
|
|
81 |
msgid "Main"
|
82 |
msgstr ""
|
83 |
|
84 |
-
#: inc/php/page.php:43 inc/php/page.php:
|
85 |
msgid "Usage"
|
86 |
msgstr ""
|
87 |
|
@@ -89,11 +84,11 @@ msgstr ""
|
|
89 |
msgid "F.A.Q."
|
90 |
msgstr ""
|
91 |
|
92 |
-
#: inc/php/page.php:45 inc/php/page.php:
|
93 |
msgid "Author"
|
94 |
msgstr ""
|
95 |
|
96 |
-
#: inc/php/page.php:46 inc/php/page.php:
|
97 |
#: inc/php/settings.php:90
|
98 |
msgid "Support"
|
99 |
msgstr ""
|
@@ -102,73 +97,73 @@ msgstr ""
|
|
102 |
msgid "Family"
|
103 |
msgstr ""
|
104 |
|
105 |
-
#: inc/php/page.php:
|
106 |
msgid ""
|
107 |
"To add your custom functions (the PHP code) to your website, simply follow "
|
108 |
"these steps:"
|
109 |
msgstr ""
|
110 |
|
111 |
-
#: inc/php/page.php:
|
112 |
msgid "Go to the \"Main\" tab."
|
113 |
msgstr ""
|
114 |
|
115 |
-
#: inc/php/page.php:
|
116 |
msgid ""
|
117 |
"Add your PHP code to the field, switch the toggle to the \"ON\" position and "
|
118 |
"click the \"Save Changes\" button."
|
119 |
msgstr ""
|
120 |
|
121 |
-
#: inc/php/page.php:
|
122 |
msgid "Example of PHP code:"
|
123 |
msgstr ""
|
124 |
|
125 |
-
#: inc/php/page.php:
|
126 |
msgid "Note!"
|
127 |
msgstr ""
|
128 |
|
129 |
-
#: inc/php/page.php:
|
130 |
msgid ""
|
131 |
"Please do not wrap your PHP code in the <code><?php</code>...<code>?></"
|
132 |
"code> HTML tags."
|
133 |
msgstr ""
|
134 |
|
135 |
-
#: inc/php/page.php:
|
136 |
msgid ""
|
137 |
"Before use, please read the instructions on the F.A.Q. tab on what to do in "
|
138 |
"case of a website crash."
|
139 |
msgstr ""
|
140 |
|
141 |
-
#: inc/php/page.php:
|
142 |
msgid "Enjoy the result of applying your PHP code."
|
143 |
msgstr ""
|
144 |
|
145 |
-
#: inc/php/page.php:
|
146 |
msgid "It's that simple!"
|
147 |
msgstr ""
|
148 |
|
149 |
-
#: inc/php/page.php:
|
150 |
msgid "If you want more options then tell me and I will be happy to add it."
|
151 |
msgstr ""
|
152 |
|
153 |
-
#: inc/php/page.php:
|
154 |
msgid "Frequently Asked Questions"
|
155 |
msgstr ""
|
156 |
|
157 |
-
#: inc/php/page.php:
|
158 |
msgid "Will this plugin work on my WordPress.COM website?"
|
159 |
msgstr ""
|
160 |
|
161 |
-
#: inc/php/page.php:
|
162 |
msgid ""
|
163 |
"Sorry, this plugin is available for use only on self-hosted (WordPress.ORG) "
|
164 |
"websites."
|
165 |
msgstr ""
|
166 |
|
167 |
-
#: inc/php/page.php:
|
168 |
msgid "Can I use this plugin on my language?"
|
169 |
msgstr ""
|
170 |
|
171 |
-
#: inc/php/page.php:
|
172 |
#, php-format
|
173 |
msgid ""
|
174 |
"Yes. But If your language is not available then you can make one. This "
|
@@ -179,92 +174,92 @@ msgid ""
|
|
179 |
"include the translation within the next plugin update."
|
180 |
msgstr ""
|
181 |
|
182 |
-
#: inc/php/page.php:
|
183 |
msgid "How does it work?"
|
184 |
msgstr ""
|
185 |
|
186 |
-
#: inc/php/page.php:
|
187 |
msgid ""
|
188 |
"On the \"Settings\" tab, add your PHP code to the field, switch the toggle "
|
189 |
"to the \"ON\" position and click the \"Save Changes\" button. Enjoy the "
|
190 |
"result of applying your PHP code. It's that simple!"
|
191 |
msgstr ""
|
192 |
|
193 |
-
#: inc/php/page.php:
|
194 |
msgid "Can I use HTML/CSS/JS code integrated in PHP code?"
|
195 |
msgstr ""
|
196 |
|
197 |
-
#: inc/php/page.php:
|
198 |
msgid "Yes. But you need to do it properly, like this:"
|
199 |
msgstr ""
|
200 |
|
201 |
-
#: inc/php/page.php:
|
202 |
msgid "How much of PHP code (characters) I can enter in the text field?"
|
203 |
msgstr ""
|
204 |
|
205 |
-
#: inc/php/page.php:
|
206 |
msgid "I don't limit the number of characters."
|
207 |
msgstr ""
|
208 |
|
209 |
-
#: inc/php/page.php:
|
210 |
msgid ""
|
211 |
"On the plugin settings page, an error message appears. What could be wrong?"
|
212 |
msgstr ""
|
213 |
|
214 |
-
#: inc/php/page.php:
|
215 |
msgid "Here are a few of the most likely causes of the error message:"
|
216 |
msgstr ""
|
217 |
|
218 |
-
#: inc/php/page.php:
|
219 |
msgid ""
|
220 |
"You make a syntax error in the code that you have entered. Check the syntax "
|
221 |
"of your code and try again."
|
222 |
msgstr ""
|
223 |
|
224 |
-
#: inc/php/page.php:
|
225 |
msgid ""
|
226 |
"You entered two functions with the same name. Use a unique names for your "
|
227 |
"functions."
|
228 |
msgstr ""
|
229 |
|
230 |
-
#: inc/php/page.php:
|
231 |
msgid ""
|
232 |
"You have entered function with a name that is already occupied by another "
|
233 |
"function. Use a unique name for your function."
|
234 |
msgstr ""
|
235 |
|
236 |
-
#: inc/php/page.php:
|
237 |
msgid ""
|
238 |
"You are trying to overwrite an existing function (of WordPress, theme, or "
|
239 |
"plugin). Instead, use filters and hooks."
|
240 |
msgstr ""
|
241 |
|
242 |
-
#: inc/php/page.php:
|
243 |
msgid "Does this plugin requires any modification of the theme?"
|
244 |
msgstr ""
|
245 |
|
246 |
-
#: inc/php/page.php:
|
247 |
msgid ""
|
248 |
"Absolutely not. This plugin is configurable entirely from the plugin "
|
249 |
"settings page."
|
250 |
msgstr ""
|
251 |
|
252 |
-
#: inc/php/page.php:
|
253 |
msgid "Does this require any knowledge of HTML or CSS?"
|
254 |
msgstr ""
|
255 |
|
256 |
-
#: inc/php/page.php:
|
257 |
msgid ""
|
258 |
"This plugin can be configured with no knowledge of HTML or CSS, using an "
|
259 |
"easy-to-use plugin settings page. But you need to know the HTML or CSS in "
|
260 |
"order to add/remove/modify the HTML or CSS code by using this plugin."
|
261 |
msgstr ""
|
262 |
|
263 |
-
#: inc/php/page.php:
|
264 |
msgid "It's not working. What could be wrong?"
|
265 |
msgstr ""
|
266 |
|
267 |
-
#: inc/php/page.php:
|
268 |
msgid ""
|
269 |
"As with every plugin, it's possible that things don't work. The most common "
|
270 |
"reason for this is a web browser's cache. Every web browser stores a cache "
|
@@ -273,7 +268,7 @@ msgid ""
|
|
273 |
"browser's cache may solve the problem."
|
274 |
msgstr ""
|
275 |
|
276 |
-
#: inc/php/page.php:
|
277 |
msgid ""
|
278 |
"It's impossible to tell what could be wrong exactly, but if you post a "
|
279 |
"support request in the plugin's support forum on WordPress.org, I'd be happy "
|
@@ -281,11 +276,11 @@ msgid ""
|
|
281 |
"possible, including a link to your website where the problem can be seen."
|
282 |
msgstr ""
|
283 |
|
284 |
-
#: inc/php/page.php:
|
285 |
msgid "What to do if this plugin caused the white screen (WSOD)?"
|
286 |
msgstr ""
|
287 |
|
288 |
-
#: inc/php/page.php:
|
289 |
msgid ""
|
290 |
"This plugin is not perfect, so there are times when the entered custom code "
|
291 |
"causes the error and white screen (WSOD). This is due to the fact that your "
|
@@ -293,25 +288,25 @@ msgid ""
|
|
293 |
"happened with you then do the following and all will be fine."
|
294 |
msgstr ""
|
295 |
|
296 |
-
#: inc/php/page.php:
|
297 |
msgid ""
|
298 |
"Via FTP, go to the plugin folder (in <code>wp-content/plugins/my-custom-"
|
299 |
"functions/</code>). Rename the \"START\" file to \"STOP\"."
|
300 |
msgstr ""
|
301 |
|
302 |
-
#: inc/php/page.php:
|
303 |
msgid "Return to the plugin settings page."
|
304 |
msgstr ""
|
305 |
|
306 |
-
#: inc/php/page.php:
|
307 |
msgid "Edit/fix your custom code that you entered before the crash."
|
308 |
msgstr ""
|
309 |
|
310 |
-
#: inc/php/page.php:
|
311 |
msgid "Rename the \"STOP\" file to \"START\" and you're done!"
|
312 |
msgstr ""
|
313 |
|
314 |
-
#: inc/php/page.php:
|
315 |
msgid ""
|
316 |
"This plugin stored you entered code in the Database of your website. For "
|
317 |
"getting your code, you also can go to the <code>Database</code> ➡ "
|
@@ -319,31 +314,46 @@ msgid ""
|
|
319 |
"<code>anarcho_cfunctions_settings</code> ➡ <code>option_value</code>."
|
320 |
msgstr ""
|
321 |
|
|
|
|
|
|
|
|
|
|
|
|
|
322 |
#: inc/php/page.php:167
|
323 |
-
msgid "
|
|
|
|
|
|
|
|
|
|
|
324 |
msgstr ""
|
325 |
|
326 |
#: inc/php/page.php:169
|
|
|
|
|
|
|
|
|
327 |
#, php-format
|
328 |
msgid "Please visit the %s Dedicated Plugin Page on GitHub %s and report."
|
329 |
msgstr ""
|
330 |
|
331 |
-
#: inc/php/page.php:
|
332 |
msgid "Where to share any ideas or suggestions to make the plugin better?"
|
333 |
msgstr ""
|
334 |
|
335 |
-
#: inc/php/page.php:
|
336 |
#, php-format
|
337 |
msgid ""
|
338 |
"Any suggestions are very welcome! Please send me an email to %s "
|
339 |
"arthurgareginyan@gmail.com %s. Thank you!"
|
340 |
msgstr ""
|
341 |
|
342 |
-
#: inc/php/page.php:
|
343 |
msgid "I love this plugin! Can I help somehow?"
|
344 |
msgstr ""
|
345 |
|
346 |
-
#: inc/php/page.php:
|
347 |
#, php-format
|
348 |
msgid ""
|
349 |
"Yes, any financial contributions are welcome! Just visit %s my website %s, "
|
@@ -401,6 +411,10 @@ msgstr "Fonctions (code PHP)"
|
|
401 |
msgid "Save Changes"
|
402 |
msgstr "Enregistrer"
|
403 |
|
|
|
|
|
|
|
|
|
404 |
#. Plugin URI of the plugin/theme
|
405 |
msgid "https://github.com/ArthurGareginyan/my-custom-functions"
|
406 |
msgstr "https://github.com/ArthurGareginyan/my-custom-functions"
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: My Custom Functions\n"
|
4 |
+
"POT-Creation-Date: 2017-05-23 08:34+0300\n"
|
5 |
+
"PO-Revision-Date: 2017-05-23 08:34+0300\n"
|
6 |
"Last-Translator: \n"
|
7 |
"Language-Team: \n"
|
8 |
"Language: fr_FR\n"
|
32 |
msgid "Donate"
|
33 |
msgstr "Faire un don"
|
34 |
|
|
|
|
|
|
|
|
|
|
|
35 |
#: inc/php/core.php:75
|
36 |
msgid "Custom Functions"
|
37 |
msgstr "Custom Functions"
|
76 |
msgid "Main"
|
77 |
msgstr ""
|
78 |
|
79 |
+
#: inc/php/page.php:43 inc/php/page.php:62
|
80 |
msgid "Usage"
|
81 |
msgstr ""
|
82 |
|
84 |
msgid "F.A.Q."
|
85 |
msgstr ""
|
86 |
|
87 |
+
#: inc/php/page.php:45 inc/php/page.php:201
|
88 |
msgid "Author"
|
89 |
msgstr ""
|
90 |
|
91 |
+
#: inc/php/page.php:46 inc/php/page.php:210 inc/php/settings.php:37
|
92 |
#: inc/php/settings.php:90
|
93 |
msgid "Support"
|
94 |
msgstr ""
|
97 |
msgid "Family"
|
98 |
msgstr ""
|
99 |
|
100 |
+
#: inc/php/page.php:64
|
101 |
msgid ""
|
102 |
"To add your custom functions (the PHP code) to your website, simply follow "
|
103 |
"these steps:"
|
104 |
msgstr ""
|
105 |
|
106 |
+
#: inc/php/page.php:66
|
107 |
msgid "Go to the \"Main\" tab."
|
108 |
msgstr ""
|
109 |
|
110 |
+
#: inc/php/page.php:67
|
111 |
msgid ""
|
112 |
"Add your PHP code to the field, switch the toggle to the \"ON\" position and "
|
113 |
"click the \"Save Changes\" button."
|
114 |
msgstr ""
|
115 |
|
116 |
+
#: inc/php/page.php:68
|
117 |
msgid "Example of PHP code:"
|
118 |
msgstr ""
|
119 |
|
120 |
+
#: inc/php/page.php:74 inc/php/page.php:75 inc/php/page.php:79
|
121 |
msgid "Note!"
|
122 |
msgstr ""
|
123 |
|
124 |
+
#: inc/php/page.php:74
|
125 |
msgid ""
|
126 |
"Please do not wrap your PHP code in the <code><?php</code>...<code>?></"
|
127 |
"code> HTML tags."
|
128 |
msgstr ""
|
129 |
|
130 |
+
#: inc/php/page.php:75
|
131 |
msgid ""
|
132 |
"Before use, please read the instructions on the F.A.Q. tab on what to do in "
|
133 |
"case of a website crash."
|
134 |
msgstr ""
|
135 |
|
136 |
+
#: inc/php/page.php:77
|
137 |
msgid "Enjoy the result of applying your PHP code."
|
138 |
msgstr ""
|
139 |
|
140 |
+
#: inc/php/page.php:77
|
141 |
msgid "It's that simple!"
|
142 |
msgstr ""
|
143 |
|
144 |
+
#: inc/php/page.php:79
|
145 |
msgid "If you want more options then tell me and I will be happy to add it."
|
146 |
msgstr ""
|
147 |
|
148 |
+
#: inc/php/page.php:88
|
149 |
msgid "Frequently Asked Questions"
|
150 |
msgstr ""
|
151 |
|
152 |
+
#: inc/php/page.php:110
|
153 |
msgid "Will this plugin work on my WordPress.COM website?"
|
154 |
msgstr ""
|
155 |
|
156 |
+
#: inc/php/page.php:111
|
157 |
msgid ""
|
158 |
"Sorry, this plugin is available for use only on self-hosted (WordPress.ORG) "
|
159 |
"websites."
|
160 |
msgstr ""
|
161 |
|
162 |
+
#: inc/php/page.php:113
|
163 |
msgid "Can I use this plugin on my language?"
|
164 |
msgstr ""
|
165 |
|
166 |
+
#: inc/php/page.php:115
|
167 |
#, php-format
|
168 |
msgid ""
|
169 |
"Yes. But If your language is not available then you can make one. This "
|
174 |
"include the translation within the next plugin update."
|
175 |
msgstr ""
|
176 |
|
177 |
+
#: inc/php/page.php:120
|
178 |
msgid "How does it work?"
|
179 |
msgstr ""
|
180 |
|
181 |
+
#: inc/php/page.php:121
|
182 |
msgid ""
|
183 |
"On the \"Settings\" tab, add your PHP code to the field, switch the toggle "
|
184 |
"to the \"ON\" position and click the \"Save Changes\" button. Enjoy the "
|
185 |
"result of applying your PHP code. It's that simple!"
|
186 |
msgstr ""
|
187 |
|
188 |
+
#: inc/php/page.php:123
|
189 |
msgid "Can I use HTML/CSS/JS code integrated in PHP code?"
|
190 |
msgstr ""
|
191 |
|
192 |
+
#: inc/php/page.php:124
|
193 |
msgid "Yes. But you need to do it properly, like this:"
|
194 |
msgstr ""
|
195 |
|
196 |
+
#: inc/php/page.php:134
|
197 |
msgid "How much of PHP code (characters) I can enter in the text field?"
|
198 |
msgstr ""
|
199 |
|
200 |
+
#: inc/php/page.php:135
|
201 |
msgid "I don't limit the number of characters."
|
202 |
msgstr ""
|
203 |
|
204 |
+
#: inc/php/page.php:137
|
205 |
msgid ""
|
206 |
"On the plugin settings page, an error message appears. What could be wrong?"
|
207 |
msgstr ""
|
208 |
|
209 |
+
#: inc/php/page.php:138
|
210 |
msgid "Here are a few of the most likely causes of the error message:"
|
211 |
msgstr ""
|
212 |
|
213 |
+
#: inc/php/page.php:140
|
214 |
msgid ""
|
215 |
"You make a syntax error in the code that you have entered. Check the syntax "
|
216 |
"of your code and try again."
|
217 |
msgstr ""
|
218 |
|
219 |
+
#: inc/php/page.php:141
|
220 |
msgid ""
|
221 |
"You entered two functions with the same name. Use a unique names for your "
|
222 |
"functions."
|
223 |
msgstr ""
|
224 |
|
225 |
+
#: inc/php/page.php:142
|
226 |
msgid ""
|
227 |
"You have entered function with a name that is already occupied by another "
|
228 |
"function. Use a unique name for your function."
|
229 |
msgstr ""
|
230 |
|
231 |
+
#: inc/php/page.php:143
|
232 |
msgid ""
|
233 |
"You are trying to overwrite an existing function (of WordPress, theme, or "
|
234 |
"plugin). Instead, use filters and hooks."
|
235 |
msgstr ""
|
236 |
|
237 |
+
#: inc/php/page.php:146
|
238 |
msgid "Does this plugin requires any modification of the theme?"
|
239 |
msgstr ""
|
240 |
|
241 |
+
#: inc/php/page.php:147
|
242 |
msgid ""
|
243 |
"Absolutely not. This plugin is configurable entirely from the plugin "
|
244 |
"settings page."
|
245 |
msgstr ""
|
246 |
|
247 |
+
#: inc/php/page.php:149
|
248 |
msgid "Does this require any knowledge of HTML or CSS?"
|
249 |
msgstr ""
|
250 |
|
251 |
+
#: inc/php/page.php:150
|
252 |
msgid ""
|
253 |
"This plugin can be configured with no knowledge of HTML or CSS, using an "
|
254 |
"easy-to-use plugin settings page. But you need to know the HTML or CSS in "
|
255 |
"order to add/remove/modify the HTML or CSS code by using this plugin."
|
256 |
msgstr ""
|
257 |
|
258 |
+
#: inc/php/page.php:152
|
259 |
msgid "It's not working. What could be wrong?"
|
260 |
msgstr ""
|
261 |
|
262 |
+
#: inc/php/page.php:153
|
263 |
msgid ""
|
264 |
"As with every plugin, it's possible that things don't work. The most common "
|
265 |
"reason for this is a web browser's cache. Every web browser stores a cache "
|
268 |
"browser's cache may solve the problem."
|
269 |
msgstr ""
|
270 |
|
271 |
+
#: inc/php/page.php:154
|
272 |
msgid ""
|
273 |
"It's impossible to tell what could be wrong exactly, but if you post a "
|
274 |
"support request in the plugin's support forum on WordPress.org, I'd be happy "
|
276 |
"possible, including a link to your website where the problem can be seen."
|
277 |
msgstr ""
|
278 |
|
279 |
+
#: inc/php/page.php:156
|
280 |
msgid "What to do if this plugin caused the white screen (WSOD)?"
|
281 |
msgstr ""
|
282 |
|
283 |
+
#: inc/php/page.php:157
|
284 |
msgid ""
|
285 |
"This plugin is not perfect, so there are times when the entered custom code "
|
286 |
"causes the error and white screen (WSOD). This is due to the fact that your "
|
288 |
"happened with you then do the following and all will be fine."
|
289 |
msgstr ""
|
290 |
|
291 |
+
#: inc/php/page.php:159
|
292 |
msgid ""
|
293 |
"Via FTP, go to the plugin folder (in <code>wp-content/plugins/my-custom-"
|
294 |
"functions/</code>). Rename the \"START\" file to \"STOP\"."
|
295 |
msgstr ""
|
296 |
|
297 |
+
#: inc/php/page.php:160
|
298 |
msgid "Return to the plugin settings page."
|
299 |
msgstr ""
|
300 |
|
301 |
+
#: inc/php/page.php:161
|
302 |
msgid "Edit/fix your custom code that you entered before the crash."
|
303 |
msgstr ""
|
304 |
|
305 |
+
#: inc/php/page.php:162
|
306 |
msgid "Rename the \"STOP\" file to \"START\" and you're done!"
|
307 |
msgstr ""
|
308 |
|
309 |
+
#: inc/php/page.php:164
|
310 |
msgid ""
|
311 |
"This plugin stored you entered code in the Database of your website. For "
|
312 |
"getting your code, you also can go to the <code>Database</code> ➡ "
|
314 |
"<code>anarcho_cfunctions_settings</code> ➡ <code>option_value</code>."
|
315 |
msgstr ""
|
316 |
|
317 |
+
#: inc/php/page.php:166
|
318 |
+
msgid ""
|
319 |
+
"The last WordPress update is preventing me from editing my website that is "
|
320 |
+
"using this plugin. Why is this?"
|
321 |
+
msgstr ""
|
322 |
+
|
323 |
#: inc/php/page.php:167
|
324 |
+
msgid ""
|
325 |
+
"This plugin can not cause such problem. More likely, the problem are related "
|
326 |
+
"to the settings of the website. It could just be a cache, so please try to "
|
327 |
+
"clear your website's cache (may be you using a caching plugin, or some web "
|
328 |
+
"service such as the CloudFlare) and then the cache of your web browser. Also "
|
329 |
+
"please try to re-login to the website, this too can help."
|
330 |
msgstr ""
|
331 |
|
332 |
#: inc/php/page.php:169
|
333 |
+
msgid "Where to report bug if found?"
|
334 |
+
msgstr ""
|
335 |
+
|
336 |
+
#: inc/php/page.php:171
|
337 |
#, php-format
|
338 |
msgid "Please visit the %s Dedicated Plugin Page on GitHub %s and report."
|
339 |
msgstr ""
|
340 |
|
341 |
+
#: inc/php/page.php:177
|
342 |
msgid "Where to share any ideas or suggestions to make the plugin better?"
|
343 |
msgstr ""
|
344 |
|
345 |
+
#: inc/php/page.php:179
|
346 |
#, php-format
|
347 |
msgid ""
|
348 |
"Any suggestions are very welcome! Please send me an email to %s "
|
349 |
"arthurgareginyan@gmail.com %s. Thank you!"
|
350 |
msgstr ""
|
351 |
|
352 |
+
#: inc/php/page.php:185
|
353 |
msgid "I love this plugin! Can I help somehow?"
|
354 |
msgstr ""
|
355 |
|
356 |
+
#: inc/php/page.php:187
|
357 |
#, php-format
|
358 |
msgid ""
|
359 |
"Yes, any financial contributions are welcome! Just visit %s my website %s, "
|
411 |
msgid "Save Changes"
|
412 |
msgstr "Enregistrer"
|
413 |
|
414 |
+
#. Plugin Name of the plugin/theme
|
415 |
+
msgid "My Custom Functions"
|
416 |
+
msgstr "My Custom Functions"
|
417 |
+
|
418 |
#. Plugin URI of the plugin/theme
|
419 |
msgid "https://github.com/ArthurGareginyan/my-custom-functions"
|
420 |
msgstr "https://github.com/ArthurGareginyan/my-custom-functions"
|
languages/my-custom-functions-ru_RU.mo
CHANGED
Binary file
|
languages/my-custom-functions-ru_RU.po
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: My Custom Functions\n"
|
4 |
-
"POT-Creation-Date: 2017-05-
|
5 |
-
"PO-Revision-Date: 2017-05-
|
6 |
"Last-Translator: \n"
|
7 |
"Language-Team: \n"
|
8 |
"Language: ru\n"
|
@@ -33,11 +33,6 @@ msgstr ""
|
|
33 |
msgid "Donate"
|
34 |
msgstr "Поддержать разработку"
|
35 |
|
36 |
-
#. Plugin Name of the plugin/theme
|
37 |
-
#: inc/php/core.php:75 inc/php/page.php:27
|
38 |
-
msgid "My Custom Functions"
|
39 |
-
msgstr "My Custom Functions"
|
40 |
-
|
41 |
#: inc/php/core.php:75
|
42 |
msgid "Custom Functions"
|
43 |
msgstr "Пользовательские Функции"
|
@@ -81,7 +76,7 @@ msgstr "от %s Артура Гарегинян %s"
|
|
81 |
msgid "Main"
|
82 |
msgstr "Главная"
|
83 |
|
84 |
-
#: inc/php/page.php:43 inc/php/page.php:
|
85 |
msgid "Usage"
|
86 |
msgstr "Применение"
|
87 |
|
@@ -89,11 +84,11 @@ msgstr "Применение"
|
|
89 |
msgid "F.A.Q."
|
90 |
msgstr "F.A.Q."
|
91 |
|
92 |
-
#: inc/php/page.php:45 inc/php/page.php:
|
93 |
msgid "Author"
|
94 |
msgstr "Автор"
|
95 |
|
96 |
-
#: inc/php/page.php:46 inc/php/page.php:
|
97 |
#: inc/php/settings.php:90
|
98 |
msgid "Support"
|
99 |
msgstr "Поддержка"
|
@@ -102,65 +97,65 @@ msgstr "Поддержка"
|
|
102 |
msgid "Family"
|
103 |
msgstr "Семья"
|
104 |
|
105 |
-
#: inc/php/page.php:
|
106 |
msgid ""
|
107 |
"To add your custom functions (the PHP code) to your website, simply follow "
|
108 |
"these steps:"
|
109 |
msgstr ""
|
110 |
|
111 |
-
#: inc/php/page.php:
|
112 |
msgid "Go to the \"Main\" tab."
|
113 |
msgstr "Перейдите на вкладку «Главная»."
|
114 |
|
115 |
-
#: inc/php/page.php:
|
116 |
msgid ""
|
117 |
"Add your PHP code to the field, switch the toggle to the \"ON\" position and "
|
118 |
"click the \"Save Changes\" button."
|
119 |
msgstr ""
|
120 |
|
121 |
-
#: inc/php/page.php:
|
122 |
msgid "Example of PHP code:"
|
123 |
msgstr "Пример кода PHP:"
|
124 |
|
125 |
-
#: inc/php/page.php:
|
126 |
msgid "Note!"
|
127 |
msgstr "Примечание!"
|
128 |
|
129 |
-
#: inc/php/page.php:
|
130 |
msgid ""
|
131 |
"Please do not wrap your PHP code in the <code><?php</code>...<code>?></"
|
132 |
"code> HTML tags."
|
133 |
msgstr ""
|
134 |
|
135 |
-
#: inc/php/page.php:
|
136 |
msgid ""
|
137 |
"Before use, please read the instructions on the F.A.Q. tab on what to do in "
|
138 |
"case of a website crash."
|
139 |
msgstr ""
|
140 |
|
141 |
-
#: inc/php/page.php:
|
142 |
msgid "Enjoy the result of applying your PHP code."
|
143 |
msgstr ""
|
144 |
|
145 |
-
#: inc/php/page.php:
|
146 |
msgid "It's that simple!"
|
147 |
msgstr "Вот так просто!"
|
148 |
|
149 |
-
#: inc/php/page.php:
|
150 |
msgid "If you want more options then tell me and I will be happy to add it."
|
151 |
msgstr ""
|
152 |
"Если вы хотите больше опций, то скажите мне об этом и я буду счастлив "
|
153 |
"добавить их."
|
154 |
|
155 |
-
#: inc/php/page.php:
|
156 |
msgid "Frequently Asked Questions"
|
157 |
msgstr "Часто задаваемые вопросы"
|
158 |
|
159 |
-
#: inc/php/page.php:
|
160 |
msgid "Will this plugin work on my WordPress.COM website?"
|
161 |
msgstr "Этот плагин будет работать на моем сайте WordPress.COM?"
|
162 |
|
163 |
-
#: inc/php/page.php:
|
164 |
msgid ""
|
165 |
"Sorry, this plugin is available for use only on self-hosted (WordPress.ORG) "
|
166 |
"websites."
|
@@ -168,11 +163,11 @@ msgstr ""
|
|
168 |
"К сожалению, этот плагин доступен для использования только на самостоятельно "
|
169 |
"размещённых веб-сайтах (WordPress.ORG)."
|
170 |
|
171 |
-
#: inc/php/page.php:
|
172 |
msgid "Can I use this plugin on my language?"
|
173 |
msgstr "Можно ли использовать этот плагин на моём языке?"
|
174 |
|
175 |
-
#: inc/php/page.php:
|
176 |
#, php-format
|
177 |
msgid ""
|
178 |
"Yes. But If your language is not available then you can make one. This "
|
@@ -183,71 +178,71 @@ msgid ""
|
|
183 |
"include the translation within the next plugin update."
|
184 |
msgstr ""
|
185 |
|
186 |
-
#: inc/php/page.php:
|
187 |
msgid "How does it work?"
|
188 |
msgstr "Как оно работает?"
|
189 |
|
190 |
-
#: inc/php/page.php:
|
191 |
msgid ""
|
192 |
"On the \"Settings\" tab, add your PHP code to the field, switch the toggle "
|
193 |
"to the \"ON\" position and click the \"Save Changes\" button. Enjoy the "
|
194 |
"result of applying your PHP code. It's that simple!"
|
195 |
msgstr ""
|
196 |
|
197 |
-
#: inc/php/page.php:
|
198 |
msgid "Can I use HTML/CSS/JS code integrated in PHP code?"
|
199 |
msgstr ""
|
200 |
|
201 |
-
#: inc/php/page.php:
|
202 |
msgid "Yes. But you need to do it properly, like this:"
|
203 |
msgstr ""
|
204 |
|
205 |
-
#: inc/php/page.php:
|
206 |
msgid "How much of PHP code (characters) I can enter in the text field?"
|
207 |
msgstr ""
|
208 |
|
209 |
-
#: inc/php/page.php:
|
210 |
msgid "I don't limit the number of characters."
|
211 |
msgstr ""
|
212 |
|
213 |
-
#: inc/php/page.php:
|
214 |
msgid ""
|
215 |
"On the plugin settings page, an error message appears. What could be wrong?"
|
216 |
msgstr ""
|
217 |
|
218 |
-
#: inc/php/page.php:
|
219 |
msgid "Here are a few of the most likely causes of the error message:"
|
220 |
msgstr ""
|
221 |
|
222 |
-
#: inc/php/page.php:
|
223 |
msgid ""
|
224 |
"You make a syntax error in the code that you have entered. Check the syntax "
|
225 |
"of your code and try again."
|
226 |
msgstr ""
|
227 |
|
228 |
-
#: inc/php/page.php:
|
229 |
msgid ""
|
230 |
"You entered two functions with the same name. Use a unique names for your "
|
231 |
"functions."
|
232 |
msgstr ""
|
233 |
|
234 |
-
#: inc/php/page.php:
|
235 |
msgid ""
|
236 |
"You have entered function with a name that is already occupied by another "
|
237 |
"function. Use a unique name for your function."
|
238 |
msgstr ""
|
239 |
|
240 |
-
#: inc/php/page.php:
|
241 |
msgid ""
|
242 |
"You are trying to overwrite an existing function (of WordPress, theme, or "
|
243 |
"plugin). Instead, use filters and hooks."
|
244 |
msgstr ""
|
245 |
|
246 |
-
#: inc/php/page.php:
|
247 |
msgid "Does this plugin requires any modification of the theme?"
|
248 |
msgstr "Этот плагин требует изменения темы?"
|
249 |
|
250 |
-
#: inc/php/page.php:
|
251 |
msgid ""
|
252 |
"Absolutely not. This plugin is configurable entirely from the plugin "
|
253 |
"settings page."
|
@@ -255,11 +250,11 @@ msgstr ""
|
|
255 |
"Абсолютно нет. Этот плагин настраивается полностью на странице настроек "
|
256 |
"плагина."
|
257 |
|
258 |
-
#: inc/php/page.php:
|
259 |
msgid "Does this require any knowledge of HTML or CSS?"
|
260 |
msgstr "Требуются ли какие-либо знания HTML или CSS?"
|
261 |
|
262 |
-
#: inc/php/page.php:
|
263 |
msgid ""
|
264 |
"This plugin can be configured with no knowledge of HTML or CSS, using an "
|
265 |
"easy-to-use plugin settings page. But you need to know the HTML or CSS in "
|
@@ -270,11 +265,11 @@ msgstr ""
|
|
270 |
"для того, чтобы добавить/удалить/изменить код HTML или CSS, используя этот "
|
271 |
"плагин."
|
272 |
|
273 |
-
#: inc/php/page.php:
|
274 |
msgid "It's not working. What could be wrong?"
|
275 |
msgstr "Оно не работает. Что может быть не так?"
|
276 |
|
277 |
-
#: inc/php/page.php:
|
278 |
msgid ""
|
279 |
"As with every plugin, it's possible that things don't work. The most common "
|
280 |
"reason for this is a web browser's cache. Every web browser stores a cache "
|
@@ -283,7 +278,7 @@ msgid ""
|
|
283 |
"browser's cache may solve the problem."
|
284 |
msgstr ""
|
285 |
|
286 |
-
#: inc/php/page.php:
|
287 |
msgid ""
|
288 |
"It's impossible to tell what could be wrong exactly, but if you post a "
|
289 |
"support request in the plugin's support forum on WordPress.org, I'd be happy "
|
@@ -291,11 +286,11 @@ msgid ""
|
|
291 |
"possible, including a link to your website where the problem can be seen."
|
292 |
msgstr ""
|
293 |
|
294 |
-
#: inc/php/page.php:
|
295 |
msgid "What to do if this plugin caused the white screen (WSOD)?"
|
296 |
msgstr ""
|
297 |
|
298 |
-
#: inc/php/page.php:
|
299 |
msgid ""
|
300 |
"This plugin is not perfect, so there are times when the entered custom code "
|
301 |
"causes the error and white screen (WSOD). This is due to the fact that your "
|
@@ -303,25 +298,25 @@ msgid ""
|
|
303 |
"happened with you then do the following and all will be fine."
|
304 |
msgstr ""
|
305 |
|
306 |
-
#: inc/php/page.php:
|
307 |
msgid ""
|
308 |
"Via FTP, go to the plugin folder (in <code>wp-content/plugins/my-custom-"
|
309 |
"functions/</code>). Rename the \"START\" file to \"STOP\"."
|
310 |
msgstr ""
|
311 |
|
312 |
-
#: inc/php/page.php:
|
313 |
msgid "Return to the plugin settings page."
|
314 |
msgstr "Вернитесь на страницу настроек плагина."
|
315 |
|
316 |
-
#: inc/php/page.php:
|
317 |
msgid "Edit/fix your custom code that you entered before the crash."
|
318 |
msgstr ""
|
319 |
|
320 |
-
#: inc/php/page.php:
|
321 |
msgid "Rename the \"STOP\" file to \"START\" and you're done!"
|
322 |
msgstr "Переименуйте файл \"STOP\" в \"START\", и все готово!"
|
323 |
|
324 |
-
#: inc/php/page.php:
|
325 |
msgid ""
|
326 |
"This plugin stored you entered code in the Database of your website. For "
|
327 |
"getting your code, you also can go to the <code>Database</code> ➡ "
|
@@ -329,33 +324,48 @@ msgid ""
|
|
329 |
"<code>anarcho_cfunctions_settings</code> ➡ <code>option_value</code>."
|
330 |
msgstr ""
|
331 |
|
|
|
|
|
|
|
|
|
|
|
|
|
332 |
#: inc/php/page.php:167
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
333 |
msgid "Where to report bug if found?"
|
334 |
msgstr "Где можно сообщить об ошибке?"
|
335 |
|
336 |
-
#: inc/php/page.php:
|
337 |
#, php-format
|
338 |
msgid "Please visit the %s Dedicated Plugin Page on GitHub %s and report."
|
339 |
msgstr ""
|
340 |
"Пожалуйста, посетите %s страницу плагина на GitHub %s и сообщите об ошибке."
|
341 |
|
342 |
-
#: inc/php/page.php:
|
343 |
msgid "Where to share any ideas or suggestions to make the plugin better?"
|
344 |
msgstr ""
|
345 |
"Где можно поделиться идеями или предложениями, чтобы сделать плагин лучше?"
|
346 |
|
347 |
-
#: inc/php/page.php:
|
348 |
#, php-format
|
349 |
msgid ""
|
350 |
"Any suggestions are very welcome! Please send me an email to %s "
|
351 |
"arthurgareginyan@gmail.com %s. Thank you!"
|
352 |
msgstr ""
|
353 |
|
354 |
-
#: inc/php/page.php:
|
355 |
msgid "I love this plugin! Can I help somehow?"
|
356 |
msgstr "Мне нравится этот плагин! Могу Я чем-то помочь?"
|
357 |
|
358 |
-
#: inc/php/page.php:
|
359 |
#, php-format
|
360 |
msgid ""
|
361 |
"Yes, any financial contributions are welcome! Just visit %s my website %s, "
|
@@ -412,6 +422,10 @@ msgstr "Функции (PHP код)"
|
|
412 |
msgid "Save Changes"
|
413 |
msgstr "Сохранить изменения"
|
414 |
|
|
|
|
|
|
|
|
|
415 |
#. Plugin URI of the plugin/theme
|
416 |
msgid "https://github.com/ArthurGareginyan/my-custom-functions"
|
417 |
msgstr "https://github.com/ArthurGareginyan/my-custom-functions"
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: My Custom Functions\n"
|
4 |
+
"POT-Creation-Date: 2017-05-23 08:34+0300\n"
|
5 |
+
"PO-Revision-Date: 2017-05-23 08:34+0300\n"
|
6 |
"Last-Translator: \n"
|
7 |
"Language-Team: \n"
|
8 |
"Language: ru\n"
|
33 |
msgid "Donate"
|
34 |
msgstr "Поддержать разработку"
|
35 |
|
|
|
|
|
|
|
|
|
|
|
36 |
#: inc/php/core.php:75
|
37 |
msgid "Custom Functions"
|
38 |
msgstr "Пользовательские Функции"
|
76 |
msgid "Main"
|
77 |
msgstr "Главная"
|
78 |
|
79 |
+
#: inc/php/page.php:43 inc/php/page.php:62
|
80 |
msgid "Usage"
|
81 |
msgstr "Применение"
|
82 |
|
84 |
msgid "F.A.Q."
|
85 |
msgstr "F.A.Q."
|
86 |
|
87 |
+
#: inc/php/page.php:45 inc/php/page.php:201
|
88 |
msgid "Author"
|
89 |
msgstr "Автор"
|
90 |
|
91 |
+
#: inc/php/page.php:46 inc/php/page.php:210 inc/php/settings.php:37
|
92 |
#: inc/php/settings.php:90
|
93 |
msgid "Support"
|
94 |
msgstr "Поддержка"
|
97 |
msgid "Family"
|
98 |
msgstr "Семья"
|
99 |
|
100 |
+
#: inc/php/page.php:64
|
101 |
msgid ""
|
102 |
"To add your custom functions (the PHP code) to your website, simply follow "
|
103 |
"these steps:"
|
104 |
msgstr ""
|
105 |
|
106 |
+
#: inc/php/page.php:66
|
107 |
msgid "Go to the \"Main\" tab."
|
108 |
msgstr "Перейдите на вкладку «Главная»."
|
109 |
|
110 |
+
#: inc/php/page.php:67
|
111 |
msgid ""
|
112 |
"Add your PHP code to the field, switch the toggle to the \"ON\" position and "
|
113 |
"click the \"Save Changes\" button."
|
114 |
msgstr ""
|
115 |
|
116 |
+
#: inc/php/page.php:68
|
117 |
msgid "Example of PHP code:"
|
118 |
msgstr "Пример кода PHP:"
|
119 |
|
120 |
+
#: inc/php/page.php:74 inc/php/page.php:75 inc/php/page.php:79
|
121 |
msgid "Note!"
|
122 |
msgstr "Примечание!"
|
123 |
|
124 |
+
#: inc/php/page.php:74
|
125 |
msgid ""
|
126 |
"Please do not wrap your PHP code in the <code><?php</code>...<code>?></"
|
127 |
"code> HTML tags."
|
128 |
msgstr ""
|
129 |
|
130 |
+
#: inc/php/page.php:75
|
131 |
msgid ""
|
132 |
"Before use, please read the instructions on the F.A.Q. tab on what to do in "
|
133 |
"case of a website crash."
|
134 |
msgstr ""
|
135 |
|
136 |
+
#: inc/php/page.php:77
|
137 |
msgid "Enjoy the result of applying your PHP code."
|
138 |
msgstr ""
|
139 |
|
140 |
+
#: inc/php/page.php:77
|
141 |
msgid "It's that simple!"
|
142 |
msgstr "Вот так просто!"
|
143 |
|
144 |
+
#: inc/php/page.php:79
|
145 |
msgid "If you want more options then tell me and I will be happy to add it."
|
146 |
msgstr ""
|
147 |
"Если вы хотите больше опций, то скажите мне об этом и я буду счастлив "
|
148 |
"добавить их."
|
149 |
|
150 |
+
#: inc/php/page.php:88
|
151 |
msgid "Frequently Asked Questions"
|
152 |
msgstr "Часто задаваемые вопросы"
|
153 |
|
154 |
+
#: inc/php/page.php:110
|
155 |
msgid "Will this plugin work on my WordPress.COM website?"
|
156 |
msgstr "Этот плагин будет работать на моем сайте WordPress.COM?"
|
157 |
|
158 |
+
#: inc/php/page.php:111
|
159 |
msgid ""
|
160 |
"Sorry, this plugin is available for use only on self-hosted (WordPress.ORG) "
|
161 |
"websites."
|
163 |
"К сожалению, этот плагин доступен для использования только на самостоятельно "
|
164 |
"размещённых веб-сайтах (WordPress.ORG)."
|
165 |
|
166 |
+
#: inc/php/page.php:113
|
167 |
msgid "Can I use this plugin on my language?"
|
168 |
msgstr "Можно ли использовать этот плагин на моём языке?"
|
169 |
|
170 |
+
#: inc/php/page.php:115
|
171 |
#, php-format
|
172 |
msgid ""
|
173 |
"Yes. But If your language is not available then you can make one. This "
|
178 |
"include the translation within the next plugin update."
|
179 |
msgstr ""
|
180 |
|
181 |
+
#: inc/php/page.php:120
|
182 |
msgid "How does it work?"
|
183 |
msgstr "Как оно работает?"
|
184 |
|
185 |
+
#: inc/php/page.php:121
|
186 |
msgid ""
|
187 |
"On the \"Settings\" tab, add your PHP code to the field, switch the toggle "
|
188 |
"to the \"ON\" position and click the \"Save Changes\" button. Enjoy the "
|
189 |
"result of applying your PHP code. It's that simple!"
|
190 |
msgstr ""
|
191 |
|
192 |
+
#: inc/php/page.php:123
|
193 |
msgid "Can I use HTML/CSS/JS code integrated in PHP code?"
|
194 |
msgstr ""
|
195 |
|
196 |
+
#: inc/php/page.php:124
|
197 |
msgid "Yes. But you need to do it properly, like this:"
|
198 |
msgstr ""
|
199 |
|
200 |
+
#: inc/php/page.php:134
|
201 |
msgid "How much of PHP code (characters) I can enter in the text field?"
|
202 |
msgstr ""
|
203 |
|
204 |
+
#: inc/php/page.php:135
|
205 |
msgid "I don't limit the number of characters."
|
206 |
msgstr ""
|
207 |
|
208 |
+
#: inc/php/page.php:137
|
209 |
msgid ""
|
210 |
"On the plugin settings page, an error message appears. What could be wrong?"
|
211 |
msgstr ""
|
212 |
|
213 |
+
#: inc/php/page.php:138
|
214 |
msgid "Here are a few of the most likely causes of the error message:"
|
215 |
msgstr ""
|
216 |
|
217 |
+
#: inc/php/page.php:140
|
218 |
msgid ""
|
219 |
"You make a syntax error in the code that you have entered. Check the syntax "
|
220 |
"of your code and try again."
|
221 |
msgstr ""
|
222 |
|
223 |
+
#: inc/php/page.php:141
|
224 |
msgid ""
|
225 |
"You entered two functions with the same name. Use a unique names for your "
|
226 |
"functions."
|
227 |
msgstr ""
|
228 |
|
229 |
+
#: inc/php/page.php:142
|
230 |
msgid ""
|
231 |
"You have entered function with a name that is already occupied by another "
|
232 |
"function. Use a unique name for your function."
|
233 |
msgstr ""
|
234 |
|
235 |
+
#: inc/php/page.php:143
|
236 |
msgid ""
|
237 |
"You are trying to overwrite an existing function (of WordPress, theme, or "
|
238 |
"plugin). Instead, use filters and hooks."
|
239 |
msgstr ""
|
240 |
|
241 |
+
#: inc/php/page.php:146
|
242 |
msgid "Does this plugin requires any modification of the theme?"
|
243 |
msgstr "Этот плагин требует изменения темы?"
|
244 |
|
245 |
+
#: inc/php/page.php:147
|
246 |
msgid ""
|
247 |
"Absolutely not. This plugin is configurable entirely from the plugin "
|
248 |
"settings page."
|
250 |
"Абсолютно нет. Этот плагин настраивается полностью на странице настроек "
|
251 |
"плагина."
|
252 |
|
253 |
+
#: inc/php/page.php:149
|
254 |
msgid "Does this require any knowledge of HTML or CSS?"
|
255 |
msgstr "Требуются ли какие-либо знания HTML или CSS?"
|
256 |
|
257 |
+
#: inc/php/page.php:150
|
258 |
msgid ""
|
259 |
"This plugin can be configured with no knowledge of HTML or CSS, using an "
|
260 |
"easy-to-use plugin settings page. But you need to know the HTML or CSS in "
|
265 |
"для того, чтобы добавить/удалить/изменить код HTML или CSS, используя этот "
|
266 |
"плагин."
|
267 |
|
268 |
+
#: inc/php/page.php:152
|
269 |
msgid "It's not working. What could be wrong?"
|
270 |
msgstr "Оно не работает. Что может быть не так?"
|
271 |
|
272 |
+
#: inc/php/page.php:153
|
273 |
msgid ""
|
274 |
"As with every plugin, it's possible that things don't work. The most common "
|
275 |
"reason for this is a web browser's cache. Every web browser stores a cache "
|
278 |
"browser's cache may solve the problem."
|
279 |
msgstr ""
|
280 |
|
281 |
+
#: inc/php/page.php:154
|
282 |
msgid ""
|
283 |
"It's impossible to tell what could be wrong exactly, but if you post a "
|
284 |
"support request in the plugin's support forum on WordPress.org, I'd be happy "
|
286 |
"possible, including a link to your website where the problem can be seen."
|
287 |
msgstr ""
|
288 |
|
289 |
+
#: inc/php/page.php:156
|
290 |
msgid "What to do if this plugin caused the white screen (WSOD)?"
|
291 |
msgstr ""
|
292 |
|
293 |
+
#: inc/php/page.php:157
|
294 |
msgid ""
|
295 |
"This plugin is not perfect, so there are times when the entered custom code "
|
296 |
"causes the error and white screen (WSOD). This is due to the fact that your "
|
298 |
"happened with you then do the following and all will be fine."
|
299 |
msgstr ""
|
300 |
|
301 |
+
#: inc/php/page.php:159
|
302 |
msgid ""
|
303 |
"Via FTP, go to the plugin folder (in <code>wp-content/plugins/my-custom-"
|
304 |
"functions/</code>). Rename the \"START\" file to \"STOP\"."
|
305 |
msgstr ""
|
306 |
|
307 |
+
#: inc/php/page.php:160
|
308 |
msgid "Return to the plugin settings page."
|
309 |
msgstr "Вернитесь на страницу настроек плагина."
|
310 |
|
311 |
+
#: inc/php/page.php:161
|
312 |
msgid "Edit/fix your custom code that you entered before the crash."
|
313 |
msgstr ""
|
314 |
|
315 |
+
#: inc/php/page.php:162
|
316 |
msgid "Rename the \"STOP\" file to \"START\" and you're done!"
|
317 |
msgstr "Переименуйте файл \"STOP\" в \"START\", и все готово!"
|
318 |
|
319 |
+
#: inc/php/page.php:164
|
320 |
msgid ""
|
321 |
"This plugin stored you entered code in the Database of your website. For "
|
322 |
"getting your code, you also can go to the <code>Database</code> ➡ "
|
324 |
"<code>anarcho_cfunctions_settings</code> ➡ <code>option_value</code>."
|
325 |
msgstr ""
|
326 |
|
327 |
+
#: inc/php/page.php:166
|
328 |
+
msgid ""
|
329 |
+
"The last WordPress update is preventing me from editing my website that is "
|
330 |
+
"using this plugin. Why is this?"
|
331 |
+
msgstr ""
|
332 |
+
|
333 |
#: inc/php/page.php:167
|
334 |
+
msgid ""
|
335 |
+
"This plugin can not cause such problem. More likely, the problem are related "
|
336 |
+
"to the settings of the website. It could just be a cache, so please try to "
|
337 |
+
"clear your website's cache (may be you using a caching plugin, or some web "
|
338 |
+
"service such as the CloudFlare) and then the cache of your web browser. Also "
|
339 |
+
"please try to re-login to the website, this too can help."
|
340 |
+
msgstr ""
|
341 |
+
|
342 |
+
#: inc/php/page.php:169
|
343 |
msgid "Where to report bug if found?"
|
344 |
msgstr "Где можно сообщить об ошибке?"
|
345 |
|
346 |
+
#: inc/php/page.php:171
|
347 |
#, php-format
|
348 |
msgid "Please visit the %s Dedicated Plugin Page on GitHub %s and report."
|
349 |
msgstr ""
|
350 |
"Пожалуйста, посетите %s страницу плагина на GitHub %s и сообщите об ошибке."
|
351 |
|
352 |
+
#: inc/php/page.php:177
|
353 |
msgid "Where to share any ideas or suggestions to make the plugin better?"
|
354 |
msgstr ""
|
355 |
"Где можно поделиться идеями или предложениями, чтобы сделать плагин лучше?"
|
356 |
|
357 |
+
#: inc/php/page.php:179
|
358 |
#, php-format
|
359 |
msgid ""
|
360 |
"Any suggestions are very welcome! Please send me an email to %s "
|
361 |
"arthurgareginyan@gmail.com %s. Thank you!"
|
362 |
msgstr ""
|
363 |
|
364 |
+
#: inc/php/page.php:185
|
365 |
msgid "I love this plugin! Can I help somehow?"
|
366 |
msgstr "Мне нравится этот плагин! Могу Я чем-то помочь?"
|
367 |
|
368 |
+
#: inc/php/page.php:187
|
369 |
#, php-format
|
370 |
msgid ""
|
371 |
"Yes, any financial contributions are welcome! Just visit %s my website %s, "
|
422 |
msgid "Save Changes"
|
423 |
msgstr "Сохранить изменения"
|
424 |
|
425 |
+
#. Plugin Name of the plugin/theme
|
426 |
+
msgid "My Custom Functions"
|
427 |
+
msgstr "My Custom Functions"
|
428 |
+
|
429 |
#. Plugin URI of the plugin/theme
|
430 |
msgid "https://github.com/ArthurGareginyan/my-custom-functions"
|
431 |
msgstr "https://github.com/ArthurGareginyan/my-custom-functions"
|
languages/my-custom-functions-zh_TW.mo
CHANGED
Binary file
|
languages/my-custom-functions-zh_TW.po
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: My Custom Functions\n"
|
4 |
-
"POT-Creation-Date: 2017-05-
|
5 |
-
"PO-Revision-Date: 2017-05-
|
6 |
"Last-Translator: \n"
|
7 |
"Language-Team: \n"
|
8 |
"Language: zh_TW\n"
|
@@ -32,11 +32,6 @@ msgstr ""
|
|
32 |
msgid "Donate"
|
33 |
msgstr "捐款"
|
34 |
|
35 |
-
#. Plugin Name of the plugin/theme
|
36 |
-
#: inc/php/core.php:75 inc/php/page.php:27
|
37 |
-
msgid "My Custom Functions"
|
38 |
-
msgstr "我的自訂功能"
|
39 |
-
|
40 |
#: inc/php/core.php:75
|
41 |
msgid "Custom Functions"
|
42 |
msgstr "自訂功能"
|
@@ -79,7 +74,7 @@ msgstr ""
|
|
79 |
msgid "Main"
|
80 |
msgstr ""
|
81 |
|
82 |
-
#: inc/php/page.php:43 inc/php/page.php:
|
83 |
msgid "Usage"
|
84 |
msgstr ""
|
85 |
|
@@ -87,11 +82,11 @@ msgstr ""
|
|
87 |
msgid "F.A.Q."
|
88 |
msgstr ""
|
89 |
|
90 |
-
#: inc/php/page.php:45 inc/php/page.php:
|
91 |
msgid "Author"
|
92 |
msgstr ""
|
93 |
|
94 |
-
#: inc/php/page.php:46 inc/php/page.php:
|
95 |
#: inc/php/settings.php:90
|
96 |
msgid "Support"
|
97 |
msgstr ""
|
@@ -100,73 +95,73 @@ msgstr ""
|
|
100 |
msgid "Family"
|
101 |
msgstr ""
|
102 |
|
103 |
-
#: inc/php/page.php:
|
104 |
msgid ""
|
105 |
"To add your custom functions (the PHP code) to your website, simply follow "
|
106 |
"these steps:"
|
107 |
msgstr ""
|
108 |
|
109 |
-
#: inc/php/page.php:
|
110 |
msgid "Go to the \"Main\" tab."
|
111 |
msgstr ""
|
112 |
|
113 |
-
#: inc/php/page.php:
|
114 |
msgid ""
|
115 |
"Add your PHP code to the field, switch the toggle to the \"ON\" position and "
|
116 |
"click the \"Save Changes\" button."
|
117 |
msgstr ""
|
118 |
|
119 |
-
#: inc/php/page.php:
|
120 |
msgid "Example of PHP code:"
|
121 |
msgstr ""
|
122 |
|
123 |
-
#: inc/php/page.php:
|
124 |
msgid "Note!"
|
125 |
msgstr ""
|
126 |
|
127 |
-
#: inc/php/page.php:
|
128 |
msgid ""
|
129 |
"Please do not wrap your PHP code in the <code><?php</code>...<code>?></"
|
130 |
"code> HTML tags."
|
131 |
msgstr ""
|
132 |
|
133 |
-
#: inc/php/page.php:
|
134 |
msgid ""
|
135 |
"Before use, please read the instructions on the F.A.Q. tab on what to do in "
|
136 |
"case of a website crash."
|
137 |
msgstr ""
|
138 |
|
139 |
-
#: inc/php/page.php:
|
140 |
msgid "Enjoy the result of applying your PHP code."
|
141 |
msgstr ""
|
142 |
|
143 |
-
#: inc/php/page.php:
|
144 |
msgid "It's that simple!"
|
145 |
msgstr ""
|
146 |
|
147 |
-
#: inc/php/page.php:
|
148 |
msgid "If you want more options then tell me and I will be happy to add it."
|
149 |
msgstr "如果您還想要更多的選項請跟我說,我會很樂意加上去"
|
150 |
|
151 |
-
#: inc/php/page.php:
|
152 |
msgid "Frequently Asked Questions"
|
153 |
msgstr ""
|
154 |
|
155 |
-
#: inc/php/page.php:
|
156 |
msgid "Will this plugin work on my WordPress.COM website?"
|
157 |
msgstr ""
|
158 |
|
159 |
-
#: inc/php/page.php:
|
160 |
msgid ""
|
161 |
"Sorry, this plugin is available for use only on self-hosted (WordPress.ORG) "
|
162 |
"websites."
|
163 |
msgstr ""
|
164 |
|
165 |
-
#: inc/php/page.php:
|
166 |
msgid "Can I use this plugin on my language?"
|
167 |
msgstr ""
|
168 |
|
169 |
-
#: inc/php/page.php:
|
170 |
#, php-format
|
171 |
msgid ""
|
172 |
"Yes. But If your language is not available then you can make one. This "
|
@@ -177,92 +172,92 @@ msgid ""
|
|
177 |
"include the translation within the next plugin update."
|
178 |
msgstr ""
|
179 |
|
180 |
-
#: inc/php/page.php:
|
181 |
msgid "How does it work?"
|
182 |
msgstr ""
|
183 |
|
184 |
-
#: inc/php/page.php:
|
185 |
msgid ""
|
186 |
"On the \"Settings\" tab, add your PHP code to the field, switch the toggle "
|
187 |
"to the \"ON\" position and click the \"Save Changes\" button. Enjoy the "
|
188 |
"result of applying your PHP code. It's that simple!"
|
189 |
msgstr ""
|
190 |
|
191 |
-
#: inc/php/page.php:
|
192 |
msgid "Can I use HTML/CSS/JS code integrated in PHP code?"
|
193 |
msgstr ""
|
194 |
|
195 |
-
#: inc/php/page.php:
|
196 |
msgid "Yes. But you need to do it properly, like this:"
|
197 |
msgstr ""
|
198 |
|
199 |
-
#: inc/php/page.php:
|
200 |
msgid "How much of PHP code (characters) I can enter in the text field?"
|
201 |
msgstr ""
|
202 |
|
203 |
-
#: inc/php/page.php:
|
204 |
msgid "I don't limit the number of characters."
|
205 |
msgstr ""
|
206 |
|
207 |
-
#: inc/php/page.php:
|
208 |
msgid ""
|
209 |
"On the plugin settings page, an error message appears. What could be wrong?"
|
210 |
msgstr ""
|
211 |
|
212 |
-
#: inc/php/page.php:
|
213 |
msgid "Here are a few of the most likely causes of the error message:"
|
214 |
msgstr ""
|
215 |
|
216 |
-
#: inc/php/page.php:
|
217 |
msgid ""
|
218 |
"You make a syntax error in the code that you have entered. Check the syntax "
|
219 |
"of your code and try again."
|
220 |
msgstr ""
|
221 |
|
222 |
-
#: inc/php/page.php:
|
223 |
msgid ""
|
224 |
"You entered two functions with the same name. Use a unique names for your "
|
225 |
"functions."
|
226 |
msgstr ""
|
227 |
|
228 |
-
#: inc/php/page.php:
|
229 |
msgid ""
|
230 |
"You have entered function with a name that is already occupied by another "
|
231 |
"function. Use a unique name for your function."
|
232 |
msgstr ""
|
233 |
|
234 |
-
#: inc/php/page.php:
|
235 |
msgid ""
|
236 |
"You are trying to overwrite an existing function (of WordPress, theme, or "
|
237 |
"plugin). Instead, use filters and hooks."
|
238 |
msgstr ""
|
239 |
|
240 |
-
#: inc/php/page.php:
|
241 |
msgid "Does this plugin requires any modification of the theme?"
|
242 |
msgstr ""
|
243 |
|
244 |
-
#: inc/php/page.php:
|
245 |
msgid ""
|
246 |
"Absolutely not. This plugin is configurable entirely from the plugin "
|
247 |
"settings page."
|
248 |
msgstr ""
|
249 |
|
250 |
-
#: inc/php/page.php:
|
251 |
msgid "Does this require any knowledge of HTML or CSS?"
|
252 |
msgstr ""
|
253 |
|
254 |
-
#: inc/php/page.php:
|
255 |
msgid ""
|
256 |
"This plugin can be configured with no knowledge of HTML or CSS, using an "
|
257 |
"easy-to-use plugin settings page. But you need to know the HTML or CSS in "
|
258 |
"order to add/remove/modify the HTML or CSS code by using this plugin."
|
259 |
msgstr ""
|
260 |
|
261 |
-
#: inc/php/page.php:
|
262 |
msgid "It's not working. What could be wrong?"
|
263 |
msgstr ""
|
264 |
|
265 |
-
#: inc/php/page.php:
|
266 |
msgid ""
|
267 |
"As with every plugin, it's possible that things don't work. The most common "
|
268 |
"reason for this is a web browser's cache. Every web browser stores a cache "
|
@@ -271,7 +266,7 @@ msgid ""
|
|
271 |
"browser's cache may solve the problem."
|
272 |
msgstr ""
|
273 |
|
274 |
-
#: inc/php/page.php:
|
275 |
msgid ""
|
276 |
"It's impossible to tell what could be wrong exactly, but if you post a "
|
277 |
"support request in the plugin's support forum on WordPress.org, I'd be happy "
|
@@ -279,11 +274,11 @@ msgid ""
|
|
279 |
"possible, including a link to your website where the problem can be seen."
|
280 |
msgstr ""
|
281 |
|
282 |
-
#: inc/php/page.php:
|
283 |
msgid "What to do if this plugin caused the white screen (WSOD)?"
|
284 |
msgstr ""
|
285 |
|
286 |
-
#: inc/php/page.php:
|
287 |
msgid ""
|
288 |
"This plugin is not perfect, so there are times when the entered custom code "
|
289 |
"causes the error and white screen (WSOD). This is due to the fact that your "
|
@@ -291,25 +286,25 @@ msgid ""
|
|
291 |
"happened with you then do the following and all will be fine."
|
292 |
msgstr ""
|
293 |
|
294 |
-
#: inc/php/page.php:
|
295 |
msgid ""
|
296 |
"Via FTP, go to the plugin folder (in <code>wp-content/plugins/my-custom-"
|
297 |
"functions/</code>). Rename the \"START\" file to \"STOP\"."
|
298 |
msgstr ""
|
299 |
|
300 |
-
#: inc/php/page.php:
|
301 |
msgid "Return to the plugin settings page."
|
302 |
msgstr ""
|
303 |
|
304 |
-
#: inc/php/page.php:
|
305 |
msgid "Edit/fix your custom code that you entered before the crash."
|
306 |
msgstr ""
|
307 |
|
308 |
-
#: inc/php/page.php:
|
309 |
msgid "Rename the \"STOP\" file to \"START\" and you're done!"
|
310 |
msgstr ""
|
311 |
|
312 |
-
#: inc/php/page.php:
|
313 |
msgid ""
|
314 |
"This plugin stored you entered code in the Database of your website. For "
|
315 |
"getting your code, you also can go to the <code>Database</code> ➡ "
|
@@ -317,31 +312,46 @@ msgid ""
|
|
317 |
"<code>anarcho_cfunctions_settings</code> ➡ <code>option_value</code>."
|
318 |
msgstr ""
|
319 |
|
|
|
|
|
|
|
|
|
|
|
|
|
320 |
#: inc/php/page.php:167
|
321 |
-
msgid "
|
|
|
|
|
|
|
|
|
|
|
322 |
msgstr ""
|
323 |
|
324 |
#: inc/php/page.php:169
|
|
|
|
|
|
|
|
|
325 |
#, php-format
|
326 |
msgid "Please visit the %s Dedicated Plugin Page on GitHub %s and report."
|
327 |
msgstr ""
|
328 |
|
329 |
-
#: inc/php/page.php:
|
330 |
msgid "Where to share any ideas or suggestions to make the plugin better?"
|
331 |
msgstr ""
|
332 |
|
333 |
-
#: inc/php/page.php:
|
334 |
#, php-format
|
335 |
msgid ""
|
336 |
"Any suggestions are very welcome! Please send me an email to %s "
|
337 |
"arthurgareginyan@gmail.com %s. Thank you!"
|
338 |
msgstr ""
|
339 |
|
340 |
-
#: inc/php/page.php:
|
341 |
msgid "I love this plugin! Can I help somehow?"
|
342 |
msgstr ""
|
343 |
|
344 |
-
#: inc/php/page.php:
|
345 |
#, php-format
|
346 |
msgid ""
|
347 |
"Yes, any financial contributions are welcome! Just visit %s my website %s, "
|
@@ -393,6 +403,10 @@ msgstr ""
|
|
393 |
msgid "Save Changes"
|
394 |
msgstr "儲存變更"
|
395 |
|
|
|
|
|
|
|
|
|
396 |
#. Plugin URI of the plugin/theme
|
397 |
msgid "https://github.com/ArthurGareginyan/my-custom-functions"
|
398 |
msgstr ""
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: My Custom Functions\n"
|
4 |
+
"POT-Creation-Date: 2017-05-23 08:34+0300\n"
|
5 |
+
"PO-Revision-Date: 2017-05-23 08:34+0300\n"
|
6 |
"Last-Translator: \n"
|
7 |
"Language-Team: \n"
|
8 |
"Language: zh_TW\n"
|
32 |
msgid "Donate"
|
33 |
msgstr "捐款"
|
34 |
|
|
|
|
|
|
|
|
|
|
|
35 |
#: inc/php/core.php:75
|
36 |
msgid "Custom Functions"
|
37 |
msgstr "自訂功能"
|
74 |
msgid "Main"
|
75 |
msgstr ""
|
76 |
|
77 |
+
#: inc/php/page.php:43 inc/php/page.php:62
|
78 |
msgid "Usage"
|
79 |
msgstr ""
|
80 |
|
82 |
msgid "F.A.Q."
|
83 |
msgstr ""
|
84 |
|
85 |
+
#: inc/php/page.php:45 inc/php/page.php:201
|
86 |
msgid "Author"
|
87 |
msgstr ""
|
88 |
|
89 |
+
#: inc/php/page.php:46 inc/php/page.php:210 inc/php/settings.php:37
|
90 |
#: inc/php/settings.php:90
|
91 |
msgid "Support"
|
92 |
msgstr ""
|
95 |
msgid "Family"
|
96 |
msgstr ""
|
97 |
|
98 |
+
#: inc/php/page.php:64
|
99 |
msgid ""
|
100 |
"To add your custom functions (the PHP code) to your website, simply follow "
|
101 |
"these steps:"
|
102 |
msgstr ""
|
103 |
|
104 |
+
#: inc/php/page.php:66
|
105 |
msgid "Go to the \"Main\" tab."
|
106 |
msgstr ""
|
107 |
|
108 |
+
#: inc/php/page.php:67
|
109 |
msgid ""
|
110 |
"Add your PHP code to the field, switch the toggle to the \"ON\" position and "
|
111 |
"click the \"Save Changes\" button."
|
112 |
msgstr ""
|
113 |
|
114 |
+
#: inc/php/page.php:68
|
115 |
msgid "Example of PHP code:"
|
116 |
msgstr ""
|
117 |
|
118 |
+
#: inc/php/page.php:74 inc/php/page.php:75 inc/php/page.php:79
|
119 |
msgid "Note!"
|
120 |
msgstr ""
|
121 |
|
122 |
+
#: inc/php/page.php:74
|
123 |
msgid ""
|
124 |
"Please do not wrap your PHP code in the <code><?php</code>...<code>?></"
|
125 |
"code> HTML tags."
|
126 |
msgstr ""
|
127 |
|
128 |
+
#: inc/php/page.php:75
|
129 |
msgid ""
|
130 |
"Before use, please read the instructions on the F.A.Q. tab on what to do in "
|
131 |
"case of a website crash."
|
132 |
msgstr ""
|
133 |
|
134 |
+
#: inc/php/page.php:77
|
135 |
msgid "Enjoy the result of applying your PHP code."
|
136 |
msgstr ""
|
137 |
|
138 |
+
#: inc/php/page.php:77
|
139 |
msgid "It's that simple!"
|
140 |
msgstr ""
|
141 |
|
142 |
+
#: inc/php/page.php:79
|
143 |
msgid "If you want more options then tell me and I will be happy to add it."
|
144 |
msgstr "如果您還想要更多的選項請跟我說,我會很樂意加上去"
|
145 |
|
146 |
+
#: inc/php/page.php:88
|
147 |
msgid "Frequently Asked Questions"
|
148 |
msgstr ""
|
149 |
|
150 |
+
#: inc/php/page.php:110
|
151 |
msgid "Will this plugin work on my WordPress.COM website?"
|
152 |
msgstr ""
|
153 |
|
154 |
+
#: inc/php/page.php:111
|
155 |
msgid ""
|
156 |
"Sorry, this plugin is available for use only on self-hosted (WordPress.ORG) "
|
157 |
"websites."
|
158 |
msgstr ""
|
159 |
|
160 |
+
#: inc/php/page.php:113
|
161 |
msgid "Can I use this plugin on my language?"
|
162 |
msgstr ""
|
163 |
|
164 |
+
#: inc/php/page.php:115
|
165 |
#, php-format
|
166 |
msgid ""
|
167 |
"Yes. But If your language is not available then you can make one. This "
|
172 |
"include the translation within the next plugin update."
|
173 |
msgstr ""
|
174 |
|
175 |
+
#: inc/php/page.php:120
|
176 |
msgid "How does it work?"
|
177 |
msgstr ""
|
178 |
|
179 |
+
#: inc/php/page.php:121
|
180 |
msgid ""
|
181 |
"On the \"Settings\" tab, add your PHP code to the field, switch the toggle "
|
182 |
"to the \"ON\" position and click the \"Save Changes\" button. Enjoy the "
|
183 |
"result of applying your PHP code. It's that simple!"
|
184 |
msgstr ""
|
185 |
|
186 |
+
#: inc/php/page.php:123
|
187 |
msgid "Can I use HTML/CSS/JS code integrated in PHP code?"
|
188 |
msgstr ""
|
189 |
|
190 |
+
#: inc/php/page.php:124
|
191 |
msgid "Yes. But you need to do it properly, like this:"
|
192 |
msgstr ""
|
193 |
|
194 |
+
#: inc/php/page.php:134
|
195 |
msgid "How much of PHP code (characters) I can enter in the text field?"
|
196 |
msgstr ""
|
197 |
|
198 |
+
#: inc/php/page.php:135
|
199 |
msgid "I don't limit the number of characters."
|
200 |
msgstr ""
|
201 |
|
202 |
+
#: inc/php/page.php:137
|
203 |
msgid ""
|
204 |
"On the plugin settings page, an error message appears. What could be wrong?"
|
205 |
msgstr ""
|
206 |
|
207 |
+
#: inc/php/page.php:138
|
208 |
msgid "Here are a few of the most likely causes of the error message:"
|
209 |
msgstr ""
|
210 |
|
211 |
+
#: inc/php/page.php:140
|
212 |
msgid ""
|
213 |
"You make a syntax error in the code that you have entered. Check the syntax "
|
214 |
"of your code and try again."
|
215 |
msgstr ""
|
216 |
|
217 |
+
#: inc/php/page.php:141
|
218 |
msgid ""
|
219 |
"You entered two functions with the same name. Use a unique names for your "
|
220 |
"functions."
|
221 |
msgstr ""
|
222 |
|
223 |
+
#: inc/php/page.php:142
|
224 |
msgid ""
|
225 |
"You have entered function with a name that is already occupied by another "
|
226 |
"function. Use a unique name for your function."
|
227 |
msgstr ""
|
228 |
|
229 |
+
#: inc/php/page.php:143
|
230 |
msgid ""
|
231 |
"You are trying to overwrite an existing function (of WordPress, theme, or "
|
232 |
"plugin). Instead, use filters and hooks."
|
233 |
msgstr ""
|
234 |
|
235 |
+
#: inc/php/page.php:146
|
236 |
msgid "Does this plugin requires any modification of the theme?"
|
237 |
msgstr ""
|
238 |
|
239 |
+
#: inc/php/page.php:147
|
240 |
msgid ""
|
241 |
"Absolutely not. This plugin is configurable entirely from the plugin "
|
242 |
"settings page."
|
243 |
msgstr ""
|
244 |
|
245 |
+
#: inc/php/page.php:149
|
246 |
msgid "Does this require any knowledge of HTML or CSS?"
|
247 |
msgstr ""
|
248 |
|
249 |
+
#: inc/php/page.php:150
|
250 |
msgid ""
|
251 |
"This plugin can be configured with no knowledge of HTML or CSS, using an "
|
252 |
"easy-to-use plugin settings page. But you need to know the HTML or CSS in "
|
253 |
"order to add/remove/modify the HTML or CSS code by using this plugin."
|
254 |
msgstr ""
|
255 |
|
256 |
+
#: inc/php/page.php:152
|
257 |
msgid "It's not working. What could be wrong?"
|
258 |
msgstr ""
|
259 |
|
260 |
+
#: inc/php/page.php:153
|
261 |
msgid ""
|
262 |
"As with every plugin, it's possible that things don't work. The most common "
|
263 |
"reason for this is a web browser's cache. Every web browser stores a cache "
|
266 |
"browser's cache may solve the problem."
|
267 |
msgstr ""
|
268 |
|
269 |
+
#: inc/php/page.php:154
|
270 |
msgid ""
|
271 |
"It's impossible to tell what could be wrong exactly, but if you post a "
|
272 |
"support request in the plugin's support forum on WordPress.org, I'd be happy "
|
274 |
"possible, including a link to your website where the problem can be seen."
|
275 |
msgstr ""
|
276 |
|
277 |
+
#: inc/php/page.php:156
|
278 |
msgid "What to do if this plugin caused the white screen (WSOD)?"
|
279 |
msgstr ""
|
280 |
|
281 |
+
#: inc/php/page.php:157
|
282 |
msgid ""
|
283 |
"This plugin is not perfect, so there are times when the entered custom code "
|
284 |
"causes the error and white screen (WSOD). This is due to the fact that your "
|
286 |
"happened with you then do the following and all will be fine."
|
287 |
msgstr ""
|
288 |
|
289 |
+
#: inc/php/page.php:159
|
290 |
msgid ""
|
291 |
"Via FTP, go to the plugin folder (in <code>wp-content/plugins/my-custom-"
|
292 |
"functions/</code>). Rename the \"START\" file to \"STOP\"."
|
293 |
msgstr ""
|
294 |
|
295 |
+
#: inc/php/page.php:160
|
296 |
msgid "Return to the plugin settings page."
|
297 |
msgstr ""
|
298 |
|
299 |
+
#: inc/php/page.php:161
|
300 |
msgid "Edit/fix your custom code that you entered before the crash."
|
301 |
msgstr ""
|
302 |
|
303 |
+
#: inc/php/page.php:162
|
304 |
msgid "Rename the \"STOP\" file to \"START\" and you're done!"
|
305 |
msgstr ""
|
306 |
|
307 |
+
#: inc/php/page.php:164
|
308 |
msgid ""
|
309 |
"This plugin stored you entered code in the Database of your website. For "
|
310 |
"getting your code, you also can go to the <code>Database</code> ➡ "
|
312 |
"<code>anarcho_cfunctions_settings</code> ➡ <code>option_value</code>."
|
313 |
msgstr ""
|
314 |
|
315 |
+
#: inc/php/page.php:166
|
316 |
+
msgid ""
|
317 |
+
"The last WordPress update is preventing me from editing my website that is "
|
318 |
+
"using this plugin. Why is this?"
|
319 |
+
msgstr ""
|
320 |
+
|
321 |
#: inc/php/page.php:167
|
322 |
+
msgid ""
|
323 |
+
"This plugin can not cause such problem. More likely, the problem are related "
|
324 |
+
"to the settings of the website. It could just be a cache, so please try to "
|
325 |
+
"clear your website's cache (may be you using a caching plugin, or some web "
|
326 |
+
"service such as the CloudFlare) and then the cache of your web browser. Also "
|
327 |
+
"please try to re-login to the website, this too can help."
|
328 |
msgstr ""
|
329 |
|
330 |
#: inc/php/page.php:169
|
331 |
+
msgid "Where to report bug if found?"
|
332 |
+
msgstr ""
|
333 |
+
|
334 |
+
#: inc/php/page.php:171
|
335 |
#, php-format
|
336 |
msgid "Please visit the %s Dedicated Plugin Page on GitHub %s and report."
|
337 |
msgstr ""
|
338 |
|
339 |
+
#: inc/php/page.php:177
|
340 |
msgid "Where to share any ideas or suggestions to make the plugin better?"
|
341 |
msgstr ""
|
342 |
|
343 |
+
#: inc/php/page.php:179
|
344 |
#, php-format
|
345 |
msgid ""
|
346 |
"Any suggestions are very welcome! Please send me an email to %s "
|
347 |
"arthurgareginyan@gmail.com %s. Thank you!"
|
348 |
msgstr ""
|
349 |
|
350 |
+
#: inc/php/page.php:185
|
351 |
msgid "I love this plugin! Can I help somehow?"
|
352 |
msgstr ""
|
353 |
|
354 |
+
#: inc/php/page.php:187
|
355 |
#, php-format
|
356 |
msgid ""
|
357 |
"Yes, any financial contributions are welcome! Just visit %s my website %s, "
|
403 |
msgid "Save Changes"
|
404 |
msgstr "儲存變更"
|
405 |
|
406 |
+
#. Plugin Name of the plugin/theme
|
407 |
+
msgid "My Custom Functions"
|
408 |
+
msgstr "我的自訂功能"
|
409 |
+
|
410 |
#. Plugin URI of the plugin/theme
|
411 |
msgid "https://github.com/ArthurGareginyan/my-custom-functions"
|
412 |
msgstr ""
|
languages/my-custom-functions.pot
CHANGED
@@ -3,7 +3,7 @@ msgid ""
|
|
3 |
msgstr ""
|
4 |
"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
|
5 |
"Project-Id-Version: My Custom Functions\n"
|
6 |
-
"POT-Creation-Date: 2017-05-
|
7 |
"PO-Revision-Date: 2015-08-30 16:22+0300\n"
|
8 |
"Last-Translator: \n"
|
9 |
"Language-Team: \n"
|
@@ -32,11 +32,6 @@ msgstr ""
|
|
32 |
msgid "Donate"
|
33 |
msgstr ""
|
34 |
|
35 |
-
#. Plugin Name of the plugin/theme
|
36 |
-
#: inc/php/core.php:75 inc/php/page.php:27
|
37 |
-
msgid "My Custom Functions"
|
38 |
-
msgstr ""
|
39 |
-
|
40 |
#: inc/php/core.php:75
|
41 |
msgid "Custom Functions"
|
42 |
msgstr ""
|
@@ -79,7 +74,7 @@ msgstr ""
|
|
79 |
msgid "Main"
|
80 |
msgstr ""
|
81 |
|
82 |
-
#: inc/php/page.php:43 inc/php/page.php:
|
83 |
msgid "Usage"
|
84 |
msgstr ""
|
85 |
|
@@ -87,11 +82,11 @@ msgstr ""
|
|
87 |
msgid "F.A.Q."
|
88 |
msgstr ""
|
89 |
|
90 |
-
#: inc/php/page.php:45 inc/php/page.php:
|
91 |
msgid "Author"
|
92 |
msgstr ""
|
93 |
|
94 |
-
#: inc/php/page.php:46 inc/php/page.php:
|
95 |
msgid "Support"
|
96 |
msgstr ""
|
97 |
|
@@ -99,66 +94,66 @@ msgstr ""
|
|
99 |
msgid "Family"
|
100 |
msgstr ""
|
101 |
|
102 |
-
#: inc/php/page.php:
|
103 |
msgid "To add your custom functions (the PHP code) to your website, simply follow these steps:"
|
104 |
msgstr ""
|
105 |
|
106 |
-
#: inc/php/page.php:
|
107 |
msgid "Go to the \"Main\" tab."
|
108 |
msgstr ""
|
109 |
|
110 |
-
#: inc/php/page.php:
|
111 |
msgid ""
|
112 |
"Add your PHP code to the field, switch the toggle to the \"ON\" position and click the \"Save "
|
113 |
"Changes\" button."
|
114 |
msgstr ""
|
115 |
|
116 |
-
#: inc/php/page.php:
|
117 |
msgid "Example of PHP code:"
|
118 |
msgstr ""
|
119 |
|
120 |
-
#: inc/php/page.php:
|
121 |
msgid "Note!"
|
122 |
msgstr ""
|
123 |
|
124 |
-
#: inc/php/page.php:
|
125 |
msgid "Please do not wrap your PHP code in the <code><?php</code>...<code>?></code> HTML tags."
|
126 |
msgstr ""
|
127 |
|
128 |
-
#: inc/php/page.php:
|
129 |
msgid ""
|
130 |
"Before use, please read the instructions on the F.A.Q. tab on what to do in case of a website crash."
|
131 |
msgstr ""
|
132 |
|
133 |
-
#: inc/php/page.php:
|
134 |
msgid "Enjoy the result of applying your PHP code."
|
135 |
msgstr ""
|
136 |
|
137 |
-
#: inc/php/page.php:
|
138 |
msgid "It's that simple!"
|
139 |
msgstr ""
|
140 |
|
141 |
-
#: inc/php/page.php:
|
142 |
msgid "If you want more options then tell me and I will be happy to add it."
|
143 |
msgstr ""
|
144 |
|
145 |
-
#: inc/php/page.php:
|
146 |
msgid "Frequently Asked Questions"
|
147 |
msgstr ""
|
148 |
|
149 |
-
#: inc/php/page.php:
|
150 |
msgid "Will this plugin work on my WordPress.COM website?"
|
151 |
msgstr ""
|
152 |
|
153 |
-
#: inc/php/page.php:
|
154 |
msgid "Sorry, this plugin is available for use only on self-hosted (WordPress.ORG) websites."
|
155 |
msgstr ""
|
156 |
|
157 |
-
#: inc/php/page.php:
|
158 |
msgid "Can I use this plugin on my language?"
|
159 |
msgstr ""
|
160 |
|
161 |
-
#: inc/php/page.php:
|
162 |
#, php-format
|
163 |
msgid ""
|
164 |
"Yes. But If your language is not available then you can make one. This plugin is ready for "
|
@@ -168,86 +163,86 @@ msgid ""
|
|
168 |
"translation within the next plugin update."
|
169 |
msgstr ""
|
170 |
|
171 |
-
#: inc/php/page.php:
|
172 |
msgid "How does it work?"
|
173 |
msgstr ""
|
174 |
|
175 |
-
#: inc/php/page.php:
|
176 |
msgid ""
|
177 |
"On the \"Settings\" tab, add your PHP code to the field, switch the toggle to the \"ON\" position "
|
178 |
"and click the \"Save Changes\" button. Enjoy the result of applying your PHP code. It's that simple!"
|
179 |
msgstr ""
|
180 |
|
181 |
-
#: inc/php/page.php:
|
182 |
msgid "Can I use HTML/CSS/JS code integrated in PHP code?"
|
183 |
msgstr ""
|
184 |
|
185 |
-
#: inc/php/page.php:
|
186 |
msgid "Yes. But you need to do it properly, like this:"
|
187 |
msgstr ""
|
188 |
|
189 |
-
#: inc/php/page.php:
|
190 |
msgid "How much of PHP code (characters) I can enter in the text field?"
|
191 |
msgstr ""
|
192 |
|
193 |
-
#: inc/php/page.php:
|
194 |
msgid "I don't limit the number of characters."
|
195 |
msgstr ""
|
196 |
|
197 |
-
#: inc/php/page.php:
|
198 |
msgid "On the plugin settings page, an error message appears. What could be wrong?"
|
199 |
msgstr ""
|
200 |
|
201 |
-
#: inc/php/page.php:
|
202 |
msgid "Here are a few of the most likely causes of the error message:"
|
203 |
msgstr ""
|
204 |
|
205 |
-
#: inc/php/page.php:
|
206 |
msgid ""
|
207 |
"You make a syntax error in the code that you have entered. Check the syntax of your code and try "
|
208 |
"again."
|
209 |
msgstr ""
|
210 |
|
211 |
-
#: inc/php/page.php:
|
212 |
msgid "You entered two functions with the same name. Use a unique names for your functions."
|
213 |
msgstr ""
|
214 |
|
215 |
-
#: inc/php/page.php:
|
216 |
msgid ""
|
217 |
"You have entered function with a name that is already occupied by another function. Use a unique "
|
218 |
"name for your function."
|
219 |
msgstr ""
|
220 |
|
221 |
-
#: inc/php/page.php:
|
222 |
msgid ""
|
223 |
"You are trying to overwrite an existing function (of WordPress, theme, or plugin). Instead, use "
|
224 |
"filters and hooks."
|
225 |
msgstr ""
|
226 |
|
227 |
-
#: inc/php/page.php:
|
228 |
msgid "Does this plugin requires any modification of the theme?"
|
229 |
msgstr ""
|
230 |
|
231 |
-
#: inc/php/page.php:
|
232 |
msgid "Absolutely not. This plugin is configurable entirely from the plugin settings page."
|
233 |
msgstr ""
|
234 |
|
235 |
-
#: inc/php/page.php:
|
236 |
msgid "Does this require any knowledge of HTML or CSS?"
|
237 |
msgstr ""
|
238 |
|
239 |
-
#: inc/php/page.php:
|
240 |
msgid ""
|
241 |
"This plugin can be configured with no knowledge of HTML or CSS, using an easy-to-use plugin "
|
242 |
"settings page. But you need to know the HTML or CSS in order to add/remove/modify the HTML or CSS "
|
243 |
"code by using this plugin."
|
244 |
msgstr ""
|
245 |
|
246 |
-
#: inc/php/page.php:
|
247 |
msgid "It's not working. What could be wrong?"
|
248 |
msgstr ""
|
249 |
|
250 |
-
#: inc/php/page.php:
|
251 |
msgid ""
|
252 |
"As with every plugin, it's possible that things don't work. The most common reason for this is a "
|
253 |
"web browser's cache. Every web browser stores a cache of the websites you visit (pages, images, and "
|
@@ -255,7 +250,7 @@ msgid ""
|
|
255 |
"browser's cache may solve the problem."
|
256 |
msgstr ""
|
257 |
|
258 |
-
#: inc/php/page.php:
|
259 |
msgid ""
|
260 |
"It's impossible to tell what could be wrong exactly, but if you post a support request in the "
|
261 |
"plugin's support forum on WordPress.org, I'd be happy to give it a look and try to help out. Please "
|
@@ -263,67 +258,81 @@ msgid ""
|
|
263 |
"seen."
|
264 |
msgstr ""
|
265 |
|
266 |
-
#: inc/php/page.php:
|
267 |
msgid "What to do if this plugin caused the white screen (WSOD)?"
|
268 |
msgstr ""
|
269 |
|
270 |
-
#: inc/php/page.php:
|
271 |
msgid ""
|
272 |
"This plugin is not perfect, so there are times when the entered custom code causes the error and "
|
273 |
"white screen (WSOD). This is due to the fact that your custom code has a syntax error that this "
|
274 |
"plugin could not detect. If this happened with you then do the following and all will be fine."
|
275 |
msgstr ""
|
276 |
|
277 |
-
#: inc/php/page.php:
|
278 |
msgid ""
|
279 |
"Via FTP, go to the plugin folder (in <code>wp-content/plugins/my-custom-functions/</code>). Rename "
|
280 |
"the \"START\" file to \"STOP\"."
|
281 |
msgstr ""
|
282 |
|
283 |
-
#: inc/php/page.php:
|
284 |
msgid "Return to the plugin settings page."
|
285 |
msgstr ""
|
286 |
|
287 |
-
#: inc/php/page.php:
|
288 |
msgid "Edit/fix your custom code that you entered before the crash."
|
289 |
msgstr ""
|
290 |
|
291 |
-
#: inc/php/page.php:
|
292 |
msgid "Rename the \"STOP\" file to \"START\" and you're done!"
|
293 |
msgstr ""
|
294 |
|
295 |
-
#: inc/php/page.php:
|
296 |
msgid ""
|
297 |
"This plugin stored you entered code in the Database of your website. For getting your code, you "
|
298 |
"also can go to the <code>Database</code> ➡ Table <code>wp_options</code> ➡ Option "
|
299 |
"<code>anarcho_cfunctions_settings</code> ➡ <code>option_value</code>."
|
300 |
msgstr ""
|
301 |
|
|
|
|
|
|
|
|
|
|
|
|
|
302 |
#: inc/php/page.php:167
|
303 |
-
msgid "
|
|
|
|
|
|
|
|
|
304 |
msgstr ""
|
305 |
|
306 |
#: inc/php/page.php:169
|
|
|
|
|
|
|
|
|
307 |
#, php-format
|
308 |
msgid "Please visit the %s Dedicated Plugin Page on GitHub %s and report."
|
309 |
msgstr ""
|
310 |
|
311 |
-
#: inc/php/page.php:
|
312 |
msgid "Where to share any ideas or suggestions to make the plugin better?"
|
313 |
msgstr ""
|
314 |
|
315 |
-
#: inc/php/page.php:
|
316 |
#, php-format
|
317 |
msgid ""
|
318 |
"Any suggestions are very welcome! Please send me an email to %s arthurgareginyan@gmail.com %s. "
|
319 |
"Thank you!"
|
320 |
msgstr ""
|
321 |
|
322 |
-
#: inc/php/page.php:
|
323 |
msgid "I love this plugin! Can I help somehow?"
|
324 |
msgstr ""
|
325 |
|
326 |
-
#: inc/php/page.php:
|
327 |
#, php-format
|
328 |
msgid ""
|
329 |
"Yes, any financial contributions are welcome! Just visit %s my website %s, click on the donate "
|
@@ -373,6 +382,10 @@ msgstr ""
|
|
373 |
msgid "Save Changes"
|
374 |
msgstr ""
|
375 |
|
|
|
|
|
|
|
|
|
376 |
#. Plugin URI of the plugin/theme
|
377 |
msgid "https://github.com/ArthurGareginyan/my-custom-functions"
|
378 |
msgstr ""
|
3 |
msgstr ""
|
4 |
"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
|
5 |
"Project-Id-Version: My Custom Functions\n"
|
6 |
+
"POT-Creation-Date: 2017-05-23 08:33+0300\n"
|
7 |
"PO-Revision-Date: 2015-08-30 16:22+0300\n"
|
8 |
"Last-Translator: \n"
|
9 |
"Language-Team: \n"
|
32 |
msgid "Donate"
|
33 |
msgstr ""
|
34 |
|
|
|
|
|
|
|
|
|
|
|
35 |
#: inc/php/core.php:75
|
36 |
msgid "Custom Functions"
|
37 |
msgstr ""
|
74 |
msgid "Main"
|
75 |
msgstr ""
|
76 |
|
77 |
+
#: inc/php/page.php:43 inc/php/page.php:62
|
78 |
msgid "Usage"
|
79 |
msgstr ""
|
80 |
|
82 |
msgid "F.A.Q."
|
83 |
msgstr ""
|
84 |
|
85 |
+
#: inc/php/page.php:45 inc/php/page.php:201
|
86 |
msgid "Author"
|
87 |
msgstr ""
|
88 |
|
89 |
+
#: inc/php/page.php:46 inc/php/page.php:210 inc/php/settings.php:37 inc/php/settings.php:90
|
90 |
msgid "Support"
|
91 |
msgstr ""
|
92 |
|
94 |
msgid "Family"
|
95 |
msgstr ""
|
96 |
|
97 |
+
#: inc/php/page.php:64
|
98 |
msgid "To add your custom functions (the PHP code) to your website, simply follow these steps:"
|
99 |
msgstr ""
|
100 |
|
101 |
+
#: inc/php/page.php:66
|
102 |
msgid "Go to the \"Main\" tab."
|
103 |
msgstr ""
|
104 |
|
105 |
+
#: inc/php/page.php:67
|
106 |
msgid ""
|
107 |
"Add your PHP code to the field, switch the toggle to the \"ON\" position and click the \"Save "
|
108 |
"Changes\" button."
|
109 |
msgstr ""
|
110 |
|
111 |
+
#: inc/php/page.php:68
|
112 |
msgid "Example of PHP code:"
|
113 |
msgstr ""
|
114 |
|
115 |
+
#: inc/php/page.php:74 inc/php/page.php:75 inc/php/page.php:79
|
116 |
msgid "Note!"
|
117 |
msgstr ""
|
118 |
|
119 |
+
#: inc/php/page.php:74
|
120 |
msgid "Please do not wrap your PHP code in the <code><?php</code>...<code>?></code> HTML tags."
|
121 |
msgstr ""
|
122 |
|
123 |
+
#: inc/php/page.php:75
|
124 |
msgid ""
|
125 |
"Before use, please read the instructions on the F.A.Q. tab on what to do in case of a website crash."
|
126 |
msgstr ""
|
127 |
|
128 |
+
#: inc/php/page.php:77
|
129 |
msgid "Enjoy the result of applying your PHP code."
|
130 |
msgstr ""
|
131 |
|
132 |
+
#: inc/php/page.php:77
|
133 |
msgid "It's that simple!"
|
134 |
msgstr ""
|
135 |
|
136 |
+
#: inc/php/page.php:79
|
137 |
msgid "If you want more options then tell me and I will be happy to add it."
|
138 |
msgstr ""
|
139 |
|
140 |
+
#: inc/php/page.php:88
|
141 |
msgid "Frequently Asked Questions"
|
142 |
msgstr ""
|
143 |
|
144 |
+
#: inc/php/page.php:110
|
145 |
msgid "Will this plugin work on my WordPress.COM website?"
|
146 |
msgstr ""
|
147 |
|
148 |
+
#: inc/php/page.php:111
|
149 |
msgid "Sorry, this plugin is available for use only on self-hosted (WordPress.ORG) websites."
|
150 |
msgstr ""
|
151 |
|
152 |
+
#: inc/php/page.php:113
|
153 |
msgid "Can I use this plugin on my language?"
|
154 |
msgstr ""
|
155 |
|
156 |
+
#: inc/php/page.php:115
|
157 |
#, php-format
|
158 |
msgid ""
|
159 |
"Yes. But If your language is not available then you can make one. This plugin is ready for "
|
163 |
"translation within the next plugin update."
|
164 |
msgstr ""
|
165 |
|
166 |
+
#: inc/php/page.php:120
|
167 |
msgid "How does it work?"
|
168 |
msgstr ""
|
169 |
|
170 |
+
#: inc/php/page.php:121
|
171 |
msgid ""
|
172 |
"On the \"Settings\" tab, add your PHP code to the field, switch the toggle to the \"ON\" position "
|
173 |
"and click the \"Save Changes\" button. Enjoy the result of applying your PHP code. It's that simple!"
|
174 |
msgstr ""
|
175 |
|
176 |
+
#: inc/php/page.php:123
|
177 |
msgid "Can I use HTML/CSS/JS code integrated in PHP code?"
|
178 |
msgstr ""
|
179 |
|
180 |
+
#: inc/php/page.php:124
|
181 |
msgid "Yes. But you need to do it properly, like this:"
|
182 |
msgstr ""
|
183 |
|
184 |
+
#: inc/php/page.php:134
|
185 |
msgid "How much of PHP code (characters) I can enter in the text field?"
|
186 |
msgstr ""
|
187 |
|
188 |
+
#: inc/php/page.php:135
|
189 |
msgid "I don't limit the number of characters."
|
190 |
msgstr ""
|
191 |
|
192 |
+
#: inc/php/page.php:137
|
193 |
msgid "On the plugin settings page, an error message appears. What could be wrong?"
|
194 |
msgstr ""
|
195 |
|
196 |
+
#: inc/php/page.php:138
|
197 |
msgid "Here are a few of the most likely causes of the error message:"
|
198 |
msgstr ""
|
199 |
|
200 |
+
#: inc/php/page.php:140
|
201 |
msgid ""
|
202 |
"You make a syntax error in the code that you have entered. Check the syntax of your code and try "
|
203 |
"again."
|
204 |
msgstr ""
|
205 |
|
206 |
+
#: inc/php/page.php:141
|
207 |
msgid "You entered two functions with the same name. Use a unique names for your functions."
|
208 |
msgstr ""
|
209 |
|
210 |
+
#: inc/php/page.php:142
|
211 |
msgid ""
|
212 |
"You have entered function with a name that is already occupied by another function. Use a unique "
|
213 |
"name for your function."
|
214 |
msgstr ""
|
215 |
|
216 |
+
#: inc/php/page.php:143
|
217 |
msgid ""
|
218 |
"You are trying to overwrite an existing function (of WordPress, theme, or plugin). Instead, use "
|
219 |
"filters and hooks."
|
220 |
msgstr ""
|
221 |
|
222 |
+
#: inc/php/page.php:146
|
223 |
msgid "Does this plugin requires any modification of the theme?"
|
224 |
msgstr ""
|
225 |
|
226 |
+
#: inc/php/page.php:147
|
227 |
msgid "Absolutely not. This plugin is configurable entirely from the plugin settings page."
|
228 |
msgstr ""
|
229 |
|
230 |
+
#: inc/php/page.php:149
|
231 |
msgid "Does this require any knowledge of HTML or CSS?"
|
232 |
msgstr ""
|
233 |
|
234 |
+
#: inc/php/page.php:150
|
235 |
msgid ""
|
236 |
"This plugin can be configured with no knowledge of HTML or CSS, using an easy-to-use plugin "
|
237 |
"settings page. But you need to know the HTML or CSS in order to add/remove/modify the HTML or CSS "
|
238 |
"code by using this plugin."
|
239 |
msgstr ""
|
240 |
|
241 |
+
#: inc/php/page.php:152
|
242 |
msgid "It's not working. What could be wrong?"
|
243 |
msgstr ""
|
244 |
|
245 |
+
#: inc/php/page.php:153
|
246 |
msgid ""
|
247 |
"As with every plugin, it's possible that things don't work. The most common reason for this is a "
|
248 |
"web browser's cache. Every web browser stores a cache of the websites you visit (pages, images, and "
|
250 |
"browser's cache may solve the problem."
|
251 |
msgstr ""
|
252 |
|
253 |
+
#: inc/php/page.php:154
|
254 |
msgid ""
|
255 |
"It's impossible to tell what could be wrong exactly, but if you post a support request in the "
|
256 |
"plugin's support forum on WordPress.org, I'd be happy to give it a look and try to help out. Please "
|
258 |
"seen."
|
259 |
msgstr ""
|
260 |
|
261 |
+
#: inc/php/page.php:156
|
262 |
msgid "What to do if this plugin caused the white screen (WSOD)?"
|
263 |
msgstr ""
|
264 |
|
265 |
+
#: inc/php/page.php:157
|
266 |
msgid ""
|
267 |
"This plugin is not perfect, so there are times when the entered custom code causes the error and "
|
268 |
"white screen (WSOD). This is due to the fact that your custom code has a syntax error that this "
|
269 |
"plugin could not detect. If this happened with you then do the following and all will be fine."
|
270 |
msgstr ""
|
271 |
|
272 |
+
#: inc/php/page.php:159
|
273 |
msgid ""
|
274 |
"Via FTP, go to the plugin folder (in <code>wp-content/plugins/my-custom-functions/</code>). Rename "
|
275 |
"the \"START\" file to \"STOP\"."
|
276 |
msgstr ""
|
277 |
|
278 |
+
#: inc/php/page.php:160
|
279 |
msgid "Return to the plugin settings page."
|
280 |
msgstr ""
|
281 |
|
282 |
+
#: inc/php/page.php:161
|
283 |
msgid "Edit/fix your custom code that you entered before the crash."
|
284 |
msgstr ""
|
285 |
|
286 |
+
#: inc/php/page.php:162
|
287 |
msgid "Rename the \"STOP\" file to \"START\" and you're done!"
|
288 |
msgstr ""
|
289 |
|
290 |
+
#: inc/php/page.php:164
|
291 |
msgid ""
|
292 |
"This plugin stored you entered code in the Database of your website. For getting your code, you "
|
293 |
"also can go to the <code>Database</code> ➡ Table <code>wp_options</code> ➡ Option "
|
294 |
"<code>anarcho_cfunctions_settings</code> ➡ <code>option_value</code>."
|
295 |
msgstr ""
|
296 |
|
297 |
+
#: inc/php/page.php:166
|
298 |
+
msgid ""
|
299 |
+
"The last WordPress update is preventing me from editing my website that is using this plugin. Why "
|
300 |
+
"is this?"
|
301 |
+
msgstr ""
|
302 |
+
|
303 |
#: inc/php/page.php:167
|
304 |
+
msgid ""
|
305 |
+
"This plugin can not cause such problem. More likely, the problem are related to the settings of the "
|
306 |
+
"website. It could just be a cache, so please try to clear your website's cache (may be you using a "
|
307 |
+
"caching plugin, or some web service such as the CloudFlare) and then the cache of your web browser. "
|
308 |
+
"Also please try to re-login to the website, this too can help."
|
309 |
msgstr ""
|
310 |
|
311 |
#: inc/php/page.php:169
|
312 |
+
msgid "Where to report bug if found?"
|
313 |
+
msgstr ""
|
314 |
+
|
315 |
+
#: inc/php/page.php:171
|
316 |
#, php-format
|
317 |
msgid "Please visit the %s Dedicated Plugin Page on GitHub %s and report."
|
318 |
msgstr ""
|
319 |
|
320 |
+
#: inc/php/page.php:177
|
321 |
msgid "Where to share any ideas or suggestions to make the plugin better?"
|
322 |
msgstr ""
|
323 |
|
324 |
+
#: inc/php/page.php:179
|
325 |
#, php-format
|
326 |
msgid ""
|
327 |
"Any suggestions are very welcome! Please send me an email to %s arthurgareginyan@gmail.com %s. "
|
328 |
"Thank you!"
|
329 |
msgstr ""
|
330 |
|
331 |
+
#: inc/php/page.php:185
|
332 |
msgid "I love this plugin! Can I help somehow?"
|
333 |
msgstr ""
|
334 |
|
335 |
+
#: inc/php/page.php:187
|
336 |
#, php-format
|
337 |
msgid ""
|
338 |
"Yes, any financial contributions are welcome! Just visit %s my website %s, click on the donate "
|
382 |
msgid "Save Changes"
|
383 |
msgstr ""
|
384 |
|
385 |
+
#. Plugin Name of the plugin/theme
|
386 |
+
msgid "My Custom Functions"
|
387 |
+
msgstr ""
|
388 |
+
|
389 |
#. Plugin URI of the plugin/theme
|
390 |
msgid "https://github.com/ArthurGareginyan/my-custom-functions"
|
391 |
msgstr ""
|
my-custom-functions.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* Description: Easily and safely add your custom functions (PHP code) directly out of your WordPress Dashboard without need of an external editor.
|
6 |
* Author: Arthur Gareginyan
|
7 |
* Author URI: http://www.arthurgareginyan.com
|
8 |
-
* Version: 4.
|
9 |
* License: GPL3
|
10 |
* Text Domain: my-custom-functions
|
11 |
* Domain Path: /languages/
|
@@ -50,19 +50,23 @@
|
|
50 |
*
|
51 |
* @since 0.1
|
52 |
*/
|
53 |
-
defined('ABSPATH') or die("Restricted access!");
|
54 |
|
55 |
/**
|
56 |
* Define constants
|
57 |
*
|
58 |
-
* @since
|
59 |
*/
|
60 |
-
defined('MCFUNC_DIR') or define('MCFUNC_DIR', dirname(plugin_basename(__FILE__)));
|
61 |
-
defined('MCFUNC_BASE') or define('MCFUNC_BASE', plugin_basename(__FILE__));
|
62 |
-
defined('MCFUNC_URL') or define('MCFUNC_URL', plugin_dir_url(__FILE__));
|
63 |
-
defined('MCFUNC_PATH') or define('MCFUNC_PATH', plugin_dir_path(__FILE__));
|
64 |
-
defined('MCFUNC_TEXT') or define('MCFUNC_TEXT', 'my-custom-functions');
|
65 |
-
defined('
|
|
|
|
|
|
|
|
|
66 |
|
67 |
/**
|
68 |
* Load the plugin modules
|
5 |
* Description: Easily and safely add your custom functions (PHP code) directly out of your WordPress Dashboard without need of an external editor.
|
6 |
* Author: Arthur Gareginyan
|
7 |
* Author URI: http://www.arthurgareginyan.com
|
8 |
+
* Version: 4.1
|
9 |
* License: GPL3
|
10 |
* Text Domain: my-custom-functions
|
11 |
* Domain Path: /languages/
|
50 |
*
|
51 |
* @since 0.1
|
52 |
*/
|
53 |
+
defined( 'ABSPATH' ) or die( "Restricted access!" );
|
54 |
|
55 |
/**
|
56 |
* Define constants
|
57 |
*
|
58 |
+
* @since 4.1
|
59 |
*/
|
60 |
+
defined( 'MCFUNC_DIR' ) or define( 'MCFUNC_DIR', dirname( plugin_basename( __FILE__ ) ) );
|
61 |
+
defined( 'MCFUNC_BASE' ) or define( 'MCFUNC_BASE', plugin_basename( __FILE__ ) );
|
62 |
+
defined( 'MCFUNC_URL' ) or define( 'MCFUNC_URL', plugin_dir_url( __FILE__ ) );
|
63 |
+
defined( 'MCFUNC_PATH' ) or define( 'MCFUNC_PATH', plugin_dir_path( __FILE__ ) );
|
64 |
+
defined( 'MCFUNC_TEXT' ) or define( 'MCFUNC_TEXT', 'my-custom-functions' );
|
65 |
+
defined( 'MCFUNC_SLUG' ) or define( 'MCFUNC_SLUG', 'my-custom-functions' );
|
66 |
+
defined( 'MCFUNC_PREFIX' ) or define( 'MCFUNC_PREFIX', 'MCFunctions' );
|
67 |
+
defined( 'MCFUNC_SETTINGS' ) or define( 'MCFUNC_SETTINGS', 'anarcho_cfunctions' );
|
68 |
+
defined( 'MCFUNC_NAME' ) or define( 'MCFUNC_NAME', 'My Custom Functions' );
|
69 |
+
defined( 'MCFUNC_VERSION' ) or define( 'MCFUNC_VERSION', get_file_data( __FILE__, array( 'Version' ) ) );
|
70 |
|
71 |
/**
|
72 |
* Load the plugin modules
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Tags: code, php, function, snippet, custom, execute, edit, editing, editor, func
|
|
4 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=8A88KC7TFF6CS
|
5 |
Requires at least: 3.9
|
6 |
Tested up to: 4.7
|
7 |
-
Stable tag: 4.
|
8 |
License: GPL3
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
@@ -130,6 +130,9 @@ A. This plugin is not perfect, so there are times when the entered custom code c
|
|
130 |
|
131 |
This plugin stored you entered code in the Database of your website. For getting your code, you also can go to the `Database` -> Table "`wp_options`" -> Option "`anarcho_cfunctions_settings`" -> "`option_value`".
|
132 |
|
|
|
|
|
|
|
133 |
= Q. Where to report bug if found? =
|
134 |
A. Please visit the [Dedicated Plugin Page on GitHub](https://github.com/ArthurGareginyan/my-custom-functions) and report.
|
135 |
|
@@ -172,6 +175,14 @@ Commercial licensing (e.g. for projects that can’t use an open-source license)
|
|
172 |
|
173 |
== Changelog ==
|
174 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
175 |
= 4.0.1 =
|
176 |
* Fixed the bug due to which the the "Warning: Illegal string offset 'version' in" and the "Warning: Illegal string offset 'old_version' in" warnings are displayed. (Thanks to Sven Brill)
|
177 |
* Contents of the F.A.Q. tab updated.
|
@@ -345,11 +356,15 @@ Commercial licensing (e.g. for projects that can’t use an open-source license)
|
|
345 |
|
346 |
|
347 |
== Upgrade Notice ==
|
|
|
348 |
= 4.0 =
|
349 |
Please update to new release!
|
|
|
350 |
= 3.0 =
|
351 |
Please update to new release!
|
|
|
352 |
= 2.0 =
|
353 |
Please update to new release!
|
|
|
354 |
= 1.0 =
|
355 |
Please update to first stable release!
|
4 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=8A88KC7TFF6CS
|
5 |
Requires at least: 3.9
|
6 |
Tested up to: 4.7
|
7 |
+
Stable tag: 4.1
|
8 |
License: GPL3
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
130 |
|
131 |
This plugin stored you entered code in the Database of your website. For getting your code, you also can go to the `Database` -> Table "`wp_options`" -> Option "`anarcho_cfunctions_settings`" -> "`option_value`".
|
132 |
|
133 |
+
= Q. The last WordPress update is preventing me from editing my website that is using this plugin. Why is this? =
|
134 |
+
A. 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.
|
135 |
+
|
136 |
= Q. Where to report bug if found? =
|
137 |
A. Please visit the [Dedicated Plugin Page on GitHub](https://github.com/ArthurGareginyan/my-custom-functions) and report.
|
138 |
|
175 |
|
176 |
== Changelog ==
|
177 |
|
178 |
+
= 4.1 =
|
179 |
+
* Added new constants: "_SLUG", "_PREFIX", "_SETTINGS" and "_NAME".
|
180 |
+
* Value of the "_VERSION" constant replaced with information from the plugin header data.
|
181 |
+
* All references to the plugin name, slug, prefix are replaced with constants.
|
182 |
+
* The "name" attribute removed from the "<form>" tag.
|
183 |
+
* Code formatting improved.
|
184 |
+
* F.A.Q. section updated.
|
185 |
+
|
186 |
= 4.0.1 =
|
187 |
* Fixed the bug due to which the the "Warning: Illegal string offset 'version' in" and the "Warning: Illegal string offset 'old_version' in" warnings are displayed. (Thanks to Sven Brill)
|
188 |
* Contents of the F.A.Q. tab updated.
|
356 |
|
357 |
|
358 |
== Upgrade Notice ==
|
359 |
+
|
360 |
= 4.0 =
|
361 |
Please update to new release!
|
362 |
+
|
363 |
= 3.0 =
|
364 |
Please update to new release!
|
365 |
+
|
366 |
= 2.0 =
|
367 |
Please update to new release!
|
368 |
+
|
369 |
= 1.0 =
|
370 |
Please update to first stable release!
|