#!/bin/bash
msg_delimiter_star_line='*****************************************************'.
msg_install_RH='Installing DRBL for RedHat/Fedora Linux...'
msg_install_MDK='Installing DRBL for Mandriva Linux...'
msg_install_DBN='Installing DRBL for Debian Linux...'
msg_install_SUSE='Installing DRBL for SuSE Linux...'
msg_OS_version='The version number for your OS'
msg_is_not_supported='is not supported version, program stop!.'
msg_press_ctrl_c_stop='Please press Ctrl-C to stop the program!'
msg_set_proxy='Do you want to set the proxy server ?'
msg_http_proxy_server='Proxy server name (FQDN) or IP address for http protocol ?'
msg_http_proxy_port='Proxy server port for http protocol ?'
msg_ftp_proxy_server='Proxy server name (FQDN) or IP address for ftp protocol ?'
msg_ftp_proxy_port='Proxy server port for ftp protocol ?'
msg_http_proxy_you_set='The http proxy server you set'
msg_ftp_proxy_you_set='The ftp proxy server you set'
msg_drbl_test_option='Do you want to use the DRBL "testing" packages which is more powerful, but maybe buggy (If you are brave enough!!!) (If you downloaded the DRBL rpm package from the testing directory, say "yes" here) ?'
msg_drbl_unstable_option='Do you want to use the DRBL "unstable" packages which is much more powerful, but maybe very unstable (If you are super brave!!!) (If you downloaded the DRBL rpm package from the unstable directory, say "yes" here) ?'
msg_drbl_extra_option='Do you want to use some extra packages provided by DRBL project ? (It is not necessary, just an option)'
msg_drbl_netinstall_option='Do you want to install those network installation boot images so that you can let client to install some Linux distribution (Debian, Ubuntu, RedHat Linux, Fedora Core, Mandriva, and OpenSuSE) via network ? (Assume that your client machine has harddisk and it is possible you will install Linux into that, say Y)'
msg_firefly_option='Do you want to use Asian CJK (Chinese, Japanese, Korean) patched packages (Provided by Firefly) (If you are brave enough) ?'
msg_serial_console_option='Do you want to use the serial console output for clients ?'
msg_know_nothing_serial_console='If you do NOT know anything about this, say "N" here, otherwise clients might show NOTHING on the screen !'
msg_serial_console_only='Serial console only for clients ? i.e. the clients do NOT have VGA output.'
msg_redirect_to_which_port='Redirect to which serial port ?'
msg_serial_console_speed='What is the speed for the serial console output ?'
msg_smp_clients='Do you want to use SMP kernel for clients, i.e. your client have two or more CPUs ? Note!!! By choosing SMP kernel, this script will select the optimized kernel automatically!'
msg_smp_clients_MDK='Do you want to use SMP kernel for clients, i.e. your client have two or more CPUs ?'
msg_smp_clients_RH="$msg_smp_clients"
msg_install_apt='Install APT ...'
msg_no_wget_get_it='No wget ? Trying to install wget...'
msg_wget_installed_failure='Failed to install wget!!! We need that to automatically install apt! You have to install it by yourself!'
msg_wget_installed_successful='Package wget installed successfully!'
msg_no_apt_get_it='No apt ? Trying to install apt...'
msg_apt_already_installed='apt is already installed. Amazing!!! You are excellent!'  
msg_backup_apt_sources='Backup apt sources.list ...'
msg_setup_apt_sources_MDK='Setup apt sources.list for Mandrake'
msg_serial_console_parameter='The serial console output parameter: '
msg_enjoy_apt='Now enjoy APT!'
msg_clean_apt_cache='Cleaning the cache of apt to make some settings effect...'
msg_check_apt_integrity='Checking rpm packages for apt integrity...'
msg_upgrade_system_question='Do you want to upgrade operating system ?'
msg_upgrade_whole_system='1st, we upgrade the whole system...'
msg_check_installed_kernel='Checking if the installed kernel is the one we want...'
msg_is_already_installed='is already installed in your system...'
msg_need_to_install_kernel='We need to install the kernel for DRBL environment...Searching...'
msg_create_nbi_files='Creating the image files for PXE and Etherboot client, this will take a few minutes ...'
msg_latest_kernel_for_clients='The latest kernel for DRBL clients is'
msg_no_drbl_script='You did NOT install drbl-script!!! Program terminated!'
msg_create_files_for_PXELINUX='Creating config file for PXE clients...'
msg_prepare_files_for_PXE_client='Preparing config and image files for PXE clients...'
msg_PXE_NOT_work='PXE boot can NOT work!!!'
msg_press_enter_to_continue='Press "Enter" to continue...'
msg_FreeDOS_NOT_work='FreeDOS Remote boot can NOT work!!!'
msg_no_apt_already_uninstall='No package apt... Did you already uninstall DRBL packages ?'
msg_program_stop='Program terminated!'
msg_remove_SmallLinuxs_question='Do you want to remove those Small GNU/Linux Distributions (like DSL, PuppyLinux, INSERT or PLD) if they exist ?'
msg_remove_drbl_setup_question='Do you want to remove the "drbl" package ?'
msg_remove_apt_question='Do you want to remove the "apt" package ?'
msg_remove_yum_repo_question='Do you want to remove the yum repository setting ?'
msg_remove_urpmi_media_question='Do you want to remove the urpmi source media setting ?'
msg_cleaning_apt_cache='Cleaning the cache of apt...'
msg_cleaning_tftpboot_and_misc='Cleaning the files in /tftpboot and other files... This might take several minutes...'
msg_uninstalling_DRBL_RH='Uninstalling DRBL for RedHat/Fedora Linux...'
msg_uninstalling_DRBL_MDK='Uninstalling DRBL for Mandriva Linux...'
msg_uninstalling_DRBL_DBN='Uninstalling DRBL for Debian Linux...'
msg_uninstalling_DRBL_SUSE='Uninstalling DRBL for SuSE Linux...'
msg_analyzing_rpm_info='Analyzing the rpm packages info... This might take several minutes...'
msg_failed_to_install_pkgs='Failed to install necessary packages, we can NOT go on!'
msg_check_network_and_url='Please check the network connection between your machine and'
msg_not_determine_OS='Can NOT determine the OS version number you are using!!!'
msg_enter_OS_ver='Please enter the version (RH8.0, RH9, FC1, MDK9.2, MDK10.0...)'
msg_clean_apt_cache_RH='Cleaning the cache of apt to make RPM::Architecture effect...'
msg_install_DRBL_necesary_files='2nd, installing the necessary files for DRBL...'
msg_select_url_path='The url and path you selected'
msg_drbl_driver='Do you want to install the drivers for DRBL client which are not included in the kernel of your distribution, such as bcm4400, bcm5700 ?'
msg_smp_optimization_kernel='You choose SMP kernel, so we must use the same CPU architecture kernel with this DRBL server!'
msg_apt_optimization_question='Which CPU architecture kernel do you want to assign for DRBL clients ?'
msg_optimization_level_0='0 -> i386 level CPU '
msg_optimization_level_1='1 -> i586 level CPU'
msg_optimization_level_2='2 -> Use the same CPU level with that of this DRBL server'
msg_N_note='Note! Note Note!  Note!  Note!  Note!  Note!' 
msg_different_level_machine_prompt='If your client machine(s) is not the same level with server, please answer "0" or "1", otherwise your client machine(s) will NOT be able to boot.'
msg_diff_arch_explain='If you use wrong CPU level kernel, the glibc and openssl package might use i686 or i386, the kernel might use i686, i586 or i386, which might be not suitable to all your machines.' 
msg_not_sure_better_1='If you are not sure, "1" is recommended, this will still have good performance and compatibility.'
msg_same_optimization='The optimization for your system is on, the level is same as server.'
msg_i586_optimization='The optimization for your system is set to "i586".'
msg_no_optimization='No optimization for your system, we will use the "i386" package.'
msg_glibc_openssl_upgrade_question='If there is new glibc and openssl in updates, do you want to upgrade ?'
msg_glibc_openssl_keep='"0" to keep the existing glibc and openssl.'
msg_keep_glibc_upgrade_openssl='"1" to keep the existing glibc, while upgrade openssl,'
msg_upgrade_glibc_keep_openssl='"2" to keep the existing openssl, while upgrade glibc,'
msg_upgrade_glibc_openssl='"3" to upgrade glibc and openssl (default),'
msg_warning_glibc_upgrade='Warning!!!!! glibc is very important, you have to make sure the new glibc will work with this WORKING system (It is seldom that the system hang after upgrading glic, but it did happen in RedHat 9).'
msg_upgrade_glibc_make_you_cry='Sometimes the new glibc will make you cry (Seldom happened)... If you are not sure, you can keep the old but working one, i.e. answer "0".'
msg_install_dhcp_tftp_etc='Install dhcp, tftp, nfs, yp, mkpxeinitrd-net...'
msg_optimization_is_on='The optimization for your system is on, the level is same as server.'
msg_optimization_is_off='No highest optimization for your system, we will use the "i386/i586" kernel, glibc and other packages.'
msg_install_i386_of='Install the i386 version of'
msg_searching_glibc_in_ayo='Searching the glibc in ayo repository'
msg_searching_openssl_in_ayo='Searching the openssl in ayo repository'
msg_searching_openssl_perl_in_ayo='Searching the openssl-perl in ayo repository'
msg_install_mkinitrd_net_etherboot='Install mkpxeinitrd-net, etherboot, partimage...'
msg_removing_the_old='Removing the old'
msg_creating_dev='Creating device source for clients...'
msg_get_dev='Get the devices file from RPM repository...'
msg_clean_tmp_dev='Cleaning the tmp device directory...'
msg_remove_old_nbi='Remove the old nbi in /tftpboot ...'
msg_install_extra_driver='Installing the driver which is not included in kernel package ...'
msg_no_extra_driver='The driver which is not included in kernel package does not exist in the DRBL apt repository, either...So skip the installation of extra drivers...'
msg_make_client_serial_console='Making the etherboot clients serial console output...'
#
msg_kernel_being_used='Warning! The kernel is being used now: '
msg_warning_not_to_remove='Warning! You had better better not to remove it!!!'
msg_not_remove='Please say "N" to the following remove option!'
#
msg_which_ayo_repository='Which "ayo" repository do you want to use ?'
msg_which_os_ayo_repository='Which "ayo" repository do you want to use for OS packages ?'
msg_which_drbl_ayo_repository='Which "ayo" repository do you want to use for DRBL packages ?'
msg_enter_FQDN_IP_yum_repository='Please enter the hostname (FQDN) or IP address of yum repository with http:// or ftp:// prefix'
msg_enter_the_path_for_dir_ver_updates='In the above yum repository, the path where these directories exist'
# RH/FC os
msg_os_ayo_repository_0='0 -> free.nchc.org.tw. (default)'
msg_os_ayo_repository_1='1 -> ayo.freshrpms.net,'
msg_os_ayo_repository_3='3 -> Enter the directory in local HD ,cdrom or NFS directory. (You have to make sure you already got those files in local directory!)'
msg_os_ayo_repository_5='5 -> Enter ayo repository (with OS packages) by yourself.'
msg_os_ayo_repository_use_existing_yum_config='4 -> Use the existing yum setting in this server (You must make sure it is working!)'
msg_os_ayo_repository_enter_by_yourself='5 -> Enter ayo repository (with OS packages) by yourself.'

# RH/FC drbl
msg_drbl_ayo_repository_0='0 -> free.nchc.org.tw. (default)'
msg_drbl_ayo_repository_1='1 -> diskless.nchc.org.tw,'
msg_drbl_ayo_repository_2='2 -> drbl.sourceforge.net,'
msg_drbl_ayo_repository_3='3 -> Enter the directory in local HD ,cdrom or NFS directory. (You have to make sure you already got those files in local directory!)'
msg_drbl_ayo_repository_5='5 -> To enter repository (with DRBL packages) by yourself.'
msg_drbl_ayo_repository_enter_by_yourself='5 -> To enter repository (with DRBL packages) by yourself.'

# MDK OS
msg_os_ayo_repository_1_mdk='1 -> mdk.linux.org.tw,'
msg_os_ayo_repository_2_mdk='2 -> distro.ibiblio.org,'
msg_ayo_repository_enter_by_yourself='5 -> Enter ayo repository by yourself.'

# MDK drbl
msg_drbl_ayo_repository_1_mdk='1 -> diskless.nchc.org.tw,'
msg_drbl_ayo_repository_2_mdk='2 -> drbl.sourceforge.net,'

msg_apt_not_compatible='Warning! We need to remove apt and libapt-pkg0, then install the apt which is compatible with DRBL.'
msg_do_u_want_to_remove='Do you want to remove ?'
msg_warning_apt_not_compatible_and_fail='You will use the apt which is not compatible with DRBL, something will go wrong!!! The installation will fail!!!'
msg_rm_apt='Removing the package apt and libapt-pkg0...'
msg_search_kernel_in_ayo='In ayo repository, searching the latest'
msg_latest_kernel_in_ayo='The latest kernel in the ayo repository is'
msg_install_kernel_might_take_several_minutes='It will take several minutes to install this kernel, please be patient... '
msg_latest_kernel_is_already_installed='The latest kernel is already installed for DRBL clients, skip the kernel installation.'
msg_error_no_drbl_kernel_in_apt='Can NOT find the DRBL kernel in apt repository!!!'
msg_change_opt_from_i386_to_i586='For the distribution you are using, only i586 and i686 are available, so the optimization level is changed from i386 to i586!!!'
msg_change_opt_from_i586_to_i386='For the distribution you are using, only i386 and i686 are available, so the optimization level is changed from i586 to i386!!!'
msg_are_you_sure_run_impatient='This script is for those impatient, it will setup the DRBL server by the default value which might not fit your environment. Are you impatient ?'
msg_run_step_by_step='Good! You can run the following and answer questions one by one. That should be able to fit your environment better...'
msg_run_drbl4imp='Ok, Laziness is a virtue! Let us setup DRBL server with the default values!!!'
msg_total_avail_space='The total available space for /tftpboot and / is:'
msg_necessary_space_setup_drbl='The estimated necessary space to setup DRBL'
msg_total_client_no='The total client number is'
msg_system_maybe_not_enough_space='The system maybe not have enough space to setup DRBL! Note!!! This maybe will damage your system files!!!'
msg_logout_X_for_thin_client_gdm='If you already logined into X-window, you have to logout X-window to make the modified gdm config work! Note! After that, make sure the gdm is running so that those thin clients can work with this gdm in the DRBL server!'
msg_restart_X_for_thin_client_kdm='You have to restart X-window to make the modified kdm config work! Note! After that, make sure the kdm is running so that those thin clients can work with this kdm in the DRBL server!'
msg_logout_X_for_modified_gdm_config_work='If you already logined into X-window, you have to logout X-window to make the modified gdm config work!'
msg_logout_X_for_modified_kdm_config_work='If you already logined into X-window, you have to logout X-window to make the modified kdm config work!'
msg_restart_graphic_mode_later='You already turn on the thin client option, now you have to start the graphic mode in this server so that those thin clients can connect to this DRBL server.'
msg_turn_on_gdm_remote_access='Turn on the GDM remote access...'
msg_gdm_remote_access_is_already_on='The GDM remote access in the DRBL server is already on!'
msg_set_thin_client_mode_for_clients='Setting the terminal mode for DRBL clients ...'
msg_gdm_remote_access_is_already_off='The GDM remote access in the DRBL server is already off!'
msg_disable_thin_client_mode_for_clients='Disable the terminal mode for DRBL clients ...'
msg_turn_off_gdm_remote_access='Turn off the GDM remote access...'
msg_kdm_remote_access_is_already_on='The KDM remote access in the DRBL server is already on!'
msg_turn_off_kdm_remote_access='Turn off the KDM remote access...'
msg_kdm_remote_access_is_already_off='The KDM remote access in the DRBL server is already off!'
msg_dm_in_DRBL_server='The display manager in this DRBL server is'
msg_hint_for_answer='Hint! When a yes/no option is available, the default value is uppercase, Ex. (y/N), the default is "N", when you press "Enter", it will use "N". If you are not sure which one to choose, you can just press "Enter" key.'
msg_available_kernel='Available kernel'
msg_os_ayo_repository_0='0 -> free.nchc.org.tw,'
msg_os_ayo_repository_1='1 -> ayo.freshrpms.net,'
msg_os_ayo_repository_download_fedora_redhat_com='1 -> download.fedora.redhat.com,'
msg_drbl_ayo_repository_0='0 -> free.nchc.org.tw,'
msg_drbl_ayo_repository_1='1 -> diskless.nchc.org.tw,'
msg_drbl_ayo_repository_2='2 -> drbl.sourceforge.net,'
msg_drbl_server_is_ready='DRBL server is ready!'
msg_all_set_you_can_turn_on_clients='Now set the client machines to boot from PXE or Etherboot, then turn on them (Refer to http://drbl.sourceforge.net for more details).'
msg_etherboot_5_4_is_required='Note! If you use Etherboot in your client machine, version 5.4.0 or newer is required!!!.'

# drbl-script
msg_nchc_title='NCHC - National Center for High-Performance Computing, Taiwan'
msg_drbl_title='DRBL - Diskless Remote Boot in Linux'
msg_switch_client_mode='Switch the mode'
msg_remote_linux='Client remote Linux, default mode, powerful client'
# some prompt we have to use _ instead of " " (space) because we need it to be a word for dialog.
msg_remote_linux_graphic='Client_remote_Linux,_graphic_mode,_powerful_client'
msg_remote_linux_text='Client_remote_Linux,_text_mode,_powerful_client'
msg_thin_client='Client_remote_Display_Linux,_terminal_mode'
msg_remote_memtest='Client remote boot to run Memtest86+'
msg_remote_fdos='Client remote boot to run FreeDOS'
msg_clonezilla_start='Start clonezilla mode'
msg_clonezilla_stop='Stop clonezilla mode'
msg_netinstall='Client install Linux via network'
msg_local='Client boots its local OS'
msg_reboot='Reboot client now'
msg_shutdown='Shutdown client now'
msg_Wake_on_LAN='Turn on client by Wake-on-LAN now'
msg_switch_pxe_menu='Switch DRBL client menus'
msg_title_set_all_clients='Set all clients ?'
msg_set_all_clients='Do you want to set all clients mode ?'
msg_set_all_clients_des='If "No", you can assign the default mode to each DRBL client by IP or MAC addresses (If MAC addresses are shown in dhcpd.conf),'
msg_hide_reveal='Hide or reveal clients boot menus ?'
msg_choose_the_action='Choose the action'
msg_hide_pxe_menus='Hide some revealed clients boot menus'
msg_reveal_pxe_menus='Reveal some hidden clients boot menus'
msg_setdefault_pxe_menu='Set default boot menu for clients'
msg_title_hide='Hide which images for DRBL client ?'
msg_hide_list_des='Select the image label to be hidden for DRBL client when it boots (multiple choices available)'
msg_reveal_title='Reveal which images for DRBL client ?'
msg_reveal_list_des='Select the image label to be shown for DRBL client when it boots (multiple choices available)'
msg_setdefault_title='Set which image as default menu for DRBL client ?'
msg_setdefault_list_des='Select the default menu for DRBL client when it boots'
msg_netinstall='Network installation'
msg_choose_netinstall_imag='Choose the Linux distribution to install via network'
msg_nchc_clonezilla='Clonezilla - Opensource Clone System (OCS)'
msg_nchc_drbl='DRBL, developed by NCHC Free Software Labs'
msg_nchc_free_software_labs='NCHC Free Software Labs, Taiwan'
msg_specify_hosts='Specify the hosts'
msg_choose_the_multicast_method='Choose the method for multicast clone'
msg_by_MAC_address='Specify the default boot mode by MAC address of client'
msg_by_IP_address='Specify the default boot mode by IP address of client'
msg_multicast_clonezilla_warning='Multicast Clonezilla Warning!'
msg_multicast_clonezilla_warning_des='You are not setting all the clients, so remember the multicast restoring mode ONLY can run 1 (one) type image each time. You will mess them up if different multicast restoring images are assigned. Press the ENTER key to continue...'
msg_choose_param_to_set='Set the advanced parameters (multiple choices available). If you have no idea, keep the default value, i.e. do NOT change anything'
msg_choose_one_compression_param_to_save='Choose the compression option. If you have no idea, keep the default value, i.e. do NOT change anything'
msg_ocs_param_n='Server will NOT restart nfs when start/stop clonezilla'
msg_ocs_param_u='Select the image to restore in client (only for unicast restoring)'
msg_ocs_param_c='Client waits for confirmation before cloning'
msg_ocs_param_s='Client skips the hardware detection when booting'
msg_ocs_param_f='Server will restart nfs when start/stop clonezilla'
msg_ocs_param_j='Use sfdisk to create partition in target HD instead of dd'
msg_ocs_param_j0='Use dd to create partition table instead of sfdisk'
msg_ocs_param_k='Do NOT create partition in target harddisk in client'
msg_ocs_param_t='Client does not restore the MBR (Mater Boot Record)'
msg_ocs_param_e='Client uses the HD CHS value (saved in image) for sfdisk'
msg_ocs_param_y='Server always provides restore mode (default local boot)'
msg_ocs_param_y0='Server always provides restore mode (default local boot)'
msg_ocs_param_y1='Server always provides restore mode (default clone)'
msg_ocs_param_z0='Without compression (fastest but largest image)'
msg_ocs_param_z1='Use gzip compression (fast but smaller image)'
msg_ocs_param_z2='Use bzip2 compression (slow but smallest image)'
msg_ocs_param_z3='Use_lzo_compression_(similar_to_gzip,_but_faster)'
msg_ocs_param_g_auto='Client will reinstall grub in its HD MBR'
msg_ocs_param_p_true='Client in command prompt instead of reboot as clone finishes'
msg_ocs_param_p_poweroff='Shutdown client instead of reboot as clone finishes'
msg_ocs_param_o="Run script in $POST_RUN_DIR as clone finishes"
msg_ocs_param_hn0='Change M$ Win hostname (based on IP address) after clone'
msg_ocs_param_hn1='Change M$ Win hostname (based on MAC address) after clone'
msg_ocs_param_q='Use ntfsclone to save NTFS partition instead of partimage'
msg_ocs_param_a='Do NOT force to turn on HD DMA'
msg_ocs_param_nogui='Do NOT show GUI of partimage, use text only'
msg_ocs_param_v='Prints verbose messages (especially for udpcast)'
msg_ocs_param_r='Resize the partition when restoration finishes'
msg_ocs_param_x='Use full-duplex network option with udpcast multicast'
msg_ocs_param_ns='Put ntfsclone temp file in image dir in server'
msg_clonezilla_advanced_extra_param='Clonezilla advanced extra parameters'
msg_skip_set_advanced_extra_param='Do you want to *SKIP* setting advanced extra parameters for clonezilla ? \n
Available parameters: \n'
msg_skip_set_save_compression_extra_param='Do you want to *SKIP* using other compression method (default is gzip) ?\n
Available param:\n'
msg_no_network_installation_img='No network installation image found!'
msg_no_network_installation_img_des="I can NOT find any network installation image in $PXELINUX_DIR/default! \nMake sure you already install those netinstall RPM packages (like rh-FC3-netinstall) and run $DRBL_SCRIPT_PATH/generate-pxe-menu to generate the PXE menu file ($PXELINUX_DIR/default)."
msg_start_clonezilla_mode='Start the Clonezilla mode'
msg_choose_mode='Choose the mode'
msg_clonezilla_save_disk='Save client entire disk'
msg_clonezilla_restore_disk='Restore client entire disk'
msg_clonezilla_save_parts='Save client partitions'
msg_clonezilla_restore_parts='Restore client partitions'
msg_clonezilla_save_hda1='Save client hda1 (Deprecated! Use the above!)'
msg_clonezilla_restore_hda1='Restore client hda1 (Deprecated! Use the above!)'
msg_choose_the_mode_to_restore_disk='Choose the mode to restore client disk'
msg_choose_the_mode_to_restore_parts='Choose the mode to restore client parts'
msg_choose_the_mode_to_restore_hda1='Choose the mode to restore client /dev/hda1'
msg_abandon_hda1='Note! Save and restore client hda1 is no more! Please use save and restore partition instead.'
msg_unicast_restore='unicast restore'
msg_multicast_restore='multicast restore'
msg_choose_the_image_to_restore='Choose the image file to restore'
msg_time_to_wait='Set the time for clients to start cloning'
msg_clients_to_wait='Set the no. of clients to clone'
msg_clients_time_to_wait='Set the no. of clients & maximum time to start cloning'
msg_how_many_clients_to_restore='How many clients to restore'
msg_input_name_to_save_the_img='Input a name to save the image'
msg_time_to_wait_sec='Minimum time to wait (Sec) (The counts start when first client connects)'
msg_max_time_to_wait_sec="Maximum time to wait (Sec) (The counts start when first client connects), i.e. When  not  enough  clients  have  connected (but at least one), start anyways after [this assigned seconds] since first client connection have passed. (Better >= $SLEEP_TIME_AFTER_PART_CLONED)"
msg_you_must_input_filename='You have to input a name'
msg_you_must_input_legal_filename="You have to input a legal image name (containing only alphabet, digit, _ and -)"
msg_you_must_input_partition='You have to input a partition'
msg_please_do_it_again='Please do it again'
msg_choose_the='Choose the'
msg_to_save='to save'
msg_the_image='The image'
msg_was_saved_before='exists! This image name is already used'
msg_do_you_want_to_replace='Do you want to overwrite it'
msg_choose_the_parts_to_restore='Choose the partitions to restore'
msg_you_can_not_hide_all_pxe_menus='You can NOT hide all the menus'
msg_no_modification='Omit any modification'
msg_install_via_network='install_via_network'
msg_range_found_in_dhcpd_conf='Warning!!! "range" option is found in dhcpd.conf, this is not a good way in clonezilla... It is better to let your DRBL client acquire same IP address by setting MAC address in dhcpd.conf so that you will NOT overwrite OS of some unknown machines.'
msg_you_are_using_multicast_clonezilla='You are using multicast clonezilla, please make sure:'
msg_ethernet_port_is_up_confirm='1. This ethernet port in server is up and connected'
msg_more_NIC_connect_each_other='2. If you have more than 1 (>=2) network switches for DRBL environment, make sure all switches are connected to each other, otherwise multicast packets will not send to every clients from the ethernet port mentioned above via all the switches, so the multicast clone might NOT start.'
msg_switch_drbl_service='Start/stop/restart/add/del DRBL services (To all clients)'
msg_start_drbl_all_services='Start DRBL-related services in DRBL server'
msg_stop_drbl_all_services='Stop DRBL-related services in DRBL server'
msg_restart_drbl_all_services='Restart DRBL-related services in DRBL server'
msg_add_drbl_all_services='Add DRBL-related services in DRBL server'
msg_del_drbl_all_services='Del DRBL-related services in DRBL server'
msg_choose_action='The action is'
msg_login_switch='Switch_client_graphical_(X-window)_login_mode'
msg_normal_login='Normal login (user must enter name and password)'
msg_auto_login='Auto login'
msg_timed_login='Timed login'
msg_turn_on_client_to_make_template='Now set the client machines to boot from PXE or Etherboot, then turn on them (Refer to http://drbl.sourceforge.net for more details). Then turn on the client to make the template image! Note: If the partition you want to save is NTFS filesystem, it is recommended to defrag that partition first.'
msg_turn_on_client_to_clone='Now set the client machines to boot from PXE or Etherboot, then turn on them (Refer to http://drbl.sourceforge.net for more details). Then turn on those clients, so that the template image can be cloned to them!'
msg_client_job_are_logged_in='Client jobs are logged in'
msg_client_sfdisk_log_are_in='The sfdisk log when running clonezilla is in client'
msg_set_the_clients_root_passwd='Set the clients root password.'
msg_new_passwd_prompt='New password: (It will be shown in star wildcard *)'
msg_do_you_want_set_yum_repo='Do you want to select yum repository ?'
msg_set_yum_conf_yes_prompt='If yes, we will list some for you to choose, this maybe good if you know which mirror site is faster in your site.'
msg_set_yum_conf_no_prompt='If not, we will use the existing config files in this machine (so you have to make sure the yum repository setting works in this machine) and generate some config files of DRBL related packages.'
msg_need_lynx_to_parse_config='We need lynx to parse config file to get url, try to install it...'
msg_need_curl_etc_to_parse_config='We need curl, lftp and wget to parse config file to get url, try to install them if not installed...'
msg_try_to_update_some_pkgs='Trying to upgrade some necessary packages if available...'
msg_force_to_upgrade_some_pkgs='Force to upgrade some packages if necessary...'
msg_install_net_install_images='Installing some Linux distribution network installation images...'
msg_clean_dhcpd_lease='Force to reset DHCP IP address leases (For all clients)'
msg_client_reautologin='Force_to_restart_client_autologin'_
msg_clean_autologin_account='Delete_all_autologin_accounts_(For_all_clients)'
msg_reset_autologin_account='Reset_all_autologin_accounts_environment_(For_all_clients)'
msg_re_deploy='Update the files of server to clients (For all clients)'
msg_dcs_others='Other modes or commands'
msg_2_kernel_availables='There are 2 kernels available for clients, which one do you prefer ?'
msg_from_this_drbl_server='from this DRBL server'
msg_from_apt_repository='from apt repository'
msg_from_ayo_repository='from apt or yum repository'
msg_install_kernel_for_clients='Install kernel for clients...'
msg_which_kernel_do_you_perfer='Which kernel do you prefer for DRBL clients ? If you already updated your system, it is better to choose the kernel in updates, if not, better to choose that in release.'
msg_you_choose='You choose'
msg_chosen_kernel='Chosen kernel'
msg_not_available_enter_again='Not available, please enter a number again!'
msg_hosts_allow_deny_is_set='Warning! You already set the /etc/hosts.allow or /etc/hosts.deny!'
msg_you_must_make_sure_these_clients='You must MAKE SURE these clients:'
msg_can_access_this_DRBL_server='can access this DRBL server!'
msg_otherwise_client_fail_to_boot='Otherwise, your client will fail to boot, and error messages will like:'
msg_if_you_like_you_can_reboot_to_make_sure_everthing='If you like, you can reboot the DRBL server now to make sure everything is ready...(This is not necessary, just an option.).' 
msg_do_not_create_part='Do NOT create partition table in the client harddisk!'
msg_do_not_restore_mbr='Do NOT restore the MBR in the client!'
msg_you_have_to_input_image_names_in_client='Select the image to restore in the client machine!'
msg_title_input_save_image_name_in_server='Input the image and device name now ?'
msg_ask_if_input_save_image_name_in_server='Do you want to input the image and device name now instead of inputing them later in the client (If you are not sure the device name (Ex. hda or sda), you can choose No, then select them in the template machine later)?'
msg_input_image_name='The image name is:'
msg_input_device_name='The device of the template machine to be saved is:'
msg_ocs_param_exclude_multicast='You assign -u (select image in the client) for clonezilla restoring, so only unicast (no multicast) mode is available!'
msg_run_drbl_ocs_again_cmd='Next time you can run this command directly:'
msg_is_unknown_HD='is unknown HD device! Known and supported HD device is like hda, hdb, hdc, hdd'
msg_creating_partition_in_target='Creating the partition in the target...'
msg_partition_table_for_target_dev='The partition table for the target device'
msg_if_go_on_the_data_will_be_erased_then_confirm='If you go on, the original data exist in the target device will be destroyed!!! Be careful!!! Are you sure ?'
msg_should_not_run_ocs_onthefly_in_server='You should not run this program in DRBL server!!! You should run it in DRBL client!!!'
msg_ok_we_will_keep_old_partition_table='OK, we will keep the old partition table.'
msg_fail_to_create_partition_table_in_target_dev='Fail to create the partition table in the target device' 
msg_my_IP_in_drbl_env='My IP address in DRBL env'
msg_are_u_sure_u_want_to_continue='Are you sure you want to continue ?'
msg_really_dangerous_then_continue='It is really dangerous!!! Anyway, we will continue...'
msg_src_target_r_same_dev='Source and target are same device!!!'
msg_is_not_valid_grub_root='is NOT a valid grub root partition!' 
msg_different_type_of_input_devs='Different type of input devices'
msg_a_partition_table_already_exist='A partition table already exists in the target device'
msg_do_u_want_to_duplicate_the_partition_layout_to='Do you want to duplicate the partition layout to'
msg_do_you_want_to_clone_the_MBR_to='Do you want to clone the MBR to'
msg_skip_clone_MBR='Skip cloning the MBR'
msg_failed_to_clone_the_MBR='Failed to clone the MBR to'
msg_now_run_this_cmd_in_target_machine='Now you can run this command in TARGET machine to start the clone like'
msg_this_is_for_source_machine='This is for source machine'
msg_this_is_for_target_machine='This is for target machine'
msg_kernel_2_6_13_15_defaul_is_buggy='The running kernel 2.6.13-15-default in this machine is BUGGY!!! The NFS locking is not working! A lot of programs in DRBL client will NOT work!!!'
msg_u_have_to_upgrade_kernel_in_this_machine='You have to upgrade the kernel in this machine, i.e. do it like:'
msg_then_reboot_this_server='Then reboot this server to use the new kernel.'
msg_make_audio_open='Make the audio devices open to all users in DRBL clients.'
msg_make_audio_close='Do not make the audio devices open to all users in DRBL clients.'
msg_make_plugdev_open='Make the plugdev devices open to all users in DRBL clients.'
msg_make_plugdev_close='Do not make the plugdev devices open to all users in DRBL clients.'
msg_restart_prompt_for_audio='Since you change the audio devices setting of clients, if you already logged in X-window in DRBL clients, then you have to: (1) reboot DRBL client, or (2) restart the service udev and logout and login X-window in DRBL client to make the audio setting take effect.'
msg_restart_prompt_for_plugdev='Since you change the plugdev devices setting of clients, if you already logged in X-window in DRBL clients, then you have to logout and login X-window in DRBL client to make the plugdev setting take effect.'
msg_restart_prompt_for_dev='Since you change the devices setting of clients, if you already logged in X-window in DRBL clients, then you have to logout and login X-window in DRBL client to make the devices settings take effect.'
msg_run_update_plugdev_again='Note! If you add new or remove accounts in the DRBL server in the future, remember to run the following command again, so that the group plugdev will be updated'
msg_run_update_dev_again='Note! If you add new or remove accounts in the DRBL server in the future, remember to run the following command again, so that some group (EX:plugdev) will be updated'
msg_no_autologin_account='No autologin account'
msg_are_you_sure_reset_autologin_home_dir='Are you sure you want to reset home directories of all autologin accounts '
msg_warning_home_dir_will_be_deleted='Warning!!! The data in their home directories will be deleted'
msg_these_accounts_are='These accounts are'
msg_ok_let_do_it='OK, let do it!'
msg_do_not_reset_autologin_home_dir='Do NOT reset home directories of autologin accounts'
msg_created_autologin_ID_passwd_file="The created ID and password are listed in $AUTO_LOGIN_ID_PASSWD. It would be a good idea to put that file in other safe place, then delete $AUTO_LOGIN_ID_PASSWD."
msg_drbl_ssi_switch='Turn on or turn off the DRBL Single System Image mode'
msg_drbl_ssi_switch_long='Do you want to use DRBL Single System Image mode ? If yes, the loading and resource of server will be lighter. NOTE! In this mode, (1) The client machine memory at least 256 MB. (2) The setting and config files of client will not be saved to the DRBL server! They just use once and will vanish after the machine shutdowns!'
msg_drbl_ssi_on='Turn on the DRBL Single System Image mode'
msg_drbl_ssi_off='Turn off the DRBL Single System Image mode'
msg_clonezilla_box_mode_switch='Do you want to use clonezilla box mode only ?'
msg_clonezilla_box_mode_switch_long='Do you want to use Clonezilla box mode only ? If so, some functions about DRBL will be suppressed, and you will have an elegant mode to do clonezilla. Note! In this mode, the setting and config files of client will not be saved to the DRBL server! They just use once and will vanish after the machine shutdowns!'
msg_clonezilla_box_mode_yes='Use clonezilla box mode'
msg_clonezilla_box_mode_no='Do NOT use clonezilla box mode'
msg_r_u_sure_want_to_del_autologin_accounts='Are you sure you want to delete autologin accounts ?'
msg_also_clean_autologin_accounts='Do you also want to clean the home directories of autologin accounts ?'
msg_do_not_del_accounts='Do NOT delete accounts'
msg_regenerate_nfs_nis_nat_config='Re-generate the config files of NFS, NIS, and NAT based on DHCP service config.'
msg_not_in_SSI_mode="This command only works if DRBL SSI mode is set, since the server is not in DRBL SSI mode, we can not continue. You can use $DRBL_SCRIPT_PATH/dcs to switch to DRBL SSI mode."
msg_wol_0='Now clients should be able to boot, if not, check:'
msg_wol_1='1. If the BIOS of client is corrected set for Wake on LAN ? Check your BIOS manual for more details.'
msg_wol_2='2. If the client was software shutdowned ? If not, Wake on LAN will not work.'
msg_wol_3='3. If the OS of client can NOT keep network card in standby mode ?'
msg_wol_4="4. If the MAC address of clients are correctly listed in the dhcpd config $DHCPDCONF_DIR/dhcpd.conf ?"
msg_no_kernel_rpm_is_available='A suitable kernel rpm package is NOT found in these URL:'
msg_internet_connection='1. Your Internet connection is operating properly.'
msg_use_baseurl_in_yum_centos='2. Check the OS system files repository settings in /etc/yum.repos.d/ (e.g. /etc/yum.repos.d/CentOS-Base.repo). Try to assign a proper yum repository using baseurl instead of mirrorlist.'
msg_you_must_input_device_name_to_save_image='You must input a device name to save the image'
msg_start_detect_MAC_addresse='Start detecting MAC address....'
msg_enter_1_or_press_enter_to_view='Enter '1' or press 'Enter' to view the collecting status.'
msg_enter_2_or_press_q_to_quit='Enter '2' or 'q' to finish collecting and quit.'
msg_dhcpd_tftpd_stopped_need_restart_if_you_need_them='The services dhcpd and tftpd-hpa/xinetd are stopped, remember to restart them when you need them!'
msg_the_collected_MAC_addr_from='The collected MAC addresses from'
msg_are_saved_in_files_separately='are saved in file(s) separately'
msg_http_isu_edu_tw_not_compatible='Since http://ftp.isu.edu.tw uses page by page output, it is NOT compatible with DRBL scripts.'
msg_prompt_chang_yum_config='This yum repository does NOT work with DRBL setup, you have to modify the yum config file in /etc/yum.repos.d/ to avoid using this repository. If you use mirrorlist, change to baseurl and assign other repository instead of this!'
msg_What_the_win_hostname_prefix='What is the hostname prefix for the clone M$ windows'
msg_change_hostname_of_MS_WIN_on_the_fly='You use using -hn0 or -hn1'
msg_write_MS_WIN_is_necessary='You use using -hn0 or -hn1 to change the hostname of M$ Win image directly under GNU/Linux. You have to make sure your GNU/Linux can write or modify files in the image M$ Win. For FAT filesystem, it will be fine. If it is NTFS, you have to install some packages (such as ntfs-3g or ntfsmount from http://www.linux-ntfs.org) in this server and run drblpush again so that in client environment, Clonezilla can modify files in NTFS filesystem.\nWARNING! ***DO NOT USE THIS OPTION WITH ENCRYPTED FILE SYSTEM IN M$ WIN!!!***'
msg_necessary_pkgs_from_dists='These packages from your GNU/Linux distribution are necessary (Check your distribution package repository for more details):'
msg_necessary_pkgs_from_drbl='These packages from DRBL project are necessary [Check http://drbl.sf.net (English) or http://drbl.nchc.org.tw (Chinese) for more details]. rpm or deb packages can be found in http://free.nchc.org.tw/drbl-core or http://drbl.sf.net/drbl-core:'
msg_recommended_pkgs_from_dists='These packages are recommended to install if they exist in the distribution repository:'
msg_install_glibc_etc_arch_by_yourself='If your client CPU arch (say AMD K7) is different from that in the server (say Intel P4), you have to download them and install the packages in this server by the following command, otherwise the client machine will fail to boot:'
msg_prepare_kernel_for_clients='Prepare the kernel for client, searching available kernel in the repository...'
msg_some_necessary_pkgs_not_installed='Warning! Some necessary packages are not installed! If you continue, maybe something will go wrong! You had better to exit now and check you /etc/apt/sources.list and internet link!'
msg_reset_all_existing_urpmi_setting='Warning! We have to reset all the existing urpmi setting!'
msg_some_required_pkgs_not_installed='These required packages are not installed'
msg_use_drblsrv_instead="If your Internet access is ok, use $DRBL_SCRIPT_PATH/sbin/drblsrv instead of this script. It will automatically download and install required packages for you, or you can use the installing tools (like apt/yum/urpmi/YaST) to install these required programs."
msg_continue_may_not_work='If you continue, the DRBL environment may not work!'
msg_switch_pxe_bg_mode='Switch the mode of PXE boot menu'
msg_pxemenu_text='Client uses text PXE boot menu'
msg_pxemenu_graphic='Client uses graphical PXE boot menu'
msg_only_one_kernel_meets_requirement='Only one kernel meets your requirement'

#-----------------------------------------
# some words
msg_text_Enter='Enter'
msg_text_for='for'
msg_Got_it='Got it'
msg_Warning='Warning'
msg_NOT_found='NOT found'
msg_Done='Done'
msg_please='please'
msg_browse='browse'
msg_or='or'
msg_for_more_details='for more details'
msg_Failed_to_get='Failed to get'
msg_Failed_to_install='Failed to install'
msg_done='done'
msg_note='note'
msg_and='and'
msg_clonezilla='Clonezilla'
msg_error='Error'
msg_restore='restore'
msg_txt_check='Check'
msg_ex='Ex'
