Ignore:
Timestamp:
2013/01/17 10:34:51 (11 years ago)
Author:
m_uehara
Message:

#2026 en → en-US に変更しました。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_12-multilang/data/class/helper/SC_Helper_Locale.php

    r22226 r22266  
    5555        // If language code is not specified, use site default. 
    5656        if (empty($options['lang_code'])) { 
    57             $lang_code = $options['lang_code'] = defined('LANG_CODE') ? LANG_CODE : 'en'; 
     57            $lang_code = $options['lang_code'] = defined('LANG_CODE') ? LANG_CODE : 'en-US'; 
    5858        } else { 
    5959            $lang_code = $options['lang_code']; 
     
    7373 
    7474        // Get string list of specified language. 
    75         if ($lang_code != 'en') { 
    76             $translations = SC_Helper_Locale_Ex::$_instance->get_translations($lang_code, $device_type_id); 
    77             // Whether a string which corresponding with alias is exist. 
    78             if (isset($translations[$return])) { 
    79                 $return = $translations[$return]; 
    80             } 
     75        $translations = SC_Helper_Locale_Ex::$_instance->get_translations($lang_code, $device_type_id); 
     76        // Whether a string which corresponding with alias is exist. 
     77        if (isset($translations[$return])) { 
     78            $return = $translations[$return]; 
    8179        } 
    8280 
Note: See TracChangeset for help on using the changeset viewer.