Skip to content

Commit

Permalink
Work in progress.
Browse files Browse the repository at this point in the history
  • Loading branch information
Milan Petrovic committed Nov 2, 2024
1 parent d8cb801 commit 615ccbf
Show file tree
Hide file tree
Showing 7 changed files with 107 additions and 104 deletions.
2 changes: 1 addition & 1 deletion .github/FUNDING.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions core/admin/Settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -445,11 +445,11 @@ public function option_access_key() {
public function option_pretty_print() {
$enabled = debugpress_plugin()->get( 'pr' );

echo "<label style='display: block;'><input " . ( $enabled == 'prettyprint' ? " checked='checked'" : "" ) . " name='debugpress_settings[pr]' value='prettyprint' type='radio' />" . esc_html__( 'Default', 'debugpress' ) . "</label>";
echo '<p class="description">' . esc_html__( 'Default and simple library, but it can be limited in what it can process.', 'debugpress' ) . '</p>';

echo "<label style='display: block; margin-top: 15px;'><input " . ( $enabled == 'kint' ? " checked='checked'" : "" ) . " name='debugpress_settings[pr]' value='kint' type='radio' />KINT</label>";
echo "<label style='display: block;'><input " . ( $enabled == 'kint' ? " checked='checked'" : "" ) . " name='debugpress_settings[pr]' value='kint' type='radio' />KINT</label>";
echo '<p class="description">' . esc_html__( 'Third party developed library with more robust output and able to process almost any type of complex objects.', 'debugpress' ) . ' <a href="https://github.com/kint-php/kint" target="_blank">' . esc_html__( 'GitHub', 'debugpress' ) . '</a></p>';

echo "<label style='display: block; margin-top: 15px;'><input " . ( $enabled == 'prettyprint' ? " checked='checked'" : "" ) . " name='debugpress_settings[pr]' value='prettyprint' type='radio' />" . esc_html__( 'Basic Pretty Print', 'debugpress' ) . "</label>";
echo '<p class="description">' . esc_html__( 'Default and simple library, but it can be limited in what it can process.', 'debugpress' ) . '</p>';
}

public function option_auto_wpdebug() {
Expand Down
4 changes: 2 additions & 2 deletions debugpress.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php
/**
* Plugin Name: DebugPress: Debugger in a Popup
* Plugin Name: DebugPress: Debugger in Popup
* Plugin URI: https://debug.press/
* Description: DebugPress is an easy-to-use plugin that implements popups for debugging and profiling website pages with support for intercepting AJAX requests.
* Description: Easy-to-use plugin for debugging and profiling website loading, SQL queries analysis, help with development, bug fixing, all in configurable popup.
* Author: Milan Petrovic
* Author URI: https://www.dev4press.com/
* Text Domain: debugpress
Expand Down
188 changes: 94 additions & 94 deletions debugpress.pot
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ msgid ""
msgstr ""
"Plural - Forms: nplurals = INTEGER; plural = EXPRESSION;\n"
"Project-Id-Version: DebugPress\n"
"POT-Creation-Date: 01/23/2024 01:30:11 PM\n"
"POT-Creation-Date: 11/02/2024 09:36:48 AM\n"
"Language-Team: Milan Petrovic <[email protected]>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -478,12 +478,12 @@ msgstr ""

#: core/display/ErrorFormat.php:108
#: core/display/ErrorFormat.php:131
msgid "<strong>%s</strong> is deprecated since version %s. Use <strong>%s</strong> instead."
msgid "<strong>%1$s</strong> is deprecated since version %2$s. Use <strong>%3$s</strong> instead."
msgstr ""

#: core/display/ErrorFormat.php:110
#: core/display/ErrorFormat.php:133
msgid "<strong>%s</strong> is deprecated since version %s."
msgid "<strong>%1$s</strong> is deprecated since version %2$s."
msgstr ""

#: core/display/ErrorFormat.php:122
Expand All @@ -500,15 +500,15 @@ msgid "Deprecated Constructor"
msgstr ""

#: core/display/ErrorFormat.php:153
msgid "For <strong>%s</strong> since version %s."
msgid "For <strong>%1$s</strong> since version %2$s."
msgstr ""

#: core/display/ErrorFormat.php:168
msgid "Deprecated Argument"
msgstr ""

#: core/display/ErrorFormat.php:178
msgid "Argument in <strong>%s</strong> is deprecated since version %s."
msgid "Argument in <strong>%1$s</strong> is deprecated since version %2$s."
msgstr ""

#: core/display/Loader.php:88
Expand Down Expand Up @@ -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 ""

Expand Down Expand Up @@ -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 ""

Expand Down Expand Up @@ -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 ""

Expand Down Expand Up @@ -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 ""
Expand All @@ -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 ""

Expand Down Expand Up @@ -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 ""

Expand Down Expand Up @@ -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 ""

5 changes: 4 additions & 1 deletion forms/admin/sidebar.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,12 @@

<div class="debugpress_help">
<p><?php esc_html_e( 'DebugPress is a free plugin, and if you find it useful or want to support its future development, please consider donating.', 'debugpress' ); ?></p>
<a href="https://www.buymeacoffee.com/millan" target="_blank" rel="noopener">
<a style="display: block;" href="https://www.buymeacoffee.com/millan" target="_blank" rel="noopener">
<img src="<?php echo esc_url( DEBUGPRESS_PLUGIN_URL ); ?>logos/buy_me_a_coffee.png" alt="Buy Me A Coffee"/>
</a>
<a style="display: block; margin-top: 5px" href="https://ko-fi.com/milanpetrovic" target="_blank" rel="noopener">
<img src="<?php echo esc_url( DEBUGPRESS_PLUGIN_URL ); ?>logos/ko_fi.png" alt="Ko-Fi"/>
</a>
</div>

<div class="debugpress_help">
Expand Down
Binary file added logos/ko_fi.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions readme.txt
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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 ==

Expand Down

0 comments on commit 615ccbf

Please sign in to comment.