Make `WP_Locale::rtl_src_admin_notice()` translatable.

props jrf.
see #32021.

git-svn-id: https://develop.svn.wordpress.org/trunk@33007 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Dominik Schilling (ocean90) 2015-06-30 20:20:40 +00:00
parent 9db82ab3a7
commit 86bd177222
1 changed files with 2 additions and 1 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>';
}
/**