Make WordPress Core

Changeset 61133


Ignore:
Timestamp:
11/04/2025 05:59:50 PM (13 hours ago)
Author:
johnjamesjacoby
Message:

Options: Combine date & time strings to improve translation accuracy.

This commit merges 2 separate translatable strings into 1 (with a translator note) to make its Daylight-Saving-Time-specific context easier to identify & understand.

Props jorbin, pbearne, timse201.

Fixes #64197.

File:
1 edited

Legend:

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

    r60942 r61133  
    446446            printf(
    447447                $message,
    448                 '<code>' . wp_date( __( 'F j, Y' ) . ' ' . __( 'g:i a' ), $transitions[1]['ts'] ) . '</code>'
     448                /* translators: Localized date and time format, see https://www.php.net/manual/datetime.format.php */
     449                '<code>' . wp_date( __( 'F j, Y g:i a' ), $transitions[1]['ts'] ) . '</code>'
    449450            );
    450451        } else {
Note: See TracChangeset for help on using the changeset viewer.