diff --git a/src/wp-admin/plugin-editor.php b/src/wp-admin/plugin-editor.php
index 3cb53e1e2f..39aab63877 100644
--- a/src/wp-admin/plugin-editor.php
+++ b/src/wp-admin/plugin-editor.php
@@ -179,16 +179,22 @@ default:
' . $file . '' ) . ' ' . _x( '(active)', 'plugin' );
- else
+ } else {
+ /* translators: %s: File name */
echo sprintf( _x( 'Browsing %s', 'plugin' ), '' . $file . '' ) . ' ' . _x( '(active)', 'plugin' );
+ }
} else {
- if ( is_writeable($real_file) )
+ if ( is_writeable( $real_file ) ) {
+ /* translators: %s: File name */
echo sprintf( _x( 'Editing %s', 'plugin' ), '' . $file . '' ) . ' ' . _x( '(inactive)', 'plugin' );
- else
+ } else {
+ /* translators: %s: File name */
echo sprintf( _x( 'Browsing %s', 'plugin' ), '' . $file . '' ) . ' ' . _x( '(inactive)', 'plugin' );
+ }
}
?>