window.locales = window.locales || {};
locales.en = locales.en || {};

locales.en.labels = {
	basemaps: {
		blank: 'Blank',
		eko: 'ECO 3.1',
		ekoBlank: 'ECO 3.1 blank',
		bingRoad: "Bing roads",
		bingAerial: 'Bing aerial',
		bingAerialWithLabels: 'Bing hybrid',
		osm: 'OpenStreetMap'
	},
	helpWindow : {
		title: 'Help'
	},
	composer : {
		editable: 'Markers',					
		editableTitle: 'Markers',
		geocode: 'Search geoobject',
		search: 'Search',
		layer: 'Layer',
		addLayer: 'Add',
		removeLayer: 'Remove',
		upload: 'Load',
		editStyle: 'Edit style',
		layerProperties: 'Layer properties',		
		map: 'Map',
		saveMap: 'Save as profile',
		saveCommonMap: 'Save as public profile',		
		print: 'Print',
		profiles: 'Profiles',
		profileLoadErrorTitle : 'Load error',
		profileLoadError : 'Profile was not loaded - authentication needed',
		layersLoading : 'Layers loading'	,
		profileLoading : 'Profile is loading'	,
		setProjection : 'Setting projection'	,
		setExtent : 'Setting extent'	,
		setBasemap : 'Setting basemap'	,		
		profileSaveWindowTitle: 'Save profile',
		profileSaveNameLabel: 'Russian title',
		profileSaveNameEnLabel : 'Title',
		saveBtn :'Save',
		cancelBtn:'Cancel',
		deleteButtonText: 'Remove',
		deleteMenuText: 'Remove selected objects'
	},
	geoexplorer : {
		layersText: "Layers",
		legendText: "Legend",
		toolsText: "Tools",
		rubricatorText: "Rubricator",
		searchText: 'Search',
		aquaSearch: 'Search by aquatory',
		featureEditingToolsText: 'Edit',		
		newFeatureText: 'Create new feature',
		editFeatureText: 'Edit feature',
		navigationText: 'Pan map',
		previousTool: "Previous extent",
		nextTool: "Next extent",
		measureText: 'Measure',
		lengthMeasureText: 'Distance measure',
		areaMeasureText: 'Area measure',
		printPanelHeaderText: 'Print',
		chartPanelHeaderText: 'Charts',
		buildChartText: 'Build chart',
		showLegendText: 'Show legend', 
		legendText: 'Legend', 
		zoomInMenuText: 'Zoom in',
		zoomOutMenuText: 'Zoom out',
		zoomToExtentText: 'Zoom to extent',
		queryActionText : 'Query selected layer',
		queryResultText: 'Query results',
		zoomSliderText: "<div>Zoom Level: {zoom}</div><div>Scale: 1:{scale}</div>",
		overlays: "Overlays",
		baselayer: "Base layers",
		animation: "Animation"
	},
	pricker : {
		lineType : 'Linear',
		columnType : 'Column',
		areaType : 'Area',
		layersTitle : 'Layers',
		menuText: 'Charts',
		baseTitle : 'Build chart',
		fieldComboName1 : 'X axis',
		fieldComboName2 : 'Y axis',
		defaultAxisTitle1 : 'X',
		defaultAxisTitle2 : 'Y',
		typeComboName : 'Chart type'
	},
	printPreview : {
		printTitle: "Preview",
        sheetSizeText: "Sheet size",
        resolutionText: "Resolution",
		formatText: "Format",
        printText: "Print",
        titleText: "Title",
        includeLegendText: "Include legend",
        commentText: "Comment",
        creatingMapText: "Creating the map",
		mapTitle: 'OceanViewer map',
		comment: 'OceanViewer saved map'
	},
	viewMenu: {
		panelText: 'View',
		graticulText: 'Graticul',		
		projectionsGroupText: 'Projections',
		overviewMapText: 'Overview map',
		languageText: 'Language',
		wrapText: 'Wrap date line',		
		projectionsText: {
			'EPSG:3857': 'Mercator',
			'EPSG:4326': 'Geographic',
			'EPSG:102012': 'Conic',
			'EPSG:3576': 'North polar',
			'EPSG:3976': 'South polar'
		},
		meterUnits: "m",
		degreesUnits: "degrees"
	},
	addLayers : {
		windowTitle : 'Add layer',
		addToMap : 'Add to map',
		close: 'Close',
		colors : {
			blue : 'Blue', 
			brown: 'Brown',
			red: 'Red',
			green: 'Green',
			purple: 'Purple',
			yellow: 'Yellow'
		},
		icon: 'icon',
		rssIconEmptyText: 'Type or chhos RSS icon',
		layersCount: 'Layers count',
		nameLabel: 'Name',
		addSourceBtn: 'Load',
		loading: 'Loading',
		layersList: 'Layers list',
		headerLabel: 'Title',
		formatLabel: 'Format',
		animationPanelTitle: 'Animation',
		wmsPanelTitle: 'WMS',
		rssPanelTitle: 'RSS',
		arcgisPanelTitle: 'ArcGIS',
		customPanelTitle: 'Custom'		
	},
	queryForm : {
		queryButtonText: "Query",
        queryMenuText: "Query layer",        
        queryByLocationText: "Query by location",
        currentExtText: "Current extent",
        queryByAttributesText: "Query by attribute",
        queryMsg: "Query",
        cancelButtonText: "Cancel",        
        geometryText: "Geometry type",
        drawPointText: "Points",
        drawLineText: "Lines",
        drawPolygonText: "Polygon",
        cleanGeomText: "Clear geometry",
        stopQuery: "Cancel query",
        downloadText: 'Download',
		builderTypeNames: ["any", "all", "none", "not all"],
        preComboText: "Match",
        postComboText: "of the following:",
        addConditionText: "add condition",
        addGroupText: "add group",
        removeConditionText: "remove condition"
	},
	rubricator : {
		title: "Rubrics",
		metadata: "Metadata",
		geoserviceMetadata: "Geoservice metadata",
		resourceMetadata: "Resource metadata",
		nodeid: "Node ID",
		resourceid: "Resource",
		workspace: "Workspace",
		nodename: "Node name",
		layername: "Layer name",
		parentnode: "parent node",
		serverpath: "Server address",
		servicepath: "Service path",
		servicetype: "Service type",
		stylename: "Stylename",
		defaultValue: "Undefined",
		proxyException: "Unable to add layer - authentication needed",
		resourceLoadMask: "Connecting resource",
		filter: "Filter",
		parameter: "Parameter"
	},
	print : {
        menuText: "Print map",        
        previewText: "Preview"
    },
	featureInfo: {        
        popupTitle: "Information",
		ascText: "Sort ascending",
		descText: "Sort descending",
		colText: "Columns",
		groupByText: "Group by this field",
		showGroupsText: "Show in groups",
		field: 'Field',
		fieldCode: 'Field code',
		value: 'Value',
		layer: 'Layer',
		numberInLayer: 'Number in layer',
		group: 'Group',
		metadata: 'Metadata'
    },
	log: {
		title: 'Log',
		filter: 'Filter',
		noFilter: "None",
		infoFilter: "Info",
		errorFilter: "Application errors",
		refresh: "Refresh",
		timeColumn: 'Time',
		messageColumn: 'Message'
	}
}
