Make WordPress Core

Changeset 54219


Ignore:
Timestamp:
09/19/2022 09:41:57 PM (20 months ago)
Author:
davidbaumwald
Message:

Help/About: Make translator comments version agnostic and make version translatable on the About page.

In past versions of the About page, translator comments referencing the Field Guide and Release Notes links included the current version number. This change updates these translator comments to remove a specific version number, which was not necessary.

This change also abstracts the version number out of the "Read the WordPress X.X Release Notes" string, making it translatable.

Props Presskopp, audrasjb, SergeyBiryukov, marybaum.
Fixes #54741.

File:
1 edited

Legend:

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

    r53924 r54219  
    299299                    <?php
    300300                    printf(
    301                         /* translators: %s: WordPress 6.0 Field Guide link. */
     301                        /* translators: %s: WordPress Field Guide link. */
    302302                        __( 'Check out the latest version of the <a href="%s">WordPress Field Guide</a>. It is overflowing with detailed developer notes to help you build with WordPress.' ),
    303303                        __( 'https://make.wordpress.org/core/2022/05/03/wordpress-6-0-field-guide/' )
     
    310310                    <?php
    311311                    printf(
    312                         /* translators: %s: WordPress 6.0 Release Notes link. */
    313                         __( '<a href="%s">Read the WordPress 6.0 Release Notes</a> for more information on the included enhancements and issues fixed, installation information, developer notes and resources, release contributors, and the list of file changes in this release.' ),
     312                        /* translators: 1: WordPress Release Notes link, 2: WordPress version number. */
     313                        __( '<a href="%1$s">Read the WordPress %2$s Release Notes</a> for more information on the included enhancements and issues fixed, installation information, developer notes and resources, release contributors, and the list of file changes in this release.' ),
    314314                        sprintf(
    315                             /* translators: %s: WordPress version. */
     315                            /* translators: %s: WordPress version number. */
    316316                            esc_url( __( 'https://wordpress.org/support/wordpress-version/version-%s/' ) ),
    317317                            '6-0'
    318                         )
     318                        ),
     319                        '6.0'
    319320                    );
    320321                    ?>
Note: See TracChangeset for help on using the changeset viewer.