Index: trunk/tools/ToolserverI18N/TsIntuition.php |
— | — | @@ -369,6 +369,7 @@ |
370 | 370 | * - * 'htmlspecialchars' (alias of 'html') |
371 | 371 | * - * 'htmlentities' (foreign/UTF-8 chars converted as well) |
372 | 372 | * |
| 373 | + * @param $fail string Alternate value to return in case the message doesn't exist |
373 | 374 | */ |
374 | 375 | public function msg( $key = 0, $options = array(), $fail = null ) { |
375 | 376 | |
— | — | @@ -637,7 +638,7 @@ |
638 | 639 | $this->errTrigger( "Invalid textdomain \"$domain\"", __METHOD__, E_NOTICE ); |
639 | 640 | return false; |
640 | 641 | } |
641 | | - // Sanatize domainnames (case-insensitive) |
| 642 | + // Sanitize domainnames (case-insensitive) |
642 | 643 | $domain = ucfirst( strtolower( $domain ) ); |
643 | 644 | |
644 | 645 | // Don't load if already loaded |