From 86bd177222b44b2f9dc0ed929dc3a1e5a9a08988 Mon Sep 17 00:00:00 2001 From: "Dominik Schilling (ocean90)" Date: Tue, 30 Jun 2015 20:20:40 +0000 Subject: [PATCH] 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 --- src/wp-includes/locale.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/wp-includes/locale.php b/src/wp-includes/locale.php index 7541b8471b..1319c49dae 100644 --- a/src/wp-includes/locale.php +++ b/src/wp-includes/locale.php @@ -195,7 +195,8 @@ class WP_Locale { * @since 3.8.0 */ public function rtl_src_admin_notice() { - echo '

' . 'The build directory of the develop repository must be used for RTL.' . '

'; + /* translators: %s: Name of the directory (build) */ + echo '

' . sprintf( __( 'The %s directory of the develop repository must be used for RTL.' ), 'build' ) . '

'; } /**