Date/Time: Correct singular form for minutes in `human_time_diff()`.

Follow-up to [58600].

Props wildworks.
See #61535.
Built from https://develop.svn.wordpress.org/trunk@58601


git-svn-id: http://core.svn.wordpress.org/trunk@58044 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2024-06-30 14:58:22 +00:00
parent 5f22738264
commit 4efbbb3415
2 changed files with 3 additions and 3 deletions

View File

@ -3884,8 +3884,8 @@ function human_time_diff( $from, $to = 0 ) {
if ( $mins <= 1 ) {
$mins = 1;
}
/* translators: Time difference between two dates, in minutes (min=minute). %s: Number of minutes. */
$since = sprintf( _n( '%s minutes', '%s minutes', $mins ), $mins );
/* translators: Time difference between two dates, in minutes. %s: Number of minutes. */
$since = sprintf( _n( '%s minute', '%s minutes', $mins ), $mins );
} elseif ( $diff < DAY_IN_SECONDS && $diff >= HOUR_IN_SECONDS ) {
$hours = round( $diff / HOUR_IN_SECONDS );
if ( $hours <= 1 ) {

View File

@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '6.7-alpha-58600';
$wp_version = '6.7-alpha-58601';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.