Make WordPress Core


Ignore:
Timestamp:
02/08/2024 07:09:50 AM (4 months ago)
Author:
youknowriad
Message:

Script Loader: Improve translators comments for wp.date.setSettings in compat file.

Fixing a few translators comments that have incorrect placeholders reference or unnecessary ones.

Props get_dave, mukesh27, afercia.
Fixes #60412.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/script-loader.php

    r57556 r57557  
    442442                            /* translators: One second from or to a particular datetime, e.g., "a second ago" or "a second from now". */
    443443                            's'      => __( 'a second' ),
    444                             /* translators: %s: Duration in seconds from or to a particular datetime, e.g., "4 seconds ago" or "4 seconds from now". */
     444                            /* translators: %d: Duration in seconds from or to a particular datetime, e.g., "4 seconds ago" or "4 seconds from now". */
    445445                            'ss'     => __( '%d seconds' ),
    446446                            /* translators: One minute from or to a particular datetime, e.g., "a minute ago" or "a minute from now". */
    447447                            'm'      => __( 'a minute' ),
    448                             /* translators: %s: Duration in minutes from or to a particular datetime, e.g., "4 minutes ago" or "4 minutes from now". */
     448                            /* translators: %d: Duration in minutes from or to a particular datetime, e.g., "4 minutes ago" or "4 minutes from now". */
    449449                            'mm'     => __( '%d minutes' ),
    450                             /* translators: %s: One hour from or to a particular datetime, e.g., "an hour ago" or "an hour from now". */
     450                            /* translators: One hour from or to a particular datetime, e.g., "an hour ago" or "an hour from now". */
    451451                            'h'      => __( 'an hour' ),
    452                             /* translators: %s: Duration in hours from or to a particular datetime, e.g., "4 hours ago" or "4 hours from now". */
     452                            /* translators: %d: Duration in hours from or to a particular datetime, e.g., "4 hours ago" or "4 hours from now". */
    453453                            'hh'     => __( '%d hours' ),
    454                             /* translators: %s: One day from or to a particular datetime, e.g., "a day ago" or "a day from now". */
     454                            /* translators: One day from or to a particular datetime, e.g., "a day ago" or "a day from now". */
    455455                            'd'      => __( 'a day' ),
    456                             /* translators: %s: Duration in days from or to a particular datetime, e.g., "4 days ago" or "4 days from now". */
     456                            /* translators: %d: Duration in days from or to a particular datetime, e.g., "4 days ago" or "4 days from now". */
    457457                            'dd'     => __( '%d days' ),
    458                             /* translators: %s: One month from or to a particular datetime, e.g., "a month ago" or "a month from now". */
     458                            /* translators: One month from or to a particular datetime, e.g., "a month ago" or "a month from now". */
    459459                            'M'      => __( 'a month' ),
    460                             /* translators: %s: Duration in months from or to a particular datetime, e.g., "4 months ago" or "4 months from now". */
     460                            /* translators: %d: Duration in months from or to a particular datetime, e.g., "4 months ago" or "4 months from now". */
    461461                            'MM'     => __( '%d months' ),
    462                             /* translators: %s: One year from or to a particular datetime, e.g., "a year ago" or "a year from now". */
     462                            /* translators: One year from or to a particular datetime, e.g., "a year ago" or "a year from now". */
    463463                            'y'      => __( 'a year' ),
    464                             /* translators: %s: Duration in years from or to a particular datetime, e.g., "4 years ago" or "4 years from now". */
     464                            /* translators: %d: Duration in years from or to a particular datetime, e.g., "4 years ago" or "4 years from now". */
    465465                            'yy'     => __( '%d years' ),
    466466                        ),
Note: See TracChangeset for help on using the changeset viewer.