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

    r20462 r25005  
    213213    'DB_USERS' => l10n_dec('%d user', '%d users', $nb_users),
    214214    'DB_GROUPS' => l10n_dec('%d group', '%d groups', $nb_groups),
    215     'DB_RATES' => ($nb_rates == 0) ? l10n('no rate') : sprintf(l10n('%d rates'), $nb_rates),
     215    'DB_RATES' => ($nb_rates == 0) ? l10n('no rate') : l10n('%d rates', $nb_rates),
    216216    'U_CHECK_UPGRADE' => PHPWG_ROOT_PATH.'admin.php?action=check_upgrade',
    217217    'U_PHPINFO' => PHPWG_ROOT_PATH.'admin.php?action=phpinfo',
     
    244244      array(
    245245        'URL' => PHPWG_ROOT_PATH.'admin.php?page=comments',
    246         'INFO' => sprintf(l10n('%d waiting for validation'), $nb_comments)
     246        'INFO' => l10n('%d waiting for validation', $nb_comments)
    247247        )
    248248      );
     
    262262    array(
    263263      'DB_DATE' =>
    264       sprintf(
    265         l10n('first photo added on %s'),
    266         format_date($first_date)
    267         )
     264      l10n('first photo added on %s', format_date($first_date))
    268265      )
    269266    );
Note: See TracChangeset for help on using the changeset viewer.