Index: trunk/tools/ToolserverI18N/TsIntuition.php |
— | — | @@ -359,7 +359,8 @@ |
360 | 360 | * - lang: overrides the currently selected language |
361 | 361 | * - variables: numerical array to do variable replacements ($1> var[0], $2> var[1], etc.) |
362 | 362 | * - raw-variables: boolean to determine whether the variables should be escaped as well |
363 | | - * - parse: boolean to determine whether the message sould be parsed (PLURAL, etc.) |
| 363 | + * - parsemag: boolean to determine whether the message sould be tranformed |
| 364 | + * using magic phrases (PLURAL, etc.) |
364 | 365 | * - escape: Optionally the return can be escaped. By default this takes place after variable |
365 | 366 | * replacement. Set 'raw-variables' to true if you just want the raw message |
366 | 367 | * to be escaped and have escaped the variables already. |
— | — | @@ -382,7 +383,7 @@ |
383 | 384 | 'variables' => array(), |
384 | 385 | 'raw-variables' => false, |
385 | 386 | 'escape' => 'plain', |
386 | | - 'parse' => false, |
| 387 | + 'parsemag' => false, |
387 | 388 | ); |
388 | 389 | |
389 | 390 | // If $options was a domain string, convert it now. |
— | — | @@ -439,7 +440,7 @@ |
440 | 441 | } |
441 | 442 | |
442 | 443 | // Some parsing work |
443 | | - if ( $options['parse'] === true ) { |
| 444 | + if ( $options['parsemag'] === true ) { |
444 | 445 | $msg = $this->getMessagesFunctions()->parse( $msg, $lang ); |
445 | 446 | } |
446 | 447 | |