diff --git a/src/wp-admin/admin-footer.php b/src/wp-admin/admin-footer.php index abb020e046459..69fa2082a4e52 100644 --- a/src/wp-admin/admin-footer.php +++ b/src/wp-admin/admin-footer.php @@ -33,9 +33,10 @@
want your site home page to be different from your WordPress installation directory.' ), - __( 'https://developer.wordpress.org/advanced-administration/server/wordpress-in-directory/' ) + /* translators: 1: Documentation URL. 2: Confirmation message. */ + __( 'Enter the same address here unless you want your site home page to be different from your WordPress installation directory.' ), + __( 'https://developer.wordpress.org/advanced-administration/server/wordpress-in-directory/' ), + /* translators: %s: confirmation message. */ + esc_js( __( "Are you sure you want to leave this page?\n 'Cancel' to stay, 'OK' to leave." ) ) ); ?>
@@ -547,7 +549,7 @@ class="" '' . __( 'Preview:' ) . ' ' . date_i18n( get_option( 'time_format' ) ) . '' . "\n" . '
'; - echo "\t" . __( 'Documentation on date and time formatting.' ) . "
\n"; + echo "\t" . sprintf( __( 'Documentation on date and time formatting.' ), esc_js( __( "Are you sure you want to leave this page?\n 'Cancel' to stay, 'OK' to leave." ) ) ) . "
\n"; ?> diff --git a/src/wp-admin/options-permalink.php b/src/wp-admin/options-permalink.php index 2a1b46fba2102..eb8bfc09253d1 100644 --- a/src/wp-admin/options-permalink.php +++ b/src/wp-admin/options-permalink.php @@ -222,9 +222,10 @@number of tags are available, and here are some examples to get you started.' ), - __( 'https://wordpress.org/documentation/article/customize-permalinks/' ) + /* translators: 1: Documentation URL. 2: Confirmation message. */ + __( 'WordPress offers you the ability to create a custom URL structure for your permalinks and archives. Custom URL structures can improve the aesthetics, usability, and forward-compatibility of your links. A number of tags are available, and here are some examples to get you started.' ), + __( 'https://wordpress.org/documentation/article/customize-permalinks/' ), + esc_js( __( "Are you sure you want to leave this page?\n 'Cancel' to stay, 'OK' to leave." ) ) ); ?>
diff --git a/src/wp-admin/options-reading.php b/src/wp-admin/options-reading.php index d08abc108d669..6274633c2245e 100644 --- a/src/wp-admin/options-reading.php +++ b/src/wp-admin/options-reading.php @@ -197,9 +197,10 @@Learn more about feeds.' ), - __( 'https://developer.wordpress.org/advanced-administration/wordpress/feeds/' ) + /* translators: 1: Documentation URL. 2: Confirmation message. */ + __( 'Your theme determines how content is displayed in browsers. Learn more about feeds.' ), + __( 'https://developer.wordpress.org/advanced-administration/wordpress/feeds/' ), + esc_js( __( "Are you sure you want to leave this page?\n 'Cancel' to stay, 'OK' to leave." ) ) ); ?>
diff --git a/src/wp-admin/options-writing.php b/src/wp-admin/options-writing.php index 6f85b54679327..a549e83d5666e 100644 --- a/src/wp-admin/options-writing.php +++ b/src/wp-admin/options-writing.php @@ -219,9 +219,10 @@