1 | #!/bin/bash |
---|
2 | # Program: |
---|
3 | # English 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="Your identify is not nutchuser, plz change to \"nutchuser\" !!!" |
---|
14 | |
---|
15 | ## [Lang for dialog] ## |
---|
16 | dia_back='= [NutchEz Management Interface] ~by NCHC =' |
---|
17 | dia_choose="Plz choose: " |
---|
18 | dia_exit="Exit" |
---|
19 | |
---|
20 | ## [Lang for prepare_check] ## |
---|
21 | dia_pre_check_title_1="[nutch_nodes Files]" |
---|
22 | dia_pre_check_msg_1="Fail: Don't find" |
---|
23 | dia_pre_check_title_2="[/etc/host Update]" |
---|
24 | dia_pre_check_yesno_1="First execut nutchez management interface." |
---|
25 | dia_pre_check_yesno_2="Plz update /etc/hosts !!!" |
---|
26 | pre_check_echo_1="Plz input root password to update /etc/hosts !!!" |
---|
27 | pre_check_echo_2="Root password is error ! Plz check root password !!!" |
---|
28 | dia_pre_check_yesno_3="nutch_nodes already be modified." |
---|
29 | |
---|
30 | ## [Lang for main_menu()] ## |
---|
31 | dia_main_title_1="[Management Options]" |
---|
32 | dia_main_menu_1_1="Check cluster status" |
---|
33 | dia_main_menu_1_2="Setup datanode & tasktracker" |
---|
34 | dia_main_menu_1_3="Setup namenode & jobtracker" |
---|
35 | dia_main_menu_1_4="Start/Stop/Restart Tomcat" |
---|
36 | dia_main_menu_1_5="Change Tomcat port" |
---|
37 | dia_main_menu_1_6="Change language" |
---|
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="Start to check cluster.." |
---|
42 | cluster_status_read_1="Plz input anykey to continue.." |
---|
43 | dia_cluster_status_title_1="[Cluster Status]" |
---|
44 | |
---|
45 | ## [Lang for srver_setup()] ## |
---|
46 | dia_server_title_1="[Server Status]" |
---|
47 | dia_server_msg_1="Namenode & Jobtracker are not running" |
---|
48 | dia_server_msg_2="Jobtracker is running, Namenode is not running" |
---|
49 | dia_server_msg_3="Namenode is running, Jobtracker is not running" |
---|
50 | dia_server_msg_4="Namenode & Jobtracker are running" |
---|
51 | dia_server_title_2="[Namenode & Jobtracker Setup]" |
---|
52 | dia_server_menu_1_1="Start Namenode & Jobtracker" |
---|
53 | dia_server_menu_1_2="Stop Namenode & Jobtracker" |
---|
54 | dia_server_menu_1_3="Restart Namenode & Jobtracker" |
---|
55 | |
---|
56 | ## [Labg for cluster_setup()] ## |
---|
57 | dia_cluster_setup_title_1="[All or Part nodes]" |
---|
58 | dia_cluster_setup_menu_1_1="All nodes" |
---|
59 | dia_cluster_setup_menu_1_2="Part nodes" |
---|
60 | dia_cluster_setup_title_2="[Datanode & Tasktracker Nodes Choice]" |
---|
61 | dia_cluster_setup_check_1="Choose Datanode & Tasktracker: " |
---|
62 | dia_cluster_setup_title_3="[Datanode & Tasktracker Setup]" |
---|
63 | dia_cluster_setup_menu_2_1="Start Datanodes & Tasktrackers" |
---|
64 | dia_cluster_setup_menu_2_2="Stop Datanodes & Tasktrackers" |
---|
65 | dia_cluster_setup_menu_2_3="Restart Datanodes & Tasktrackers" |
---|
66 | cluster_setup_echo_1="[Start datanode & tasktracker]" |
---|
67 | cluster_setup_echo_error="Can't ssh to " |
---|
68 | cluster_setup_echo_3="[Stop datanode & tasktracker]" |
---|
69 | cluster_setup_echo_5="[Restart datanode & tasktracker]" |
---|
70 | |
---|
71 | ## [Lang for tomcat_swith()] # |
---|
72 | dia_tomcat_switch_title_1="[Tomcat Status]" |
---|
73 | dia_tomcat_switch_msg_1="Tomcat is runing !!!" |
---|
74 | dia_tomcat_switch_msg_2="Tomcat is not running !!!" |
---|
75 | dia_tomcat_switch_title_2="[Tomcat Service Options]" |
---|
76 | dia_tomcat_switch_menu_1_1="Start Tomcat" |
---|
77 | dia_tomcat_switch_menu_1_2="Stop Tomcat" |
---|
78 | dia_tomcat_switch_menu_1_3="Restart Tomcat" |
---|
79 | tomcat_switch_echo_1="Faul: Don't fine" |
---|
80 | tomcat_switch_echo_3="[Start Tomcat]" |
---|
81 | tomcat_switch_echo_4="[Stop Tomcat]" |
---|
82 | tomcat_switch_echo_5="[Restart Tomcat]" |
---|
83 | |
---|
84 | ## [Lang for tomcat_port()] ## |
---|
85 | dia_tomcat_port_title_1="[Check Tomcat servel.xml]" |
---|
86 | dia_tomcat_port_msg_1="Faill: Don't find" |
---|
87 | dia_tomcat_port_title_2="[Tomcat Port Change]" |
---|
88 | dia_tomcat_port_input_1="Plz input port number for tomcat (default is 8080)" |
---|
89 | |
---|
90 | ## [Lang for lang_switch()] ## |
---|
91 | dia_lang_title_1="[Language Switch]" |
---|
92 | dia_lang_menu_1_1="English" |
---|
93 | dia_lang_menu_1_2="Chinese" |
---|
94 | |
---|