diff --git a/src/wp-admin/font-library.php b/src/wp-admin/font-library.php index abc2ea4f4da70..1dc345a96d2e0 100644 --- a/src/wp-admin/font-library.php +++ b/src/wp-admin/font-library.php @@ -18,11 +18,15 @@ ); } -// Check if Gutenberg build files are available +// Check if the build files are available. if ( ! function_exists( 'wp_font_library_wp_admin_render_page' ) ) { wp_die( '
' . __( 'The Font Library requires Gutenberg build files. Please run npm install to build the necessary files.' ) . '
' . sprintf(
+ /* translators: %s: npm run build */
+ __( 'The Font Library requires build files. Please run %s to build the necessary files.' ),
+ 'npm run build'
+ ) . '
' . __( 'The Connectors page requires build files. Please run npm install to build the necessary files.' ) . '
' . sprintf(
+ /* translators: %s: npm run build */
+ __( 'The Connectors page requires build files. Please run %s to build the necessary files.' ),
+ 'npm run build'
+ ) . '