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 revision Previous revision
Next revision
Previous revision
mantisbt:problematic_messages [2008/12/28 10:02]
siebrand ul
mantisbt:problematic_messages [2008/12/28 13:29] (current)
thraxisp added notes on sprintf
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)';
-**Bold Text**+ 
 +(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.1230476559.txt.gz · Last modified: 2008/12/28 10:02 (external edit)