From e5c1054e13dd5f07766efacd00f301013db2e448 Mon Sep 17 00:00:00 2001
From: legac <renaud.legac@free.fr>
Date: Sun, 23 Mar 2014 10:54:43 +0100
Subject: [PATCH] The language file is compliant with the Ext JS 4.2.1 class
 framework.

---
 static/plugin_dbui/locale/dbui-lang-fr.js | 267 ++++++++++------------
 1 file changed, 123 insertions(+), 144 deletions(-)

diff --git a/static/plugin_dbui/locale/dbui-lang-fr.js b/static/plugin_dbui/locale/dbui-lang-fr.js
index 582b061c..e41af98d 100644
--- a/static/plugin_dbui/locale/dbui-lang-fr.js
+++ b/static/plugin_dbui/locale/dbui-lang-fr.js
@@ -3,147 +3,126 @@
  *
  */
 
-if (App.panel.BaseWithSelector) {
-    Ext.apply(App.panel.BaseWithSelector.prototype, {
-        textGo: 'Go',
-        textReset: 'Annuler'
-    });
-}
-
-if (App.form.field.ComboBox) {
-    Ext.apply(App.form.field.ComboBox.prototype, {
-        textSelect: 'Sélectioner un(e) '
-    });
-}
-
-if (App.form.field.Dict) {
-    Ext.apply(App.form.field.Dict.prototype, {
-        textAddMenu: 'Ajouter',
-        textAddTitle: 'Entrez le nom de la clé',
-
-        textDestroyMenu: 'Détruire',
-        textDestroyTitle: 'Voulez-vous vraiment détruire la clé',
-
-        textErrorTitle: 'Erreur ...',
-        textErrorMsg: 'Cette clé existe déjà !',
-
-        textUpdateMenu: 'Modifier',
-        textUpdateTitle: 'Modifier  la clé'
-
-    });
-}
-
-if (App.form.field.List) {
-    Ext.apply(App.form.field.List.prototype, {
-        textAdd: 'Ajouter un élément',
-        textDestroy: 'Détruire cet élément',
-        textDestroytitle: 'Détruire ...',
-        textDestroyMsg: 'Voulez-vous vraiment détruire cet élément',
-        textGoDown: 'Déplacer vers le bas',
-        textGoUp: 'Déplacer vers le haut'
-    });
-}
-
-if (App.form.Panel) {
-    Ext.apply(App.form.Panel.prototype, {
-        textCreate      : 'Créer',
-        textDestroy     : 'Détruire',
-        textDuplicate   : 'Dupliquer',
-        textReset       : 'Annuler',
-        textUpdate      : 'Actualiser',
-
-        textCreateErrorAction: "L'enregistrement a été détruit.",
-        textCreateFailed: 'La création a échoué...',
-        textDbAction: "La base de donnée n'a pas été modifiée.",
-        textDeleteErrorAction: "L'enregistrement a été gardé.",
-        textDeleteFailed: 'La destruction a échouée...',
-        textError: 'Erreur...',
-        textServerError: 'Erreur coté serveur.',
-        textStoreError: "la zone de skoctage interne n'est pas défini !!!",
-        textUpdateErrorAction: "Les modifications ont été annulées.",
-        textUpdateFailed: 'La mise à jour a échoué...'
-    });
-}
-
-if (App.grid.button.ExpertMenu) {
-    Ext.apply(App.grid.button.ExpertMenu.prototype, {
-        textExport: 'Exporter dans un fichier CSV',
-        textMathJax: 'Interpréter les équations',
-        textReset: 'Reset'
-    });
-}
-
-if (App.grid.plugin.Paging) {
-    Ext.apply(App.grid.plugin.Paging.prototype, {
-        textPlus: 'Plus',
-        textSlider: 'Entrées par page'
-    });
-}
-
-if (App.grid.plugin.Toolbar) {
-    Ext.apply(App.grid.plugin.Toolbar.prototype, {
-        textEntries: 'Entrées',
-        textPlus: 'Plus'
-    });
-}
-
-if (App.grid.plugin.RowEditor) {
-    Ext.apply(App.grid.plugin.RowEditor.prototype, {
-        addTitle        : "Créer un enregistrement...",
-        deleteTitle     : "Détruire un enregistrement...",
-        duplicateTitle  : "Dupliquer un enregistrement..",
-        editTitle       : "Actualiser un enregistrement...",
-        viewTitle       : "Voir un enregistrement...",
-        textMsg         : 'Sélectioner un enregistrement !'
-    });
-}
-
-if (App.grid.plugin.RowEditorConfirmDelete) {
-    Ext.apply(App.grid.plugin.RowEditorConfirmDelete.prototype, {
-        confirmMsg      : 'Voulez-vous vraiment détruire cet élément ?'
-    });
-}
-
-if (App.grid.plugin.RowEditorContextMenu) {
-    Ext.apply(App.grid.plugin.RowEditorContextMenu.prototype, {
-        textAdd         : 'Ajouter',
-        textCreate      : 'Créer',
-        textDestroy     : 'Détruire',
-        textDuplicate   : 'Dupliquer',
-        textUpdate      : 'Actualiser',
-        textView        : 'Voir'
-    });
-}
-
-if (App.panel.GridWithFilter) {
-    Ext.apply(App.panel.GridWithFilter.prototype, {
-        textLoad: 'chargement en cours...'
-    });
-}
-
-if (App.panel.plugin.LoaderException) {
-    Ext.apply(App.panel.plugin.LoaderException.prototype, {
-        textError: 'Erreur  ...'
-    });
-}
-
-if (App.panel.WithUrlSelector) {
-    Ext.apply(App.panel.WithUrlSelector.prototype, {
-        textLoad: 'chargement en cours...',
-        textProgressBar: 'Fichier en préparation. Soyez patient ...'
-    });
-}
-
-if (App.viewport.plugin.Login) {
-    Ext.apply(App.viewport.plugin.Login.prototype, {
-        textChangePwd: 'Changer votre mot de passe',
-        textLogin: "S'identifier",
-        textLogout: "Quitter l'application"
-    });
-}
-
-if (App.plugin.MathJax) {
-    Ext.apply(App.plugin.MathJax.prototype, {
-        textMask: 'Interprétation des équations ...'
-    });
-}
+Ext.define('App.local.fr.container.plugin.Login', {
+    override: 'App.container.plugin.Login',
+    textChangePwd : 'Changer votre mot de passe',
+    textLogin     : "S'identifier",
+    textLogout    : "Quitter l'application"
+});
+
+Ext.define('App.local.fr.form.field.ComboBox', {
+    override: 'App.form.field.ComboBox',
+    textSelect: 'Sélectioner un(e) '
+});
+
+Ext.define('App.local.fr.form.field.Dict', {
+    override: 'App.form.field.Dict',
+    textAddMenu      : 'Ajouter',
+    textAddTitle     : 'Entrez le nom de la clé',
+    textDestroyMenu  : 'Détruire',
+    textDestroyTitle : 'Voulez-vous vraiment détruire la clé',
+    textErrorTitle   : 'Erreur ...',
+    textErrorMsg     : 'Cette clé existe déjà !',
+    textUpdateMenu   : 'Modifier',
+    textUpdateTitle  : 'Modifier  la clé'
+});
+
+Ext.define('App.local.fr.form.field.List', {
+    override: 'App.form.field.List',
+    textAdd          : 'Ajouter un élément',
+    textDestroy      : 'Détruire cet élément',
+    textDestroytitle : 'Détruire ...',
+    textDestroyMsg   : 'Voulez-vous vraiment détruire cet élément',
+    textGoDown       : 'Déplacer vers le bas',
+    textGoUp         : 'Déplacer vers le haut'
+});
+
+Ext.define('App.local.fr.form.Panel', {
+    override: 'App.form.Panel',
+    textCreate            : 'Créer',
+    textDestroy           : 'Détruire',
+    textDuplicate         : 'Dupliquer',
+    textReset             : 'Annuler',
+    textUpdate            : 'Actualiser',
+    textCreateErrorAction : "L'enregistrement a été détruit.",
+    textCreateFailed      : 'La création a échoué...',
+    textDbAction          : "La base de donnée n'a pas été modifiée.",
+    textDeleteErrorAction : "L'enregistrement a été gardé.",
+    textDeleteFailed      : 'La destruction a échouée...',
+    textError             : 'Erreur...',
+    textServerError       : 'Erreur coté serveur.',
+    textStoreError        : "la zone de skoctage interne n'est pas défini !!!",
+    textUpdateErrorAction : "Les modifications ont été annulées.",
+    textUpdateFailed      : 'La mise à jour a échoué...'
+});
+
+Ext.define('App.local.fr.grid.button.ExpertMenu', {
+    override: 'App.grid.button.ExpertMenu',
+    textExport  : 'Exporter dans un fichier CSV',
+    textMathJax : 'Interpréter les équations',
+    textReset   : 'Reset'
+});
+
+Ext.define('App.local.fr.grid.plugin.Paging', {
+    override: 'App.grid.plugin.Paging',
+    textPlus   : 'Plus',
+    textSlider : 'Entrées par page'
+});
+
+Ext.define('App.local.fr.grid.plugin.Toolbar', {
+    override: 'App.grid.plugin.Toolbar',
+    textEntries : 'Entrées',
+    textPlus    : 'Plus'
+});
+
+Ext.define('App.local.fr.grid.plugin.RowEditor', {
+    override: 'App.grid.plugin.RowEditor',
+    addTitle       : "Créer un enregistrement...",
+    deleteTitle    : "Détruire un enregistrement...",
+    duplicateTitle : "Dupliquer un enregistrement..",
+    editTitle      : "Actualiser un enregistrement...",
+    viewTitle      : "Voir un enregistrement...",
+    textMsg        : 'Sélectioner un enregistrement !'
+});
+
+Ext.define('App.local.fr.grid.plugin.RowEditorConfirmDelete', {
+    override: 'App.grid.plugin.RowEditorConfirmDelete',
+    confirmMsg: 'Voulez-vous vraiment détruire cet élément ?'
+});
+
+Ext.define('App.local.fr.grid.plugin.RowEditorContextMenu', {
+    override: 'App.grid.plugin.RowEditorContextMenu',
+    textAdd       : 'Ajouter',
+    textCreate    : 'Créer',
+    textDestroy   : 'Détruire',
+    textDuplicate : 'Dupliquer',
+    textUpdate    : 'Actualiser',
+    textView      : 'Voir'
+});
+
+Ext.define('App.local.fr.panel.BaseWithSelector', {
+    override: 'App.panel.BaseWithSelector',
+    textGo    : 'Go',
+    textReset : 'Annuler'
+});
+
+Ext.define('App.local.fr.panel.GridWithFilter', {
+    override: 'App.panel.GridWithFilter',
+    textLoad: 'chargement en cours...'
+});
+
+Ext.define('App.local.fr.panel.plugin.LoaderException', {
+    override: 'App.panel.plugin.LoaderException',
+    textError: 'Erreur  ...'
+});
+
+Ext.define('App.local.fr.panel.WithUrlSelector', {
+    override: 'App.panel.WithUrlSelector',
+    textLoad        : 'chargement en cours...',
+    textProgressBar : 'Fichier en préparation. Soyez patient ...'
+});
+
+Ext.define('App.local.fr.plugin.MathJax', {
+    override: 'App.plugin.MathJax',
+    textMask: 'Interprétation des équations ...'
+});
-- 
GitLab