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/admin/include/functions_permalinks.php

    r4833 r5021  
    8888      $page['errors'][] =
    8989        sprintf(
    90           l10n('Permalink_%s_histo_used_by_%s'),
     90          l10n('Permalink %s has been previously used by category %s. Delete from the permalink history first'),
    9191          $permalink, $old_cat_id
    9292        );
     
    141141      or preg_match( '#^(\d)+(-.*)?$#', $permalink) )
    142142  {
    143     $page['errors'][] = l10n('Permalink_name_rule');
     143    $page['errors'][] = l10n('The permalink name must be composed of a-z, A-Z, 0-9, \"-\", \"_\" or \"/\". It must not be numeric or start with number followed by \"-\"');
    144144    return false;
    145145  }
     
    170170    $page['errors'][] =
    171171      sprintf(
    172         l10n('Permalink_%s_histo_used_by_%s'),
     172        l10n('Permalink %s has been previously used by category %s. Delete from the permalink history first'),
    173173        $permalink, $old_cat_id
    174174      );
Note: See TracChangeset for help on using the changeset viewer.