Ignore:
Timestamp:
Mar 3, 2010, 12:18:21 PM (14 years ago)
Author:
nikrou
Message:

Feature 1451 : fix mispelling and missing translations

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/include/functions_notification_by_mail.inc.php

    r5021 r5036  
    316316  if ($env_nbm['error_on_mail_count'] != 0)
    317317  {
    318     array_push($page['errors'], l10n_dec('nbm_msg_n_mail_not_send', 'nbm_msg_n_mails_not_send', $env_nbm['error_on_mail_count']));
     318    array_push($page['errors'], l10n_dec('%d mail was not sent.', '%d mails were not sent.', $env_nbm['error_on_mail_count']));
    319319    if ($env_nbm['sent_mail_count'] != 0)
    320       array_push($page['infos'], l10n_dec('nbm_msg_n_mail_sent', 'nbm_msg_n_mails_sent', $env_nbm['sent_mail_count']));
     320      array_push($page['infos'], l10n_dec('%d mail was sent.', '%d mails were sent.', $env_nbm['sent_mail_count']));
    321321  }
    322322  else
     
    325325      array_push($page['infos'], l10n('No mail to send.'));
    326326    else
    327       array_push($page['infos'], l10n_dec('nbm_msg_n_mail_sent', 'nbm_msg_n_mails_sent', $env_nbm['sent_mail_count']));
     327      array_push($page['infos'], l10n_dec('%d mail was sent.', '%d mails were sent.', $env_nbm['sent_mail_count']));
    328328  }
    329329}
     
    492492  }
    493493
    494   array_push($page['infos'], l10n_dec('nbm_user_change_enabled_updated_data_count', 'nbm_users_change_enabled_updated_data_count', $updated_data_count));
     494  array_push($page['infos'], l10n_dec('%d user was updated.', '%d users were updated.', $updated_data_count));
    495495  if ($error_on_updated_data_count != 0)
    496496  {
    497497    array_push($page['errors'],
    498       l10n_dec('nbm_user_change_enabled_error_on_updated_data_count',
    499                'nbm_users_change_enabled_error_on_updated_data_count',
     498      l10n_dec('%d user was not updated.',
     499               '%d users were not updated.',
    500500               $error_on_updated_data_count));
    501501  }
Note: See TracChangeset for help on using the changeset viewer.