var rs_win_welcome = {
	welcome: "Welcome!"
};

var rs_grid_taxa_tree = {
	title: "Taxonomic Tree"
};

var rs_front_page = {
	quick_search_empty_text: " Species/dataset/provider name or ITIS TSN/Dataset ID",
	full_search_empty_text: " Phrase for dataset metadata or species profile"
		
}

var rs_panel_species = {
	title: "Species Information",
	environmental_information: "Environmental Information",
	links: "Links to Other Information Systems",
	cm: {
		scientific_name: "Scientific name",
		scientific: "Scientific name",
		authority: "Authority",
		id: "ID",
		valid_id: "Species ID",
		num_records: "#records",
		num_records_this_rank: "#records this rank",
		num_records_with_children: "#records with children",
		num_datasets: "#datasets",
		rank: "Rank",
		rank_name: "Rank",
		geographic_coverage: "Geographic coverage",
		temporal_coverage: "Temporal coverage",
		children: "Branches?",
		resname: "Datasets",
		datecollected: "Date collected",
		date_min: "Date from",
		date_max: "Date to",
		resource_id: "Dataset ID",
		resname: "Dataset name",
		latitude: "Latitude",
		longitude: "Longitude",
		datelastcached: "Date last cached",
		datecollected: "Date collected",
		dateprecision: "Date precision",
		datelastmodified: "Date last modified",
		sname: "Species name recorded",
		sauthor: "Author recorded",
		depth: "Depth",
		temperature: "Temperature",
		recordlastcached: "Record last cached",
		citation: "Citation",
		recordurl: "Record URL",
		timezone: "Time zone",
		locality: "Locality",
		country: "Country",
		state: "State",
		county: "County",
		slatitude: "Start latitude",
		elatitude: "End latitude",
		slongitude: "Start longitude",
		elongitude: "End longitude",
		minimumdepth: "Minimum depth",
		maximumdepth: "Maximum depth",
		sex: "Sex",
		notes: "Notes"
	},
	tabs: {
		information: "Summary",
		init_content: "Please select species",
		related_res: "Related datasets"
	},	
	tooltip: {
		num_records: "#records including child species",
		num_records_its_own: "#records this rank (excluding child species)",
		num_resources: "# of contributing datasets"
	},	
	bbar: {
		displayMsg: "Species {0} - {1} / {2}",
		emptyMsg: "No species found"
	}
};

var rs_panel_datasets = {
	bbar: {
		displayMsg: "Datasets {0} - {1} / {2}",
		emptyMsg: "No datasets found"
	}
};

var rs_panel_series = {
	bbar: {
		displayMsg: "Series {0} - {1} / {2}",
		emptyMsg: "No series found"
	}
};

var rs_panel_fixed_location = {
	bbar: {
		displayMsg: "Site {0} - {1} / {2}",
		emptyMsg: "No site found"
	}
};

var rs_grid_providers = {
	title: "Providers",
	cm: {
		provider_name: "Provider name",
		num_resources: "#datasets",
		num_records: "#records",
		provider_id: "Provider ID",
		firstname: "First name",
		lastname: "Last name",
		org_name: "Organization"
	},
	tb: {
		add_provider: "Add Provider",
		add_provider_tip: "Add a provider; bring up a provider form."
	}
};

var rs_grid_resources = {
	title: "Resources",
	cm: {
		resource_id: "ID",
		resource_name: "Dataset name",
		provider_name: "Provider",
		num_species: "#species",
		num_records: "#records",
		resource_contact: "Contact",
		startdate: "Date from",
		enddate: "Date to",
		temporalscope: "Years",
		dataset_name: "Dataset name",
		citation: "Citation",
		contact: "Contact",
		geographic_coverage: "Geographic coverage",
		temporal_coverage: "Temporal coverage",
		num_records: "#records",
		num_species: "#species",
		abstract: "Abstract",
		website: "Website",
		use_constraints: "Use constraints"
	}
};

var rs_criteria = {
	species: "Species Selection",
	resources: "Dataset Selection",
	region: "Region",
	date_season: "Date & Season",
	oceanography: "Oceanography",
	clear_criterion: "Clear this criterion",
	tbar: {
		options: "Options"
	},
	buttons: {
		options: "Options",
		language: "Language",
		en: "English",
		ja: "日本語",
		es: "Español",
		fr: "Français",
		pt: "Português",
		information: "Information",
		legend: "Legend",
		options_list: "Data Search",
		full_screen: "Map in full screen",
		about: "About",
		show_intro: "Welcome message",
		//clear_criterion: "Clear this criterion",
		clear_criteria: "Clear all criteria",
		clear_criteria_tooltip: "Clear all criteria",
		save_options: "Save search criteria",
		name_of_criteria: "Name of Criteria",
		save: "Save",
		restore: "Restore",
		restore_options: "Restore search criteria",
		options_to_save: "Criteria to Save",
		give_name: "Give a name...",
		choose_name: "Choose name..."
	}	
};

var rs_win_map = {
	title: "Distribution Map",
	title_dist_suffix: "Grid at {0} degree resolution",
	resolution: "at {0} degree resolution",
	detail_on: "Detail on the {0}",
	grid: "grid",
	record: "record",
	tbar: {
		update_map: {text: "Update map", tooltip: "Update map to reflect the new search options"},
		//legend: {text: "Legend", tooltip: "Show map legend"},
		options: {text: "Options", tooltip: "Map options (map type/count type/grid resolution)"},
		pan: {text: "Pan", tooltip: "Pan map"},
		zoom: {text: "Zoom in", tooltip: "Zoom in to box"},
		extent: {text: "Full extent", tooltip: "Return to initial extent"},
		identify: {text: "Identify", tooltip: "Identify the cell/point on the map"},
		region: {text: "Region", tooltip: "Draw a region of interest (rectangle or polygon)"},
		draw_polygon: {text: "Polygon", tooltip: "Draw any shape of region"},
		draw_regular: {text: "Rectangle", tooltip: "Draw a rectangle region (locate/click two diagonal points)"},
		remove: {text: "Remove", tooltip: "Remove region (press this button and click the region to remove)"},
		select_zone: {text: "Select", tooltip: "Click on a zone to filter the records within it"},
		additional_layers: "Addtional Layers"
	},
	count_type: {
		records: "Records",
		animals: "Animals",
		species: "Species"
	}	
};


var rs_win_species = {
	title: "Species Search",
	title_alternative: "Species observed in the datasets",
	tbar: {
		//title: "Search by name",
		scientific: "Scientific name",
		common: "Common name",
		begins_with: "begins with",
		contains: "contains",
		emptyText: " enter species name (> 4 letters for live search)",
		include_children: "Include branches",
		include_children_tip: "Check/uncheck to include/exclude child species",
		related_datasets: "Related Datasets"
	},
	species_live_search: {
		loadingText: "Searching species..."//,
		//name_option: {tooltip: "Name matching options", begin_with: "Begin with", any_part_of: "Any part of"}
	}
};

var rs_win_datasets = {
	title: "Dataset Search",
	title_alternative: "Datasets observing the species",
	dataset_info_tip: "Show dataset metadata in [Information] tab",
	species_info_tip: "Show species profile in [Information] tab",
	tbar: {
		sp_in_res: {text: "Species in datasets"},
		multi_select: {text: "Multi-select", tooltip: "Press to select multiple datasets"},
		emptyText: " type in keyword and hit Enter"
	},
	species_box: "Species: ",
	keyword_box: "Keyword: "
};

var rs_win_acoustic = {
	title: "Extended Search for Acoustic Datasets"
};

var rs_win_options = {
	species: {
		//empty_cell: "Click to search &amp; browse species"
		empty_cell: "No species selected"
	},	
	datasets: {
		//empty_cell: "Click to search &amp; browse datasets"
		empty_cell: "No dataset selected"
	},
	region: {
		user_defined: "User-defined region",
		pre_fixed: "Pre-fixed region",
		rectangle: "Edit Rectangular Region",
		any_shape: "Edit Any Shape of Region",
		empty_cell: "Use drawing tools or <br/>click here to enter coordinates",
		upload: "Click here to upload region data",
		all_zones: "All zones",
		deselect_zone: "Deselect zone",
		change_zone: "Select/Change zone",
		select_zone: "Select zone(s)",
		source: "Visit data source web page",
		add_overlay: "Click here to add your layer",
		upload_win_title_roi: "Upload and add your region of interest to map",
		upload_win_title: "Overlay your layer on top of the map",
		shapefile_tip: "Upload your ESRI shapefile (up to 2MB each file).<br/>.prj file is optional and experimental. For a better result, use WGS84 projection.<br/>Too complex shape won't be added (up to 100 vertices).",
		kml_tip: "Upload local KML or enter the URL to KML (up to 2MB either local or remote).<br/>Too complex polygons won't be added (up to 100 vertices).",
		coords_tip: "Enter coordinates in well known text format (WKT) or KML's &lt;Polygon&gt;.<br/>Too complex polygons won't be added (up to 100 vertices)."
	},
	temporal: {
		date_format: ((navigator.userLanguage) ? navigator.userLanguage : navigator.language).toLowerCase().indexOf("us") > 0 ? "m/d/y" : "d/m/y",
		date_season: "Date & Season",
		dates: "Dates",
		months: "Months",
		empty_cell: "Click to edit"
	},
	roi_editor: {
		add_point: "Add point",
		add_point_tip: "Add a point to the area",
		finish: "Finish",
		finish_tip: "Finish editing the area",
		delete_tip: "Remove this point from polygon",
		latitude: "Latitude",
		longitude: "Longitude"
	},
	oceano: {
		bottomdepth: "Bottom depth",
		sampledepth: "Sample depth",
		depth: "Sample depth",
		temperature: "Temperature",
		chl: "Chlorophyll",
		variable: "Variable",
		from: "From",
		to: "To",
		unit: "Unit"
	}
};

var rs_tabs = {
	title: "Show results",
	loading: "Loading...",
	tabs: {
		information: "Information",
		dataset: "Species",		// Dataset page shows species list
		species: "Dataset",		// Species page shows dataset list
		datasets_on_map: "Datasets on Map",		// Datasets grid on Search Page
		species_on_map: "Species on Map",		// Species grid on Search Page
		series: "Series",
		download: "Download",
		graph: "Graph"
	},
	bbar: {
		displayMsg: "Records {0} - {1} / {2}",
		calculatingMsg: "Calculating...",
		emptyMsg: "No record found",
		summarized: "Summarized",
		summarized_tip: "View grid_based summarized records",
		hide_empty: "Hide empty periods",
		hide_empty_tip: "Hide empty periods to make the graph short",
		yearly: "Year",
		season: "Annual",
		hourly: "Hourly",
		histogram: "Histogram",
		yearly_tip: "#records over years",
		season_tip: "#records per season/month",
		histogram_tip: "Histogram of selected oceanographic variable",
		feedback: "Feedback",
		feedback_tip: "Send feedback on the search results or the chosen record",
		show_all_attributes: "Show all attributes",
		close: "Close"		// SEAMAP2.5
	},
	download_1st_line: "Request ID: {0}<br/>Requested: {1}",
	download_failed: "If download failed, try the link below.<br/><a href='{0}' target='download'>Download</a><br/>",
	cm: {
		id: "ID",
		validname: "Scientific",
		recorded_name: "Recorded name",
		resource_id: "Dataset",
		datecollected: "Date",
		yearcollected: "Year",
		monthcollected: "Month",
		daycollected: "Day",
		validnameauthor: "Author",
		lifestage: "Life stage",
		datelastcached: "Date lastcached",
		depth: "Depth",
		latitude: "Lat",
		longitude: "Lon",
		temperature: "Temp.",
		show_original: "Show original data from provider"
	},
	show_extended_confirm: "Showing extended attributes may take a long time due to a huge amount of data.\nContinue?"
};

var rs_win_feedback = {
	title: "Feedback",
	alert: "Please select a record in [List of Records]"
}

var rs_win_help = {
	title: "Help for "
}

var rs_file_upload = {
	coords_sample: "Sample\nWKT: POLYGON((-79 25,-80 25,-80 26,-79 26,-79 25))\nKML: <Polygon><outerBoundaryIs><LinearRing><coordinates>-79,25,0 -80,25,0 -80,26,0 -79,26,0 -79,25,0</coordinates></LinearRing></outerBoundaryIs></Polygon>"
}
var rs_warning = {
	about: "<p><strong>OBIS Online Mapper ver. {0}</strong></p><p>This application was made possible with dedicated helps from <a href='http://mgel.env.duke.edu/' target='external'>Marine Geospatial Ecology Lab</a>, Nicholas School, Duke University who runs <a href='http://seamap.env.duke.edu/' target='external'>OBIS-SEAMAP</a>, and <a href='http://opengeo.org/products/suite/' target='external'>OpenGeo</a> who provides application components.</p>",
	no_criteria: "No criteria set",
	clear_criteria: "Clear all criteria and reflesh the map and results?",
	ajax_exception: "An error occurred:\n{0}",
	timeout: "A 30 second timeout occurred.\nIt is likely you'll be successful next time.\nClick [Reload] button to try again.",
	invalid_date: "Invalid date entered. See the help for acceptable date formats",
	oceano_not_available: "{0} layer is not available for {1} and turned off."
}

