I18N: Use consistent pattern for placeholder references in translator comments in `wp-admin/privacy.php`.
See #43435. Built from https://develop.svn.wordpress.org/trunk@43091 git-svn-id: http://core.svn.wordpress.org/trunk@42920 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
a53d6b9cb9
commit
18e8f75ee0
|
@ -29,7 +29,7 @@ if ( ! empty( $action ) ) {
|
||||||
'page_for_privacy_policy',
|
'page_for_privacy_policy',
|
||||||
'page_for_privacy_policy',
|
'page_for_privacy_policy',
|
||||||
sprintf(
|
sprintf(
|
||||||
// translators: URL to Customizer -> Menus
|
/* translators: %s: URL to Customizer -> Menus */
|
||||||
__( 'Privacy policy page updated successfully. Remember to <a href="%s">update your menus</a>!' ),
|
__( 'Privacy policy page updated successfully. Remember to <a href="%s">update your menus</a>!' ),
|
||||||
'customize.php?autofocus[panel]=nav_menus'
|
'customize.php?autofocus[panel]=nav_menus'
|
||||||
),
|
),
|
||||||
|
@ -65,7 +65,7 @@ if ( ! empty( $action ) ) {
|
||||||
'page_for_privacy_policy',
|
'page_for_privacy_policy',
|
||||||
'page_for_privacy_policy',
|
'page_for_privacy_policy',
|
||||||
sprintf(
|
sprintf(
|
||||||
// translators: URL to edit Privacy Policy page
|
/* translators: %s: URL to edit Privacy Policy page */
|
||||||
__( 'Your Privacy Policy page created successfully. You’ll want to <a href="%s">review and edit your policy</a> next.' ),
|
__( 'Your Privacy Policy page created successfully. You’ll want to <a href="%s">review and edit your policy</a> next.' ),
|
||||||
'post.php?post=' . $privacy_policy_page_id . '&action=edit'
|
'post.php?post=' . $privacy_policy_page_id . '&action=edit'
|
||||||
),
|
),
|
||||||
|
@ -96,7 +96,7 @@ if ( ! empty( $privacy_policy_page_id ) ) {
|
||||||
'page_for_privacy_policy',
|
'page_for_privacy_policy',
|
||||||
'page_for_privacy_policy',
|
'page_for_privacy_policy',
|
||||||
sprintf(
|
sprintf(
|
||||||
// translators: URL to Pages Trash.
|
/* translators: URL to Pages Trash */
|
||||||
__( 'The currently selected privacy policy page is in the trash. Please create or select new privacy policy page or <a href="%s">restore the current page</a>.' ),
|
__( 'The currently selected privacy policy page is in the trash. Please create or select new privacy policy page or <a href="%s">restore the current page</a>.' ),
|
||||||
'edit.php?post_status=trash&post_type=page'
|
'edit.php?post_status=trash&post_type=page'
|
||||||
),
|
),
|
||||||
|
@ -153,7 +153,7 @@ require_once( ABSPATH . 'wp-admin/admin-header.php' );
|
||||||
<p class="tools-privacy-edit"><strong>
|
<p class="tools-privacy-edit"><strong>
|
||||||
<?php
|
<?php
|
||||||
printf(
|
printf(
|
||||||
// translators: %1$s URL to Edit Page, %2$s URL to View Page
|
/* translators: 1: URL to edit page, 2: URL to view page */
|
||||||
__( '<a href="%1$s">Edit</a> or <a href="%2$s">view</a> your privacy policy page content.' ),
|
__( '<a href="%1$s">Edit</a> or <a href="%2$s">view</a> your privacy policy page content.' ),
|
||||||
$edit_href,
|
$edit_href,
|
||||||
$view_href
|
$view_href
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '5.0-alpha-43090';
|
$wp_version = '5.0-alpha-43091';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue