My Custom Functions - Version 3.5

Version Description

  • Added French translation. (Thanks Theophil Bethel)
  • Image of the donate button changed.
Download this release

Release Info

Developer Arthur Gareginyan
Plugin Icon 128x128 My Custom Functions
Version 3.5
Comparing to
See all releases

Code changes from version 3.4.1 to 3.5

inc/img/btn_donateCC_LG.gif DELETED
Binary file
inc/img/donate.png ADDED
Binary file
inc/php/settings_page.php CHANGED
@@ -10,7 +10,7 @@ defined('ABSPATH') or die("Restricted access!");
10
  /**
11
  * Render Settings Page
12
  *
13
- * @since 3.4.1
14
  */
15
  function MCFunctions_render_submenu_page() {
16
 
@@ -91,7 +91,7 @@ function MCFunctions_render_submenu_page() {
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>
93
  <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=8A88KC7TFF6CS" target="_blank" rel="nofollow">
94
- <img src="<?php echo plugins_url('../img/btn_donateCC_LG.gif', __FILE__); ?>" alt="Make a donation">
95
  </a>
96
  <p><?php _e( 'Thanks for your support!', MCFUNC_TEXT ); ?></p>
97
  </div>
10
  /**
11
  * Render Settings Page
12
  *
13
+ * @since 3.5
14
  */
15
  function MCFunctions_render_submenu_page() {
16
 
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>
93
  <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=8A88KC7TFF6CS" target="_blank" rel="nofollow">
94
+ <img src="<?php echo plugins_url('../img/donate.png', __FILE__); ?>" alt="Make a donation">
95
  </a>
96
  <p><?php _e( 'Thanks for your support!', MCFUNC_TEXT ); ?></p>
97
  </div>
languages/my-custom-functions-fr_FR.mo ADDED
Binary file
languages/my-custom-functions-fr_FR.po ADDED
@@ -0,0 +1,140 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Plural-Forms: nplurals=2; plural=(n > 1);\n"
4
+ "Project-Id-Version: My Custom Functions\n"
5
+ "POT-Creation-Date: 2016-11-20 16:32+0100\n"
6
+ "PO-Revision-Date: 2016-11-20 16:51+0100\n"
7
+ "Language-Team: \n"
8
+ "MIME-Version: 1.0\n"
9
+ "Content-Type: text/plain; charset=UTF-8\n"
10
+ "Content-Transfer-Encoding: 8bit\n"
11
+ "X-Generator: Poedit 1.8.7.1\n"
12
+ "X-Poedit-Basepath: ..\n"
13
+ "X-Poedit-WPHeader: my-custom-functions.php\n"
14
+ "X-Poedit-SourceCharset: UTF-8\n"
15
+ "X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
16
+ "esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;"
17
+ "_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
18
+ "Last-Translator: \n"
19
+ "Language: fr_FR\n"
20
+ "X-Poedit-SearchPath-0: .\n"
21
+ "X-Poedit-SearchPathExcluded-0: *.js\n"
22
+
23
+ #: inc/php/settings_page.php:23
24
+ msgid "Custom functions updated successfully."
25
+ msgstr "Custom functions mis à jour avec succès"
26
+
27
+ #: inc/php/settings_page.php:34
28
+ msgid "Sorry, but your code causes a \"Fatal error\", so it is not applied!"
29
+ msgstr ""
30
+ "Désolé, mais votre code provoque une \"erreur fatale\" ; il n'est donc pas "
31
+ "appliqué."
32
+
33
+ #: inc/php/settings_page.php:35
34
+ msgid "Please, check the code and try again."
35
+ msgstr "Svp, vérifiez le code et réessayez."
36
+
37
+ #. Plugin Name of the plugin/theme
38
+ #: inc/php/settings_page.php:45 my-custom-functions.php:85
39
+ msgid "My Custom Functions"
40
+ msgstr "My Custom Functions"
41
+
42
+ #: inc/php/settings_page.php:48
43
+ msgid ""
44
+ "by <a href=\"http://www.arthurgareginyan.com\" target=\"_blank\">Arthur "
45
+ "Gareginyan</a>"
46
+ msgstr ""
47
+ "par <a href=\"http://www.arthurgareginyan.com\" target=\"_blank\">Arthur "
48
+ "Gareginyan</a>"
49
+
50
+ #: inc/php/settings_page.php:59
51
+ msgid "About"
52
+ msgstr "A propos"
53
+
54
+ #: inc/php/settings_page.php:61
55
+ msgid ""
56
+ "This plugin allows you to easily and safely add your custome functions (PHP "
57
+ "code) to your website."
58
+ msgstr ""
59
+ "Ce plugin vous permet d'ajouter facilement et en toute sécurité vos "
60
+ "fonctions personnalisées (code PHP) au fichier functions.php de votre thème/"
61
+ "site."
62
+
63
+ #: inc/php/settings_page.php:66
64
+ msgid "Using"
65
+ msgstr "Mode d'emploi"
66
+
67
+ #: inc/php/settings_page.php:68
68
+ msgid ""
69
+ "To use, enter your custom functions, then click \"Save Changes\". It's that "
70
+ "simple!"
71
+ msgstr ""
72
+ "Pour utiliser ce plugin, entrez vos fonctions personnalisées, puis cliquez "
73
+ "\"Enregistrer\". C'est aussi simple que ça !"
74
+
75
+ #: inc/php/settings_page.php:73
76
+ msgid "Help"
77
+ msgstr "Aide"
78
+
79
+ #: inc/php/settings_page.php:75
80
+ msgid "Got something to say? Need help?"
81
+ msgstr "Vous souhaitez nous contacter ? Vous avez besoin d'aide ?"
82
+
83
+ #: inc/php/settings_page.php:81
84
+ msgid "Upgrade"
85
+ msgstr "Evolution"
86
+
87
+ #: inc/php/settings_page.php:90
88
+ msgid "Donate"
89
+ msgstr "Faire un don"
90
+
91
+ #: inc/php/settings_page.php:92
92
+ msgid ""
93
+ "I'm an independent developer, without a regular income, so every little "
94
+ "contribution helps cover my costs and lets me spend more time building "
95
+ "things for people like you to enjoy."
96
+ msgstr ""
97
+ "Je suis un développeur indépendant, sans revenus réguliers, aussi chaque "
98
+ "modeste contribution m'aide à couvrir les frais et me permet de consacrer "
99
+ "plus de temps à créer des choses que vous appréciez."
100
+
101
+ #: inc/php/settings_page.php:96
102
+ msgid "Thanks for your support!"
103
+ msgstr "Merci pour votre soutien !"
104
+
105
+ #: inc/php/settings_page.php:120
106
+ msgid "Functions (PHP code)"
107
+ msgstr "Fonctions (code PHP)"
108
+
109
+ #: inc/php/settings_page.php:131
110
+ msgid "Save Changes"
111
+ msgstr "Enregistrer"
112
+
113
+ #: my-custom-functions.php:73
114
+ msgid "Settings"
115
+ msgstr "Réglages"
116
+
117
+ #: my-custom-functions.php:85
118
+ msgid "Custom Functions"
119
+ msgstr "Custom Functions"
120
+
121
+ #. Plugin URI of the plugin/theme
122
+ msgid "https://github.com/ArthurGareginyan/my-custom-functions"
123
+ msgstr "https://github.com/ArthurGareginyan/my-custom-functions"
124
+
125
+ #. Description of the plugin/theme
126
+ msgid ""
127
+ "Easily and safely add your custome functions (PHP code) directly out of your "
128
+ "WordPress Dashboard without need of an external editor."
129
+ msgstr ""
130
+ "Ajoutez facilement et en toute sécurité vos fonctions personnalisées (code "
131
+ "PHP) au fichier functions.php directement depuis votre Panneau "
132
+ "d'Administration Wordpress, sans passer par un éditeur externe. "
133
+
134
+ #. Author of the plugin/theme
135
+ msgid "Arthur Gareginyan"
136
+ msgstr "Arthur Gareginyan"
137
+
138
+ #. Author URI of the plugin/theme
139
+ msgid "http://www.arthurgareginyan.com"
140
+ msgstr "http://www.arthurgareginyan.com"
my-custom-functions.php CHANGED
@@ -5,7 +5,7 @@
5
  * Description: Easily and safely add your custome 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: 3.4.1
9
  * License: GPL3
10
  * Text Domain: my-custom-functions
11
  * Domain Path: /languages/
@@ -40,14 +40,14 @@ defined('ABSPATH') or die("Restricted access!");
40
  /**
41
  * Define constants
42
  *
43
- * @since 3.4.1
44
  */
45
  defined('MCFUNC_DIR') or define('MCFUNC_DIR', dirname(plugin_basename(__FILE__)));
46
  defined('MCFUNC_BASE') or define('MCFUNC_BASE', plugin_basename(__FILE__));
47
  defined('MCFUNC_URL') or define('MCFUNC_URL', plugin_dir_url(__FILE__));
48
  defined('MCFUNC_PATH') or define('MCFUNC_PATH', plugin_dir_path(__FILE__));
49
  defined('MCFUNC_TEXT') or define('MCFUNC_TEXT', 'my-custom-functions');
50
- defined('MCFUNC_VERSION') or define('MCFUNC_VERSION', '3.4.1');
51
 
52
  /**
53
  * Register text domain
5
  * Description: Easily and safely add your custome 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: 3.5
9
  * License: GPL3
10
  * Text Domain: my-custom-functions
11
  * Domain Path: /languages/
40
  /**
41
  * Define constants
42
  *
43
+ * @since 3.5
44
  */
45
  defined('MCFUNC_DIR') or define('MCFUNC_DIR', dirname(plugin_basename(__FILE__)));
46
  defined('MCFUNC_BASE') or define('MCFUNC_BASE', plugin_basename(__FILE__));
47
  defined('MCFUNC_URL') or define('MCFUNC_URL', plugin_dir_url(__FILE__));
48
  defined('MCFUNC_PATH') or define('MCFUNC_PATH', plugin_dir_path(__FILE__));
49
  defined('MCFUNC_TEXT') or define('MCFUNC_TEXT', 'my-custom-functions');
50
+ defined('MCFUNC_VERSION') or define('MCFUNC_VERSION', '3.5');
51
 
52
  /**
53
  * Register text domain
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: Arthur Gareginyan
3
  Tags: code, php, function, snippet, custom, execute, edit, editing, editor, functionality plugin, codemirror, syntax highlighting, syntaxhighlighting, syntax highlighter, syntaxhighlighter, syntax,
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.6
7
- Stable tag: 3.4.1
8
  License: GPL3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -39,6 +39,7 @@ Please keep in mind that not all translations are up to date. You are welcome to
39
  * Russian
40
  * Chinese-Taiwan (translation by Gordon Yu)
41
  * Spanish (translation by [Ramiro Garcés](http://www.ramirogarces.com.ve/))
 
42
 
43
  **Consider Going Pro For Additional Features!**
44
 
@@ -154,6 +155,9 @@ Commercial licensing (e.g. for projects that can’t use an open-source license)
154
 
155
 
156
  == Changelog ==
 
 
 
157
  = 3.4.1 =
158
  * Translations updated.
159
  * Readme for translations updated.
3
  Tags: code, php, function, snippet, custom, execute, edit, editing, editor, functionality plugin, codemirror, syntax highlighting, syntaxhighlighting, syntax highlighter, syntaxhighlighter, syntax,
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: 3.5
8
  License: GPL3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
39
  * Russian
40
  * Chinese-Taiwan (translation by Gordon Yu)
41
  * Spanish (translation by [Ramiro Garcés](http://www.ramirogarces.com.ve/))
42
+ * French (translation by Theophil Bethel)
43
 
44
  **Consider Going Pro For Additional Features!**
45
 
155
 
156
 
157
  == Changelog ==
158
+ = 3.5 =
159
+ * Added French translation. (Thanks Theophil Bethel)
160
+ * Image of the donate button changed.
161
  = 3.4.1 =
162
  * Translations updated.
163
  * Readme for translations updated.