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/search_rules.php

    r19703 r25005  
    7878if (isset($search['fields']['allwords']))
    7979{
    80   $template->append( 'search_words',
    81       sprintf(
    82         l10n('searched words : %s'),
     80  $template->append(
     81      'search_words',
     82      l10n(
     83        'searched words : %s',
    8384        join(', ', $search['fields']['allwords']['words'])
    8485        )
     
    104105{
    105106  $template->append(
    106     'search_words',
    107      sprintf(
    108           l10n('author(s) : %s'),
    109           join(', ', $search['fields']['author']['words'])
     107      'search_words',
     108      l10n(
     109        'author(s) : %s',
     110        join(', ', $search['fields']['author']['words'])
    110111        )
    111112      );
Note: See TracChangeset for help on using the changeset viewer.