--- /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.Actualites");
+
+
+if(EntSavoie.Actualites.ActualitesView) {
+ Ext.override(EntSavoie.Actualites.ActualitesView, {
+ i18n : {
+ Actualites: {
+ ActualitesView: {
+ action_column: {
+ favorite: {
+ tooltip: "Ajouter aux favoris"
+ },
+ edit: {
+ tooltip:"Edit article"
+ },
+ del: {
+ tooltip:"Delete article"
+ }
+ },
+ attachClicMenu: {
+ send: "Déposer dans le casier",
+ view: "Visualiser",
+ download: "Télécharger"
+ },
+ addActuHMBtn: {
+ tooltip:"Add an article from the headteacher",
+ text:"Add"
+ },
+ addActuBtn: {
+ tooltip:"Add an article",
+ text:"Add"
+ },
+ groupesActuGridBbar: {
+ displayMsg:"Articles {0} to {1} of {2}"
+ },
+ valueSortingComboBox: {
+ value: ["Date", "Author", "Title", "Priority"]
+ },
+ sortingComboBox: {
+ value: ["⇱", "⇲"]
+ },
+ titleTxt: {
+ value:["from my groups", "from the group"]
+ },
+ groupesActuGrid: {
+ columns: {
+ date: {
+ header:"Date"
+ },
+ title: {
+ header:"Title"
+ }
+ }
+ },
+ headMasterActuGridBbar: {
+ displayMsg:"Articles {0} to {1} of {2}"
+ },
+ valueSortingComboBoxHM: {
+ value: ["Date", "Author", "Title", "Priority"]
+ },
+ sortingComboBoxHM: {
+ value: ["⇱", "⇲"]
+ },
+ titleTxtHM: {
+ value:"From the headteacher"
+ },
+ headMasterActuGrid: {
+ columns: {
+ date: {
+ header:"Date"
+ },
+ title: {
+ header:"Title"
+ }
+ }
+ },
+ searchField: {
+ emptyText:"By title, content, author"
+ },
+ groupComboBox: {
+ emptyText:["Choose a group", "From the current group"]
+ },
+ typeComboBox: {
+ emptyText:"Choose a category",
+ store: {
+ data:["No categories", "All categories", "School life", "Classes", "Exams", "Hobbies", "Culture", "Restaurant", "CDI", "Inscriptions", "UNSS"]
+ }
+ },
+ backButton: {
+ tooltip:"Cancel search"
+ },
+ onlyMyActusCB: {
+ boxLabel: "Mes actualités",
+ tooltip: "Permet d'effectuer des recherches uniquement dans mes actualités"
+ },
+ searchBtn: {
+ tooltip:"Search"
+ },
+ rechercheTxt: {
+ value:"Search :"
+ },
+ mask :"Loading...",
+ onSuccessDisplayHP: {
+ alert: {
+ title:"Warning",
+ msg:"The article could not be recuperated due to a network malfunction."
+ },
+ window: {
+ title:"Important :",
+ buttons: {
+ text:"Close"
+ }
+ },
+ html:["Written by :", "in the group :", "and the category :"]
+ },
+ onFailureDisplayHP: {
+ alert: {
+ title:"Warning",
+ msg:"The article could not be recuperated due to a network malfunction."
+ }
+ },
+ formatTitleHM: {
+ displayAll:"Read on",
+ unactive:"This article is inactive."
+ },
+ formatTitle: {
+ displayAll:"Read on",
+ unactive:"This article is inactive.",
+ progressing: "Fichier en cours de conversion ..."
+ },
+ onDeleteAction: {
+ messageBox: {
+ title:"Delete article",
+ msgOwner:"Please confirm that you would like to permanently delete your article",
+ msgAdmin: "This is not your article but you can delete it due your role and permissions. Please confirm that you would like to permanently delete this article",
+ buttons: {
+ yes:"Yes",
+ cancel:"Cancel"
+ }
+ }
+ },
+ onSuccessRowActionDelete: {
+ alert: {
+ title:"Warning",
+ msg:"The operation you require could not be completed due to a network malfunction"
+ },
+ slideMsg: {
+ title:"Information",
+ body:"The article has been deleted"
+ }
+ },
+ onFailureRowActionDelete: {
+ alert: {
+ title:"Warning",
+ msg:"The operation you require could not be completed due to a network malfunction"
+ }
+ },
+ onSend:{
+ alert: {
+ title: "Attention",
+ msg: "En raison d'un dysfonctionnement réseau l'opération demandée n'a pas pu être effectuée"
+ },
+ slideMsg: {
+ title: "Envoi dans le casier",
+ body: "La pièce jointe a correctement été envoyée."
+ }
+ },
+ onView: {
+ MessageBox: {
+ title: "Visualisation d'un fichier",
+ msg: "Le fichier sélectionné est volumineux et peut mettre du temps à être visualisé. <br /> Souhaitez-vous vraiment continuer?",
+ buttons: {
+ yes: "Oui",
+ no: "Non"
+ }
+ }
+ },
+ configActuHMBtn:{
+ tooltip:'Configuration',
+ text:'Configurer'
+ },
+ onViewerAction: {
+ flashRequire: "Ce contenu requiert Adobe Flash Player.",
+ getFlash: "Obtenir Adobe Flash Player"
+ },
+ attachementsLinkTplHighPrio: {
+ attachment: 'Pièces jointes:'
+ }
+ }
+ }
+ }
+ });
+}
+
+if(EntSavoie.Actualites.ActualiteViewer) {
+ Ext.override(EntSavoie.Actualites.ActualiteViewer, {
+ i18n : {
+ Actualites: {
+ ActualiteViewer: {
+ deleteBtn: {
+ text:"Delete"
+ },
+ viewerEditNewsBtn: {
+ text:"Edit"
+ },
+ viewerCloseBtn: {
+ text:"Close"
+ },
+ attachementsLinkTpl: {
+ attachment: 'Pièces jointes:'
+ },
+ onSuccessGetActualite: {
+ alert: {
+ title:"Warning",
+ msg:"This article's details could not be recuperated due to a network malfunction."
+ },
+ html: ["Liste des groupes de diffusion:"]
+ },
+ onFailureGetActualite: {
+ alert: {
+ title:"Warning",
+ msg:"This article's details could not be recuperated due to a network malfunction."
+ }
+ },
+ onDeleteFn: {
+ messageBox: {
+ title:"Delete article",
+ msg:"Please confirm that you would like to permanently delete this article",
+ buttons: {
+ yes:"Yes",
+ cancel:"Cancel"
+ }
+ }
+ },
+ onSuccessDelete: {
+ alert: {
+ title:"Warning",
+ msg:"The operation you require could not be completed due to a network malfunction"
+ },
+ slideMsg: {
+ title:"Information",
+ body:"The article has been deleted"
+ }
+ },
+ onFailureDelete: {
+ alert: {
+ title:"Warning",
+ msg:"The operation you require could not be completed due to a network malfunction"
+ }
+ }
+ }
+ }
+ }
+ });
+}
+
+
+if(EntSavoie.Actualites.CreateActualites) {
+ Ext.override(EntSavoie.Actualites.CreateActualites, {
+ i18n : {
+ Actualites: {
+ CreateActualites: {
+ DatePub:'Dates de publication',
+ Illustrer: 'Illustrer',
+ mediaFSTitle: 'Fichiers attachés et document multimédia',
+ dateValidText:"The expiration date cannot be before today's date, or the publication date.",
+ titleField: {
+ fieldLabel:"Article title"
+ },
+ contentField: {
+ fieldLabel:"Contents"
+ },
+ createBtn: {
+ text:"Create"
+ },
+ editBtn: {
+ text:"Modify"
+ },
+ closeBtn: {
+ text:"Close"
+ },
+ parutionDateField: {
+ fieldLabel:"Publication date"
+ },
+ expirationDateField: {
+ fieldLabel:"Expiration date"
+ },
+ dateAlert: {
+ title: "Attention",
+ message: "La date d'expiration doit être après la date de publication"
+ },
+ contentAlert: {
+ title: "Attention",
+ message: "Le contenu de l'actualité ne peut être vide. Si vous modifiez une actualité existante et que votre contenu est effacé, merci de fermer la fenêtre d'édition et de recommencer."
+ },
+ headMasterCheckBox: {
+ boxLabel:"Article from the headteacher"
+ },
+ highPriorityCheckBox: {
+ boxLabel: "Alert article",
+ tooltip: "Open a popup when the users will login"
+ },
+ priorityCheckBox: {
+ boxLabel: "High priority article"
+ },
+ intraNewsCheckBox: {
+ boxLabel: "Intranet news"
+ },
+ importanceTxt: {
+ value:"Flag the article's priority"
+ },
+ gridLabel: {
+ text:"Groups who will receive this article :"
+ },
+ chooseGroupsBtn: {
+ text:"Add",
+ tooltip:"Add groups to this article's diffusion list"
+ },
+ action: {
+ items: {
+ tooltip:"Delete this group"
+ }
+ },
+ selectGroupGrid: {
+ columns: {
+ header:"Group"
+ }
+ },
+ typeStore: {
+ data:["No category", "School life", "Classes", "Exams", "Hobbies", "Culture", "Restaurant", "CDI", "Inscriptions", "UNSS"]
+ },
+ typeComboBox: {
+ fieldLabel:"Category",
+ emptyText:"Choose a category"
+ },
+ chooseCartableBtn: {
+ text:"Add an illustration"
+ },
+ deleteImgBtn: {
+ tooltip:"Delete the illustration"
+ },
+ chooseFlashFileBtn: {
+ text: "Média"
+ },
+ flashFileStateLabel: "Ce média (pdf, doc, ...) sera présenté via la visionneuse dans la vue avancée de l'actualité.",
+ deleteFlashFileBtn: {
+ tooltip: "Supprimer le média"
+ },
+ imageTxt: {
+ html:"Illustrate the article"
+ },
+ imageThumbnail: {
+ html:"Choose an illustration in your documents folder.<br/>(gif,jpeg,jpg,png,tif,tiff)"
+ },
+ window: {
+ title:"Create an article",
+ titleModify:"Modify an article"
+ },
+ onBrowseCartable: {
+ waitMsg:"Download image"
+ },
+ onChooseFlashFile: {
+ waitMsg: "Téléchargement du fichier"
+ },
+ onUploadPictureSuccess: {
+ slideMsg: {
+ title:"Information",
+ body:"The file has been imported"
+ }
+ },
+ onUploadPictureFailure: {
+ alert: {
+ title:"Warning",
+ msg:"Problem during the transmission of the file"
+ }
+ },
+ wait: {
+ msg:"<b>Loading</b><br>Please wait..."
+ },
+ onSuccessPictureChoosed: {
+ alert: {
+ title:"Warning",
+ msg:"Your choice of illustration could not be correctly uploaded due to a network malfunction"
+ }
+ },
+ onFailurePictureChoosed: {
+ alert: {
+ title:"Warning",
+ msg:"Your choice of illustration could not be correctly uploaded due to a network malfunction"
+ }
+ },
+ onSuccessGetActualite: {
+ alert: {
+ title:"Warning",
+ msg:"This article's details could not be recuperated due to a network malfunction."
+ },
+ progressing: "Fichier en cours de conversion ..."
+ },
+ onFailureGetActualite: {
+ alert: {
+ title:"Warning",
+ msg:"This article's details could not be recuperated due to a network malfunction."
+ }
+ },
+ onEditFn: {
+ alert: {
+ title:"Warning",
+ msg:"You must diffuse the article to at least one group."
+ }
+ },
+ onSuccessEditActualite: {
+ alert: {
+ title:"Warning",
+ msg:"The article could not be edited due to a network malfunction."
+ },
+ slideMsg: {
+ title:"Information",
+ body:"The article has been modified"
+ }
+ },
+ onFailureEditActualite: {
+ alert: {
+ title:"Warning",
+ msg:"The article could not be edited due to a network malfunction."
+ }
+ },
+ onCreateFn: {
+ alert: {
+ title:"Warning",
+ msg:"You must diffuse the article to at least one group."
+ }
+ },
+ onSuccessCreateActualite: {
+ alert: {
+ title:"Warning",
+ msg:"The article could not be created due to a network malfunction, please try again or refresh the page if the problem persists."
+ },
+ slideMsg: {
+ title:"Information",
+ body:"The article has been added"
+ }
+ },
+ onFailureCreateActualite: {
+ alert: {
+ title:"Warning",
+ msg:"The article could not be created due to a network malfunction, please try again or refresh the page if the problem persists."
+ }
+ },
+ onFailureChooseFlashFile: {
+ title: "Attention",
+ msg: "En raison d'un dysfonctionnement réseau la récupération du fichier ne s'est pas effectuée correctement, veuillez recommencer ou rafraîchir votre interface si le problème persiste."
+ }
+ }
+ }
+ }
+ });
+}
+
+if(EntSavoie.Actualites.SelectGroupsWindow) {
+ Ext.override(EntSavoie.Actualites.SelectGroupsWindow, {
+ i18n : {
+ Actualites: {
+ SelectGroupsWindow: {
+ searchGroupsFilter: {
+ emptyText: "Rechercher"
+ },
+ groups_grid: {
+ ddText:"Add a group"
+ },
+ columns: {
+ header:"Groups"
+ },
+ groups_selected_grid: {
+ ddText:"Remove a group",
+ columns: {
+ header:"Selected groups"
+ }
+ },
+ validBtn: {
+ text:"Submit"
+ },
+ cancelBtn: {
+ text:"Cancel"
+ },
+ title:"Select the groups the article will be diffused to"
+ }
+ }
+ }
+ });
+}
+if(EntSavoie.Actualites.configDelegateWindow) {
+ Ext.override(EntSavoie.Actualites.configDelegateWindow, {
+ i18n : {
+ Actualites: {
+ configDelegateWindow: {
+ validateDelegateBtn:{
+ text:'Valider'
+ },
+ cancelDelegateBtn:{
+ text:'Annuler'
+ },
+ constructor:{
+ title:"Déléguer l'edition des actualités"
+ },
+ waitPanel:{
+ msg:"<b>Chargement en cours</b><br>Veuillez patienter..."
+ },
+ onSuccessValidateDelegate:{
+ alert:{
+ title:'Attention',
+ msg:"Une erreur s'est produite durant la validation, veuillez recommencer ou rafraichir votre interface si le problème persiste."
+ },
+ slideMsg:{
+ title:'Modification de la délégation',
+ msg :"La modification de la délégation s'est déroulée avec succès"
+ }
+ },
+ onFailureValidateDelegate:{
+ alert:{
+ title:'Attention',
+ msg:"Une erreur s'est produite durant la validation, veuillez recommencer ou rafraichir votre interface si le problème persiste."
+ }
+ },
+ delegateChooserPanel:{
+ checkColumnLabel:"Principal",
+ titleMembreGrid:"Rédacteurs"
+ }
+ }
+ }
+ }
+ });
+}