/[drupal]/contributions/modules/live_translation/live_translation.update.inc
ViewVC logotype

Diff of /contributions/modules/live_translation/live_translation.update.inc

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

revision 1.5, Fri Apr 24 10:53:57 2009 UTC revision 1.6, Sun Jun 7 03:11:21 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: live_translation.update.inc,v 1.4 2009/04/24 06:25:26 brmassa Exp $  // $Id: live_translation.update.inc,v 1.5 2009/04/24 10:53:57 brmassa Exp $
3  /**  /**
4   * @author Bruno Massa   * @author Bruno Massa
5   * @file   * @file
# Line 79  function _live_translation_import($modul Line 79  function _live_translation_import($modul
79      $file_obj->filename = $filename;      $file_obj->filename = $filename;
80      if ($ret = _locale_import_po($file_obj, $langcode, $mode, $group) == FALSE) {      if ($ret = _locale_import_po($file_obj, $langcode, $mode, $group) == FALSE) {
81        $message  = t('The translation import of %filename failed.', array('%filename' => $filename));        $message  = t('The translation import of %filename failed.', array('%filename' => $filename));
       dpm($file_url);  
82      }      }
83      else {      else {
84        $message  = t('The translation import of %filename was a sucess.', array('%filename' => $filename));        $message  = t('The translation import of %filename was a sucess.', array('%filename' => $filename));
# Line 172  function _live_translation_update($retur Line 171  function _live_translation_update($retur
171    }    }
172    
173    // Go to the report page    // Go to the report page
174      if ($return) {
175        return;
176      }
177    drupal_goto('admin/reports/live-translation');    drupal_goto('admin/reports/live-translation');
178  }  }

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

  ViewVC Help
Powered by ViewVC 1.1.2