mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-09 15:14:37 +00:00
I18N: Remove <code> and <kbd> tags from translatable strings on Settings screens.
Move URLs to separate strings. Props ramiy. Fixes #40763. git-svn-id: https://develop.svn.wordpress.org/trunk@41986 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -168,16 +168,29 @@ if ( apply_filters( 'enable_update_services_configuration', true ) ) {
|
||||
|
||||
<?php if ( 1 == get_option('blog_public') ) : ?>
|
||||
|
||||
<p><label for="ping_sites"><?php _e( 'When you publish a new post, WordPress automatically notifies the following site update services. For more about this, see <a href="https://codex.wordpress.org/Update_Services">Update Services</a> on the Codex. Separate multiple service URLs with line breaks.' ) ?></label></p>
|
||||
<p><label for="ping_sites"><?php
|
||||
printf(
|
||||
/* translators: %s: Codex URL */
|
||||
__( 'When you publish a new post, WordPress automatically notifies the following site update services. For more about this, see <a href="%s">Update Services</a> on the Codex. Separate multiple service URLs with line breaks.' ),
|
||||
__( 'https://codex.wordpress.org/Update_Services' )
|
||||
);
|
||||
?></label></p>
|
||||
|
||||
<textarea name="ping_sites" id="ping_sites" class="large-text code" rows="3"><?php echo esc_textarea( get_option('ping_sites') ); ?></textarea>
|
||||
<textarea name="ping_sites" id="ping_sites" class="large-text code" rows="3"><?php echo esc_textarea( get_option('ping_sites') ); ?></textarea>
|
||||
|
||||
<?php else : ?>
|
||||
|
||||
<p><?php printf(__('WordPress is not notifying any <a href="https://codex.wordpress.org/Update_Services">Update Services</a> because of your site’s <a href="%s">visibility settings</a>.'), 'options-reading.php'); ?></p>
|
||||
<p><?php
|
||||
printf(
|
||||
/* translators: 1: Codex URL, 2: Reading Settings URL */
|
||||
__( 'WordPress is not notifying any <a href="%1$s">Update Services</a> because of your site’s <a href="%2$s">visibility settings</a>.' ),
|
||||
__( 'https://codex.wordpress.org/Update_Services' ),
|
||||
'options-reading.php'
|
||||
);
|
||||
?></p>
|
||||
|
||||
<?php endif; ?>
|
||||
<?php } // multisite ?>
|
||||
<?php } // enable_update_services_configuration ?>
|
||||
|
||||
<?php do_settings_sections('writing'); ?>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user