From 95e00ffdd924f0d67176be8c258a608dd9ca932c Mon Sep 17 00:00:00 2001 From: Alex Lion Date: Mon, 15 Sep 2025 12:55:22 -0700 Subject: [PATCH] Improve I18N Issue based on 2.5.3 --- disable-comments.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/disable-comments.php b/disable-comments.php index e8e4fa9..01462be 100644 --- a/disable-comments.php +++ b/disable-comments.php @@ -1460,7 +1460,7 @@ public function add_site_health_info($debug_info) { ), 'disabled_post_type_count' => array( 'label' => __('Disabled Post Types Count', 'disable-comments'), - 'value' => sprintf('%d of %d', count($data['disabled_post_types']), $data['total_post_types']), + 'value' => sprintf(__('%1$d of %2$d', 'disable-comments'), count($data['disabled_post_types']), $data['total_post_types']), ), 'disabled_post_types' => array( 'label' => __('Disabled Post Types', 'disable-comments'),