Skip to content
Closed
Prev Previous commit
Next Next commit
Translate string
  • Loading branch information
youknowriad committed Feb 5, 2024
commit d7d70d33f122ba72da328bccde41f111392d1022
2 changes: 1 addition & 1 deletion src/wp-includes/fonts/class-wp-font-library.php
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,6 @@ public static function get_font_collection( $slug ) {
if ( array_key_exists( $slug, self::$collections ) ) {
return self::$collections[ $slug ];
}
return new WP_Error( 'font_collection_not_found', 'Font collection not found.' );
return new WP_Error( 'font_collection_not_found', __( 'Font collection not found.' ) );
}
}