Ignore:
Timestamp:
Aug 17, 2009, 5:00:50 PM (15 years ago)
Author:
Criss
Message:

Add default value to language translation

File:
1 edited

Legend:

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

    r3743 r3746  
    77
    88// Version
    9 define('CF_VERSION',            '1.0.0');
     9define('CF_VERSION',            '1.0.1');
    1010define('CF_TITLE',              'Contact Form');
    1111
     
    3737define('CF_REDIRECT_DELAY',     5);
    3838define('CF_DEFAULT_LINKNAME',   'ContactFormLink');
     39define('CF_LANG_DEFAULT',       'default');
    3940// Config keys
    4041if (isset($plugin)) {
     
    8586$cf_config_lang_keys = array();
    8687$cf_config_lang_keys['contact_form_title'] = array(
     88    CF_LANG_DEFAULT => l10n('contact_form_title'),
    8789    'fr_FR' => 'Formulaire de contact',
    8890    'en_UK' => 'Contact form',
     
    9092);
    9193$cf_config_lang_keys['contact_form'] = array(
     94    CF_LANG_DEFAULT => l10n('contact_form'),
    9295    'fr_FR' => 'Contacter',
    9396    'en_UK' => 'Contact',
     
    9598);
    9699$cf_config_lang_keys['contact_form_link'] = array(
     100    CF_LANG_DEFAULT => l10n('contact_form_link'),
    97101    'fr_FR' => 'Contacter le webmestre',
    98102    'en_UK' => 'Contact webmaster',
Note: See TracChangeset for help on using the changeset viewer.