- 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>';
+ /**
+ * @since 3.8.0
+ */
+ public function rtl_src_admin_notice() {
+ /* 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>';