Ignore:
Timestamp:
Oct 19, 2013, 1:04:11 PM (11 years ago)
Author:
mistic100
Message:

feature 2978: remove useless sprintf in the core

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/functions.inc.php

    r24988 r25005  
    607607    if ($diff->invert)
    608608    {
    609       $print = sprintf(l10n('%s ago'), $print);
     609      $print = l10n('%s ago', $print);
    610610    }
    611611    else
    612612    {
    613       $print = sprintf(l10n('%s in the future'), $print);
     613      $print = l10n('%s in the future', $print);
    614614    }
    615615  }
     
    15791579  if (!isset($cache['get_icon']['title']))
    15801580  {
    1581     $cache['get_icon']['title'] = sprintf(
    1582       l10n('photos posted during the last %d days'),
     1581    $cache['get_icon']['title'] = l10n(
     1582      'photos posted during the last %d days',
    15831583      $user['recent_period']
    15841584      );
     
    17061706        $label .= ', ';
    17071707      }
    1708       $label .= l10n( sprintf('Level %d',$level) );
     1708      $label .= l10n( sprintf('Level %d', $level) );
    17091709    }
    17101710    $options[$level] = $label;
Note: See TracChangeset for help on using the changeset viewer.