From c9c9e19260e71ebd62e2b9c8d0dcb7b0bd120937 Mon Sep 17 00:00:00 2001 From: Scott Taylor Date: Thu, 24 Sep 2015 03:08:34 +0000 Subject: [PATCH] After [34341], add translation strings. Props ramiy. Fixes #31862. git-svn-id: https://develop.svn.wordpress.org/trunk@34469 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/plugin-editor.php | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) 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' ); + } } ?>