- Timestamp:
- 07/19/2018 12:09:31 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/privacy.php
r43374 r43508 23 23 update_option( 'wp_page_for_privacy_policy', $privacy_policy_page_id ); 24 24 25 $privacy_page_updated_message = __( 'Privacy policy page updated successfully.' );25 $privacy_page_updated_message = __( 'Privacy Policy page updated successfully.' ); 26 26 27 27 if ( $privacy_policy_page_id ) { … … 40 40 $privacy_page_updated_message = sprintf( 41 41 /* translators: %s: URL to Customizer -> Menus */ 42 __( 'Privacy policy page updated successfully. Remember to <a href="%s">update your menus</a>!' ),42 __( 'Privacy Policy page updated successfully. Remember to <a href="%s">update your menus</a>!' ), 43 43 esc_url( add_query_arg( 'autofocus[panel]', 'nav_menus', admin_url( 'customize.php' ) ) ) 44 44 ); … … 73 73 'page_for_privacy_policy', 74 74 'page_for_privacy_policy', 75 __( 'Unable to create privacy policy page.' ),75 __( 'Unable to create Privacy Policy page.' ), 76 76 'error' 77 77 ); … … 85 85 } 86 86 87 // If a privacy policy page ID is available, make sure the page actually exists. If not, display an error.87 // If a Privacy Policy page ID is available, make sure the page actually exists. If not, display an error. 88 88 $privacy_policy_page_exists = false; 89 89 $privacy_policy_page_id = (int) get_option( 'wp_page_for_privacy_policy' ); … … 97 97 'page_for_privacy_policy', 98 98 'page_for_privacy_policy', 99 __( 'The currently selected privacy policy page does not exist. Please create or select new page.' ),99 __( 'The currently selected Privacy Policy page does not exist. Please create or select new page.' ), 100 100 'error' 101 101 ); … … 107 107 sprintf( 108 108 /* translators: URL to Pages Trash */ 109 __( '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>.' ),109 __( '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>.' ), 110 110 'edit.php?post_status=trash&post_type=page' 111 111 ), … … 128 128 <h2><?php _e( 'Privacy Policy page' ); ?></h2> 129 129 <p> 130 <?php _e( 'As a website owner, you may need to follow national or international privacy laws. For example, you may need to create and display a privacy policy.' ); ?>131 <?php _e( 'If you already have a privacy policy page, please select it below. If not, please create one.' ); ?>130 <?php _e( 'As a website owner, you may need to follow national or international privacy laws. For example, you may need to create and display a Privacy Policy.' ); ?> 131 <?php _e( 'If you already have a Privacy Policy page, please select it below. If not, please create one.' ); ?> 132 132 </p> 133 133 <p> 134 <?php _e( 'The new page will include help and suggestions for your privacy policy.' ); ?>135 <?php _e( 'However, it is your responsibility to use those resources correctly, to provide the information that your privacy policy requires, and to keep that information current and accurate.' ); ?>134 <?php _e( 'The new page will include help and suggestions for your Privacy Policy.' ); ?> 135 <?php _e( 'However, it is your responsibility to use those resources correctly, to provide the information that your Privacy Policy requires, and to keep that information current and accurate.' ); ?> 136 136 </p> 137 137 <p> 138 <?php _e( 'After your privacy policy page is set, we suggest that you edit it.' ); ?>139 <?php _e( 'We would also suggest reviewing your privacy policy from time to time, especially after installing or updating any themes or plugins. There may be changes or new suggested information for you to consider adding to your policy.' ); ?>138 <?php _e( 'After your Privacy Policy page is set, we suggest that you edit it.' ); ?> 139 <?php _e( 'We would also suggest reviewing your Privacy Policy from time to time, especially after installing or updating any themes or plugins. There may be changes or new suggested information for you to consider adding to your policy.' ); ?> 140 140 </p> 141 141 <?php … … 158 158 if ( 'publish' === get_post_status( $privacy_policy_page_id ) ) { 159 159 /* translators: 1: URL to edit page, 2: URL to view page */ 160 printf( __( '<a href="%1$s">Edit</a> or <a href="%2$s">view</a> your privacy policy page content.' ), $edit_href, $view_href );160 printf( __( '<a href="%1$s">Edit</a> or <a href="%2$s">view</a> your Privacy Policy page content.' ), $edit_href, $view_href ); 161 161 } else { 162 162 /* translators: 1: URL to edit page, 2: URL to preview page */ 163 printf( __( '<a href="%1$s">Edit</a> or <a href="%2$s">preview</a> your privacy policy page content.' ), $edit_href, $view_href );163 printf( __( '<a href="%1$s">Edit</a> or <a href="%2$s">preview</a> your Privacy Policy page content.' ), $edit_href, $view_href ); 164 164 } 165 165
Note: See TracChangeset
for help on using the changeset viewer.