User Tools

  • Logged in as: anonymous (anonymous)
  • Log Out

Site Tools


mantisbt:problematic_messages

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
mantisbt:problematic_messages [2008/12/28 10:02] – remove typo siebrandmantisbt:problematic_messages [2008/12/28 13:29] (current) – added notes on sprintf thraxisp
Line 16: Line 16:
   * $s_twitter_resolved = '%d: [%s] %s (resolved by %s in %s)';   * $s_twitter_resolved = '%d: [%s] %s (resolved by %s in %s)';
   * $s_twitter_resolved_no_version = '%d: [%s] %s (resolved by %s)';   * $s_twitter_resolved_no_version = '%d: [%s] %s (resolved by %s)';
 +
 +(thraxisp)
 +All of these messages are rendered through sprintf(). It has a facility to change the parameter order (see http://ca3.php.net/manual/en/function.sprintf.php). For example:
 +
 +  $MANTIS_ERROR[ERROR_SPONSORSHIP_AMOUNT_TOO_LOW] = 'Sponsorship amount (%2$s) is below minimum for (%1$s) .';
  
mantisbt/problematic_messages.txt · Last modified: 2008/12/28 13:29 by thraxisp

Driven by DokuWiki