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/include/functions_comment.inc.php

    r5014 r5021  
    104104      if ( $row['user_exists'] == 1 )
    105105      {
    106         array_push($infos, l10n('comment_user_exists') );
     106        array_push($infos, l10n('This login is already used by another user') );
    107107        $comment_action='reject';
    108108      }
     
    141141    if ( pwg_db_num_rows( pwg_query( $query ) ) > 0 )
    142142    {
    143       array_push( $infos, l10n('comment_anti-flood') );
     143      array_push( $infos, l10n('Anti-flood system : please wait for a moment before trying to post another comment') );
    144144      $comment_action='reject';
    145145    }
     
    269269    if ( pwg_db_num_rows( pwg_query( $query ) ) > 0 )
    270270    {
    271       //?? array_push( $infos, l10n('comment_anti-flood') );
     271      //?? array_push( $infos, l10n('Anti-flood system : please wait for a moment before trying to post another comment') );
    272272      $comment_action='reject';
    273273    }
Note: See TracChangeset for help on using the changeset viewer.