Changeset 2361 in ExiteCMS


Ignore:
Timestamp:
07/26/10 12:15:31 (22 months ago)
Author:
WanWizard
Message:

updated the language files for the new forum option

Location:
trunk
Files:
3 edited

Legend:

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

    r2360 r2361  
    1 <?php 
     1<?php  
    22/*---------------------------------------------------------------------+ 
    33| ExiteCMS Content Management System                                   | 
     
    38213821    function load_localestrings($localestrings, $locales_code, $locales_name, $step="") { 
    38223822        global $db_prefix, $_db_log; 
    3823  
     3823     
    38243824        // if this is an upgrade, remove the old locale strings first 
    38253825        if ($step == "upgrade") { 
     
    38483848if (!defined('LP_COUNTRIES')) define('LP_COUNTRIES', "us|gb|ca|au|nz|in|za|ir|mt|hk|pr"); 
    38493849if (!defined('LP_VERSION')) define('LP_VERSION', "7.30"); 
    3850 if (!defined('LP_DATE')) define('LP_DATE', "1276710487"); 
     3850if (!defined('LP_DATE')) define('LP_DATE', "1280139239"); 
    38513851$lp_date = LP_DATE; 
    38523852 
     
    38643864        locale_load("admin.main"); 
    38653865    } 
    3866  
     3866     
    38673867    if (defined('CMS_SETUP') && !defined('CMS_SETUP_LOAD')) { 
    38683868        // skip if in setup and no load request was given 
     
    38753875        require_once PATH_INCLUDES."theme_functions.php"; 
    38763876    } 
    3877  
     3877     
    38783878    // used to store template variables 
    38793879    $variables = array(); 
    3880  
     3880     
    38813881    // message variable 
    38823882    $variables['message'] = ""; 
    3883  
     3883     
    38843884    // make sure step has a value 
    38853885    if (!isset($step)) $step = ""; 
    3886  
     3886     
    38873887    // de-install the language pack 
    38883888    if ($step == "remove") { 
     
    39043904        } 
    39053905    } 
    3906  
     3906     
    39073907    // install the language pack 
    39083908    if ($step == "install" || $step == "upgrade") { 
     
    39283928        } 
    39293929    } 
    3930  
     3930     
    39313931    if (defined('CMS_SETUP')) { 
    3932  
     3932     
    39333933        // no output at all in setup mode 
    3934  
     3934         
    39353935    } elseif (CMS_CLI) { 
    3936  
     3936     
    39373937        // output in CLI mode 
    39383938        echo "Language pack installed.\n"; 
    3939  
     3939         
    39403940    } else { 
    3941  
     3941     
    39423942        // interactive mode 
    39433943        require_once PATH_INCLUDES."theme_functions.php"; 
    3944  
     3944     
    39453945        // countries for which this language pack applies 
    39463946        $variables['flags'] = explode("|", LP_COUNTRIES); 
     
    39483948        // check the last update of the locale 
    39493949        $variables['last_update'] = isset($settings['LanguagePack.'.LP_LANGUAGE]) ? $settings['LanguagePack.'.LP_LANGUAGE] : min(LP_DATE - 1, dbfunction("MAX(locales_datestamp)", "locales", "locales_code = '".LP_LOCALE."' AND locales_name NOT LIKE 'modules%'")); 
    3950  
     3950         
    39513951        // check if this language pack has been installed 
    39523952        $variables['can_install'] = dbcount("(*)", "locale", "locale_code = '".LP_LOCALE."'") == 0; 
    39533953        $variables['can_remove'] = LP_LOCALE != $settings['default_locale'] && $variables['can_install'] == false; 
    39543954        $variables['can_upgrade'] = $variables['can_install'] == false && $variables['last_update'] < LP_DATE; 
    3955  
     3955     
    39563956        // define the body panel variables 
    39573957        $template_panels[] = array('type' => 'body', 'name' => 'admin.tools.languagepack', 'title' => "ExiteCMS Language Packs", 'template' => 'admin.tools.languagepack.tpl', 'locale' => "admin.main"); 
    39583958        $template_variables['admin.tools.languagepack'] = $variables; 
    3959  
     3959         
    39603960        // Call the theme code to generate the output for this webpage 
    39613961        require_once PATH_THEME."/theme.php"; 
  • trunk/administration/tools/language_pack_Nederlands.php

    r2360 r2361  
    1 <?php 
     1<?php  
    22/*---------------------------------------------------------------------+ 
    33| ExiteCMS Content Management System                                   | 
     
    38213821    function load_localestrings($localestrings, $locales_code, $locales_name, $step="") { 
    38223822        global $db_prefix, $_db_log; 
    3823  
     3823     
    38243824        // if this is an upgrade, remove the old locale strings first 
    38253825        if ($step == "upgrade") { 
     
    38483848if (!defined('LP_COUNTRIES')) define('LP_COUNTRIES', "nl|be|sr|aw|an"); 
    38493849if (!defined('LP_VERSION')) define('LP_VERSION', "7.30"); 
    3850 if (!defined('LP_DATE')) define('LP_DATE', "1276710492"); 
     3850if (!defined('LP_DATE')) define('LP_DATE', "1280139245"); 
    38513851$lp_date = LP_DATE; 
    38523852 
     
    38643864        locale_load("admin.main"); 
    38653865    } 
    3866  
     3866     
    38673867    if (defined('CMS_SETUP') && !defined('CMS_SETUP_LOAD')) { 
    38683868        // skip if in setup and no load request was given 
     
    38753875        require_once PATH_INCLUDES."theme_functions.php"; 
    38763876    } 
    3877  
     3877     
    38783878    // used to store template variables 
    38793879    $variables = array(); 
    3880  
     3880     
    38813881    // message variable 
    38823882    $variables['message'] = ""; 
    3883  
     3883     
    38843884    // make sure step has a value 
    38853885    if (!isset($step)) $step = ""; 
    3886  
     3886     
    38873887    // de-install the language pack 
    38883888    if ($step == "remove") { 
     
    39043904        } 
    39053905    } 
    3906  
     3906     
    39073907    // install the language pack 
    39083908    if ($step == "install" || $step == "upgrade") { 
     
    39283928        } 
    39293929    } 
    3930  
     3930     
    39313931    if (defined('CMS_SETUP')) { 
    3932  
     3932     
    39333933        // no output at all in setup mode 
    3934  
     3934         
    39353935    } elseif (CMS_CLI) { 
    3936  
     3936     
    39373937        // output in CLI mode 
    39383938        echo "Language pack installed.\n"; 
    3939  
     3939         
    39403940    } else { 
    3941  
     3941     
    39423942        // interactive mode 
    39433943        require_once PATH_INCLUDES."theme_functions.php"; 
    3944  
     3944     
    39453945        // countries for which this language pack applies 
    39463946        $variables['flags'] = explode("|", LP_COUNTRIES); 
     
    39483948        // check the last update of the locale 
    39493949        $variables['last_update'] = isset($settings['LanguagePack.'.LP_LANGUAGE]) ? $settings['LanguagePack.'.LP_LANGUAGE] : min(LP_DATE - 1, dbfunction("MAX(locales_datestamp)", "locales", "locales_code = '".LP_LOCALE."' AND locales_name NOT LIKE 'modules%'")); 
    3950  
     3950         
    39513951        // check if this language pack has been installed 
    39523952        $variables['can_install'] = dbcount("(*)", "locale", "locale_code = '".LP_LOCALE."'") == 0; 
    39533953        $variables['can_remove'] = LP_LOCALE != $settings['default_locale'] && $variables['can_install'] == false; 
    39543954        $variables['can_upgrade'] = $variables['can_install'] == false && $variables['last_update'] < LP_DATE; 
    3955  
     3955     
    39563956        // define the body panel variables 
    39573957        $template_panels[] = array('type' => 'body', 'name' => 'admin.tools.languagepack', 'title' => "ExiteCMS Language Packs", 'template' => 'admin.tools.languagepack.tpl', 'locale' => "admin.main"); 
    39583958        $template_variables['admin.tools.languagepack'] = $variables; 
    3959  
     3959         
    39603960        // Call the theme code to generate the output for this webpage 
    39613961        require_once PATH_THEME."/theme.php"; 
  • trunk/files/locales/en.main.global.php

    r2354 r2361  
    33// locale       : English 
    44// locale name  : main.global 
    5 // generated on : Wed Jun 16 2010, 19:47:34 CEST 
     5// generated on : Mon Jul 26 2010, 12:14:21 CEST 
    66// translators  : ExiteCMS team,WanWizard 
    77// ---------------------------------------------------------- 
Note: See TracChangeset for help on using the changeset viewer.