I18N: Restore the "Error:" prefix for error messages.

Partially reverts [48059] as there's no full consensus on the removal of the text prefix. Further actions should be taken to improve consistency and accessibility of the admin notices. Keeps some improvements to the translatable strings from [48059].

Fixes #47656.


git-svn-id: https://develop.svn.wordpress.org/trunk@48115 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrea Fercia
2020-06-21 13:58:46 +00:00
parent e8176a19e2
commit 98d22d5d3d
25 changed files with 78 additions and 78 deletions

View File

@@ -929,7 +929,7 @@ function validate_theme_requirements( $stylesheet ) {
'theme_wp_php_incompatible',
sprintf(
/* translators: %s: Theme name. */
_x( 'Current WordPress and PHP versions do not meet minimum requirements for %s.', 'theme' ),
_x( '<strong>Error:</strong> Current WordPress and PHP versions do not meet minimum requirements for %s.', 'theme' ),
$theme->display( 'Name' )
)
);
@@ -938,7 +938,7 @@ function validate_theme_requirements( $stylesheet ) {
'theme_php_incompatible',
sprintf(
/* translators: %s: Theme name. */
_x( 'Current PHP version does not meet minimum requirements for %s.', 'theme' ),
_x( '<strong>Error:</strong> Current PHP version does not meet minimum requirements for %s.', 'theme' ),
$theme->display( 'Name' )
)
);
@@ -947,7 +947,7 @@ function validate_theme_requirements( $stylesheet ) {
'theme_wp_incompatible',
sprintf(
/* translators: %s: Theme name. */
_x( 'Current WordPress version does not meet minimum requirements for %s.', 'theme' ),
_x( '<strong>Error:</strong> Current WordPress version does not meet minimum requirements for %s.', 'theme' ),
$theme->display( 'Name' )
)
);