Make WordPress Core

Ticket #9767: t9767-l10n.php-typos.diff

File t9767-l10n.php-typos.diff, 1.8 KB (added by demetris, 15 years ago)
  • wp-includes/l10n.php

     
    6868}
    6969
    7070/**
    71  * Translate $text like translate(), but assumes that the text
     71 * Translates $text like translate(), but assumes that the text
    7272 * contains a context after its last vertical bar.
    7373 *
    7474 * @since 2.5
     
    122122/**
    123123 * Displays the returned translated text from translate().
    124124 *
    125  * @see translate() Echos returned translate() string
     125 * @see translate() Echoes returned translate() string
    126126 * @since 1.2.0
    127127 *
    128128 * @param string $text Text to translate
     
    135135/**
    136136 * Displays translated text that has been escaped for safe use in an attribute.
    137137 *
    138  * @see translate() Echos returned translate() string
     138 * @see translate() Echoes returned translate() string
    139139 * @see esc_attr()
    140140 * @since 2.8.0
    141141 *
     
    186186/**
    187187 * Retrieve the plural or single form based on the amount.
    188188 *
    189  * If the domain is not set in the $l10n list, then a comparsion will be made
     189 * If the domain is not set in the $l10n list, then a comparison will be made
    190190 * and either $plural or $single parameters returned.
    191191 *
    192192 * If the domain does exist, then the parameters $single, $plural, and $number
     
    276276 * If the domain already exists, the inclusion will fail. If the MO file is not
    277277 * readable, the inclusion will fail.
    278278 *
    279  * On success, the mofile will be placed in the $l10n global by $domain and will
    280  * be an gettext_reader object.
     279 * On success, the .mo file will be placed in the $l10n global by $domain
     280 * and will be an gettext_reader object.
    281281 *
    282282 * @since 1.5.0
    283283 * @uses $l10n Gets list of domain translated string (gettext_reader) objects