Changeset 14870 for trunk/admin


Ignore:
Timestamp:
May 8, 2012, 11:29:19 PM (13 years ago)
Author:
plg
Message:

bug fixed: use the existing language key

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/intro.php

    r12922 r14870  
    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' => sprintf('%d rates', $nb_rates),
     215    'DB_RATES' => ($nb_rates == 0) ? l10n('no rate') : sprintf(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',
Note: See TracChangeset for help on using the changeset viewer.