From b10cf79f015c8148a0cfcd86fe9fd0d1f986f099 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sun, 26 May 2019 14:39:35 +0000 Subject: [PATCH] I18N: Merge duplicate "Try Again" strings. Props ramiy. Fixes #47251. git-svn-id: https://develop.svn.wordpress.org/trunk@45433 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/class-wp-theme-install-list-table.php | 2 +- src/wp-admin/setup-config.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-admin/includes/class-wp-theme-install-list-table.php b/src/wp-admin/includes/class-wp-theme-install-list-table.php index 475056d8ec..4e0a9deffc 100644 --- a/src/wp-admin/includes/class-wp-theme-install-list-table.php +++ b/src/wp-admin/includes/class-wp-theme-install-list-table.php @@ -148,7 +148,7 @@ class WP_Theme_Install_List_Table extends WP_Themes_List_Table { $api = themes_api( 'query_themes', $args ); if ( is_wp_error( $api ) ) { - wp_die( $api->get_error_message() . '

' . __( 'Try again' ) . '' ); + wp_die( $api->get_error_message() . '

' . __( 'Try Again' ) . '' ); } $this->items = $api->themes; diff --git a/src/wp-admin/setup-config.php b/src/wp-admin/setup-config.php index ebb1c4bbfa..cab6ab8101 100644 --- a/src/wp-admin/setup-config.php +++ b/src/wp-admin/setup-config.php @@ -272,7 +272,7 @@ switch ( $step ) { $install .= '?language=en_US'; } - $tryagain_link = '

' . __( 'Try again' ) . ''; + $tryagain_link = '

' . __( 'Try Again' ) . ''; if ( empty( $prefix ) ) { wp_die( __( 'ERROR: "Table Prefix" must not be empty.' ) . $tryagain_link );