/[drupal]/contributions/modules/live_translation/live_translation.module
ViewVC logotype

Diff of /contributions/modules/live_translation/live_translation.module

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.3, Mon Apr 20 02:48:32 2009 UTC revision 1.4, Thu Apr 23 23:32:25 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: live_translation.module,v 1.2 2009/04/19 02:35:51 brmassa Exp $  // $Id: live_translation.module,v 1.3 2009/04/20 02:48:32 brmassa Exp $
3  /**  /**
4   * @author Bruno Massa   * @author Bruno Massa
5   * @file   * @file
# Line 69  function live_translation_requirements($ Line 69  function live_translation_requirements($
69        case LIVE_TRANSLATION_STATUS_OUTDATE:        case LIVE_TRANSLATION_STATUS_OUTDATE:
70          $requirements['live_translation']['value']        = t('New translations available');          $requirements['live_translation']['value']        = t('New translations available');
71          $requirements['live_translation']['severity']     = REQUIREMENT_ERROR;          $requirements['live_translation']['severity']     = REQUIREMENT_ERROR;
72          $requirements['live_translation']['description']  = t('There are new strings translated on the translation servers. Go to <a href="admin/reports/live-translation">translation status page</a>.');          $requirements['live_translation']['description']  = t('There are new strings translated on the translation servers. Go to !translation_status_page.', array('!translation_status_page' => l('translation status page', 'admin/reports/live-translation')));
73          break;          break;
74        case LIVE_TRANSLATION_STATUS_UNKNOWN:        case LIVE_TRANSLATION_STATUS_UNKNOWN:
75          $requirements['live_translation']['value']        = t('No update data available');          $requirements['live_translation']['value']        = t('No update data available');
76          $requirements['live_translation']['severity']     = REQUIREMENT_WARNING;          $requirements['live_translation']['severity']     = REQUIREMENT_WARNING;
77          $requirements['live_translation']['description']  = t('There is a long time you do not check the translation status with the server. Configure cron or <a href="/admin/reports/live-translation/update">check it now</a>.');          $requirements['live_translation']['description']  = t('There is a long time you do not check the translation status with the server. Configure cron or !check_it_now.', array('!check_it_now' => l('check it now', 'admin/reports/live-translation/update')));
78          break;          break;
79        default:        default:
80          $requirements['live_translation']['value']        = t('Up to date');          $requirements['live_translation']['value']        = t('Up to date');

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

  ViewVC Help
Powered by ViewVC 1.1.2