Make WordPress Core

Changeset 55501


Ignore:
Timestamp:
03/09/2023 04:54:00 PM (4 years ago)
Author:
hellofromTonya
Message:

Editor: Combine Date template description translations.

Combine the 2 translatable strings into 1 string. Why? The example URL does not require a separate translation. Combining makes the string easier to view in context.

Follow-up to [55500].

Props SergeyBiryukov.
See #57892.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/block-template-utils.php

    r55500 r55501  
    156156                'date'           => array(
    157157                        'title'       => _x( 'Date', 'Template name' ),
    158                         /* translators: %s: Example URL. */
    159                         'description' => sprintf(
    160                                 __( 'Displays a post archive when a specific date is visited (e.g., %s).' ),
    161                                 __( 'example.com/2023/' )
    162                         ),
     158                        'description' => __( 'Displays a post archive when a specific date is visited (e.g., example.com/2023/).' ),
    163159                ),
    164160                'tag'            => array(
Note: See TracChangeset for help on using the changeset viewer.