
var language_label = "Language";
var NetworkVideoRecord = "Network Video Recorder";

//main menu
var main_stopbuzzer = "Stop Buzzer";
var main_diskfail = "One of your disk is not initilized, please check…";
var main_raid1fail = "RAID 1 failed, please check…";
var main_changelan = "Change display language";
var main_systemtime = "System Time: month date,year hour:minutes:second";
var menu_mainlive = "Main View";
var menu_setup = "Setup";
var menu_camera_status = "Channel Status";
var title_systemtime = "System Time";
var title_user = "User";

//submenu: view
var liveview = "Live";
var live_recordall = "Record All";
var live_record = "Record";
var live_dis = "Disconnected";
var live_con = "Connected";
var live_manurec = "Manual recording";
var live_schrec = "Schedule recording";
var live_eventrec = "Event recording";
var live_conrec = "Continuous recording";
var live_event = "Event";
var live_clicksnapshot = "Take Snapshot";
var live_nosnapshot = "Snapshot not available";
var live_clickfullscreen = "Full Screen";
var live_playaudio = "Play Audio";
var live_stopaudio = "Stop Audio";
var live_noaudio = "Audio not available";
var live_AudioPostOn = "Start Talk";
var live_AudioPostOff = "Stop Talk";
var live_AudioPostDisabled = "Talk function not available";
var live_stopmanrec = "Stop Manual Recording";
var live_startmanrecord = "Start Manual Recording";
var live_norecord = "Record function not available";
var live_canntexporttoavi = "AVI export not available";
var live_exporttoavi = "Export as AVI file";
var live_exporttoaviing = "Exporting as AVI file";
var live_specifyAVIFile = "Specify a file name";
var live_stopexportAVI = "Stop exporting to AVI file";
var live_exportAVIsuccess = "Export complete";
var live_exportAVIfail = "Export failed";
var live_exportAVIcancel = "Export cancelled";
var live_exportAVIformatchange = "Data format changed, export process interrupted. Please specifiy a new AVI file to export the remaining portion.";
var live_exportAVIperiod = "Export Period";
var live_exportAVItimeout = "Error retrieving recording data";
var live_norecorddata = "No recording data";
var live_ExportLength = "Export Length";
var live_keepration = "Keep Aspect Ratio";
var live_keepration2 = "Keep Aspect Ratio and True Size";
var live_dontkeepration = "Expand Video";
var live_sysloading = "Loading";
var live_OriginalView = "Original View";
var live_BroadView = "Broad View";
var live_QuadView = "Quad View";
var live_QuadandSourceView = "Quad and Source View";
var live_DoubleView = "Double View";
var live_TripleView = "Triple View";
var live_CheckAudioDevice = "Talk function failed! Please make sure the microphone is connected to the PC correctly or make sure you have installed the proper driver from the sound card manufacturer instead of using Windows generic driver.";
var live_AudioPostFail = "Talk function failed!";

var ptz_cameras = "Camera";
var ptz_pan = "Pan";
var ptz_tilt = "Tilt";
var ptz_zoom = "Zoom";
var ptz_focus = "Focus";
var ptz_preset = "Preset";
var ptz_ptz = "PTZ";
var ptz_presetpoint = "Preset Point";
var ptz_startpresetseq = "Patrol on Preset Sequence";
var ptz_autopan = "Auto Pan";
var ptz_goto = "Go To";
var ptz_speed = "PTZ Speed";
var ptz_speed2 = "PTZ Speed";
var ptz_up = "Move Up";
var ptz_upright = "Move Upper-Right";
var ptz_right = "Move Right";
var ptz_downright = "Move Lower-Right";
var ptz_down = "Move Down";
var ptz_leftdown = "Move Lower-Left";
var ptz_left = "Move Left";
var ptz_upleft = "Move Upper-Left";
var ptz_home = "Home";
var ptz_zoomin = "Zoom In";
var ptz_zoomout = "Zoom Out";
var ptz_focusout = "Focus Far";
var ptz_focusin = "Focus Near";
var ptz_focusauto = "Auto Focus : ON";
var ptz_focusautooff = "Auto Focus : OFF";
var ptz_irisclose = "Iris Close";
var ptz_irisopen = "Iris Open";
var ptz_irisauto = "Iris Auto";
var ptz_autopanstop = "Stop Pan";
var ptz_autopanleft = "Pan Left Auto";
var ptz_autopanright = "Pan Right Auto";

//submenu: sequence view
var seqview_seqview = "Sequence";
var seqview_notsupport = "Camera not support";
var seqview_notselprepos = "No preset point selected";

//submenu: playback
var pb_playback = "Playback";
var pb_cameras = "Channel";
var pb_year = "Year";
var pb_month = "Month";
var pb_date = "Date";
var pb_totalpage = "Total page";
var pb_closecalendar = "Close Calendar";
var pb_searchbyevent = "By Event";
var pb_searchLastestEvent = "By Event (Most Recent)";
var pb_playbystarttime = "By Specific Time";
var pb_searchbytime = "By Time Chart";
var pb_maxnumofres = "Max. result";
var pb_maxnum1To30 = "This number must be between 1 to 30";
var pb_speed = "Speed";
var pb_begintime = "Begin Time";
var pb_playtime = "Play Time";
var pb_nothing = "---";
var pb_jan = "Jan";
var pb_feb = "Feb";
var pb_mar = "Mar";
var pb_apr = "Apr";
var pb_may = "May";
var pb_jun = "Jun";
var pb_jul = "July";
var pb_aug = "Aug";
var pb_sep = "Sep";
var pb_oct = "Oct";
var pb_nov = "Nov";
var pb_dec = "Dec";
var pb_selmode = "Search mode";
var pb_increase = "Increase";
var pb_decrease = "Decrease";
var pb_calendar = "Calendar";
var pb_reversefor = "Reverse Forward";
var pb_stop = "Stop";
var pb_playpause = "Play / Pause";
var pb_forward = "Forward";
var pb_singalstep = "Single Step";
var pb_mdy = "Month Date, Year";
var pb_min = "min";
var pb_hour = "hour";
var pb_date = "date";
var pb_hhmmss = "hour:minute:second (hh:mm:ss)";
var pb_playbackinfo = "Playback Info.";
var pb_speednormal = "Normal";
var pb_MDEvent = "Motion Event";
var pb_DIEvent = "Digital Input Event";
var pb_TamperEvent = "Tamper Event";
var pb_ObjectLossEvent = "Object Loss";
var pb_ResetTripwire = "Tripwire Detection";
var pb_ResetTamper = "Reset Tamper Event";
var pb_ResetObjectLos = "Reset Object Loss";
var pb_ObjectCount = "Object Counting";
var pb_ResetUnattendedObject = "Reset Foreign Object";
var pb_UnattendedObject = "Foreign Object";
var pb_FaceCounting = "Face Counting Event";
var pb_ManualTrigger = "Manual Recording Started";
var pb_POSEvent = "POS Event Trigger";
var pb_POSData = "POS Device Trigger";
//setup
var setup_default = "Default";

//setup: menu
var setup_usersaccount = "Users Account";
var setup_disksetup = "Disk Setup";
var setup_cameraconfig = "Channel Configuration";
var setup_cameracon = "Channel Setting";
var setup_ptzset = "PTZ Setting";
var setup_ptzpreset = "PTZ Preset";
var setup_eventconfig = "Event Configuration";
var setup_eventservers = "Event Servers";
var setup_ftpservers = "FTP Servers";
var setup_httpservers = "HTTP Servers";
var setup_smtpservers = "SMTP Servers";
var setup_ftpserversset = "FTP Servers Setting";
var setup_httpserversset = "HTTP Servers Setting";
var setup_smtpserversset = "SMTP Servers Setting";
var setup_eventtrigger = "Event Trigger";
var setup_generalset = "General Setting";
var setup_schedrec = "Schedule Recording Setting";
var setup_sysoptions = "System Options";
var setup_maintenance = "Maintenance";
var setup_dostatus = "DO Status";
var setup_grouppriset = "Group Privilege Setting";
var setup_harddiskset = "Hard Disk Setting";


//setup: system - network
var tcpip_networkset = "Network Setting";
var tcpip_contype = "Connection Type";
var tcpip_ipaddr = "IP Address";
var tcpip_subnetmask = "Subnet Mask";
var tcpip_gateway = "Gateway";
var tcpip_dns = "DNS";
var tcpip_dns1 = "DNS 1";
var tcpip_dns2 = "DNS 2";
var tcpip_httpport = "HTTP Port";
var tcpip_rtspport = "RTSP Port";
var tcpip_streamingpport = "Streaming Port";
var tcpip_UPnPpforw = "UPnP Port Forwarding";
var tcpip_optset = "Optional Setting";
var tcpip_devicename = "Device Name";
var tcpip_DHCPserv = "DHCP Server";
var tcpip_dhcpclientname = "Name (if any)";
var tcpip_timewhenipobtained = "Time when IP obtained";
var tcpip_leasetime = "Lease Time";
var tcpip_currentdhcpclient = "Current DHCP Clients";
var tcpip_dhcpclient = "DHCP Client";
var tcpip_networksetup = "Network Setup";
var tcpip_dhcpserverstatus = "DHCP Server Status";
var tcpip_maxdhcpclient = "Max. DHCP Client";
var tcpip_max30client = "Max. 30 clients";
var tcpip_staticip = "Static IP";
var tcpip_DHCP = "DHCP";
var tcpip_and = ", ";
var tcpip_and2 = "and";
var tcpip_thesystem = "The System's ";
var tcpip_hasbechange = " has been changed, please relogin with the ";
var tcpip_havebechange = " have been changed, please relogin with the ";
var tcpip_networksettingchange = "The "+ NVRModelName +"'s network settings have been changed, please access it with the IP address";
var tcpip_ip = "IP";
var tcpip_externelport = "External Port";
var tcpip_warningNoDNS = "Please enter at least one valid DNS server if you plan to use services (such as NTP server) with their domain names";

//setup: system - time
var time_timeanddate = "Time and Date";
var time_timeanddateset = "Time and Date Setting";
var time_timezone = "Time Zone";
var time_manual = "Manual";
var time_hour = "Hour";
var time_minute = "Minute";
var time_second = "Second";
var time_syncwithntp = "Sync with NTP Server";
var time_syncwithpc = "Sync with PC";
var time_ntpserver = "NTP Server";
var time_updateint = "Update Interval";
var time_summertime = "Summer time";
var time_jan = "January";
var time_feb = "February";
var time_mar = "March";
var time_apr = "April";
var time_may = "May";
var time_jun = "June";
var time_jul = "July";
var time_aug = "August";
var time_sep = "September";
var time_oct = "October";
var time_nov = "November";
var time_dec = "December";
var time_keepcurrent = "Keep Current Setting";
var time_SyncTimeStatus = "Last sync: $SyncTime$. Status: $SyncStatus$";

//setup: system - user and group
var user_username = "User Name";
var user_nameword = "Only A-Z, a-z, 0-9 and _.@ are allowed";
var user_confirmpass = "Confirm Password";
var user_company = "Company";
var user_depart = "Department";
var user_tele = "Telephone";
var user_mobile = "Mobile";
var user_email = "E-Mail";
var user_group = "Group";
var user_accounttype = "Account Type";
var user_allowptz = "Allow use of PTZ";
var user_sysconfig = "System Configuration";
var user_ch = "CH";
var user_recconfig = "Recording Configuration";
var user_adduser = "Add User";
var user_modify = "Modify User";
var user_grouppri = "Group Privilege";
var user_useraccount = "User Account Setting";
var user_optional = "Optional";

var group_admin = "Administrator";
var group_supervisor = "Supervisor";
var group_operator = "Operator";
var group_viewer = "Viewer";
var group_guest = "Guest";

//setup: system - disk
var disk_id = "Disk ID";
var disk_volumeid = "Volume ID";
var disk_type = "Disk Type";
var disk_volumetype = "Volume Type";
var disk_diskcap = "Disk Capacity";
var disk_cap = "Capacity";
var disk_diskstatus = "Disk Status";
var disk_RAId1status = "RAID Status";
var disk_status = "Status";
var disk_online = "Online";
var disk_offline = "Offline";
var disk_recording = "Recording";
var disk_recycling = "Recycling";
var disk_internal = "Internal";
var disk_external = "External";
var disk_format = "Format";
var disk_formatting = "Formatting…";
var disk_unmount = "Unmount";
var disk_remaindiskspace = "Remaining Disk Space";
var disk_remainper = "Remaining";
var disk_onlinetime = "Online Time";
var disk_disktemper = "Disk Temperature";
var disk_formatcamera = "Formatting disk, please wait...";
var disk_formatdisk = "*** Warning ***: All data in this hard disk will be erased and this action is irreversible!\n\n When the disk is being formatted, the system's performance will be seriously impacted and the recording may not function well for the time being.\n\n Do you want to proceed?";
var disk_formatdisk2 = "Format Disk";
var disk_startrec = "Recording start time";
var disk_recperiod = "Recording Period";
var disk_RemainingTime = "Est. Remaining Time";
var disk_RemainingDays = "days";
var disk_RemainingHours = "hours";
var disk_lackInfo = "The lack of information";

//setup: camera - add and edit
var camera_channel = "Channel";
var camera_Number = "No.";
var camera_addcamera = "Add New Channel";
var camera_editcamera = "Edit Channel Setting";
var camera_channelid = "Channel ID";
var camera_group = "Group";
var camera_auth = "Authentication";
var camera_yes = "Yes";
var camera_no = "No";
var camera_videoserver = "Video Server";
var camera_videoport = "Video Port";
var camera_audioport = "Audio Port";
var camera_cameraip = "Camera IP";
var camera_recframerate = "Recording Frame Rate";
var camera_manual = "Manual";
var camera_text = "Text";
var camera_clicksearch = "Click here to search camera";
var camera_clickManageDIS = "Click here to manage DIS Account";
var camera_brand = "Brand";
var camera_model = "Model";
var camera_skipsearch = "You may skip this step and add a new camera manually by entering camera's setting in the \"Camera Information\" section";
var camera_skipDISManage = "You may skip this step if you only wish to add cameras that are available on the local network";
var camera_selacamera = "Select a camera from search result and click \"Configure\" to configure setting below.";
var camera_afterfillout = "Once you fill out above information, click \"Detect\" to retrieve camera setting";
var camera_changechaninfo = "Once you change the camera's IP, User Name, Password or HTTP Port, click \"Detect\" to retrieve the camera's settings";
var camera_livevideoformat = "Format";
var camera_livevideofps = "Frame Rate";
var camera_fps = "fps";
var camera_livevideoresolution = "Resolution";
var camera_livevideobitrate = "Bitrate";
var camera_kbps = "bps";
var camera_livevideoquality = "Quality";
var camera_rotation = "Rotation";
var camera_textmotionosd = "OSD and Motion Display";
var camera_searchingcamera = "Searching camera, please wait...";
var camera_detectcamera = "Detecting camera, please wait…";
var camera_motiondisset = "Motion Display Setting";
var camera_addcaminfo = "Additional Camera Information";
var camera_installed = "Installed";
var camera_bitratemode = "Bitrate Mode";
var camera_minbitrate = "Min. Bitrate";
var camera_maxbitrate = "Max. Bitrate";

var camera_osdsettings = "OSD Setting";
var camer_textdisoption = "Text Display Options";
var camera_donotdisposd = "Do not display OSD";
var camera_disosd = "Display OSD";
var camera_showtime = "Show Time";
var camera_showfps = "Show FPS";
var camera_showtext = "Show Text";
var camera_max32char = "Max. 32 characters";
var camera_osdpos = "OSD Position";
var camera_disosdatcoor = "Display at the coordinates";
var camera_disosdat = "Display at";
var camera_customerosdtextandback = "Customize OSD text & background";
var camera_textsize = "Text Size";
var camera_auto = "Auto";
var camera_selfdef = "Customized";
var camera_textcolor = "Text Color";
var camera_font = "Font";
var camera_customer = "Customized";
var camera_change = "Change";
var camera_textbackcol = "Text Background Color";
var camera_transparent = "Transparent";
var camera_clicktoseepreview = "Click this button to see a preview for your OSD setting";
var camera_upper_left = "upper-left";
var camera_bottom_left = "bottom-leftt";
var camera_upper_center = "upper-center";
var camera_bottom_center = "bottom-center";
var camera_upper_right = "upper-right";
var camera_bottom_right = "bottom-right";
var camera_basic_color = "Basic Color";

//setup:camera - ptz preset
var preset_positionname = "Position Name";
var preset_sethome = "Set as Home";
var preset_add = "Add Preset Position";
var preset_modify = "Modify Preset Position";
var preset_home = "Home";
var preset_sync_camera = "Sync with Camera";
var preset_notsetyet = "Not set yet";
var preset_needntsync = "This camera needn't sync";

//setup: camera - ptz seq
var ptzseq_dwelltime = "Dwell Time";
var ptzseq_posno = "Position No";
var ptzseq_prepos = "Preset Positions";
var ptzseq_preseq = "Preset Sequence";
var ptzseq_preposlist = "Preset Postition List";
var ptzseq_ptzseq = "PTZ Sequence";


//setup: event - general
var evegen_help = "Help";
var evegen_evetridur = "Event Trigger Duration";
var evegen_evetriinterval = "Event Trigger Interval";
var evegen_interval = "Interval";
var evegen_triact = "Trigger Actions";
var evegen_sendimg = "Send Image";
var evegen_sendvideo = "Send Video";
var evegen_sendmessage = "Send Message";
var evegen_frames = "Frames";
var evegen_filename = "File Name";
var evegen_input = "Input";
var evegen_fillsubject = "Fill in this option to include the subject if this message will be sent as a mail";
var evegen_filluploadpath = "Fill in this option if this message will be uploaded to a ftp server as a text file";
var evegen_allowabletag = "Allowable Tag";
var evegen_camid = "Channel ID";
var evegen_triggertype = "Trigger type";
var evegen_triggertime = "Trigger time";
var evegen_devicename = "Device name";
var evegen_ip = "Server IP address";
var evegen_imgfilename = "Image file name";
var evegen_mailsubject = "Subject";
var evegen_megfilename = "Message file name";
var evegen_example = "For example";

//setup: event - I/O
var io_ioset = "I/O Setting";
var io_iomap = "I/O Mapping";
var io_condition = "Condition";
var io_camerainputport = "Camera Input Port";
var io_triggeredwhen = "Trigger Event When";
var io_triggerout = "Trigger Output";
var io_or = "or";
var io_input = "Input";
var io_output = "Output";
var io_camera = "Camera";
var io_state = "State";
var io_port = "Port";
var io_interval_time_set = "(0:unlimited or 5~86400 sec)";
var io_high = "Open";
var io_low = "Ground";
var io_change = "Change";

//setup: event - ftp
var ftp_name = "Name";
var ftp_addr = "Network Address";
var ftp_port = "Port";
var ftp_username = "Username";
var ftp_pawd = "Password";
var ftp_uploadpath = "Upload Path";
var ftp_ftpserver = "FTP Server";
var ftp_hostorip = "Enter host name or IP address";
var ftp_portnumber = "Port Number";
var ftp_logininfo = "Login Information";
var ftp_adsetting = "Passive Mode";
var ftp_usepassive = "Use Passive Mode";
var ftp_passive = "Passive Mode";
var ftp_testconn = "*Click \"Test\" to test the connection to the FTP server";
var testftpok = "Connect ftp server successful";
var testftpfailed = "Connect ftp server failed";

//setup: event - http
var http_servername = "Server Name";
var http_URL = "URL";
var http_httpaddr = "HTTP Address";
var http_httpserver = "HTTP Server";
var http_testconn = "*Click \"Test\" to test the connection to the HTTP server";
var http_parameter = "Parameter";
var testhttpok = "Connect http server successful";
var testhttpfailed = "Connect http server failed";

//setup: event - smtp
var smtp_addr = "SMTP Address";
var smtp_smtpserver = "SMTP Server";
var smtp_enauth = "Enable Authentication";
var smtp_sender = "Sender";
var smtp_sendername = "Sender's Name";
var smtp_senderemail = "Sender's E-mail";
var smtp_toemail = "To email address";
var smtp_usersep = "use \",\" to separate e-mails";
var smtp_testconn = "*Click \"Test\" to test the connection to the SMTP server";
var smtp_sendtest = "Send Test Email To";
var sendtestmailok = "Test mail sent successful";
var sendtestmailfailed = "Test mail sent failed";

//setup: event trigger
var trigger_interval = "Trigger Interval";
var trigger_by = "Trigger By";
var trigger_output = "Trigger Output";
var trigger_sendimagevideo = "Send Image or Video";
var trigger_httpnoti = "HTTP Notification";
var trigger_digitalinput = "Digital Input";
var trigger_camerconchange = "Camera configurations changed";
var trigger_triggerdur = "Trigger duration";
var trigger_always = "Always";
var trigger_onlydur = "Only during";
var trigger_durframe = "Only during time frame";
var trigger_starttime = "Start Time";
var trigger_endtime = "End Time";
var trigger_dur = "Duration";
var trigger_rec = "Recycled";
var trigger_startsup = "When " + NVRModelName + " Start Up";
var trigger_diskfail = "Disk Fail";
var trigger_configurationchanged = "When " + NVRModelName + " System Configuration Changed";
var trigger_shutsdown = "When " + NVRModelName + " Shutdown";
var trigger_devicefull = "Hard Disk Full";
var trigger_outputport = "Output Port";
var trigger_action = "Action";
var trigger_image = "Image";
var trigger_video = "Video";
var trigger_toserver = "To Server";
var trigger_toemailaddr = "To E-Mail Address";
var trigger_subject = "Subject";
var trigger_sendhttpnoti = "Send HTTP Notification";
var trigger_message = "Message";
var trigger_send = "Send";
var trigger_ftp = "FTP";
var trigger_mail = "Mail";
var trigger_addresses = "Addresses";
var trigger_http = "HTTP";
var trigger_eventtriset = "Event Handling Setting";
var trigger_cammotdec = "Camera's Motion Detection";
var trigger_camconchange = "When Channel's Configuration Changed";
var trigger_cgitrigger = "CGI Trigger";
var trigger_when = "When";
var trigger_istriggeredbyNVR = "When " + NVRModelName + " is triggered by";
var trigger_istriggeredbyCam = "When Channel is triggered by";
var trigger_diskfull = "Disk Full";
var trigger_buzzer = "Buzzer";
var trigger_ex = "ex. <<N>CH<N>><<N>TRIGGER<N>><<N>TIME<N>><<N>DEVICENAME<N>><<N>IP<N>>";
var trigger_strtag = "<<N>CH<N>><<N>TRIGGER<N>><<N>TIME<N>><<N>DEVICENAME<N>><<N>IP<N>> are all \"String Tag\". <<N>CH<N>>: Channel ID, <<N>TRIGGER<N>>: Trigger type, <<N>TIME<N>>: Trigger time, <<N>DEVICENAME<N>>: device name, <<N>IP<N>>: IP address";
var trigger_motiondetect = "Motion Detection";
var trigger_ioinput = "I/O Input";
var trigger_triioout = "Trigger I/O Output";
var trigger_takeforlongtime = "This may take a while to process, please wait until \"Configuration updated successfully\" message is displayed. Processing…";

//setup: record - general
var general_prerec = "Pre-Alarm Buffer";
var general_postrec = "Post-Alarm Buffer";
var general_enrecycle = "Enable Recycle";
var general_sec = "Seconds";
var general_camerarecsetting = "Camera Recording Setting";
var general_continuous = "Continuous";
var general_sche = "Schedule";
var general_event = "Event";
var general_add = "Add Schedule";
var general_modify = "Modify Schedule";
var general_generalrecset = "Recording General Settings";
var general_recordingbuffer = "Recording Buffer";
var general_recycling = "Recycling";

//setup: record - schedule
var schedule_copyform = "Copy From";
var schedule_copyto = "Copy Schedule To Channel";
var schedule_scheduledrecconfig = "Scheduled Recording Configuation";
var schedule_sun = "Sun";
var schedule_mon = "Mon";
var schedule_tur = "Tues";
var schedule_wed = "Wed";
var schedule_thu = "Thur";
var schedule_fri = "Fri";
var schedule_sat = "Sat";
var schedule_sunday = "Sunday";
var schedule_monday = "Monday";
var schedule_tuesday = "Tuesday";
var schedule_wednesday = "Wednesday";
var schedule_thursday = "Thursday";
var schedule_friday = "Friday";
var schedule_saturday = "Saturday";
var schedule_day = "Day";
var schedule_night = "Night";
var schedule_weekend = "Weekend";
var schedule_days = "Days";
var schedule_allday = "All day";
var schedule_schrecset = "Schedule Recording Settings";
var schedule_quickcon = "Quick Configuration";
var schedule_schtable = "Schedule Table";
var schedule_during = "During";
var schedule_all = "All";

//setup: maintance - digital output port
var recout_output = "Output";
var recout_close = "Open";
var recout_open = "Ground";
var do_normalstate = "Normal State";
var do_currentstate = "Current State";
var do_clicktochange = "Click to change";

//setup: maintance - device info
var deviceinfo_modelname = "Model Name";
var deviceinfo_firmwareinfo = "Firmware Version";
var deviceinfo_sysuptime = "System Up Time";
var deviceinfo_deviceuptime = "Device Time";
var deviceinfo_mac = "MAC Address";
var deviceinfo_dnsserver = "DNS Server";
var deviceinfo_upnp = "UPnP";
var deviceinfo_on = "ON";
var deviceinfo_off = "OFF";
var deviceinfo_general = "General Information";
var deviceinfo_network = "Network Information";
var deviceinfo_networktype = "Network Type";
var deviceinfo_enabled = "Enabled";
var deviceinfo_disabled = "Disabled";
var devicedeviceinof = "Device Information";
var deviceinfo_enUPnPpres = "UPnP Presentation";
var deviceinfo_enUPnPpforw = "UPnP Port Forwarding";
var deviceinfo_deviceip = "Device IP";

//setup: maintance - logs and reports
var logreport_type = "Type";
var logreport_desc = "Description";
var logreport_time = "Time";
var logreport_logandreport = "System Logs";

//setup: maintance - backup
var backup_restartNVR = "Restart " + NVRModelName + "";
var backup_clickrestart = "Click \"Restart\" button to restart " + NVRModelName + "";
var backup_restartcamera = "Restart Camera";
var backup_selacamtorestart = "Select a camera below to perform a restart";
var backup_camrestarted = "Camera restarted";
var backup_upgrade = "Upgrade";
var backup_firmware = "Upgrade " + NVRModelName + " Firmware";
var backup_upgradefirmware = "Locate the new firmware and perform the upgrade";
var backup_errfirmwarefile = "Incorrent file format, please try again.";
var backup_oldfirmwarever = "Upgrade firmware to an older version is not allowed!";
var backup_spefirmware = "Specify the firmware file";
var backup_and = "and";
var backup_click = "click";
var backup_note = "*** Note ***";
var backup_notpowerofffirmware = "Please DO NOT power off the system during the firmware upgrade process. You will be notified once the upgrade process is complete";
var backup_backup = "Backup " + NVRModelName + "'s Setting";
var backup_settings = "Setting";
var backup_backuptoharddisk = "Backup the configuration to a local hard disk";
var backup_restore = "Restore " + NVRModelName + "'s Setting ";
var backup_restorepreviouslysave = "Restore configuration from a previously saved configuration file";
var backup_spcifyconfig = "Specify the configuration file";
var backup_notpoweroffrestore = "Please DO NOT power off the system during the restore process. You will be notified once the process completed.";
var backup_reset = "Reset";
var backup_refactory = "Reset " + NVRModelName + " to Factory Default";
var backup_restoretofactory = "This will restore all configurations to their factory default values";
var backup_notpowerofffactory = "Please DO NOT power off the system during the reset process. You will be notified once the process is complete.";
var backup_defaultip = "When the DHCP server function is disabled, the default IP of the system is:" + var_SVRdefaultIP;
var backup_s = "'s ";
var backup_currentfirmwarever = "Current Firmware Version";
var backup_restarting = "System is restarting, please wait...";
var backup_updating = "Upgrading firmware, please wait...";
var backup_restoring = "Restoring from previously saved configuration file, please wait…";
var backup_resetfactorydefault = "Resetting configuration to factory default, please wait...";
var backup_restartchan = "Restarting camera, please wait...";
var backup_restorefailed = "Restore system configuration failed.";
var backup_restorefactory = "Restore Factory Default";

//camera status
var camerastatus_id = "ID";
var camerastatus_status = "Channel Status";
var camerastatus_cameraname = "Channel Name";
var camerastatus_manualrec = "Manual Recording";
var camerastatus_eventrec = "Event Recording";
var camerastatus_schedrec = "Schedule Recording";
var camerastatus_conrec = "Continuous Recording";
var camerastatus_streamFormat = "Stream Format";
var camerastatus_resolution = "Resolution";
var camerastatus_framerate = "Frame Rate";
var camerastatus_bitrate = "Bitrate";
var camerastatus_live = "Live";
var camerastatus_rec = "Recording";
var camerastatus_discon = "Disconnected";

//button
var button_apply = "Apply";
var button_reset = "Reset";
var button_remove = "Remove";
var button_edit = "Edit";
var button_search = "Search";
var button_research = "Search again";
var button_detect = "Detect";
var button_add = "Add";
var button_clear = "Cancel";
var button_cls = "Clear";
var button_zoomout = "Zoom Out";
var button_zoomin = "Zoom In";
var button_auto = "Auto";
var button_autooff = "Auto Off";
var button_near = "Near";
var button_far = "Far";
var button_disable = "Disable";
var button_test = "Test";
var button_gotoweb = "Go to Web";
var button_config = "Configure";
var button_restartNVR = "Restart";
var button_restartCam = "Restart";
var button_upgrade = "Upgrade";
var button_backup = "Backup";
var button_restore = "Restore";
var button_default = "Default";
var button_go = "Go";
var button_play = "Play";
var button_jump = "Jump";
var button_cancel = "Cancel";
var button_forcechange = "Force Change";
var button_next = "Next Search";
var button_backtotop = "Back to Top";
var button_backprenext = "Back";
var button_browse = "Browse";
var button_stopseq = "Stop";
var button_startseq = "Start";
var button_startall = "Start All";
var button_seqGroup = "All Groups";
var button_seqChan = "All Channels";
var button_seqint = "Sequence Interval";
var button_stop = "Stop";
var button_start = "Start";
var button_changegroupname = "Change Group Name";
var button_preview = "Preview";
var button_sent = "Sent";
var button_copy_sch_to_all = "Copy Schedule To All Channels";
var button_relogin = "Login Again";
var button_upload = "Upload";
var button_configRAID1 = "Enable RAID 1";
var button_delRAID1 = "Delete RAID 1";
var button_manageDIS = "Manage";
var button_UpdateDIS = "Update DIS Servers";
var button_update = "Update";
var button_ApplySync = "Apply/Sync";

var snapshot_imagesize = "Image Size";
var snapshot_small = "Small";
var snapshot_medium = "Medium";
var snapshot_lagre = "Large";

var emap_emap = "E-MAP Monitor";
var emap_emapSetting = "E-Map Setting";
var emap_uploadImage = "Upload Image";
var emap_detectedEvent = "Event detected on $ChannelName$";

var ups_upsConfig = "UPS Configuration";
var ups_upsEnabled = "Enabled UPS Support";
var ups_PowerFail = "Power failed";
var ups_upsShutdown = "UPS shutdown";
var ups_shuydownUPSsec = "Automatically shuts down the "+ NVRModelName +" if power fails for more than ";
var ups_minutes = "minutes";
var ups_DiDoDescription = "The "+ NVRModelName +" uses DI_1 to receive signal from UPS system and uses DO_1 to shut it down.";

//alert message
var ipchanged = "The system's IP has changed, please access it with the ";
var newip = "new IP";

var ok = "Configuration updated successfully";
var notok = "Save Data Failed";
var testok = "Test Success";
var testfailed = "Test Failed";
var synced = "Data Synchronized";
var msg_camera_added = "Configuration updated successfully";
var msg_success = "Success";
var msg_failed = "Failed";

//error message
var err_errip = "Invalid IP address, please enter again";
var err_errSubnetMask = "Invalid subnet mask address, please enter again";
var err_errGateway = "Invalid gateway address, please enter again";
var err_errDNS = "Invalid DNS address, please enter again";
var err_errport = "Port must between 1 to 65535";
var err_errhttp = "HTTP port must between 1 to 65535";
var err_errrtsp = "RTSP port must between 1 to 65535";
var err_invalidchar = "Invalid characters. Only A-Z, a-z, 0-9 and !#$%&-@^_~ are allowed";
var err_invalidusername = "Invalid characters. Only A-Z, a-z, 0-9 and _.@ are allowed";
var err_userused = "The User Name has been used";
var err_deleteadmin = "Administrator can't be delete";
var err_aninvalidchar = "You have entered invalid characters";
var err_hyphen = "Hyphen as the first character is not allowed.";
var err_timezone = "Timezone is empty.";
var err_selchan = "Select Channel ID";
var err_applycam = "Set channel failed";
var err_detectcam = "Detect camera failed";
var err_removecam = "Remove channel failed";
var err_noselcamera = "No channel selected";
var err_bitrate = "32 - 768";
var err_nousername = "No User Name";
var err_nopassword = "No Password";
var err_noname = "No Name";
var err_nocameraname = "No Channel Name";
var err_nofilename = "No File Name";
var err_applyuser = "Set User failed";
var err_applyftpserver = "Set FTP Server failed";
var err_applyhttpserver = "Set HTTP Server failed";
var err_nosendername = "No Sender Name";
var err_nosenderemail = "No Sender E-mail Address";
var err_erremail = "Invalid E-mail Address";
var err_errsenderemail = "Invalid Sender E-mail Address";
var err_errrecipientemail = "Invalid Recipient E-mail Address";
var err_applysmtpserver = "Set SMTP Server failed";
var err_notriggersource = "No Trigger Source";
var err_notriggerinterval = "No Trigger Interval";
var err_dhcpmaxclient = "This number must be between 1 and 30";
var err_notprovidecredential = "You have not provided credentials for newly added camera!";
var err_errrecord = "*** Warning *** Change system may cause recording data confilct. Please be careful.";
var err_selduringday = "Please select during day";
var err_selecttime = "Please select time";
var err_startearlier = "Start Time must be earlier than End Time";
var err_mustbepsint = "This must be positive integer";
var err_inputnumsec = "Please input number of second";
var err_5to86400 = "This number must be 0 or between 5 and 86400";
var err_select = "Select ";
var err_selecttimetoplay = "Playback start time?";
var err_passwordlen = "The password must be longer than 4 characters";
var err_passdif = "The password doesn't match the confirmation password";
var err_phone = "Invalid Phone Number";
var err_nopb = "No Video";
var err_noresponse = "No Response";
var err_norecord = "No playback data";
var err_record = "Record Action Failed";
var err_groupinvalid = "User Group can't be admin";
var err_maxlengthofstring = "Max length of the string is";
var err_selcaminputcon = "Select Camera Input Port Condition";
var err_selcaminput = "Select Camera Input Port";
var err_sel = "Select";
var err_1to30 = "This number must be between 1 and 30";
var err_noauthorized = "Sorry, you are not authorized to use this function";
var err_cameraipport = "Camera IP or Port error";
var err_unauthorized = "Unauthorized with the username and password";
var err_user_unauthorized = "Unauthorized with the username and password";
var err_cameranotsupport = "Camera not supported";
var err_securitylevelinvalid = "Group's \"Account Type\" can not be Administrator";
var err_disknotexist = "Disk does not exist";
var err_diskrecord = "Can not unmount disk, a recording is currently being performed";
var err_formatdisksametime = "Can not format two disks at the same time";
var err_imagenamelong = "You can't enter more than 64 characters!";
var err_filenamelong = "You can't enter more than 64 characters!";
var err_subjectnamelong = "You can't enter more than 64 characters!";
var err_showtextlong = "You can't enter more than 256 characters!";
var err_InvalidImageName = "Invalid characters for image file name field";
var err_InvalidFileName = "Invalid characters for File Name field";
var err_InvalidSubjectName = "Invalid characters for Subject Name field";
var err_InvalidShowText = "Show Text used invalid characters.";
var err_errnetworkaddress = "Invalid Network Address!!";
var err_upgradefirmwarememorylack = "System Memory is not enough. Please reboot the system and try to upgrade the firmware again. Or use USB flash drive to upgrade the firmware.";
var err_setpresetfail = "Set preset point failed";
var err_removepresetfail = "Remove preset point failed";
var err_cantsethome = "Can't Set Home Position";
var err_SelPresetNo = "Select Preset No";
var err_upsNoDI = "DI_1 and DO_1 are currently in use. Please change the setting in the I/O Setting page before enabling this function ";
var err_ImageSizeMax = "Image size can't exceed 100KB!";
var err_SelImageFile = "Please select an image File";
var err_VideoServerNoInput = "No video input device connected! Check the physical connection and try again.";
var err_StringTooLong = "String length is too long!";
var err_uploadfilefailed = "Upload File Failed";
var err_InvalidPresetName = "Invalid characters for Preset Name field";
var err_EventTriOpenUpnp = "Event trigger may not work for cameras that are placed outside of your local network or on the Internet until the “UPnP Port Forwarding” is enabled in both the " +NVRModelName+ " and the router.";
var err_presetNameUsed = "The Preset Name has been used";
var err_SyncNTPFailed = "Sync failed! Please check the NTP server or the network connection ";
var err_BrowserResourceLack = "Opening multiple browser tabs exceeds browser's resources to decode videos properly. The additional tab will be closed. Please access the " + NVRModelName + " from a different browser window.";

var check_removeuser = "Remove User?";
var check_removeDISAccount = "Remove DIS Account?";
var check_removecamera = "Remove Camera?";
var check_removesettingof = "Remove Server Setting?";
var check_removepreset = "Remove Preset Point of Channel ?";
var check_restartser = "Restart Server?";
var check_restartchan = "Restart Camera?";
var check_upgradeser = "*** Warning *** The system will restart automatically after firmware upgrade, do you want to upgrade the firmware now?";
var check_restoreser = "Restore Server Configuration?";
var check_syswillrestart = "***Warning*** System will restart after applying setting, apply now?";
var check_restorefactory = "System will restart after restore configuration, proceed now?";
var check_copy_sch_to_all = "Copy Schedule to All Channels?";
var check_avicoverfile = "File already exists. Do you want to override? ";
var check_RAIDconfirm = "*** Warning *** All data will be erased! Do you want to proceed?";
var check_deleteRAID1 = "*** Warning *** Both disks will be formatted and all data will be lost! Do you want to proceed?";

var osd_Demo = "<!--#echo var="svr.system.osddemostring" -->";

var loadok = 1;