Make `WP_Locale::rtl_src_admin_notice()` translatable.

props jrf.
see #32021.
Built from https://develop.svn.wordpress.org/trunk@33007


git-svn-id: http://core.svn.wordpress.org/trunk@32978 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Dominik Schilling 2015-06-30 20:21:24 +00:00
parent 54424e9755
commit b214be20ad
2 changed files with 3 additions and 2 deletions

View File

@ -195,7 +195,8 @@ class WP_Locale {
* @since 3.8.0
*/
public function rtl_src_admin_notice() {
echo '<div class="error"><p>' . 'The <code>build</code> directory of the develop repository must be used for RTL.' . '</p></div>';
/* translators: %s: Name of the directory (build) */
echo '<div class="error"><p>' . sprintf( __( 'The %s directory of the develop repository must be used for RTL.' ), '<code>build</code>' ) . '</p></div>';
}
/**

View File

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