1 | #!/bin/bash |
---|
2 | # Program: |
---|
3 | # Chinese Language file for nutchez |
---|
4 | # Author: |
---|
5 | # Waue, Shunfa, Rock {waue, shunfa, rock}@nchc.org.tw |
---|
6 | # Version: |
---|
7 | # 1.0 |
---|
8 | # History: |
---|
9 | # 2010/06/14 Rock First release (1.0) |
---|
10 | |
---|
11 | # [Variables Declaration] # |
---|
12 | ## Lang for common ## |
---|
13 | user_error="您不是nutchuser,請切換成 \"nutchuser\" 使用者 !!!" |
---|
14 | |
---|
15 | ## [Lang for dialog] ## |
---|
16 | dia_back='= [NutchEz 管理介面] ~by NCHC =' |
---|
17 | dia_choose="請選擇: " |
---|
18 | dia_exit="結束" |
---|
19 | |
---|
20 | ## [Lang for prepare_check] ## |
---|
21 | dia_pre_check_title_1="[nutch_nodes 檔案]" |
---|
22 | dia_pre_check_msg_1="失敗:找不到" |
---|
23 | dia_pre_check_title_2="[/etc/host 檔案更新]" |
---|
24 | dia_pre_check_yesno_1="第一次執行 nutchez 管理介面" |
---|
25 | dia_pre_check_yesno_2="請更新 /etc/hosts !!!" |
---|
26 | pre_check_echo_1="請輸入 root 密碼來更新 /etc/hosts !!!" |
---|
27 | pre_check_echo_2="root 密碼錯誤,請先確認 root 密碼是否正確 !!!" |
---|
28 | dia_pre_check_yesno_3="nutch_nodes 檔案已被修改過" |
---|
29 | |
---|
30 | ## [Lang for main_menu()] ## |
---|
31 | dia_main_title_1="[管理功能選項]" |
---|
32 | dia_main_menu_1_1="檢查 Cluster 狀態" |
---|
33 | dia_main_menu_1_2="設定 datanode & tasktracker" |
---|
34 | dia_main_menu_1_3="設定 namenode & jobtracker" |
---|
35 | dia_main_menu_1_4="啟動/停止/重新啟動 Tomcat" |
---|
36 | dia_main_menu_1_5="更改 Tomcat port" |
---|
37 | dia_main_menu_1_6="更換語言" |
---|
38 | |
---|
39 | ## [Lang for cluster_status()] ## |
---|
40 | cluster_status_echo_1="[IP] \t\t [Hostname] \t [Network] \t [Dtatnode & Tasktracker]" |
---|
41 | cluster_status_echo_2="開始檢查 Cluster..." |
---|
42 | cluster_status_read_1="請輸入任何鍵繼續..." |
---|
43 | dia_cluster_status_title_1="[Cluster 狀態]" |
---|
44 | |
---|
45 | ## [Lang for srver_setup()] ## |
---|
46 | dia_server_title_1="[Server 狀態]" |
---|
47 | dia_server_msg_1="Namenode & Jobtracker 並未運作" |
---|
48 | dia_server_msg_2="Jobtracker 正在運作, Namenode 並未運作" |
---|
49 | dia_server_msg_3="Namenode 正在運作, Jobtracker 並未運作" |
---|
50 | dia_server_msg_4="Namenode & Jobtracker 正在運作" |
---|
51 | dia_server_title_2="[Namenode & Jobtracker 設定]" |
---|
52 | dia_server_menu_1_1="啟動 Namenode & Jobtracker" |
---|
53 | dia_server_menu_1_2="停止 Namenode & Jobtracker" |
---|
54 | dia_server_menu_1_3="重新啟動 Namenode & Jobtracker" |
---|
55 | |
---|
56 | ## [Labg for cluster_setup()] ## |
---|
57 | dia_cluster_setup_title_1="[全部或部份 nodes]" |
---|
58 | dia_cluster_setup_menu_1_1="全部 nodes" |
---|
59 | dia_cluster_setup_menu_1_2="部份 nodes" |
---|
60 | dia_cluster_setup_title_2="[Datanode & Tasktracker Nodes 選擇]" |
---|
61 | dia_cluster_setup_check_1="選擇 Datanode & Tasktracker: " |
---|
62 | dia_cluster_setup_title_3="[Datanode & Tasktracker 設定]" |
---|
63 | dia_cluster_setup_menu_2_1="啟動 Datanodes & Tasktrackers" |
---|
64 | dia_cluster_setup_menu_2_2="停止 Datanodes & Tasktrackers" |
---|
65 | dia_cluster_setup_menu_2_3="重新啟動 Datanodes & Tasktrackers" |
---|
66 | cluster_setup_echo_1="[啟動 datanode & tasktracker]" |
---|
67 | cluster_setup_echo_error="失敗:無法 ssh 到 " |
---|
68 | cluster_setup_echo_3="[停止 datanode & tasktracker]" |
---|
69 | cluster_setup_echo_5="[重新啟動 datanode & tasktracker]" |
---|
70 | |
---|
71 | ## [Lang for tomcat_swith()] # |
---|
72 | dia_tomcat_switch_title_1="[Tomcat 狀態]" |
---|
73 | dia_tomcat_switch_msg_1="Tomcat 正在執行 !!!" |
---|
74 | dia_tomcat_switch_msg_2="Tomcat 並未執行 !!!" |
---|
75 | dia_tomcat_switch_title_2="[Tomcat 服務選項]" |
---|
76 | dia_tomcat_switch_menu_1_1="啟動 Tomcat" |
---|
77 | dia_tomcat_switch_menu_1_2="停止 Tomcat" |
---|
78 | dia_tomcat_switch_menu_1_3="重新啟動 Tomcat" |
---|
79 | tomcat_switch_echo_1="失敗:找不到" |
---|
80 | tomcat_switch_echo_3="[啟動 Tomcat]" |
---|
81 | tomcat_switch_echo_4="[停止 Tomcat]" |
---|
82 | tomcat_switch_echo_5="[重新啟動 Tomcat]" |
---|
83 | |
---|
84 | ## [Lang for tomcat_port()] ## |
---|
85 | dia_tomcat_port_title_1="[更改 Tomcat servel.xml]" |
---|
86 | dia_tomcat_port_msg_1="失敗: 找不到" |
---|
87 | dia_tomcat_port_title_2="[Tomcat Port 更改]" |
---|
88 | dia_tomcat_port_input_1="請輸入要更改的 Tomcat port 號碼 (預設值為 8080): " |
---|
89 | |
---|
90 | ## [Lang for lang_switch()] ## |
---|
91 | dia_lang_title_1="[轉換語言]" |
---|
92 | dia_lang_menu_1_1="英文" |
---|
93 | dia_lang_menu_1_2="中文" |
---|
94 | |
---|