Make WordPress Core

Ticket #56187: 56187.diff

File 56187.diff, 2.6 KB (added by cyrillbolliger, 3 years ago)
  • src/wp-includes/l10n.php

     
    482482         * @param string $translation Translated text.
    483483         * @param string $single      The text to be used if the number is singular.
    484484         * @param string $plural      The text to be used if the number is plural.
    485          * @param string $number      The number to compare against to use either the singular or plural form.
     485         * @param int    $number      The number to compare against to use either the singular or plural form.
    486486         * @param string $domain      Text domain. Unique identifier for retrieving translated strings.
    487487         */
    488488        $translation = apply_filters( 'ngettext', $translation, $single, $plural, $number, $domain );
     
    497497         * @param string $translation Translated text.
    498498         * @param string $single      The text to be used if the number is singular.
    499499         * @param string $plural      The text to be used if the number is plural.
    500          * @param string $number      The number to compare against to use either the singular or plural form.
     500         * @param int    $number      The number to compare against to use either the singular or plural form.
    501501         * @param string $domain      Text domain. Unique identifier for retrieving translated strings.
    502502         */
    503503        $translation = apply_filters( "ngettext_{$domain}", $translation, $single, $plural, $number, $domain );
     
    541541         * @param string $translation Translated text.
    542542         * @param string $single      The text to be used if the number is singular.
    543543         * @param string $plural      The text to be used if the number is plural.
    544          * @param string $number      The number to compare against to use either the singular or plural form.
     544         * @param int    $number      The number to compare against to use either the singular or plural form.
    545545         * @param string $context     Context information for the translators.
    546546         * @param string $domain      Text domain. Unique identifier for retrieving translated strings.
    547547         */
     
    557557         * @param string $translation Translated text.
    558558         * @param string $single      The text to be used if the number is singular.
    559559         * @param string $plural      The text to be used if the number is plural.
    560          * @param string $number      The number to compare against to use either the singular or plural form.
     560         * @param int    $number      The number to compare against to use either the singular or plural form.
    561561         * @param string $context     Context information for the translators.
    562562         * @param string $domain      Text domain. Unique identifier for retrieving translated strings.
    563563         */