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

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_12-multilang/data/include/common.php

    r22101 r22266  
    6868        $translated_single = $single; 
    6969        $translated_plural = $plural; 
    70         $options['lang_code'] = 'en'; 
     70        $options['lang_code'] = 'en-US'; 
    7171    } 
    7272 
     
    103103 * @return integer  index 
    104104 */ 
    105 function get_plural_index($count, $lang_code = 'en') { 
     105function get_plural_index($count, $lang_code = 'en-US') { 
    106106    static $plural_indexes = array(); 
    107107 
     
    124124            $plural_indexes[$lang_code][$count] = $plural; 
    125125        // If there is no plural formula for English 
    126         } elseif ($lang_code == 'en') { 
     126        } elseif ($lang_code == 'en-US') { 
    127127            $plural_indexes[$lang_code][$count] = (int) ($count != 1); 
    128128        // Otherwise, return -1 (unknown). 
Note: See TracChangeset for help on using the changeset viewer.