// TCS V018, Aug, 2004

var modelName = "Network Camera";

//public message
var msg_blank = "%s can not be blank.\n";
var msg_nospaces = "Blanks (spaces) are not allowed in %s\n";
var msg_invalid = "Invalid character or characters in %s\nValid characters are: \n%s\n";
var msg_notallow = "Invalid character or characters in %s\nThe following characters are not allowed:\n%s\n";
var msg_invalid_number = "%s must be an number.\n";
var msg_outofrange = "%s is invalid. Valid range is %s to %s \n";

var msg_validIP = "%s is invalid. Valid range is 1.0.0.1 to 254.255.255.254\n";
var msg_validMask = "%s is invalid. Valid range is 0.0.0.0 to 255.255.255.255\n";
var msg_ip_address = "IP Address";
var msg_netmask = "Network Mask";

var msg_changeIP = "Since the " + modelName + "'s IP address has changed,\nthis connection must be terminated.\n\nPlease wait %s seconds for the restart to be completed,\nthen re-connect using the new IP address";
var msg_noradio_selected = "No entry selected. \nClick a radio button to select an entry.\n";
var msg_nomotion = "Motion detection is only available with MPEG4 Video streams.\n";
var msg_nomotion_crop = "Motion detection is not available with User-defined video size.\n";
var msg_nocrop_motion = "User-defined video size is not available while Motion Detection is being used.\n";
//var msg_nomotion_all = "Motion detection is not available with MJPEG Video streams, \nor when using a User-defined video size.\n"
var msg_nomotion_all = "Motion detection is not available with MJPEG Video streams.\n";
var msg_warning_nomotion = "Warning!\nMotion detection alerts are unavailable with user-defined video size.\n";
var msg_please_save = "Please save current settings before continuing.\n";
var msg_connect_livevideo =  "Connecting to Live Video stream ..." ;

// access
var msg_http_port = "User-defined HTTP port";

// admin login
var msg_adminlogin = "Administrator Login Name" ;
var msg_pw_nomatch = "Password entries do not match, please retype.\n" ;

// alerts, E-mail
var msg_motiondetect = "Warning!\nMotion detection can be triggered by sudden changes in the lighting level,\nas well as by moving objects.";
var msg_noalerts = "\nWarning! \nAlerts are enabled, but neither E-mail nor SMTP is enabled,\nso the only Alert action will be to log the Alert.\n"; 
var msg_alert_filename = "Video File name";
var msg_mail = "%s is invalid. Please enter a valid E-mail address.\n";
var msg_emaildest1 = "E-mail address [1]";
var msg_emaildest2 = "E-mail address [2]";
var msg_emaildest3 = "E-mail address [3]";
var msg_email_subject = "E-mail Subject";
var msg_emailsrc = '"From" E-mail address';
var msg_nomail = "\nWarning! \nAlerts are enabled, you must provide at least one E-mail address, and the SMTP server information.\n";
var msg_noalert = "\nWarning! \nAlerts will be enabled, you must provide at least one E-mail address, and the SMTP server information.\n";

// FTP
var msg_ftp_server = "FTP Server";
var msg_ftp_login = "FTP Login name";
var msg_ftp_passwd = "FTP Password";
var msg_ftp_passwd_nomatch = "Password entries do not match, please re-type.\n";
var msg_ftp_folder = "FTP Folder";

// ddns 
var msg_ddns_hostname = "DDNS Hostname";
var msg_ddns_username = "DDNS account name";
var msg_ddns_password = "DDNS password";

// image, camera
var msg_bright = "Brightness";
var msg_contrast = "Contrast";
var msg_red = "Red";
var msg_green = "Green";
var msg_blue = "Blue";
var msg_typechange = "Warning!\nWhen the image type is changed, all existing connections will be terminated.\nAnyone viewing the video will need to re-connect.";
var msg_quality_change = "Warning!\nWhen the image quality is changed, all existing connections will be terminated.\nAnyone viewing the video will need to re-connect.";
var msg_res_change = "Warning!\nWhen the image size is changed, all existing connections will be terminated.\nAnyone viewing the video will need to re-connect.";
var msg_typechange_full = "Warning!\n1) Audio is not available with this video type.\n2) When the image type is changed, all existing connections will be terminated.\nAnyone viewing the video will need to re-connect.";
var msg_noaudio_mjpeg = "Audio is not available with MJPEG video";
var msg_image_rotation = "When using Image Rotation, the \"Time Stamp\" \nand \"Text Overlay\" options are unavailable.\nClick OK to disable Time Stamp and Text Overlay.\n";
var msg_text_overlay = "Text overlay";
var msg_dis_md = "Warning!\nMotion Detection function will not be available.\n";
var msg_dis_alert = "Warning!\nAlert function will not be available.\n";


// fw upgrade
var up_msg = "Upgrade Firmware? \nAll existing connections will be terminated.\n\nClick OK to continue, Cancel to abort.";
var nofile_msg = "No filename provided. Please select the correct file.";
var finish_msg = "\Firmware Upgrade completed. Camera will now restart." + 
"\nPlease wait for restart to be completed before continuing.";
var msg_confirmCfile = "Warning!\nRestoring settings from a configuration file will erase all the current settings.\nClick OK to continue , Cancel to abort.";

// network, tcp/ip
var msg_ipaddress = "IP Address";
var msg_ipmask = "Subnet mask";
var msg_gateway = "Gateway";
var msg_dns1 = "Primary DNS IP address";
var msg_dns2 = "Secondary DNS IP address";
var msg_need_gwdns = "Warning!\nE-mail notification, DDNS, and Network Time Protocol\ncannot work without a Gateway and DNS.\n\nClick OK to continue, Cancel to abort saving."
var msg_rtsp_port = "RTSP Port";
var msg_rtp_src_port = "RTP Source Port";

var msg_video_port = "Invalid Video Port number. Enter 0 or an even value between 1024 and 65534.\n";
var msg_audio_port = "Invalid Audio Port number. Enter 0 or an even value between 1024 and 65534.\n";
var msg_v_port = "Video Port";
var msg_a_port = "Audio Port";
var msg_rtp_time = "Time";
var msg_port_conflict = "The Secondary Port number can not be equal to the RTSP and RTP Port number.\n";
var msg_rtspport_conflict = "The RTSP Port number can not be equal to the RTP Port number.\n";
var msg_rtp_pkt_len = "Max RTP Data Packet Length";

//Pan/Tilt
var msg_cycle_limit = "Unable to add. Sequence can contain a maximum of %s presets.\n";
var msg_select_preset = "No Preset position selected, please select a preset from the list.\n";
var msg_exclusive_time = "Exclusive control time";
var msg_standby_time = "Standby time";
var msg_position_time = "Time at each position";
var msg_in_presetname = "The preset name has existed.\n";
var msg_in_max = "Maximum added items is 9.\n";
var msg_in_ptname = "The name has existed.\n";
var msg_non_ascii_character = "The preset name can only accept the ASCII characters.\n";

// periodic
var msg_send_time = "Send time interval";
var msg_noperiodic = "\nWarning! \nPeriodic sending is enabled, but neither E-mail nor FTP is enabled, so no files will be sent.\n"; 
var msg_periodic_filename = "Video File name";



// schedule
var msg_delperiod = "Delete selected period or periods?\n";
var msg_noperiod_selected = "No period selected. Please select a period from the list.\n";
var msg_finish_after_start = "Invalid period. Finish time must be after start time.\n";
var msg_duplicated_period = "Invalid period. The period has existed in the schedule.\n";
var msg_too_many_periods = "Too many periods in the schedule. \n";

// SMTP
var msg_smtp_server = "Outgoing Mail SMTP Server";
var msg_smtp_login = "Mail Server Account Name" ;
var msg_blank_smtp_name = "SMTP Login name";
var msg_blank_smtp_pw = "SMTP Password";
var msg_blank_pop_name = "POP server name";


// Status
var resetDefault_msg = "Reset to Factory Defaults ?\nCurrent configuration data will be lost.\n\nClick OK to continue, Cancel to abort";
var restart_msg = "Restart ? \nAll existing connections will be terminated.\n\nClick OK to continue, Cancel to abort";


//system 
var msg_name = "Title Bar Name";
var msg_hr = "Time (Hrs)";
var msg_min = "Time (Min)";
var msg_day = "Date (Day)";
var msg_year = "Date (Year)";
var msg_adm = "Admin name";
var msg_ntp_server = "NTP Server Address";
var msg_update_hr = "NTP update schedule (Hr)";
var msg_update_min = "NTP update schedule (Min)";


// Wireless
var na_var = "n/a";
var msg_infraChannel = "Auto";
var msg_ssid = "SSID";
var msg_sel_region = "Please select the region to match your location.\n";
var msg_wpa = "WPA Personal";

//  WEP, WPA Personal
var msg_hexkey64 = "Invalid WEP Key. Keys must consist of 10 Hex chars ( 0~9 or A~F )\n";
var msg_hexkey128 = "Invalid WEP Key. Keys must consist of 26 Hex chars ( 0~9 or A~F )\n";
var msg_smallpassphase = "Passphrase must be at least 1 character.\n";
var msg_default_key = "Default key [%s] can not be blank.\n";
// var msg_keysnomatch = "WEP Key %s: Key values do not match, please retype.\n";
var msg_hexkey = "Invalid Key. Hex keys can only include the characters 0~9 and A~F.\n";
var msg_psk_keysize = "PSK must be from 8 to 63 characters\n";
//var msg_psk_lifetime = "Key Lifetime";
var msg_asciikeysize = "Invalid WEP Key. \nKeys must be %s ASCII characters.\n";
var msg_hexkeysize = "Invalid WEP Key. Keys must be %s Hex chars ( 0~9 or A~F )\n";

// User
var button_label_add = "Add User";
var button_label_update = "Update User";
var button_label_clear =  "Clear Fields";
var button_label_cancel = "Cancel";
var msg_username = "User name";
var msg_nameused ="This name is already used. Please use another name.\n";
var msg_passwd_nomatch = "Password entries do not match, please retype.\n";
var msg_dbfull = "User database is full, no more users can be added.\n";
var msg_select_user = "No user selected, please select a user from the list.\n";
var msg_del_user = "Delete user: ";
var msg_del_allusers = "Delete all users ? \n";




