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.

git-svn-id: https://develop.svn.wordpress.org/trunk@55501 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Tonya Mork
2023-03-09 16:54:00 +00:00
parent b0c91dbdf1
commit ad9a9bcc1c

View File

@@ -155,11 +155,7 @@ function get_default_block_template_types() {
),
'date' => array(
'title' => _x( 'Date', 'Template name' ),
/* translators: %s: Example URL. */
'description' => sprintf(
__( 'Displays a post archive when a specific date is visited (e.g., %s).' ),
__( 'example.com/2023/' )
),
'description' => __( 'Displays a post archive when a specific date is visited (e.g., example.com/2023/).' ),
),
'tag' => array(
'title' => _x( 'Tag', 'Template name' ),