Ignore:
Timestamp:
Jul 1, 2010, 4:33:15 PM (14 years ago)
Author:
shunfa
Message:

修改驗證資料夾及語言檔

File:
1 edited

Legend:

Unmodified
Added
Removed
  • nutchez-0.2/src/shell/master_remove

    r233 r244  
    99#   
    1010
    11 source /home/nutchuser/nutchez/system/lang_link
     11#source /home/nutchuser/nutchez/system/lang_link
    1212
    1313##########  echo function  ##########
     
    2828nutch_PATH=/home/nutchuser/nutchez/system
    2929
     30function load_default_lang(){
     31
     32lang=$(locale | grep 'LANG=' | cut -d "=" -f2)
     33
     34# Default: source english
     35. $Work_Path/lang/lang_en_US
     36# if locale is zh then source chinese
     37
     38echo $lang | grep 'zh' >> /dev/null && source $Work_Path/lang/lang_zh_TW
     39}
    3040
    3141# check root
Note: See TracChangeset for help on using the changeset viewer.