I18N: Remove HTML tags from translatable strings in wp-admin/network/themes.php.

Props ramiy.
Fixes #35988.

git-svn-id: https://develop.svn.wordpress.org/trunk@36770 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2016-02-29 02:37:22 +00:00
parent f60e7fd99d
commit cc35c82c16

View File

@ -143,8 +143,12 @@ if ( $action ) {
<ul class="ul-disc">
<?php
foreach ( $theme_info as $theme ) {
/* translators: 1: theme name, 2: theme author */
echo '<li>', sprintf( __('<strong>%1$s</strong> by <em>%2$s</em>' ), $theme->display('Name'), $theme->display('Author') ), '</li>';
echo '<li>' . sprintf(
/* translators: 1: theme name, 2: theme author */
_x( '%1$s by %2$s', 'theme' ),
'<strong>' . $theme->display( 'Name' ) . '</strong>',
'<em>' . $theme->display( 'Author' ) . '</em>'
) . '</li>';
}
?>
</ul>