Missing space between “Not Activated” and theme info
-
In the Themes page an inactive parent theme is listed as:
Not ActivatedThis is used as a parent theme by: Beans childNote the last of space between “Activated” and “This”
Screenshot: https://imgur.com/pFgUFxvHere is a patch to fix this:
https://pastebin.com/Wd9JjR0i--- inc/autoload/class-add-theme-list.orig.php 2018-02-22 11:27:20.000000000 +0000 +++ inc/autoload/class-add-theme-list.php 2018-04-26 10:54:39.634099900 +0100 @@ -180,7 +180,7 @@ if ( ! $active_on_blogs ) { // Translators: The theme is not activated, the string is for each plugin possible. - $output .= __( '<nobr>Not Activated</nobr>', 'multisite-enhancements' ); + $output .= __( '<nobr>Not Activated</nobr> ', 'multisite-enhancements' ); $output .= $child_context; $output .= $parent_context; } else {If you don’t want to require translators to redo the string you could add the space outside the translatable text e.g.
$output .= __( ‘<nobr>Not Activated</nobr>’, ‘multisite-enhancements’ ) . ‘ ‘;
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Missing space between “Not Activated” and theme info’ is closed to new replies.