WordPress.org

Make WordPress Core

Ticket #22337: 22337.minor-typo-fix.patch

File 22337.minor-typo-fix.patch, 985 bytes (added by SergeyBiryukov, 6 years ago)
  • wp-includes/pomo/translations.php

     
    8181        /**
    8282         * Given the number of items, returns the 0-based index of the plural form to use
    8383         *
    84          * Here, in the base Translations class, the common logic for English is implmented:
     84         * Here, in the base Translations class, the common logic for English is implemented:
    8585         *      0 if there is one element, 1 otherwise
    8686         *
    8787         * This function should be overrided by the sub-classes. For example MO/PO can derive the logic
     
    134134
    135135class Gettext_Translations extends Translations {
    136136        /**
    137          * The gettext implmentation of select_plural_form.
     137         * The gettext implementation of select_plural_form.
    138138         *
    139139         * It lives in this class, because there are more than one descendand, which will use it and
    140140         * they can't share it effectively.