From 615ccbf384f4f81b4435786e149bb28adcd6ddd1 Mon Sep 17 00:00:00 2001 From: Milan Petrovic Date: Sat, 2 Nov 2024 10:04:06 +0100 Subject: [PATCH] Work in progress. --- .github/FUNDING.yml | 2 +- core/admin/Settings.php | 8 +- debugpress.php | 4 +- debugpress.pot | 188 ++++++++++++++++++++-------------------- forms/admin/sidebar.php | 5 +- logos/ko_fi.png | Bin 0 -> 5539 bytes readme.txt | 4 +- 7 files changed, 107 insertions(+), 104 deletions(-) create mode 100644 logos/ko_fi.png diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml index 03c91d1..3c8398e 100644 --- a/.github/FUNDING.yml +++ b/.github/FUNDING.yml @@ -3,7 +3,7 @@ github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2] patreon: # Replace with a single Patreon username open_collective: # Replace with a single Open Collective username -ko_fi: # Replace with a single Ko-fi username +ko_fi: milanpetrovic tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry liberapay: # Replace with a single Liberapay username diff --git a/core/admin/Settings.php b/core/admin/Settings.php index 5a0917e..5a0c87e 100644 --- a/core/admin/Settings.php +++ b/core/admin/Settings.php @@ -445,11 +445,11 @@ public function option_access_key() { public function option_pretty_print() { $enabled = debugpress_plugin()->get( 'pr' ); - echo ""; - echo '

' . esc_html__( 'Default and simple library, but it can be limited in what it can process.', 'debugpress' ) . '

'; - - echo ""; + echo ""; echo '

' . esc_html__( 'Third party developed library with more robust output and able to process almost any type of complex objects.', 'debugpress' ) . ' ' . esc_html__( 'GitHub', 'debugpress' ) . '

'; + + echo ""; + echo '

' . esc_html__( 'Default and simple library, but it can be limited in what it can process.', 'debugpress' ) . '

'; } public function option_auto_wpdebug() { diff --git a/debugpress.php b/debugpress.php index c4f4973..1ee2e4d 100644 --- a/debugpress.php +++ b/debugpress.php @@ -1,8 +1,8 @@ \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -366,20 +366,20 @@ msgstr "" msgid "URL Query Argument:" msgstr "" -#: core/admin/Settings.php:448 -msgid "Default" +#: core/admin/Settings.php:449 +msgid "Third party developed library with more robust output and able to process almost any type of complex objects." msgstr "" #: core/admin/Settings.php:449 -msgid "Default and simple library, but it can be limited in what it can process." +msgid "GitHub" msgstr "" -#: core/admin/Settings.php:452 -msgid "Third party developed library with more robust output and able to process almost any type of complex objects." +#: core/admin/Settings.php:451 +msgid "Basic Pretty Print" msgstr "" #: core/admin/Settings.php:452 -msgid "GitHub" +msgid "Default and simple library, but it can be limited in what it can process." msgstr "" #: core/admin/Settings.php:459 @@ -478,12 +478,12 @@ msgstr "" #: core/display/ErrorFormat.php:108 #: core/display/ErrorFormat.php:131 -msgid "%s is deprecated since version %s. Use %s instead." +msgid "%1$s is deprecated since version %2$s. Use %3$s instead." msgstr "" #: core/display/ErrorFormat.php:110 #: core/display/ErrorFormat.php:133 -msgid "%s is deprecated since version %s." +msgid "%1$s is deprecated since version %2$s." msgstr "" #: core/display/ErrorFormat.php:122 @@ -500,7 +500,7 @@ msgid "Deprecated Constructor" msgstr "" #: core/display/ErrorFormat.php:153 -msgid "For %s since version %s." +msgid "For %1$s since version %2$s." msgstr "" #: core/display/ErrorFormat.php:168 @@ -508,7 +508,7 @@ msgid "Deprecated Argument" msgstr "" #: core/display/ErrorFormat.php:178 -msgid "Argument in %s is deprecated since version %s." +msgid "Argument in %1$s is deprecated since version %2$s." msgstr "" #: core/display/Loader.php:88 @@ -581,7 +581,7 @@ msgid "Hooks" msgstr "" #: core/display/Loader.php:224 -#: core/track/Tracker.php:574 +#: core/track/Tracker.php:576 msgid "SQL Queries" msgstr "" @@ -659,50 +659,50 @@ msgid "The Unknown Closure" msgstr "" #: core/main/Info.php:15 -#: core/main/Info.php:415 -#: core/main/Info.php:457 -#: core/main/Info.php:480 +#: core/main/Info.php:416 +#: core/main/Info.php:458 +#: core/main/Info.php:481 msgid "loaded" msgstr "" #: core/main/Info.php:17 -#: core/main/Info.php:418 -#: core/main/Info.php:428 -#: core/main/Info.php:436 -#: core/main/Info.php:446 -#: core/main/Info.php:460 -#: core/main/Info.php:468 -#: core/main/Info.php:487 +#: core/main/Info.php:419 +#: core/main/Info.php:429 +#: core/main/Info.php:437 +#: core/main/Info.php:447 +#: core/main/Info.php:461 +#: core/main/Info.php:469 +#: core/main/Info.php:488 msgid "not loaded" msgstr "" -#: core/main/Info.php:306 -#: core/main/Info.php:310 -#: core/main/Info.php:405 +#: core/main/Info.php:307 +#: core/main/Info.php:311 +#: core/main/Info.php:406 msgid "On" msgstr "" -#: core/main/Info.php:306 -#: core/main/Info.php:310 -#: core/main/Info.php:405 +#: core/main/Info.php:307 +#: core/main/Info.php:311 +#: core/main/Info.php:406 msgid "Off" msgstr "" -#: core/main/Info.php:345 +#: core/main/Info.php:346 msgid "ON" msgstr "" -#: core/main/Info.php:345 +#: core/main/Info.php:346 msgid "OFF" msgstr "" -#: core/main/Info.php:502 -#: core/main/Info.php:510 +#: core/main/Info.php:503 +#: core/main/Info.php:511 msgid "OK" msgstr "" -#: core/main/Info.php:504 -#: core/main/Info.php:512 +#: core/main/Info.php:505 +#: core/main/Info.php:513 msgid "not available" msgstr "" @@ -1692,7 +1692,7 @@ msgid "Available Memory" msgstr "" #: core/panel/Server.php:86 -#: core/track/Tracker.php:572 +#: core/track/Tracker.php:574 msgid "Used Memory" msgstr "" @@ -1978,6 +1978,56 @@ msgstr "" msgid "Rest of User Meta Information" msgstr "" +#: core/printer/prettyprint/PrettyPrint.php:50 +msgctxt "PrettyPrint message" +msgid "Empty Array" +msgstr "" + +#: core/printer/prettyprint/PrettyPrint.php:51 +msgctxt "PrettyPrint message" +msgid "No Properties" +msgstr "" + +#: core/printer/prettyprint/PrettyPrint.php:52 +msgctxt "PrettyPrint message" +msgid "No Methods" +msgstr "" + +#: core/printer/prettyprint/PrettyPrint.php:53 +msgctxt "PrettyPrint message" +msgid "Infinite Recursion Detected!" +msgstr "" + +#: core/printer/prettyprint/PrettyPrint.php:54 +msgctxt "PrettyPrint message" +msgid "%d characters" +msgstr "" + +#: core/printer/prettyprint/PrettyPrint.php:55 +msgctxt "PrettyPrint message" +msgid "%s type" +msgstr "" + +#: core/printer/prettyprint/PrettyPrint.php:56 +msgctxt "PrettyPrint message" +msgid "%d elements" +msgstr "" + +#: core/printer/prettyprint/PrettyPrint.php:57 +msgctxt "PrettyPrint message" +msgid "%d properties" +msgstr "" + +#: core/printer/prettyprint/PrettyPrint.php:58 +msgctxt "PrettyPrint message" +msgid "Called From" +msgstr "" + +#: core/printer/prettyprint/PrettyPrint.php:59 +msgctxt "PrettyPrint message" +msgid "line" +msgstr "" + #: core/track/AJAX.php:41 msgid "AJAX STARTED" msgstr "" @@ -1986,23 +2036,23 @@ msgstr "" msgid "AJAX ENDED" msgstr "" -#: core/track/Tracker.php:404 +#: core/track/Tracker.php:406 msgid "Unregistered Setting" msgstr "" -#: core/track/Tracker.php:573 +#: core/track/Tracker.php:575 msgid "Total Time" msgstr "" -#: core/track/Tracker.php:578 +#: core/track/Tracker.php:580 msgid "SQL Time" msgstr "" -#: core/track/Tracker.php:581 +#: core/track/Tracker.php:583 msgid "Visitor IP" msgstr "" -#: core/track/Tracker.php:755 +#: core/track/Tracker.php:761 msgid "Request not executed because of the filter on %s." msgstr "" @@ -2038,19 +2088,19 @@ msgstr "" msgid "DebugPress is a free plugin, and if you find it useful or want to support its future development, please consider donating." msgstr "" -#: forms/admin/sidebar.php:21 +#: forms/admin/sidebar.php:24 msgid "To get help for the DebugPress plugin, start with the plugin website for tutorials, or use Dev4Press.com knowledge base." msgstr "" -#: forms/admin/sidebar.php:27 +#: forms/admin/sidebar.php:30 msgid "If you need direct help, you can use WordPress.org support forums or the Dev4Press.com support forums." msgstr "" -#: forms/admin/sidebar.php:33 +#: forms/admin/sidebar.php:36 msgid "The plugin is available on GitHub, and you can report issues, suggest new features or submit pull requests." msgstr "" -#: forms/admin/sidebar.php:35 +#: forms/admin/sidebar.php:38 msgid "DebugPress on GitHub" msgstr "" @@ -2104,53 +2154,3 @@ msgstr "" msgid "Select Debugger Panel" msgstr "" -#: vendor/prettyprint/PrettyPrint.php:50 -msgctxt "PrettyPrint message" -msgid "Empty Array" -msgstr "" - -#: vendor/prettyprint/PrettyPrint.php:51 -msgctxt "PrettyPrint message" -msgid "No Properties" -msgstr "" - -#: vendor/prettyprint/PrettyPrint.php:52 -msgctxt "PrettyPrint message" -msgid "No Methods" -msgstr "" - -#: vendor/prettyprint/PrettyPrint.php:53 -msgctxt "PrettyPrint message" -msgid "Infinite Recursion Detected!" -msgstr "" - -#: vendor/prettyprint/PrettyPrint.php:54 -msgctxt "PrettyPrint message" -msgid "%d characters" -msgstr "" - -#: vendor/prettyprint/PrettyPrint.php:55 -msgctxt "PrettyPrint message" -msgid "%s type" -msgstr "" - -#: vendor/prettyprint/PrettyPrint.php:56 -msgctxt "PrettyPrint message" -msgid "%d elements" -msgstr "" - -#: vendor/prettyprint/PrettyPrint.php:57 -msgctxt "PrettyPrint message" -msgid "%d properties" -msgstr "" - -#: vendor/prettyprint/PrettyPrint.php:58 -msgctxt "PrettyPrint message" -msgid "Called From" -msgstr "" - -#: vendor/prettyprint/PrettyPrint.php:59 -msgctxt "PrettyPrint message" -msgid "line" -msgstr "" - diff --git a/forms/admin/sidebar.php b/forms/admin/sidebar.php index f188810..1e2c9e2 100644 --- a/forms/admin/sidebar.php +++ b/forms/admin/sidebar.php @@ -12,9 +12,12 @@

- + Buy Me A Coffee + + Ko-Fi +
diff --git a/logos/ko_fi.png b/logos/ko_fi.png new file mode 100644 index 0000000000000000000000000000000000000000..fce7695d60ef9098f96ed3a3ac45bcf4cdd74f2d GIT binary patch literal 5539 zcmaJ_c|4R~+rO=Ghi?653fb;S8X`+1MCLX$B#b4cM3z=djU|jN3`2_%Et4f<$&x*i zC9(X*Y|r}=la~|T<3E>-w0FVll-6v2mk=T z0Re9Y0GtQ_uqpF!usjXi6nWNg#MH<_k8O`CaAkx2>c;l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IG@;l|fBba# zlYz_-2&K&b;lODfilvN{dwT+5hEC33jgFJ!!NHw3aj@x2R_VVYrB}8dXx}kX)LS5< zNPgi+>#_v)3?Wf>#(GWaCuswu&4v8s8&sD--`E7hurD!j5s zxCko+Iox}lq2Tt^+`}5Be2w+bbP^B&VG5s3|KWq@4n-gtFKTw9zq&KMQ+5>tA%4-w zVK=4&mJ*ac?dZBTDp>bx_hvwd-yNhiYDI$!Rpn;9u2AqpY;0DWUDyHUZ?Z_39L-HE+I?^>bOIFs^UcJ3y57BSF%Bq5_{qGoj!c{-^P8M?YM&det~N3 z3}N-f+(&0TG%HsB)X?1Ed7h@#kly4|TK+vW{(`d&TA4>z zy47jLIU0;6=hH_H6ji#u$tynU9#}TB^NP=nzY$*C!|R`%P!{D_(Ecr3cW*`V_*|3v zT-2@lbUg%zxdg-Pr^%@q0gZ&F(~B{-Cta6+Na=G8lf6I?>@+k-PCAv zg7n?lv`t}mE=;H-Ady8=mqIw%7pg(}v4j!kg&-3v=IQM8tL;4?y=3k9J>eAoEn}0}6|G&XfkN#Pa`VR(6i~4&uyD4yOToVYg4)}YK-Z98g zKVHDJiTj_Ws7gb)S)L>4dO(0sHy4W=7{GJ{lHe$oxb-m^QWgd>+8kJAsmO#HaRc9% zgu*=8k{*=f{*bhz;25@`$H&7IIRTMisD>r>@gh9BtY{vXj|E7E{yT6fQWj7V4z=J0 zvO0xC*#Q@B2J72>jZc6rNI&EYD}@rzI0O)0tyRN-;vHN-z|k>f0BW*N=4Obq1H_OG zDHdSr27wp=vRjJb;t~WFLM7?kFr6)^Q7TM_Rf;Yo#SYwO$6Yod!%ORgqY-DPW*yjL${v Gg8vJ8(3a%@ literal 0 HcmV?d00001 diff --git a/readme.txt b/readme.txt index 6d855e1..85a56ec 100644 --- a/readme.txt +++ b/readme.txt @@ -1,4 +1,4 @@ -=== DebugPress: Debugger in a Popup === +=== DebugPress: Debugger in Popup === Contributors: GDragoN Donate link: https://buymeacoffee.com/millan Tags: dev4press, query monitor, debugging, development, ajax monitor @@ -10,7 +10,7 @@ Requires CP: 2.0 License: GPLv3 or later License URI: https://www.gnu.org/licenses/gpl-3.0.html -DebugPress is an easy-to-use plugin that implements popups for debugging and profiling website pages with support for intercepting AJAX requests. +Easy-to-use plugin for debugging and profiling website loading, SQL queries analysis, help with development, bug fixing, all in configurable popup. == Description ==