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

    r13962 r25005  
    4343if (!is_writable($languages_dir))
    4444{
    45   array_push(
    46     $page['errors'],
    47     sprintf(
    48       l10n('Add write access to the "%s" directory'),
    49       'language'
    50       )
    51     );
     45  $page['errors'][] = l10n('Add write access to the "%s" directory', 'language');
    5246}
    5347
     
    10094      array_push(
    10195        $page['errors'],
    102         sprintf(l10n('An error occured during extraction (%s).'), htmlspecialchars($_GET['installstatus']))
     96        l10n('An error occured during extraction (%s).', htmlspecialchars($_GET['installstatus']))
    10397      );
    10498  } 
Note: See TracChangeset for help on using the changeset viewer.