From 963679f259d25ae4905cda29963d8b0188d42c57 Mon Sep 17 00:00:00 2001 From: David Herrera Date: Tue, 11 Feb 2025 02:15:09 -0500 Subject: [PATCH] Minor docs cleanup --- includes/apple-exporter/components/class-recipe.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/includes/apple-exporter/components/class-recipe.php b/includes/apple-exporter/components/class-recipe.php index 0ac904c3..aa7f7653 100644 --- a/includes/apple-exporter/components/class-recipe.php +++ b/includes/apple-exporter/components/class-recipe.php @@ -797,7 +797,7 @@ private function matching_schema( $recipe ): ?array { } // Second, try to find schema in the HEAD of the post on the frontend. - // Could check BODY as well, but the post content is already being scanned, which might be enough? + // Could check BODY as well, but the post content is already being scanned. That might be enough. /** * Filters the URL for an article that will be fetched and searched for JSON-LD Recipe items. @@ -1082,12 +1082,12 @@ private function duration( \DateInterval $di ) { $out = []; if ( $hours > 0 ) { - // translators: %d is the number of hours. + /* translators: %d: number of hours */ $out[] = sprintf( __( '%d hr', 'apple-news' ), $hours / HOUR_IN_SECONDS ); } if ( $minutes > 0 ) { - // translators: %d is the number of minutes. + /* translators: %d: number of minutes */ $out[] = sprintf( __( '%d mins', 'apple-news' ), (int) round( $minutes / MINUTE_IN_SECONDS ) ); }