WordPress.org

Make WordPress Core

Ticket #47298: 47298-1.diff

File 47298-1.diff, 1.4 KB (added by ronakganatra, 17 months ago)

I think all the small letter would be great because camel case would not look better like it is "item with no issues detected" but if we go to first letter capital on each then it should be like "Item With No Issues Detected"

  • src/wp-admin/site-health.php

     
    9393                        <h3 class="site-health-issue-count-title">
    9494                                <?php
    9595                                        /* translators: %s: number of critical issues found */
    96                                         printf( _n( '%s Critical issue', '%s Critical issues', 0 ), '<span class="issue-count">0</span>' );
     96                                        printf( _n( '%s critical issue', '%s Critical issues', 0 ), '<span class="issue-count">0</span>' );
    9797                                ?>
    9898                        </h3>
    9999
     
    104104                        <h3 class="site-health-issue-count-title">
    105105                                <?php
    106106                                        /* translators: %s: number of recommended improvements */
    107                                         printf( _n( '%s Recommended improvement', '%s Recommended improvements', 0 ), '<span class="issue-count">0</span>' );
     107                                        printf( _n( '%s recommended improvement', '%s Recommended improvements', 0 ), '<span class="issue-count">0</span>' );
    108108                                ?>
    109109                        </h3>
    110110
     
    123123                <h3 class="site-health-issue-count-title">
    124124                        <?php
    125125                                /* translators: %s: number of items with no issues */
    126                                 printf( _n( '%s Item with no issues detected', '%s Items with no issues detected', 0 ), '<span class="issue-count">0</span>' );
     126                                printf( _n( '%s item with no issues detected', '%s Items with no issues detected', 0 ), '<span class="issue-count">0</span>' );
    127127                        ?>
    128128                </h3>
    129129