Changeset 8910


Ignore:
Timestamp:
01/26/11 12:01:48 (9 years ago)
Author:
plg
Message:

bug 2132: remove references to the plugin version

Location:
extensions/ContactForm
Files:
18 edited

Legend:

Unmodified
Added
Removed
  • extensions/ContactForm/include/cf_common.inc.php

    r8909 r8910  
    66/* ************************** */ 
    77 
    8 // Version 
    98define('CF_TITLE',              'cf_plugin_name'); 
    109 
  • extensions/ContactForm/include/cf_functions.inc.php

    r8152 r8910  
    187187} 
    188188 
    189 function cf_get_history_list($file_name, &$errors = array()) { 
    190   // Include language advices 
    191   load_language('plugin.lang', CF_PATH); 
    192   global $lang; 
    193   $month_list = $lang['month']; 
    194   $history = array(); 
    195   if (!file_exists($file_name)) { 
    196     array_push($errors, sprintf(l10n('cf_file_not_found'), $file_name)); 
    197     return $history; 
    198   } 
    199   $raw_history = file($file_name, 
    200                       FILE_IGNORE_NEW_LINES|FILE_SKIP_EMPTY_LINES); 
    201  
    202   $index = -1; 
    203   array_push($errors, sprintf(l10n('cf_file_empty'), $file_name)); 
    204   foreach($raw_history as $new_line) { 
    205     $pos = strpos($new_line, ' '); 
    206     switch ($pos) { 
    207       case 0: 
    208         // History item 
    209         if (isset($history[$index]) and is_array($history[$index])) { 
    210           array_push($history[$index]['CHANGES'], trim($new_line)); 
    211         } 
    212         break; 
    213       default: 
    214         // New history date 
    215         $index++; 
    216         list($date, $version) = explode(' ', $new_line); 
    217         list($year, $month, $day) = explode('-', $date); 
    218         $date_array = array('RAW' => $date); 
    219         if (isset($month)) { 
    220           $month = $month_list[intval($month)]; 
    221         } 
    222         if (isset($year) and isset($month) and isset($day)) { 
    223           $date_array['FORMATTED'] = cf_format_date($year, 
    224                                                     $month, 
    225                                                     $day, 
    226                                                     l10n('cf_format_date')); 
    227         } 
    228         $history[$index] = array( 
    229             'DATE'     => $date_array, 
    230             'VERSION'  => $version, 
    231             'CHANGES'  => array(), 
    232           ); 
    233     } 
    234   } 
    235   return $history; 
    236 } 
    237  
    238189?> 
  • extensions/ContactForm/language/ar_SA/plugin.lang.php

    r8908 r8910  
    3434$lang['cf_sending_mail_successful'] = 'تم الارسال بنجاح'; 
    3535$lang['cf_form_error'] = 'معلومات غير صحيحة'; 
    36 $lang['cf_inconsistent_version'] = '%s: أرقام إصدار غير متناسقة'; 
    3736$lang['cf_no_unlink'] = 'الوظيفة "unlink" غير متوفرة'; 
    3837$lang['cf_unlink_errors'] = 'خطأ اثناء حذف الملف'; 
  • extensions/ContactForm/language/cs_CZ/plugin.lang.php

    r8908 r8910  
    3434$lang['cf_sending_mail_successful'] = 'E-mail odeslán'; 
    3535$lang['cf_form_error'] = 'Nesprávná data'; 
    36 $lang['cf_inconsistent_version'] = '%s: nekonzistentní čísla verzí'; 
    3736$lang['cf_no_unlink'] = 'Funkce \'unlink\' není k dispozici...'; 
    3837$lang['cf_unlink_errors'] = 'Chyba nastala při mazání souboru'; 
  • extensions/ContactForm/language/de_DE/plugin.lang.php

    r8908 r8910  
    3333$lang['cf_sending_mail_successful'] = 'Die E-Mail wurde erfolgreich versendet'; 
    3434$lang['cf_form_error'] = 'Ungültige Daten';  
    35 $lang['cf_inconsistent_version'] = '%s : Inkompatible Version'; 
    3635$lang['cf_no_unlink'] = 'Die Funktion \'unlink\' ist nicht verfügbar...'; 
    3736$lang['cf_unlink_errors'] = 'Es ist ein Fehler während der Löschung der Datei entstanden'; 
  • extensions/ContactForm/language/en_UK/plugin.lang.php

    r8908 r8910  
    3434$lang['cf_sending_mail_successful'] = 'E-mail sent successfully'; 
    3535$lang['cf_form_error'] = 'Invalid data'; 
    36 $lang['cf_inconsistent_version'] = '%s: inconsistent version numbers'; 
    3736$lang['cf_no_unlink'] = 'Function \'unlink\' not available...'; 
    3837$lang['cf_unlink_errors'] = 'Error occured during file deletion'; 
  • extensions/ContactForm/language/es_ES/plugin.lang.php

    r8908 r8910  
    3333$lang['cf_sending_mail_successful'] = 'E-mail enviado con éxito'; 
    3434$lang['cf_form_error'] = 'Datos incorrectos'; 
    35 $lang['cf_inconsistent_version'] = '%s : números de versión incoherentes'; 
    3635$lang['cf_no_unlink'] = 'La función \'unlink \' no está disponible'; 
    3736$lang['cf_unlink_errors'] = 'Errores se efectuaron en el momento de la supresión de ficheros'; 
  • extensions/ContactForm/language/fr_FR/plugin.lang.php

    r8908 r8910  
    3434$lang['cf_sending_mail_successful'] = 'E-mail envoyé avec succès'; 
    3535$lang['cf_form_error'] = 'Données incorrectes'; 
    36 $lang['cf_inconsistent_version'] = '%s : numéros de version incohérentes'; 
    3736$lang['cf_no_unlink'] = 'La fonction \'unlink\' n\'est pas disponible'; 
    3837$lang['cf_unlink_errors'] = 'Des erreurs ont eu lieu lors de la suppression de fichiers'; 
  • extensions/ContactForm/language/hu_HU/plugin.lang.php

    r8908 r8910  
    3434$lang['cf_sending_mail_successful'] = 'A levelet sikeresen elküldtük'; 
    3535$lang['cf_form_error'] = 'Érvénytelen adat'; 
    36 $lang['cf_inconsistent_version'] = '%s: következetlen verziószám'; 
    3736$lang['cf_no_unlink'] = 'Csatolás megszűntetése \'unlink\' lehetőség nem elérhető...'; 
    3837$lang['cf_unlink_errors'] = 'Hiba történt a fájl törlésekor'; 
  • extensions/ContactForm/language/it_IT/plugin.lang.php

    r8908 r8910  
    3333$lang['cf_sending_mail_successful'] = 'Invio dell\'E-mail riuscito'; 
    3434$lang['cf_form_error'] = 'Dati errati';  
    35 $lang['cf_inconsistent_version'] = '%s : versioni incoerenti'; 
    3635$lang['cf_no_unlink'] = 'La funzione \'unlink\' non è disponibile'; 
    3736$lang['cf_unlink_errors'] = 'Errori durante la sopressione dei file'; 
  • extensions/ContactForm/language/lv_LV/plugin.lang.php

    r8908 r8910  
    3434$lang['cf_sending_mail_successful'] = 'E-pasts nosūtīts veiksmīgi'; 
    3535$lang['cf_form_error'] = 'Kļūdaini dati'; 
    36 $lang['cf_inconsistent_version'] = '%s: pretrunīgi versiju numuri'; 
    3736$lang['cf_no_unlink'] = 'Funkcija \'unlink\' nav pieejama...'; 
    3837$lang['cf_unlink_errors'] = 'Kļūda dzēšot failu'; 
  • extensions/ContactForm/language/nl_NL/plugin.lang.php

    r8908 r8910  
    3434$lang['cf_sending_mail_successful'] = 'E-mail succesvol verzonden'; 
    3535$lang['cf_form_error'] = 'Onjuiste gegevens'; 
    36 $lang['cf_inconsistent_version'] = '%s: inconsistente versie nummers'; 
    3736$lang['cf_no_unlink'] = 'Functie \'unlink\' nie beschikbaar...'; 
    3837$lang['cf_unlink_errors'] = 'Fout opgetreden tijdens verwijderen van bestand'; 
  • extensions/ContactForm/language/no_NO/plugin.lang.php

    r8908 r8910  
    3434$lang['cf_sending_mail_successful'] = 'E-mail ble sendt'; 
    3535$lang['cf_form_error'] = 'Invalide data'; 
    36 $lang['cf_inconsistent_version'] = '%s: inkonsekvent versjons nummer'; 
    3736$lang['cf_no_unlink'] = 'Funksjonen \'fjern link\' ikke tilgjengelig...'; 
    3837$lang['cf_unlink_errors'] = 'En feil oppstod ved sletting av filer'; 
  • extensions/ContactForm/language/pl_PL/plugin.lang.php

    r8908 r8910  
    3333$lang['cf_sending_mail_successful'] = 'Wiadomość wysłana poprawnie'; 
    3434$lang['cf_form_error'] = 'Nieprawidłowe dane'; 
    35 $lang['cf_inconsistent_version'] = '%s: niesłaściwy numer wersji'; 
    3635$lang['cf_no_unlink'] = 'Funkcja \'unlink\' niedostępna...'; 
    3736$lang['cf_unlink_errors'] = 'Wystąpił błąd podczas kasowania pliku'; 
  • extensions/ContactForm/language/ru_RU/plugin.lang.php

    r8908 r8910  
    3434$lang['cf_sending_mail_successful'] = 'Сообщение успешно отправлено'; 
    3535$lang['cf_form_error'] = 'Ошибка при подготовке сообщения к отправке'; 
    36 $lang['cf_inconsistent_version'] = '%s: несовместимая версия'; 
    3736$lang['cf_no_unlink'] = 'Функция \'unlink\' недоступна...'; 
    3837$lang['cf_unlink_errors'] = 'Ошибка при удалении файла'; 
  • extensions/ContactForm/language/sk_SK/plugin.lang.php

    r8908 r8910  
    3434$lang['cf_sending_mail_successful'] = 'E-mail bol úspešne odoslaný'; 
    3535$lang['cf_form_error'] = 'Neplatné údaje'; 
    36 $lang['cf_inconsistent_version'] = '%s: Nezhodné čísla verzií'; 
    3736$lang['cf_no_unlink'] = 'Funkcia \'unlink\' nie je prístupná...'; 
    3837$lang['cf_unlink_errors'] = 'Vyskytla sa chyba v priebehu mazania súboru'; 
  • extensions/ContactForm/language/sv_SE/plugin.lang.php

    r8908 r8910  
    3434$lang['cf_sending_mail_successful'] = 'E-post skickats'; 
    3535$lang['cf_form_error'] = 'Ogiltiga data'; 
    36 $lang['cf_inconsistent_version'] = '%s: inkonsekvent versionsnummer'; 
    3736$lang['cf_no_unlink'] = 'Funktion \'unlink\' inte tillgänglig...'; 
    3837$lang['cf_unlink_errors'] = 'Fel inträffade vid borttagning av filer'; 
  • extensions/ContactForm/language/tr_TR/plugin.lang.php

    r8908 r8910  
    3434$lang['cf_sending_mail_successful'] = 'Mesajınız başarılı bir şekilde gönderildi.'; 
    3535$lang['cf_form_error'] = 'Geçersiz bilgi'; 
    36 $lang['cf_inconsistent_version'] = '%s: bağpdaşmayan versiyon'; 
    3736$lang['cf_no_unlink'] = 'Fonksiyon \'unlink\' ulaşılamaz...'; 
    3837$lang['cf_unlink_errors'] = 'Dosyada hata oluştu'; 
Note: See TracChangeset for help on using the changeset viewer.