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 already exist. Please use an other 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 cuted",
			"paste": "Element pasted",
			"noPaste": "No element to paste",
			"search": "Find",
			"views": "View",
			"pathNotValid": "Invalid path",
			"preparingDownload": "Download creating, please be patient..."
		},
		"info1": "Right click on a file, directory or in the central part of the application to show more options. Opera user, please user 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 user, 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 suffisant 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 you want to save to your hard drive.",
		"info1": "Click on a file or folder located in the central and hold the mouse button down to drag the element into the framework download. Do the same for all the items you want to download and click Download button.",
		"info2": "Put this item in 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": "Importing files 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 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 to apply it. 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 you 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 you want to remove sharing for this  user/group?",
				"info1": "The shared folders are accessible by all users or members of groups to 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 for everyone."
			},
			"email": {
				"del": "Are you sure you 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 occured ({text})',
		'ioError': 'Error caused a send or load operation to fail ({text})'
	}
};

// Mise à jour 4.2
var lang2 = 
{
	"version": {
		"delete1": "Are you sure you want to delete this version of the file",
		"delete2": "dated of"
	},
	"lock": {
		"promptTime": "For how many minutes would you 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 you 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 that the user can access the folder.",
			"delRecur": "Do you want to also remove rights in subfolders?"
		},
		"delegate": {
			"del": "Are you sure you 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 you want to delete this comment?"
		},
		"showEmail": {
			"title": "Details of the email sent",
			"resend": "Are you sure you 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 email address emails (separated by commas) to sent 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.",
			"infosNew": "New comments have been added since your last visit. Click to view."
		},
		"locks": {
			"title": "This file is locked",
			"infos": "You can not 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. Would you want to install it now?"
	}
};

// Mise à jour 5.1.2
var lang512 = 
{
	"dlink": {
		"send": "Envoyer par email"
	},
	"directLinkWindow": {
		"copyAll": "Copy all",
		"copyAllOk": "Informations successfully copied"
	}
};

// 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";

