From 3b9cb92c4495cdf354786594df679d66593e1a73 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Fri, 25 Sep 2015 15:18:58 +0000 Subject: [PATCH] Plugin Editor: Don't split the strings with plugin file name and remove unnecessary context. Partially reverts [34341]. Fixes #31862. git-svn-id: https://develop.svn.wordpress.org/trunk@34547 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/plugin-editor.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/wp-admin/plugin-editor.php b/src/wp-admin/plugin-editor.php index 39aab63877..96bface13f 100644 --- a/src/wp-admin/plugin-editor.php +++ b/src/wp-admin/plugin-editor.php @@ -181,19 +181,19 @@ default: ' . $file . '' ) . ' ' . _x( '(active)', 'plugin' ); + /* translators: %s: plugin file name */ + echo sprintf( __( 'Editing %s (active)' ), '' . $file . '' ); } else { - /* translators: %s: File name */ - echo sprintf( _x( 'Browsing %s', 'plugin' ), '' . $file . '' ) . ' ' . _x( '(active)', 'plugin' ); + /* translators: %s: plugin file name */ + echo sprintf( __( 'Browsing %s (active)' ), '' . $file . '' ); } } else { if ( is_writeable( $real_file ) ) { - /* translators: %s: File name */ - echo sprintf( _x( 'Editing %s', 'plugin' ), '' . $file . '' ) . ' ' . _x( '(inactive)', 'plugin' ); + /* translators: %s: plugin file name */ + echo sprintf( __( 'Editing %s (inactive)' ), '' . $file . '' ); } else { - /* translators: %s: File name */ - echo sprintf( _x( 'Browsing %s', 'plugin' ), '' . $file . '' ) . ' ' . _x( '(inactive)', 'plugin' ); + /* translators: %s: plugin file name */ + echo sprintf( __( 'Browsing %s (inactive)' ), '' . $file . '' ); } } ?>