After [34341], add translation strings.

Props ramiy.
Fixes #31862.


git-svn-id: https://develop.svn.wordpress.org/trunk@34469 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Scott Taylor 2015-09-24 03:08:34 +00:00
parent c47ef29b34
commit c9c9e19260

View File

@ -179,16 +179,22 @@ default:
<div class="fileedit-sub"> <div class="fileedit-sub">
<div class="alignleft"> <div class="alignleft">
<big><?php <big><?php
if ( is_plugin_active($plugin) ) { if ( is_plugin_active( $plugin ) ) {
if ( is_writeable($real_file) ) if ( is_writeable( $real_file ) ) {
/* translators: %s: File name */
echo sprintf( _x( 'Editing %s', 'plugin' ), '<strong>' . $file . '</strong>' ) . ' ' . _x( '(active)', 'plugin' ); echo sprintf( _x( 'Editing %s', 'plugin' ), '<strong>' . $file . '</strong>' ) . ' ' . _x( '(active)', 'plugin' );
else } else {
/* translators: %s: File name */
echo sprintf( _x( 'Browsing %s', 'plugin' ), '<strong>' . $file . '</strong>' ) . ' ' . _x( '(active)', 'plugin' ); echo sprintf( _x( 'Browsing %s', 'plugin' ), '<strong>' . $file . '</strong>' ) . ' ' . _x( '(active)', 'plugin' );
}
} else { } else {
if ( is_writeable($real_file) ) if ( is_writeable( $real_file ) ) {
/* translators: %s: File name */
echo sprintf( _x( 'Editing %s', 'plugin' ), '<strong>' . $file . '</strong>' ) . ' ' . _x( '(inactive)', 'plugin' ); echo sprintf( _x( 'Editing %s', 'plugin' ), '<strong>' . $file . '</strong>' ) . ' ' . _x( '(inactive)', 'plugin' );
else } else {
/* translators: %s: File name */
echo sprintf( _x( 'Browsing %s', 'plugin' ), '<strong>' . $file . '</strong>' ) . ' ' . _x( '(inactive)', 'plugin' ); echo sprintf( _x( 'Browsing %s', 'plugin' ), '<strong>' . $file . '</strong>' ) . ' ' . _x( '(inactive)', 'plugin' );
}
} }
?></big> ?></big>
</div> </div>