From 812c9ad3da83c011274757c8a991c43ec23b3ab7 Mon Sep 17 00:00:00 2001 From: youknowriad Date: Thu, 8 Feb 2024 07:11:08 +0000 Subject: [PATCH] Script Loader: Improve translators comments for wp.date.setSettings in compat file. Fixing a few translators comments that have incorrect placeholders reference or unnecessary ones. Props get_dave, mukesh27, afercia. Fixes #60412. Built from https://develop.svn.wordpress.org/trunk@57557 git-svn-id: http://core.svn.wordpress.org/trunk@57058 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/script-loader.php | 20 ++++++++++---------- wp-includes/version.php | 2 +- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/wp-includes/script-loader.php b/wp-includes/script-loader.php index 771c6bc777..932fcfc06c 100644 --- a/wp-includes/script-loader.php +++ b/wp-includes/script-loader.php @@ -441,27 +441,27 @@ function wp_default_packages_inline_scripts( $scripts ) { 'past' => __( '%s ago' ), /* translators: One second from or to a particular datetime, e.g., "a second ago" or "a second from now". */ 's' => __( 'a second' ), - /* translators: %s: Duration in seconds from or to a particular datetime, e.g., "4 seconds ago" or "4 seconds from now". */ + /* translators: %d: Duration in seconds from or to a particular datetime, e.g., "4 seconds ago" or "4 seconds from now". */ 'ss' => __( '%d seconds' ), /* translators: One minute from or to a particular datetime, e.g., "a minute ago" or "a minute from now". */ 'm' => __( 'a minute' ), - /* translators: %s: Duration in minutes from or to a particular datetime, e.g., "4 minutes ago" or "4 minutes from now". */ + /* translators: %d: Duration in minutes from or to a particular datetime, e.g., "4 minutes ago" or "4 minutes from now". */ 'mm' => __( '%d minutes' ), - /* translators: %s: One hour from or to a particular datetime, e.g., "an hour ago" or "an hour from now". */ + /* translators: One hour from or to a particular datetime, e.g., "an hour ago" or "an hour from now". */ 'h' => __( 'an hour' ), - /* translators: %s: Duration in hours from or to a particular datetime, e.g., "4 hours ago" or "4 hours from now". */ + /* translators: %d: Duration in hours from or to a particular datetime, e.g., "4 hours ago" or "4 hours from now". */ 'hh' => __( '%d hours' ), - /* translators: %s: One day from or to a particular datetime, e.g., "a day ago" or "a day from now". */ + /* translators: One day from or to a particular datetime, e.g., "a day ago" or "a day from now". */ 'd' => __( 'a day' ), - /* translators: %s: Duration in days from or to a particular datetime, e.g., "4 days ago" or "4 days from now". */ + /* translators: %d: Duration in days from or to a particular datetime, e.g., "4 days ago" or "4 days from now". */ 'dd' => __( '%d days' ), - /* translators: %s: One month from or to a particular datetime, e.g., "a month ago" or "a month from now". */ + /* translators: One month from or to a particular datetime, e.g., "a month ago" or "a month from now". */ 'M' => __( 'a month' ), - /* translators: %s: Duration in months from or to a particular datetime, e.g., "4 months ago" or "4 months from now". */ + /* translators: %d: Duration in months from or to a particular datetime, e.g., "4 months ago" or "4 months from now". */ 'MM' => __( '%d months' ), - /* translators: %s: One year from or to a particular datetime, e.g., "a year ago" or "a year from now". */ + /* translators: One year from or to a particular datetime, e.g., "a year ago" or "a year from now". */ 'y' => __( 'a year' ), - /* translators: %s: Duration in years from or to a particular datetime, e.g., "4 years ago" or "4 years from now". */ + /* translators: %d: Duration in years from or to a particular datetime, e.g., "4 years ago" or "4 years from now". */ 'yy' => __( '%d years' ), ), 'startOfWeek' => (int) get_option( 'start_of_week', 0 ), diff --git a/wp-includes/version.php b/wp-includes/version.php index 1c9100dea8..ff427eecd5 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.5-alpha-57556'; +$wp_version = '6.5-alpha-57557'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.