Changeset 5021 for trunk/password.php


Ignore:
Timestamp:
Mar 2, 2010, 3:54:22 PM (14 years ago)
Author:
nikrou
Message:

Feature 1451 : localization with gettext
Use php-gettext (developpement version rev43, because of php5.3) as fallback
Use native language (english) instead of key for translation
Keep directory en_UK for english customization
Need some refactoring for plurals

Todo : managing plugins in the same way

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/password.php

    r5014 r5021  
    5252  if (isset($_POST['no_mail_address']) and $_POST['no_mail_address'] == 1)
    5353  {
    54     array_push($page['infos'], l10n('Email address is missing'));
     54    array_push($page['infos'], l10n('Email address is missing. Please specify an email address.'));
    5555    array_push($page['infos'], $mailto);
    5656  }
     
    131131    else
    132132    {
    133       array_push($page['errors'], l10n('No user matches this email address'));
     133      array_push($page['errors'], l10n('No classic user matches this email address'));
    134134      array_push($page['errors'], l10n('Administrator, webmaster and special user cannot use this method'));
    135135      array_push($page['errors'], $mailto);
Note: See TracChangeset for help on using the changeset viewer.