--- /dev/null
+/*
+Copyright (c) Igor Barma, Alexandre Desoubeaux, Christian Martel, Eric Brun, Mathieu Amblard, Gwenael Gevet, Pierre Guillot, 2012
+ * Copyright Alexandre Desoubeaux, Christian Martel, Cedric Lecarpentier, Alexandre Lefevre, Marc Salvat 2014-2016
+ * Copyright Alexandre Desoubeaux, Christian Martel, Cedric Lecarpentier, Marc Salvat, Marc Suarez, Harifetra Ramamonjy 2017
+For licensing, see README.txt or http://www.pentilanero.com (Cecill-C or AGPL or LGPL)
+*/
+Ext.ns("EntSavoie.gestionUtilisateurs");
+
+if(EntSavoie.gestionUtilisateurs) {
+ Ext.override(EntSavoie.gestionUtilisateurs, {
+ i18n : {
+ gestionUtilisateurs : {
+ title: "Passwords",
+ nameSearchField: {
+ emptyText:"Surname",
+ fieldLabel:"Surname"
+ },
+ firstNameSearchField: {
+ emptyText:"First Name",
+ fieldLabel:"First Name"
+ },
+ loginSearchField: {
+ emptyText:"Login",
+ fieldLabel:"Login"
+ },
+ statutCombo: {
+ emptyText:"Status",
+ fieldLabel:"Status"
+ },
+ etabCombo: {
+ emptyText:"Establishment",
+ fieldLabel:"School"
+ },
+ classeCombo: {
+ emptyText:"Class",
+ fieldLabel:"Class"
+ },
+ searchBtn: {
+ text:"Search"
+ },
+ contactGridBbar: {
+ displayMsg:"Users {0} to {1} of {2} displayed",
+ emptyMsg:"No corresponding user"
+ },
+ contactGrid: {
+ columns: {
+ nom:"Surname",
+ prenom:"First Name",
+ login:"Id",
+ password:"Initial password",
+ statut: "Statut",
+ etablissement: "Etablissement"
+ }
+ },
+ usernameDisplayField: {
+ fieldLabel:"User"
+ },
+ passwordField: {
+ fieldLabel:"Password"
+ },
+ confirmPasswordField: {
+ fieldLabel:"Confirmation"
+ },
+ modifyBtn: {
+ text:"Update"
+ },
+ exportSearchBtn: {
+ text:"Export to PDF",
+ tooltip:"Export the users found in this search into a PDF file."
+ },
+ exportSearchBtnCSV: {
+ text: "Export to CSV",
+ tooltip: "Export the users found in this search into a CSV file."
+ },
+ exportAllBtn: {
+ text:"Export Everyone",
+ tooltip:"Export all users in my establishment."
+ },
+ exportAllBtnCSV: {
+ text: "Export Everyone",
+ tooltip: "Export all users in my establishment."
+ },
+ exportParentPosteBtn: {
+ text: "PDF Complet",
+ tooltip: "Exporter l'ensemble des parents de mon établissement pour le publipostage."
+ },
+ exportParentPosteSearchBtn: {
+ text: "PDF Recherche",
+ tooltip: "Exporter l'ensemble des parents résultant de ma recherche pour le publipostage."
+ },
+ constructor: {
+ title:["Search", "Users", "Management"],
+ html:["Export the results of the search in PDF format :", "Export all this establishment's users in PDF format :", "Export only students/parents in my establishment :", "Exporter les comptes parents dans un format propre à l'envoi par la poste :"]
+ },
+ exportFilteredCB: "Ne pas inclure dans l'export les utilisateurs s'étant déjà connectés à la plateforme",
+ validatePasswordEquality: {
+ errorMsg:"The passwords must match"
+ },
+ sendUpdatePasswordRequest: {
+ alert:["Error", "No user selected"],
+ MessageBox: {
+ title:"Confirmation",
+ msg:"Do you really want to change the password of the user selected? This action cannot be undone.",
+ yes:"Yes",
+ no:"No"
+ }
+ },
+ sendUpdatePasswordAction: {
+ wait:["Password updating. Please wait...", "Updating"]
+ },
+ onSuccessUpdatePassword: {
+ alertFail:["Warning", "The operation could not be completed due to a network malfunction, please try again, or refresh the page if the problem persists.."],
+ alert:["Update Information", "The password has successfully been updated."]
+ },
+ onFailureUpdatePassword: {
+ alert:["Warning", "The operation could not be completed due to a network malfunction, please try again, or refresh the page if the problem persists.."]
+ },
+ exportPDF: {
+ title:"Confirmation",
+ msg:"Do you really want to export the list of all users found in the search? The export could be slow, depending on the number of users found.",
+ yes:"Yes",
+ no:"No"
+ },
+ exportPDFConfirm: {
+ title:"Export to PDF",
+ msg:"Please enter the name of the PDF you are creating:",
+ value: "Export PDF",
+ yes:"Submit",
+ no:"Cancel"
+ },
+ onExportPDFAction: {
+ wait:["Exporting to PDF. Please wait.", "Loading"]
+ },
+ onSuccessExportPDF: {
+ alert:["Warning", "Cet export prend du temps car il traite un grand nombre de données, il sera donc déposé dans votre casier dans quelques minutes."],
+ title:"Exporting users to PDF"
+ },
+ onFailureExportPDF: {
+ alert:["Warning", "Cet export prend du temps car il traite un grand nombre de données, il sera donc déposé dans votre casier dans quelques minutes."]
+ },
+ exportCompletPDF: {
+ title:"Confirmation",
+ msg:"Do you really want to export all your users to PDF? The export could be slow, depending on the number of users.",
+ yes:"Yes",
+ no:"No"
+ },
+ exportCompletPDFConfirm: {
+ title:"Export to PDF",
+ msg:"Please enter the name of the PDF you are creating:",
+ value: "Full PDF Export",
+ yes:"Submit",
+ no:"Cancel"
+ },
+ onExportCompletPDFAction: {
+ wait:["Exporting all users' details to PDF. Please wait.", "Loading"]
+ },
+ onSuccessExportCompletPDF: {
+ alert:["Warning", "Cet export prend du temps car il traite un grand nombre de données, il sera donc déposé dans votre casier dans quelques minutes."],
+ title:"Exporting all users"
+ },
+ onFailureExportCompletPDF: {
+ alert:["Warning", "Cet export prend du temps car il traite un grand nombre de données, il sera donc déposé dans votre casier dans quelques minutes."]
+ },
+ //EXPORT CSV
+ exportCSV: {
+ title: "Confirmation",
+ msg: "Do you really want to export the list of all users found in the search? The export could be slow, depending on the number of users found.",
+ yes:"Yes",
+ no:"No"
+ },
+ exportCSVConfirm: {
+ title:"Export to CSV",
+ msg:"Please enter the name of the CSV file you are creating:",
+ value: "CSV Export",
+ yes:"Submit",
+ no:"Cancel"
+ },
+ onExportCSVAction: {
+ wait:["Exporting to CSV. Please wait.", "Loading"]
+ },
+ onSuccessExportCSV: {
+ alert:["Warning", "Cet export prend du temps car il traite un grand nombre de données, il sera donc déposé dans votre casier dans quelques minutes."],
+ title:"Exporting users to CSV"
+ },
+ onFailureExportCSV: {
+ alert:["Warning", "Cet export prend du temps car il traite un grand nombre de données, il sera donc déposé dans votre casier dans quelques minutes."]
+ },
+ //EXPORT COMPLET CSV
+ exportCompletCSV: {
+ title:"Confirmation",
+ msg:"Do you really want to export all your users to CSV? The export could be slow, depending on the number of users.",
+ yes:"Yes",
+ no:"No"
+ },
+ exportCompletCSVConfirm: {
+ title: "Export to CSV",
+ msg: "Please enter the name of the CSV you are creating:",
+ value: "full CSV export",
+ yes: "Submit",
+ no: "Cancel"
+ },
+ onExportCompletCSVAction: {
+ wait:["Exporting all users' details to CSV. Please wait.", "Loading"]
+ },
+ onSuccessExportCompletCSV: {
+ alert:["Warning", "Cet export prend du temps car il traite un grand nombre de données, il sera donc déposé dans votre casier dans quelques minutes."],
+ title:"Exporting all users"
+ },
+ onFailureExportCompletCSV: {
+ alert:["Warning", "Cet export prend du temps car il traite un grand nombre de données, il sera donc déposé dans votre casier dans quelques minutes."]
+ },
+ //Export différencié
+ exportAllDiffPDF: {
+ text: "Export to PDF",
+ tooltip: "Export all students/parents in my establishment."
+ },
+ exportAllDiffCSV: {
+ text: "Export to CSV",
+ tooltip: "Export all students/parents in my establishment."
+ },
+ exportParentPoste: {
+ title:"Export Publipostage",
+ msg: "Veuillez saisir le nom de votre export:",
+ value: "Publipostage",
+ yes: "Valider",
+ no: "Annuler"
+ },
+ exportParentPosteAction: {
+ wait: ["Export des parents en cours. Patientez.", "En cours"]
+ },
+ onSuccessExportParentPoste: {
+ alert:["Warning", "Cet export prend du temps car il traite un grand nombre de données, il sera donc déposé dans votre casier dans quelques minutes."],
+ title: "Export complet des utilisateurs"
+ },
+ onFailureExportParentPoste: {
+ alert:["Warning", "Cet export prend du temps car il traite un grand nombre de données, il sera donc déposé dans votre casier dans quelques minutes."]
+ }
+ }
+ }
+ });
+}
+
+if(EntSavoie.GestionUtilisateursClasse) {
+ Ext.override(EntSavoie.GestionUtilisateursClasse, {
+ i18n : {
+ gestionUtilisateurs : {
+ title: "Classes setup",
+ nameSearchField: {
+ emptyText:"Surname",
+ fieldLabel:"Surname"
+ },
+ firstNameSearchField: {
+ emptyText:"First Name",
+ fieldLabel:"First Name"
+ },
+ loginSearchField: {
+ emptyText:"Login",
+ fieldLabel:"Login"
+ },
+ statutCombo: {
+ emptyText:"Status",
+ fieldLabel:"Status"
+ },
+ etabCombo: {
+ emptyText:"Establishment",
+ fieldLabel:"School"
+ },
+ classeCombo: {
+ emptyText:"Class",
+ fieldLabel:"Class"
+ },
+ searchBtn: {
+ text:"Search"
+ },
+ contactGridBbar: {
+ displayMsg:"Users {0} to {1} of {2} displayed",
+ emptyMsg:"No corresponding user"
+ },
+ contactGrid: {
+ columns: {
+ nom:"Surname",
+ prenom:"First Name",
+ login:"Id",
+ password:"Initial password",
+ statut: "Statut",
+ etablissement: "Etablissement"
+ }
+ },
+ constructor: {
+ title:["Search", "Users", "Management"],
+ html:["Export the results of the search in PDF format :", "Export all this establishment's users in PDF format :", "Export only students/parents in my establishment :", "Exporter les comptes parents dans un format propre à l'envoi par la poste :"]
+ }
+ }
+ }
+ });
+}
+
+if(EntSavoie.CreateUsers) {
+ Ext.override(EntSavoie.CreateUsers, {
+ i18n : {
+ createUsers: {
+ title: "Manual user creation",
+ wait: {
+ msg:"Please wait, treating data..."
+ },
+ panelUser: {
+ title:"User details",
+ info: "The created account can be used right now",
+ items: {
+ lastname: {
+ fieldLabel:"Surname"
+ },
+ firstname: {
+ fieldLabel:"First Name"
+ },
+ mail: {
+ fieldLabel:"Email"
+ },
+ daten: {
+ fieldLabel:"Date of birth",
+ emptyText: "Date of birth ( dd/mm/yyyy )"
+ },
+ profil: {
+ fieldLabel:"Profile"
+ },
+ fonctions: {
+ fieldLabel:"Function"
+ },
+ status: {
+ fieldLabel:"Statut"
+ },
+ etablissement: {
+ fieldLabel:"Establishment"
+ },
+ classes: {
+ fieldLabel:"Classes"
+ },
+ disciplines: {
+ fieldLabel:"Disciplines",
+ columns: {
+ header:"Name"
+ }
+ },
+ instruments: {
+ fieldLabel: "Intruments",
+ columns: {
+ header: "Nom"
+ }
+ },
+ login: {
+ fieldLabel:"Id"
+ },
+ uid: {
+ fieldLabel:"Uid"
+ },
+ pwd: {
+ fieldLabel:"Password"
+ }
+ },
+ fbar: {
+ gen: {
+ text:"Obtain a login and password"
+ },
+ add: {
+ text:"Add",
+ Msg: {
+ title:"Warning",
+ msg:"This login already exists<br>Please ask for a new login."
+ }
+ },
+ mod: {
+ text:"Modify",
+ Msg: {
+ title:"Confirmation",
+ msg:"Are you sure you want to modify this user ?"
+ }
+ },
+ reset: {
+ text:"Reset"
+ }
+ }
+ },
+ panelLDAP: {
+ title:"LDAP User list",
+ items: {
+ searchEtab: {
+ title:"Establishment"
+ },
+ searchClass: {
+ title:"Class"
+ },
+ users: {
+ columns: {
+ lastname: {
+ header:"Surname"
+ },
+ firstname: {
+ header:"First Name"
+ },
+ login: {
+ header:"Login"
+ },
+ pwd: {
+ header:"Password"
+ }
+ },
+ bbar: {
+ displayMsg:"Users {0} to {1} of {2} displayed",
+ emptyMsg:"No corresponding user"
+ }
+ }
+ },
+ fbar: {
+ del: {
+ text:"Delete",
+ Msg: {
+ title:"Confirmation",
+ msg:"Are you sure you want to delete these users from the directory ?"
+ }
+ }
+
+ }
+ },
+ groupStore2: {
+ rec: {
+ all:"ALL"
+ }
+ },
+ adduser: {
+ Msg: {
+ title:"Error",
+ msg:"The addition couldn't be completed due to a network malfunction."
+ },
+ mail :{
+ title: "Erreur",
+ msg: "Provided email is already used. Please provide a new one."
+ }
+ },
+ modifyuser: {
+ Msg: {
+ title:"Error",
+ msg:"The modification couldn't be completed due to a network malfunction."
+ }
+ },
+ deleteUsers: {
+ Msg: {
+ title:"Error",
+ msg:"The deletion couldn't be completed due to a network malfunction."
+ }
+ },
+ generateLW: {
+ error: {
+ Msg: {
+ title:"Error",
+ msg:"The generation of a new login couldn't be completed due to a network malfunction."
+ }
+ },
+ Msg: {
+ title:"Error",
+ msg:"You must enter a first and last name."
+ }
+ }
+ }
+ }
+ });
+}
+
+if(EntSavoie.ManagementUsersAdminPanel) {
+ Ext.override(EntSavoie.ManagementUsersAdminPanel, {
+ i18n : {
+ gestionUtilisateurs: {
+ title: "Administrators ENT",
+ removeAdmin: {
+ alert: {
+ title: "Warning",
+ msg: "You can't delete school masters from the administrators list"
+ },
+ show: {
+ title: "Warning",
+ msg: "Do you really want to delete these users from the list ?",
+ yes: "Yes",
+ cancel: "No"
+ }
+ },
+ saveBtn: {
+ text: "Save"
+ },
+ adminChooserPanel: {
+ titleMembreGrid: "Administrators"
+ },
+ waitPanel: {
+ title: "Save in progress"
+ },
+ onSuccessSaveAdmin: {
+ alert: {
+ title: "Warning",
+ msg: "An error occured during saving the administrators list, please try again, or refresh the page if the problem persists."
+ },
+ slideMsg: {
+ title: "List saved",
+ msg: "The save has been completed"
+ }
+ },
+ onFailureSaveAdmin: {
+ alert: {
+ title: "Warning",
+ msg: "An error occured during saving the administrators list, please try again, or refresh the page if the problem persists."
+ },
+ }
+ }
+ }
+ });
+}