Changeset 53543 for trunk/src/wp-includes/l10n.php
- Timestamp:
- 06/20/2022 10:55:52 PM (4 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/l10n.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/l10n.php
r53474 r53543 588 588 * Array of translation information for the strings. 589 589 * 590 * @type string $0 Singular form to be localized. No longer used.591 * @type string $1 Plural form to be localized. No longer used.592 * @type string $singular Singular form to be localized.593 * @type string $plural Plural form to be localized.594 * @type null $context Context information for the translators.595 * @type string $domain Text domain.590 * @type string $0 Singular form to be localized. No longer used. 591 * @type string $1 Plural form to be localized. No longer used. 592 * @type string $singular Singular form to be localized. 593 * @type string $plural Plural form to be localized. 594 * @type null $context Context information for the translators. 595 * @type string|null $domain Text domain. 596 596 * } 597 597 */ … … 655 655 656 656 /** 657 * Translates and ret rieves the singular or plural form of a string that's been registered657 * Translates and returns the singular or plural form of a string that's been registered 658 658 * with _n_noop() or _nx_noop(). 659 659 * … … 668 668 * @since 3.1.0 669 669 * 670 * @param array $nooped_plural Array with singular, plural, and context keys, usually the result of _n_noop() or _nx_noop(). 670 * @param array $nooped_plural { 671 * Array that is usually a return value from _n_noop() or _nx_noop(). 672 * 673 * @type string $singular Singular form to be localized. 674 * @type string $plural Plural form to be localized. 675 * @type string|null $context Context information for the translators. 676 * @type string|null $domain Text domain. 677 * } 671 678 * @param int $count Number of objects. 672 679 * @param string $domain Optional. Text domain. Unique identifier for retrieving translated strings. If $nooped_plural contains 673 680 * a text domain passed to _n_noop() or _nx_noop(), it will override this value. Default 'default'. 674 * @return string Either $sing leor $plural translated text.681 * @return string Either $singular or $plural translated text. 675 682 */ 676 683 function translate_nooped_plural( $nooped_plural, $count, $domain = 'default' ) {
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)