/[drupal]/contributions/modules/transliteration/transliteration.install
ViewVC logotype

Diff of /contributions/modules/transliteration/transliteration.install

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

revision 1.4.2.1, Tue Aug 25 17:01:11 2009 UTC revision 1.4.2.2, Fri Oct 9 12:18:06 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: transliteration.install,v 1.4 2009/08/25 14:44:25 smk Exp $  // $Id: transliteration.install,v 1.4.2.1 2009/08/25 17:01:11 smk Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 22  function transliteration_install() { Line 22  function transliteration_install() {
22    }    }
23    else {    else {
24      $t = get_t();      $t = get_t();
25      drupal_set_message($t('Existing file names have not been transliterated.'));      drupal_set_message($t('Existing filenames have not been transliterated.'));
26    }    }
27  }  }
28    
# Line 63  function transliteration_install_retroac Line 63  function transliteration_install_retroac
63        break;        break;
64    
65      default:      default:
66        drupal_set_message($t('File names could not be transliterated: database type not supported.'), 'error');        drupal_set_message($t('Filenames could not be transliterated: database type not supported.'), 'error');
67        return;        return;
68    }    }
69    
# Line 87  function transliteration_install_retroac Line 87  function transliteration_install_retroac
87    }    }
88    
89    if ($errors) {    if ($errors) {
90      $message = $t('Not all existing file names could be transliterated. The following files could not be accessed:');      $message = $t('Not all existing filenames could be transliterated. The following files could not be accessed:');
91      $message .= theme_item_list($errors);      $message .= theme_item_list($errors);
92      drupal_set_message($message, 'error');      drupal_set_message($message, 'error');
93    }    }
94    else {    else {
95      drupal_set_message($t('Existing file names have been successfully transliterated.'));      drupal_set_message($t('Existing filenames have been successfully transliterated.'));
96    }    }
97  }  }
98    
# Line 106  function transliteration_update_1() { Line 106  function transliteration_update_1() {
106    }    }
107    else {    else {
108      $t = get_t();      $t = get_t();
109      drupal_set_message($t('Existing file names have not been transliterated.'));      drupal_set_message($t('Existing filenames have not been transliterated.'));
110    }    }
111    return $ret;    return $ret;
112  }  }

Legend:
Removed from v.1.4.2.1  
changed lines
  Added in v.1.4.2.2

  ViewVC Help
Powered by ViewVC 1.1.2