Ticket #9767: t9767-l10n.php-typos.diff
File t9767-l10n.php-typos.diff, 1.8 KB (added by , 15 years ago) |
---|
-
wp-includes/l10n.php
68 68 } 69 69 70 70 /** 71 * Translate $text like translate(), but assumes that the text71 * Translates $text like translate(), but assumes that the text 72 72 * contains a context after its last vertical bar. 73 73 * 74 74 * @since 2.5 … … 122 122 /** 123 123 * Displays the returned translated text from translate(). 124 124 * 125 * @see translate() Echo s returned translate() string125 * @see translate() Echoes returned translate() string 126 126 * @since 1.2.0 127 127 * 128 128 * @param string $text Text to translate … … 135 135 /** 136 136 * Displays translated text that has been escaped for safe use in an attribute. 137 137 * 138 * @see translate() Echo s returned translate() string138 * @see translate() Echoes returned translate() string 139 139 * @see esc_attr() 140 140 * @since 2.8.0 141 141 * … … 186 186 /** 187 187 * Retrieve the plural or single form based on the amount. 188 188 * 189 * If the domain is not set in the $l10n list, then a compar sion will be made189 * If the domain is not set in the $l10n list, then a comparison will be made 190 190 * and either $plural or $single parameters returned. 191 191 * 192 192 * If the domain does exist, then the parameters $single, $plural, and $number … … 276 276 * If the domain already exists, the inclusion will fail. If the MO file is not 277 277 * readable, the inclusion will fail. 278 278 * 279 * On success, the mofile will be placed in the $l10n global by $domain and will280 * 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. 281 281 * 282 282 * @since 1.5.0 283 283 * @uses $l10n Gets list of domain translated string (gettext_reader) objects