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/admin/themes_new.php

    r19703 r25005  
    4040if (!is_writable($themes_dir))
    4141{
    42   array_push(
    43     $page['errors'],
    44     sprintf(
    45       l10n('Add write access to the "%s" directory'),
    46       'themes'
    47       )
    48     );
     42  $page['errors'][] = l10n('Add write access to the "%s" directory', 'themes');
    4943}
    5044
     
    10397      array_push(
    10498        $page['errors'],
    105         sprintf(l10n('An error occured during extraction (%s).'), htmlspecialchars($_GET['installstatus']))
     99        l10n('An error occured during extraction (%s).', htmlspecialchars($_GET['installstatus']))
    106100        );
    107101  } 
Note: See TracChangeset for help on using the changeset viewer.