Changeset 231 for nutchez-0.2/src/shell/client_install_func.sh
- Timestamp:
- Jun 28, 2010, 11:40:49 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
nutchez-0.2/src/shell/client_install_func.sh
r213 r231 20 20 } 21 21 22 23 # choose Language 24 function choose_lang(){ 22 function load_default_lang(){ 25 23 26 24 lang=$(locale | grep 'LANG=' | cut -d "=" -f2) … … 29 27 . $Work_Path/lang/lang_en_US_client_install 30 28 # if locale is zh then source chinese 29 31 30 echo $lang | grep 'zh' >> /dev/null && source $Work_Path/lang/lang_zh_TW_client_install 31 } 32 33 # choose Language 34 function choose_lang(){ 35 36 #lang=$(locale | grep 'LANG=' | cut -d "=" -f2) 37 38 # Default: source english 39 #. $Work_Path/lang/lang_en_US_client_install 40 # if locale is zh then source chinese 41 #echo $lang | grep 'zh' >> /dev/null && source $Work_Path/lang/lang_zh_TW_client_install 32 42 33 43 # Ask language
Note: See TracChangeset
for help on using the changeset viewer.