var lang = 
{
	"panelMain": {
		"colonneTri": {
			"nom": "Name",
			"dateCreation": "Creation date",
			"type": "Type",
			"taille": "Size"
		},
		"titre": "Loading...",
		"contenu": "Loading...",
		"contenuConnexion": "Please login.",
		"explorer": {
			"elNotFound": "Element not found",
			"error": "Error",
			"errorName": "Invalid name. Only alphanumeric characters and _.éèàù-are allowed.",
			"errorAlreadyExist": "An element with the same name does already exist. Please use another name.",
			"confirmDelete": "Are you sure you want to delete the element",
			"propertiesOf": "Properties of",
			"inList": "Element already selected",
			"telecharger": "Download",
			"copy": "Element copied",
			"cut": "Element cut",
			"paste": "Element pasted",
			"noPaste": "No element to paste",
			"search": "Find",
			"views": "View",
			"pathNotValid": "Invalid path",
			"preparingDownload": "Download in progress, please be patient..."
		},
		"info1": "Right click on a file, directory or in the central part of the application will show more options. Opera users, please use the shortcut CTRL + click or ALT + click or SHIFT + click.",
		"info2": "You must be connected to view the content.<br/> Click on the link 'Login' at the top right of the page.",
		"infoOpera": "Opera users, please user the shortcut CTRL + click or ALT + click or SHIFT + click to do a right click."
	},
	"commentPanel": {
		"titre": "Comments",
		"info1": "Read here the current directory comments. If you have enough rights, click to edit."
	},
	"panelArbo": {
		"titre": "Directories"
	},
	"panelInfo": {
		"titre": "Search"
	},
	"panelOptions": {
		"titre": "View",
		"info1": "Move the cursor to Zoom IN/OUT.<br/> You can also use the shortcut ctrl + wheel mouse."
	},
	"panelDownload": {
		"titre": "Download",
		"contenu": "Drag and Drop here the files that you want to save on your hard drive.",
		"info1": "Click on a file or folder located in the central window and hold the mouse button down to drag the element into the framework download. Do the same for all the items that you want to download and click the Download button.",
		"info2": "Put this item into the download panel to the right."
	},
	"panelUpload": {
		"titre": "Send",
		"titre2": "[New window]",
		"info1": "Upload completed",
		"info2": "Put the files in the frame below with Drag and Drop by selecting it from file explorer on your computer to send it to your NetExplorer space."
	},
	"windows": {
		"connexion": {
			"title": "Login"
		},
		"importWindow": {
			"title": "Files importation in progress..."
		},
		"forgotPassWindow": {
			"title": "Forgotten password"
		},
		"upload": {
			"title": "Send files from your computer",
			"endUpload": "Upload completed"
		},
		"ftpupload": {
			"title": "Send large files via FTP"
		},
		"help": {
			"title": "Help"
		},
		"administration": {
			"title": "Administration"
		},
		"utilisateurs": {
			"title": "User management",
			"del": "Are you sure that you want to delete this user?",
			"delHimSelf": "CAUTION: This is your user account. If it's removed you will be automatically disconnected. Continue ?",
			"info1": "Emails and phone numbers must be separated by a comma (,)."
		},
		"utilisateursOptions": {
			"title": "Change your options",
			"confirmNewLang": "The language has changed, you must refresh the page. Refresh now (all your current actions will be stopped) ?",
			"info1": "Emails and phone numbers must be separated by a comma (,)."
		},
		"groupes": {
			"title": "Group management",
			"del": "Are you sure to want to delete this group ?",
			"info1": "Emails and phone numbers must be separated by a comma (,)."
		},
		"addUserShareWindow": {
			"title": "Selecting users and groups"
		},
		"editEmailWindow": {
			"title": "Edit an email"
		},
		"properties": {
			"share": {
				"del": "Are you sure to want to remove sharing for this  user/group?",
				"info1": "The shared folders are accessible by all users or members of groups with which they are shared. Warning: if the user does not have to read the parent directory, it can not access the shared folder. To do so, share reading parent directories or move the shared directory in the root directory that is readable by everyone."
			},
			"email": {
				"del": "Are you sure to want to delete the email for this user/group?"
			},
			"security": {
				"info1": "To create directories, the right to add must be checked."
			}
		},
		"error": "Error",
		"fieldRequired" : "Some fields are invalid",
		"emailNotValid" : "Invalid email",
		"cancelForm" : "Cancel ?"
	}
};

var phrases = {
	'progressOverall': 'Overall Progress ({total})',
	'currentTitle': 'File Progress',
	'currentFile': 'Uploading "{name}"',
	'currentProgress': 'Upload: {bytesLoaded} with {rate}, {timeRemaining} remaining.',
	'fileName': '{name}',
	'remove': 'Remove',
	'removeTitle': 'Click to remove this entry.',
	'fileError': 'Upload failed',
	'validationErrors': {
		'duplicate': 'File <em>{name}</em> is already added, duplicates are not allowed.',
		'sizeLimitMin': 'File <em>{name}</em> (<em>{size}</em>) is too small, the minimal file size is {fileSizeMin}.',
		'sizeLimitMax': 'File <em>{name}</em> (<em>{size}</em>) is too big, the maximal file size is <em>{fileSizeMax}</em>.',
		'fileListMax': 'File <em>{name}</em> could not be added, amount of <em>{fileListMax} files</em> exceeded.',
		'fileListSizeMax': 'File <em>{name}</em> (<em>{size}</em>) is too big, overall filesize of <em>{fileListSizeMax}</em> exceeded.'
	},
	'errors': {
		'httpStatus': 'Server returned HTTP-Status <code>#{code}</code>',
		'securityError': 'Security error occurred ({text})',
		'ioError': 'Error: send or load operation failed ({text})'
	}
};

// Mise à jour 4.2
var lang2 = 
{
	"version": {
		"delete1": "Are you sure to want to delete this version of the file",
		"delete2": "dated of"
	},
	"lock": {
		"promptTime": "How many minutes do you want to lock access to the file",
		"ok": "File successfully locked"
	},
	"unlock": {
		"ok": "File successfully unlocked"
	}
};

// Mise à jour 4.3
var lang3 = 
{
	"properties": {
		"erase": "Are you sure to want to replace existing rights? All rights configured in the subdirectories will be replaced."
	}
};

// NetExplorer 5
var lang5 = 
{
	"explorer": {
		"elements": "element(s)",
		"created": "Created:",
		"modified": "Modified:",
		"extension": "File",
		"extensionD": "File folder",
		"size": "Size:",
		"showSize": "Show size",
		"addComment": "Add a comment",
		"showComments": "Show comments",
		"hideComments": "Hide comments",
		"owner": "Owner"
	},
	"windows": {
		"general": {
			"passwordPicker": "Generate a password"
		},
		"share": {
			"checkbox": "You must also give the right to browse or read for the user to be able to access the folder.",
			"delRecur": "Do you also want to remove rights in subfolders?"
		},
		"delegate": {
			"del": "Are you sure to want to delete this delegate?"
		},
		"addUserAndGroupsWindow": {
			"title": "Select users and groups"
		},
		"directLinkWindow": {
			"title": "Direct link",
			"copyLink": "Copy link",
			"copyOk": "Direct link successfully copied",
			"close": "Close"
		},
		"sendEmailWindow": {
			"title": "Send files by email"
		},
		"contactChooser": {
			"title": "Choose from contacts"
		},
		"editComWindow": {
			"title": "Comments",
			"del": "Are you sure to want to delete this comment?"
		},
		"showEmail": {
			"title": "Details of the sent email",
			"resend": "Are you sure to want to resend the email?"
		},
		"showJournal": {
			"title": "Details of a log event"
		},
		"configuration": {
			"title": "Configuration"
		},
		"forgotPass": {
			"info": "Enter your username or your email address to receive a new password by email:"
		},
		"editAlert": {
			"title": "Edit alert"
		},
		"abonnement": {
			"add": "Please enter the emails addresses (separated by commas) to send notifications of events corresponding to the criteria:"
		},
		"download": {
			"inProgress" : "Download in progress..."
		},
		"search": {
			"minLength": "Please specify one or more search criteria."
		}
	},
	"tooltips": {
		"comments": {
			"title": "comment(s)",
			"titleNew": "new comment(s)",
			"infos": "Click to view them, click again to hide them.",
			"infosNew": "New comments have been added since your last visit. Click to view them."
		},
		"locks": {
			"title": "This file is locked",
			"infos": "You cannot change it unless you are the author of the lock. Click for more information."
		},
		"versions": {
			"title": "versions",
			"infos": "Earlier versions of this file are available. Click to view."
		}
	},
	"upload": {
		"fileAlreadyExists" : "A file with the same name is already in the list. Please delete it in the bottom right part of the application ('Send') before processing it again.",
		"askInstallJava" : "This feature requires the presence of Java. Do you want to install it now?"
	}
};

// Mise à jour 5.1.2
var lang512 = 
{
	"dlink": {
		"send": "Send by email"
	},
	"directLinkWindow": {
		"copyAll": "Copy all",
		"copyAllOk": "Informations successfully copied"
	}
};

// Mise à jour 5.2
var lang52 = 
{
	"trash": {
		"confirmTrash": "Are you sure you want to place the selected item in the trash?",
		"deletedOn": "Deleted on :",
		"deletedBy": "Deleted by :",
		"restored": "Element successfully restored"
	},
	"limit": {
		"nodir": "You can not add entire folders",
		"limitnbfiles": "You have reached the maximum number of files per download"
	},
	"noaccess": "You can't access to this folder"
};

// Calendrier
var weekDayLang = ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'];
var monthLang = ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'];
var dateOrderLang = ['date', 'month', 'year'];
var dateFormat = "%d/%m/%Y";

