After [34341], add translation strings.

Props ramiy.
Fixes #31862.

Built from https://develop.svn.wordpress.org/trunk@34469


git-svn-id: http://core.svn.wordpress.org/trunk@34433 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Scott Taylor 2015-09-24 03:09:24 +00:00
parent 0f27ceae56
commit 2071978a3f
2 changed files with 12 additions and 6 deletions

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>

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '4.4-alpha-34468'; $wp_version = '4.4-alpha-34469';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.