From 8f40409840b8527c8b69319e8a5d37701a32b647 Mon Sep 17 00:00:00 2001 From: David Baumwald Date: Mon, 19 Sep 2022 21:41:57 +0000 Subject: [PATCH] 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. git-svn-id: https://develop.svn.wordpress.org/trunk@54219 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/about.php | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/wp-admin/about.php b/src/wp-admin/about.php index cf17d163df..1ce28fef89 100644 --- a/src/wp-admin/about.php +++ b/src/wp-admin/about.php @@ -298,7 +298,7 @@ require_once ABSPATH . 'wp-admin/admin-header.php';

WordPress Field Guide. It is overflowing with detailed developer notes to help you build with WordPress.' ), __( 'https://make.wordpress.org/core/2022/05/03/wordpress-6-0-field-guide/' ) ); @@ -309,13 +309,14 @@ require_once ABSPATH . 'wp-admin/admin-header.php';

Read the WordPress 6.0 Release Notes 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.' ), + /* translators: 1: WordPress Release Notes link, 2: WordPress version number. */ + __( 'Read the WordPress %2$s Release Notes 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.' ), sprintf( - /* translators: %s: WordPress version. */ + /* translators: %s: WordPress version number. */ esc_url( __( 'https://wordpress.org/support/wordpress-version/version-%s/' ) ), '6-0' - ) + ), + '6.0' ); ?>