Make WordPress Core

Changeset 63030


Ignore:
Timestamp:
08/05/2026 01:52:42 PM (3 months ago)
Author:
SergeyBiryukov
Message:

I18N: Move trailing spaces out of translatable strings.

Follow-up to [6873], [10888], [31059].

Props khokansardar, jorbin, audrasjb, rcorrales, SergeyBiryukov.
See #64899.

Location:
trunk/src/wp-includes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/category-template.php

    r62066 r63030  
    12311231function the_tags( $before = null, $sep = ', ', $after = '' ) {
    12321232        if ( null === $before ) {
    1233                 $before = __( 'Tags: ' );
     1233                $before = __( 'Tags:' ) . ' ';
    12341234        }
    12351235
  • trunk/src/wp-includes/pluggable.php

    r63027 r63030  
    20912091                                        /* translators: %s: Trackback/pingback/comment author URL. */
    20922092                                        $notify_message .= sprintf( __( 'URL: %s' ), $comment->comment_author_url ) . "\r\n";
    2093                                         $notify_message .= __( 'Trackback excerpt: ' ) . "\r\n" . $comment_content . "\r\n\r\n";
     2093                                        $notify_message .= sprintf( __( 'Trackback excerpt: %s' ), "\r\n" . $comment_content ) . "\r\n\r\n";
    20942094                                        break;
    20952095
    … …  
    21022102                                        /* translators: %s: Trackback/pingback/comment author URL. */
    21032103                                        $notify_message .= sprintf( __( 'URL: %s' ), $comment->comment_author_url ) . "\r\n";
    2104                                         $notify_message .= __( 'Pingback excerpt: ' ) . "\r\n" . $comment_content . "\r\n\r\n";
     2104                                        $notify_message .= sprintf( __( 'Pingback excerpt: %s' ), "\r\n" . $comment_content ) . "\r\n\r\n";
    21052105                                        break;
    21062106
Note: See TracChangeset for help on using the changeset viewer.