You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: includes/class-wp-php-console-settings.php
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -154,7 +154,7 @@ public function settings_info() {
154
154
155
155
?>
156
156
<p><?php
157
-
/* translators: %s refers to 'PHP Console' Chrome extension, will print download link for the Chrome extension */
157
+
/* translators: Placeholder: %s refers to the PHP Console library, pointing to its GitHub repository */
158
158
printf( _x( 'This plugin allows you to use %s within your WordPress installation for testing, debugging and development purposes.', 'PHP Console, the PHP Library', 'wp-php-console' ),
@@ -164,14 +164,14 @@ public function settings_info() {
164
164
<?php
165
165
166
166
$instructions = array(
167
-
/* translators: Install PHP Console extension for Google Chrome download link */
167
+
/* translators: Placeholder: %s represents the Google Chrome PHP Console extension download link */
168
168
sprintf( _x( 'Make sure you have downloaded and installed %s.', 'PHP Console, the Chrome Extension', 'wp-php-console' ),
169
169
'<a target="_blank" href="https://chrome.google.com/webstore/detail/php-console/nfhmhhlpfleoednkpnnnkolmclajemef">PHP Console extension for Google Chrome</a>'
170
170
),
171
171
esc_html__( 'Set a password for the eval terminal in the options below and hit "Save Changes".', 'wp-php-console' ),
172
172
esc_html__( 'Reload any page of your installation and click on the key icon in your Chrome browser address bar, enter your password and access the terminal.', 'wp-php-console' ),
173
173
esc_html__( 'From the eval terminal you can execute any PHP or WordPress specific function, including functions from your plugins and active theme.', 'wp-php-console' ),
sprintf( __( 'In your PHP code, you can call PHP Console debug statements like %1$s to display PHP variables in the browser\'s JavaScript-console (e.g. %2$s) and optionally filter selected tags through the browser\'s Remote PHP Eval Terminal screen\'s "Ignore Debug options".', 'wp-php-console' ),
176
176
'<code>debug($var, $tag)</code>',
177
177
'<code>CTRL+SHIFT+J</code>'
@@ -235,7 +235,7 @@ public function ip_field() {
235
235
<p class="description"><?phpesc_html_e( 'You may specify any of the following, to give access to specific IPs to the eval terminal:', 'wp-php-console' ); ?><br>
236
236
<ol>
237
237
<li><small><?php
238
-
/* translators: Placeholders: %1$s - a single IP address, %2$s link to Varying Vagrant Vagrants repo */
238
+
/* translators: Placeholders: %1$s - a single IP address, %2$s link to Varying Vagrant Vagrants project repository */
239
239
printf( __( 'An IP address (for example %1$s, %2$s default IP address).', 'wp-php-console' ),
/* translators: Placeholders: %1$s, %2$s and %3$s are PHP code snippets examples */
270
270
printf( __( 'Allows to write %1$s or %2$s instructions in PHP to inspect %3$s in the JavaScript console.', 'wp-php-console' ),
271
271
'<code>PC::debug($var, $tag)</code>',
272
272
'<code>PC::magic_tag($var)</code>',
@@ -306,7 +306,7 @@ public function short_field() {
306
306
<p class="description"><?php
307
307
esc_html_e( 'Tick to shorten the length of PHP Console error sources and traces paths in browser JavaScript console for better readability.', 'wp-php-console' );
308
308
echo'<br>';
309
-
/* translators: %1$s - long server path, %2$s shortened server path */
309
+
/* translators: Placeholders: %1$s - long server path, %2$s - shortened server path */
310
310
printf( __( 'Paths like %1$s will be displayed as %2$s', 'wp-php-console' ),
0 commit comments