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/c13y_internal.class.php

    r4385 r5021  
    5656      {
    5757        $c13y->add_anomaly(
    58           sprintf(l10n('c13y_version_anomaly'), $elem['type'], $elem['current'], $elem['required']),
    59           null,
    60           null,
    61           l10n('c13y_version_correction')
     58          sprintf(l10n('The version of %s [%s] installed is not compatible with the version required [%s]'), $elem['type'], $elem['current'], $elem['required']),
     59          null,
     60          null,
     61          l10n('You need to upgrade your system to take full advantage of the application else the application will not work correctly, or not at all')
    6262          .'<br>'.
    6363          $c13y->get_htlm_links_more_info());
     
    8181      {
    8282        $c13y->add_anomaly(
    83           sprintf(l10n('c13y_exif_anomaly'), '$conf[\''.$value.'\']'),
    84           null,
    85           null,
    86           sprintf(l10n('c13y_exif_correction'), '$conf[\''.$value.'\']')
     83          sprintf(l10n('%s value is not correct file because exif are not supported'), '$conf[\''.$value.'\']'),
     84          null,
     85          null,
     86          sprintf(l10n('%s must be to set to false in your config_local.inc.php file'), '$conf[\''.$value.'\']')
    8787          .'<br>'.
    8888          $c13y->get_htlm_links_more_info());
     
    209209            create_user_infos($id);
    210210
    211             $page['infos'][] = sprintf(l10n('c13y_user_created'), $name, $password);
     211            $page['infos'][] = sprintf(l10n('User \"%s\" created with \"%s\" like password'), $name, $password);
    212212
    213213            $result = true;
     
    240240              $updates);
    241241
    242             $page['infos'][] = sprintf(l10n('c13y_user_status_updated'), get_username($id));
     242            $page['infos'][] = sprintf(l10n('Status of user \"%s\" updated'), get_username($id));
    243243
    244244            $result = true;
Note: See TracChangeset for help on using the changeset viewer.