Make WordPress Core

Changeset 53148


Ignore:
Timestamp:
04/12/2022 01:45:18 AM (2 years ago)
Author:
SergeyBiryukov
Message:

I18N: Remove wp-config.php file name from translatable strings.

Follow-up to [35547], [35557], [53131].

See #46057.

Location:
trunk/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/setup-config.php

    r53131 r53148  
    187187        <?php
    188188        printf(
    189             /* translators: %s: Documentation URL. */
    190             __( 'Need more help? <a href="%s">Read the support article on wp-config.php</a>.' ),
    191             __( 'https://wordpress.org/support/article/editing-wp-config-php/' )
     189            /* translators: 1: Documentation URL, 2: wp-config.php */
     190            __( 'Need more help? <a href="%1$s">Read the support article on %2$s</a>.' ),
     191            __( 'https://wordpress.org/support/article/editing-wp-config-php/' ),
     192            '<code>wp-config.php</code>'
    192193        );
    193194        ?>
  • trunk/src/wp-load.php

    r53131 r53148  
    9292    ) . '</p>';
    9393    $die .= '<p>' . sprintf(
    94         /* translators: %s: Documentation URL. */
    95         __( "Need more help? <a href='%s'>Read the support article on wp-config.php</a>." ),
    96         __( 'https://wordpress.org/support/article/editing-wp-config-php/' )
     94        /* translators: 1: Documentation URL, 2: wp-config.php */
     95        __( 'Need more help? <a href="%1$s">Read the support article on %2$s</a>.' ),
     96        __( 'https://wordpress.org/support/article/editing-wp-config-php/' ),
     97        '<code>wp-config.php</code>'
    9798    ) . '</p>';
    9899    $die .= '<p>' . sprintf(
Note: See TracChangeset for help on using the changeset viewer.