mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 07:40:07 +00:00
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:
@@ -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' ),
|
||||
|
||||
Reference in New Issue
Block a user