Ignore:
Timestamp:
10/19/08 16:53:47 (4 years ago)
Author:
hverton
Message:

updated the translation module to work with the new default_locale setting

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/administration/tools/language_pack_English.php

    r1875 r1877  
    37463746if (!defined('LP_COUNTRIES')) define('LP_COUNTRIES', "us|gb|ca|au|nz|in|za|ir|mt|hk|pr"); 
    37473747if (!defined('LP_VERSION')) define('LP_VERSION', "7.20"); 
    3748 if (!defined('LP_DATE')) define('LP_DATE', "1224413129"); 
     3748if (!defined('LP_DATE')) define('LP_DATE', "1224427994"); 
    37493749$lp_date = LP_DATE; 
    37503750 
     
    38493849        // check if this language pack has been installed 
    38503850        $variables['can_install'] = dbcount("(*)", "locale", "locale_code = '".LP_LOCALE."'") == 0; 
    3851         $variables['can_remove'] = LP_LOCALE != "en" && $variables['can_install'] == false; 
     3851        $variables['can_remove'] = LP_LOCALE != $settings['default_locale'] && $variables['can_install'] == false; 
    38523852        $variables['can_upgrade'] = $variables['can_install'] == false && $variables['last_update'] < LP_DATE; 
    38533853     
Note: See TracChangeset for help on using the changeset viewer.