# -*- coding: utf-8 -*-
#@+leo-ver=4-thin
#@+node:EKR.20040517080202.3:@thin examples/french_fm.py
#@@first
"""traduit les menus en Franais"""
#@@language python
#@@tabwidth -4
# French translation completed by Frdric Mommja, Spring 2003
import leo.core.leoGlobals as g
import leo.core.leoPlugins as leoPlugins
#@+others
#@+node:EKR.20040517080202.4:onMenu
def onMenu (tag,keywords):
c = keywords.get("c")
table = (
("File","&Fichier"),
("New","&Nouveau"),
("Open...","&Ouvrir"),
("OpenWith","Ouvrir Ave&c..."),
("Close","&Fermer"),
("Save","Enregi&strer"),
("Save As","Enre&gistrer sous..."),
("Save To","Enregistrer une co&pie..."),
("Revert To Saved","&Version Enregistre"),
("Recent Files...","&Fichiers rcents..."),
("Read/Write...", "&Lire/crire..."),
("Read Outline Only", "Relire &Arborescence seule"),
("Read @file Nodes", "Relire Structure @&file seule"),
("Write missing @file Nodes", "crire @file &manquants sur Disque"),
("Write Outline Only", "crire Arborescence &seule"),
("Write @file Nodes", "crire &Noeuds @file seuls"),
("Tangle...", "&Transfrer (Tangle)..."),
("Tangle All", "&Tout"),
("Tangle Marked", "Noeuds &Marqus"),
("Tangle", "&Slection"),
("Untangle...", "&Ramener (Untangle)..."),
("Untangle All", "&Tout"),
("Untangle Marked", "Noeuds &Marqus"),
("Untangle", "&Slection"),
("Import...", "&Importer..."),
("Import To @file", "Dans Structure @&file"),
("Import To @root", "Dans Structure @&root"),
("Import CWEB Files", "Fichier &CWEB"),
("Import noweb Files", "Fichier &Noweb"),
("Import Flattened Outline", "Fichier &MORE"),
("Export...", "&Exporter..."),
("Export Headlines", "&Enttes Noeuds descendants vers .txt"),
("Outline To CWEB", "Arborescence vers &CWEB"),
("Outline To Noweb", "Arborescence vers &Noweb"),
("Flatten Outline", "Arborescence vers &MORE"),
("Remove Sentinels", "En supprimant &Sentinelles"),
("Weave", "&Arborescence descendante vers .txt"),
("Exit","&Quitter"),
("Edit","&Edition"),
("Undo Typing","Ann&uler saisie"),
("Redo Typing","&Rpter saisie"),
("Can't Undo", "Impossible d'annuler"),
("Can't Redo", "Impossible de rpter"),
("Cut", "C&ouper"),
("Copy", "Co&pier"),
("Paste", "Co&ller"),
("Delete", "&Supprimer"),
("Select All", "&Tout Slectionner"),
("Edit Body...", "diter &Contenu..."),
("Extract Section", "E&xtraire Section"),
("Extract Names", "Extraire &Noms de Sections"),
("Extract", "&Extraire Slection"),
("Convert All Blanks", "Convertir Espaces &Arborescence"),
("Convert All Tabs", "Convertir Tabulations Ar&borescence"),
("Convert Blanks", "Convertir &Espaces"),
("Convert Tabs", "Convertir &Tabulations"),
("Insert Body Time/Date", "Insrer la &Date/Heure"),
("Reformat Paragraph", "Reformater &Paragraphe"),
("Indent", "&Indenter"),
("Unindent", "D&sindenter"),
("Match Brackets", "&Vrifier Parit des Signes"), # <({["), #EKR
("Edit Headline...", "diter &Entte..."),
("Edit Headline", "&Modifier l'Entte"),
("End Edit Headline", "Modification &Termine"),
("Abort Edit Headline", "&Annuler Modification"),
("Insert Headline Time/Date", "Insrer la &Date/Heure"),
("Toggle Angle Brackets", "Ajouter/supprimer Marques de &Section"),
("Find...", "C&hercher..."),
("Find Panel", "Dialogue de Re&cherche"),
("Find Next", "Chercher &Suivant"),
("Find Previous", "Chercher &Prcdent"),
("Replace", "&Remplacer"),
("Replace, Then Find", "Remplacer Chercher &Nouveau"),
("Go To Line Number", "&Atteindre Ligne No..."),
("Execute Script", "E&xcuter un Script Python"),
("Set Font...", "&Dfinir les Polices..."),
("Set Colors...", "D&finir les Couleurs..."),
("Show Invisibles", "Afficher Caractres &invisibles"),
("Hide Invisibles", "Masquer Caractres &invisibles"),
("Preferences", "Prfre&nces"),
("Outline", "Arb&orescence"),
("Cut Node", "Co&uper le Noeud"),
("Copy Node", "C&opier le Noeud"),
("Paste Node", "Co&ller le Noeud"),
("Delete Node", "&Supprimer le Noeud"),
("Insert Node", "Ins&rer un Noeud"),
("Clone Node", "Clo&ner le Noeud"),
("Sort Children", "&Trier les Noeuds Enfants"),
("Sort Siblings", "Trier le Ni&veau"),
("Expand/Contract...", "&Dployer/Refermer"),
("Contract All", "&Tout Refermer"),
("Contract Node", "&Refermer Noeud"),
("Contract Parent", "Refermer Noeud &Parent"),
("Expand Prev Level", "Dployer Niveau pr&cdent"),
("Expand Next Level", "Dployer Niveau &suivant"),
("Expand To Level 1", "Dployer &1 Niveau"),
("Expand To Level 2", "Dployer &2 Niveaux"),
("Expand To Level 3", "Dployer &3 Niveaux"),
("Expand To Level 4", "Dployer &4 Niveaux"),
("Expand To Level 5", "Dployer &5 Niveaux"),
("Expand To Level 6", "Dployer &6 Niveaux"),
("Expand To Level 7", "Dployer &7 Niveaux"),
("Expand To Level 8", "Dployer &8 Niveaux"),
("Expand All", "Tout &Dployer"),
("Expand Node", "Dplo&yer Noeud"),
("Move...", "D&placer..."),
("Move Down", "Vers le &Bas"),
("Move Left", "Vers la &Gauche"),
("Move Right", "Vers la &Droite"),
("Move Up", "Vers le &Haut"),
("Promote", "&Enfants vers la Gauche"),
("Demote", "&Noeuds suivants vers la Droite"),
("Mark/Unmark...", "Mar&quage..."),
("Mark", "&Marquer/Effacer Marque"),
("Mark Subheads", "Marquer En&fants"),
("Mark Changed Items", "Marquer &Noeuds modifis"),
("Mark Changed Roots", "Marquer @&root modifis"),
("Mark Clones", "Marquer &Clones"),
("Unmark All", "&Effacer toutes les Marques"),
("Go To...", "Se Dpla&cer vers..."),
("Go To Next Marked", "&Marque suivante"),
("Go To Next Changed", "M&odification suivante"),
("Go To Next Clone", "&Clone suivant"),
("Go To First Node", "&Premier Noeud"),
("Go To Last Node", "&Dernier Noeud"),
("Go To Parent", "&Noeud Parent"),
("Go To Prev Sibling", "Noe&ud prcdent"),
("Go To Next Sibling", "Noeud &suivant"),
("Go To Prev Visible", "Noeud &Visible prcdent"),
("Go To Next Visible", "Noeud V&isible suivant"),
("Go Back", "De&rnire Position"),
("Go Next", "Posi&tion suivante"),
("Window", "Fen&tre"),
("Equal Sized Panes", "Panneaux de &mme taille"),
("Toggle Active Pane", "&Bascule Panneau actif"),
("Toggle Split Direction", "Bascule &Horiz/Vert"),
("Cascade", "Fentres Leo en &Cascade"),
("Minimize All", "&Rduit toutes les Fentres"),
("Open Compare Window", "Ouvrir Fentre de Com¶ison..."),
("Open Python Window", "Ouvrir Fentre Python (IDLE)..."),
("Help", "&Aide"),
("About Leo...", "Au &sujet de Leo..."),
("Online Home Page", "&Page d'Accueil en ligne"),
("Open Online Tutorial", "Ouvrir &Tutoriel en ligne"),
("Open LeoDocs.leo", "Ouvrir Leo&Docs.leo"),
("Open LeoConfig.leo", "Ouvrir Leo&Config.leo"),
("Apply Settings", "Appliquer les &Rglages"))
# Call the convenience routine to do the work.
c.frame.menu.setRealMenuNamesFromTable(table)
#@-node:EKR.20040517080202.4:onMenu
#@-others
if not g.app.unitTesting: # Unpleasant for unit testing.
# Register the handlers...
leoPlugins.registerHandler("menu2", onMenu)
__version__ = "1.4" # Set version for the plugin handler.
g.plugin_signon(__name__)
#@nonl
#@-node:EKR.20040517080202.3:@thin examples/french_fm.py
#@-leo
|