Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
kicad-source-mirror
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
kicad-source-mirror
Commits
2c0377b0
Commit
2c0377b0
authored
Jun 26, 2007
by
CHARRAS
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
more better hotkey.cpp and small changes in locate footprint
parent
cd4ed0e7
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
553 additions
and
510 deletions
+553
-510
build_version.h
include/build_version.h
+1
-1
kicad.mo
internat/fr/kicad.mo
+0
-0
kicad.po
internat/fr/kicad.po
+497
-491
hotkeys.cpp
pcbnew/hotkeys.cpp
+33
-7
locate.cpp
pcbnew/locate.cpp
+12
-3
onrightclick.cpp
pcbnew/onrightclick.cpp
+6
-6
drawpanel.cpp
share/drawpanel.cpp
+4
-2
No files found.
include/build_version.h
View file @
2c0377b0
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
COMMON_GLOBL
wxString
g_BuildVersion
COMMON_GLOBL
wxString
g_BuildVersion
#ifdef EDA_BASE
#ifdef EDA_BASE
(
wxT
(
"(2007-06-2
5
)"
))
(
wxT
(
"(2007-06-2
6
)"
))
#endif
#endif
;
;
...
...
internat/fr/kicad.mo
View file @
2c0377b0
No preview for this file type
internat/fr/kicad.po
View file @
2c0377b0
...
@@ -2,8 +2,8 @@ msgid ""
...
@@ -2,8 +2,8 @@ msgid ""
msgstr ""
msgstr ""
"Project-Id-Version: kicad\n"
"Project-Id-Version: kicad\n"
"POT-Creation-Date: \n"
"POT-Creation-Date: \n"
"PO-Revision-Date: 2007-06-2
4 17:50
+0100\n"
"PO-Revision-Date: 2007-06-2
6 09:46
+0100\n"
"Last-Translator: \n"
"Last-Translator:
jp charras <jean-pierre.charras@inpg.fr>
\n"
"Language-Team: kicad team <jean-pierre.charras@ujf-grenoble.fr>\n"
"Language-Team: kicad team <jean-pierre.charras@ujf-grenoble.fr>\n"
"MIME-Version: 1.0\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=iso-8859-1\n"
"Content-Type: text/plain; charset=iso-8859-1\n"
...
@@ -1289,239 +1289,6 @@ msgstr "Max"
...
@@ -1289,239 +1289,6 @@ msgstr "Max"
msgid "Segm"
msgid "Segm"
msgstr "Segm"
msgstr "Segm"
#: pcbnew/tool_modedit.cpp:47
#: eeschema/tool_lib.cpp:119
msgid "Select working library"
msgstr "Slection de la librairie de travail"
#: pcbnew/tool_modedit.cpp:50
msgid "Save Module in working library"
msgstr "Sauver Module en librairie de travail"
#: pcbnew/tool_modedit.cpp:54
msgid "Create new library and save current module"
msgstr "Crer une nouvelle librairie et y sauver le composant"
#: pcbnew/tool_modedit.cpp:59
#: eeschema/tool_lib.cpp:122
msgid "Delete part in current library"
msgstr "Supprimer composant en librairie de travail"
#: pcbnew/tool_modedit.cpp:64
#: pcbnew/xchgmod.cpp:142
msgid "New Module"
msgstr "Nouveau Module"
#: pcbnew/tool_modedit.cpp:68
msgid "Load module from lib"
msgstr "Charger un module a partir d'une librairie"
#: pcbnew/tool_modedit.cpp:73
msgid "Load module from current board"
msgstr "Charger module a partir du C.I."
#: pcbnew/tool_modedit.cpp:77
msgid "Update module in current board"
msgstr "Remplacer module dans le C.I."
#: pcbnew/tool_modedit.cpp:82
msgid "import module"
msgstr "Importer Module"
#: pcbnew/tool_modedit.cpp:86
msgid "export module"
msgstr "Exporter Module"
#: pcbnew/tool_modedit.cpp:91
#: eeschema/tool_sch.cpp:87
#: eeschema/tool_lib.cpp:147
msgid "Undo last edition"
msgstr "Defait dernire dition"
#: pcbnew/tool_modedit.cpp:93
#: eeschema/tool_sch.cpp:89
#: eeschema/tool_lib.cpp:149
msgid "Redo the last undo command"
msgstr "Refait la dernire commande defaite"
#: pcbnew/tool_modedit.cpp:98
msgid "Module Properties"
msgstr "Proprits du Module"
#: pcbnew/tool_modedit.cpp:102
msgid "Print Module"
msgstr "Imprimer Module"
#: pcbnew/tool_modedit.cpp:106
#: pcbnew/tool_pcb.cpp:246
#: eeschema/tool_sch.cpp:104
#: eeschema/tool_lib.cpp:170
#: eeschema/tool_viewlib.cpp:70
#: cvpcb/displayframe.cpp:118
#: gerbview/tool_gerber.cpp:260
#: 3d-viewer/3d_toolbar.cpp:43
msgid "zoom + (F1)"
msgstr "zoom + (F1)"
#: pcbnew/tool_modedit.cpp:109
#: pcbnew/tool_pcb.cpp:247
#: eeschema/tool_sch.cpp:107
#: eeschema/tool_lib.cpp:174
#: eeschema/tool_viewlib.cpp:74
#: cvpcb/displayframe.cpp:121
#: gerbview/tool_gerber.cpp:266
#: 3d-viewer/3d_toolbar.cpp:46
msgid "zoom - (F2)"
msgstr "zoom - (F2)"
#: pcbnew/tool_modedit.cpp:112
#: pcbnew/tool_pcb.cpp:248
#: eeschema/tool_sch.cpp:110
#: eeschema/tool_lib.cpp:178
#: eeschema/tool_viewlib.cpp:78
#: cvpcb/displayframe.cpp:124
#: gerbview/tool_gerber.cpp:272
#: 3d-viewer/3d_toolbar.cpp:49
msgid "redraw (F3)"
msgstr "Redessin (F3)"
#: pcbnew/tool_modedit.cpp:115
#: pcbnew/tool_pcb.cpp:250
#: eeschema/tool_sch.cpp:113
#: eeschema/tool_lib.cpp:182
#: gerbview/tool_gerber.cpp:278
#: 3d-viewer/3d_toolbar.cpp:52
msgid "auto zoom"
msgstr "Zoom automatique"
#: pcbnew/tool_modedit.cpp:120
#: pcbnew/modedit.cpp:363
#: pcbnew/globaleditpad.cpp:96
#: pcbnew/menubarmodedit.cpp:45
#: pcbnew/menubarpcb.cpp:205
msgid "Pad Settings"
msgstr "Caract pads"
#: pcbnew/tool_modedit.cpp:124
msgid "Module Check"
msgstr "Test module"
#: pcbnew/tool_modedit.cpp:148
msgid "Add Pads"
msgstr "Addition de \"pins\""
#: pcbnew/tool_modedit.cpp:153
#: pcbnew/tool_pcb.cpp:386
#: eeschema/tool_sch.cpp:216
msgid "Add graphic line or polygon"
msgstr "Addition de lignes ou polygones graphiques"
#: pcbnew/tool_modedit.cpp:157
#: pcbnew/tool_pcb.cpp:390
msgid "Add graphic circle"
msgstr "Addition de graphiques (Cercle)"
#: pcbnew/tool_modedit.cpp:161
#: pcbnew/tool_pcb.cpp:394
msgid "Add graphic arc"
msgstr "Addition de graphiques (Arc de Cercle)"
#: pcbnew/tool_modedit.cpp:165
#: pcbnew/edit.cpp:552
#: pcbnew/tool_pcb.cpp:398
#: eeschema/schedit.cpp:309
#: eeschema/libframe.cpp:487
#: gerbview/tool_gerber.cpp:361
msgid "Add Text"
msgstr "Ajout de Texte"
#: pcbnew/tool_modedit.cpp:170
#: pcbnew/modedit.cpp:377
msgid "Place anchor"
msgstr "Place Ancre"
#: pcbnew/tool_modedit.cpp:175
#: pcbnew/tool_pcb.cpp:412
#: eeschema/tool_sch.cpp:225
#: eeschema/tool_lib.cpp:92
#: gerbview/tool_gerber.cpp:369
msgid "Delete items"
msgstr "Suppression d'lments"
#: pcbnew/tool_modedit.cpp:196
#: pcbnew/tool_pcb.cpp:293
#: eeschema/tool_sch.cpp:246
#: gerbview/tool_gerber.cpp:389
msgid "Display Grid OFF"
msgstr "Suppression de l'affichage de la grille"
#: pcbnew/tool_modedit.cpp:200
#: pcbnew/tool_pcb.cpp:295
#: gerbview/tool_gerber.cpp:395
msgid "Display Polar Coord ON"
msgstr "Activer affichage coord Polaires"
#: pcbnew/tool_modedit.cpp:204
#: pcbnew/tool_pcb.cpp:297
#: eeschema/tool_sch.cpp:250
#: gerbview/tool_gerber.cpp:399
msgid "Units = Inch"
msgstr "Units = pouce"
#: pcbnew/tool_modedit.cpp:208
#: pcbnew/tool_pcb.cpp:299
#: eeschema/tool_sch.cpp:254
#: gerbview/tool_gerber.cpp:403
msgid "Units = mm"
msgstr "Units = mm"
#: pcbnew/tool_modedit.cpp:214
#: pcbnew/tool_pcb.cpp:301
#: eeschema/tool_sch.cpp:258
#: gerbview/tool_gerber.cpp:409
msgid "Change Cursor Shape"
msgstr "Slection de la forme du curseur"
#: pcbnew/tool_modedit.cpp:222
#: pcbnew/tool_pcb.cpp:322
msgid "Show Pads Sketch"
msgstr "Afficher pastilles en contour"
#: pcbnew/tool_modedit.cpp:229
msgid "Show Texts Sketch"
msgstr "Afficher textes en contour"
#: pcbnew/tool_modedit.cpp:236
msgid "Show Edges Sketch"
msgstr "Afficher Modules en contour"
#: pcbnew/tool_modedit.cpp:268
#: pcbnew/tool_pcb.cpp:512
#: eeschema/plotps.cpp:168
#: share/zoom.cpp:353
msgid "Auto"
msgstr "Auto"
#: pcbnew/tool_modedit.cpp:272
#, c-format
msgid "Zoom %d"
msgstr "Zoom %d"
#: pcbnew/tool_modedit.cpp:289
#, c-format
msgid "Grid %.1f"
msgstr "Grille %.1f"
#: pcbnew/tool_modedit.cpp:291
#, c-format
msgid "Grid %.3f"
msgstr "Grille %.3f"
#: pcbnew/tool_modedit.cpp:294
#: pcbnew/tool_pcb.cpp:542
msgid "User Grid"
msgstr "Grille perso"
#: pcbnew/via_edit.cpp:51
#: pcbnew/via_edit.cpp:51
msgid "Incorrect value for Via drill. No via drill change"
msgid "Incorrect value for Via drill. No via drill change"
msgstr "Valeur incorrecte pour perage.Pas de changement pour la via"
msgstr "Valeur incorrecte pour perage.Pas de changement pour la via"
...
@@ -1969,22 +1736,6 @@ msgstr "Erreur: Fin de fichier inattendue !"
...
@@ -1969,22 +1736,6 @@ msgstr "Erreur: Fin de fichier inattendue !"
msgid "GenCAD file:"
msgid "GenCAD file:"
msgstr "Fichier GenCAD:"
msgstr "Fichier GenCAD:"
#: pcbnew/modedit.cpp:360
msgid "Add Pad"
msgstr "Ajouter Pastilles"
#: pcbnew/modedit.cpp:373
#: eeschema/schedit.cpp:293
msgid "Add Drawing"
msgstr "Ajout d'lments graphiques"
#: pcbnew/modedit.cpp:391
#: pcbnew/edit.cpp:720
#: eeschema/schedit.cpp:443
#: eeschema/libframe.cpp:554
msgid "Delete item"
msgstr "Suppression d'lments"
#: pcbnew/modedit_onclick.cpp:199
#: pcbnew/modedit_onclick.cpp:199
#: pcbnew/onrightclick.cpp:158
#: pcbnew/onrightclick.cpp:158
#: eeschema/libedit_onrightclick.cpp:73
#: eeschema/libedit_onrightclick.cpp:73
...
@@ -2429,12 +2180,12 @@ msgid "Via %.3f"
...
@@ -2429,12 +2180,12 @@ msgid "Via %.3f"
msgstr "Via %.3f"
msgstr "Via %.3f"
#: pcbnew/onrightclick.cpp:190
#: pcbnew/onrightclick.cpp:190
msgid "
Footprint Get and Move (F)
"
msgid "
Get and Move Footprint
"
msgstr "Sel
. et dpl. module (F)
"
msgstr "Sel
et Dpl.t module
"
#: pcbnew/onrightclick.cpp:203
#: pcbnew/onrightclick.cpp:203
msgid "
Fix
Module"
msgid "
Lock
Module"
msgstr "
Fixe Module
"
msgstr "
Verrouiller Modules
"
#: pcbnew/onrightclick.cpp:205
#: pcbnew/onrightclick.cpp:205
msgid "Free Module"
msgid "Free Module"
...
@@ -2950,6 +2701,14 @@ msgstr "Cpoie des couches dessin"
...
@@ -2950,6 +2701,14 @@ msgstr "Cpoie des couches dessin"
msgid "Pads Global Edit"
msgid "Pads Global Edit"
msgstr "Pads: Edition globale"
msgstr "Pads: Edition globale"
#: pcbnew/globaleditpad.cpp:96
#: pcbnew/menubarmodedit.cpp:45
#: pcbnew/tool_modedit.cpp:125
#: pcbnew/modedit.cpp:365
#: pcbnew/menubarpcb.cpp:205
msgid "Pad Settings"
msgstr "Caract pads"
#: pcbnew/globaleditpad.cpp:101
#: pcbnew/globaleditpad.cpp:101
msgid "Change Module"
msgid "Change Module"
msgstr "Change module"
msgstr "Change module"
...
@@ -3037,10 +2796,6 @@ msgstr "Effacement des Modules?"
...
@@ -3037,10 +2796,6 @@ msgstr "Effacement des Modules?"
msgid "Delete Pcb Texts"
msgid "Delete Pcb Texts"
msgstr "Effacer Textes Pcb"
msgstr "Effacer Textes Pcb"
#: pcbnew/moduleframe.cpp:175
msgid "Module Editor: module modified!, Continue ?"
msgstr "Editeur de Module: module modifi! Continuer ?"
#: pcbnew/pcbnew.cpp:42
#: pcbnew/pcbnew.cpp:42
msgid "Pcbnew is already running, Continue?"
msgid "Pcbnew is already running, Continue?"
msgstr "Pcbnew est est cours d'excution. Continuer ?"
msgstr "Pcbnew est est cours d'excution. Continuer ?"
...
@@ -3581,6 +3336,11 @@ msgstr "Module courant"
...
@@ -3581,6 +3336,11 @@ msgstr "Module courant"
msgid "Current Value"
msgid "Current Value"
msgstr "Valeur courante"
msgstr "Valeur courante"
#: pcbnew/xchgmod.cpp:142
#: pcbnew/tool_modedit.cpp:65
msgid "New Module"
msgstr "Nouveau Module"
#: pcbnew/xchgmod.cpp:208
#: pcbnew/xchgmod.cpp:208
#, c-format
#, c-format
msgid "file %s not found"
msgid "file %s not found"
...
@@ -3614,26 +3374,6 @@ msgstr "Change module %s (%s) "
...
@@ -3614,26 +3374,6 @@ msgstr "Change module %s (%s) "
msgid "Cmp files:"
msgid "Cmp files:"
msgstr "Fichiers Cmp: "
msgstr "Fichiers Cmp: "
#: pcbnew/controle.cpp:47
#, c-format
msgid "Locate module %s %s"
msgstr "Module localis %s %s"
#: pcbnew/controle.cpp:88
#, c-format
msgid "module %s not found"
msgstr "module %s non trouv"
#: pcbnew/controle.cpp:90
#, c-format
msgid "Pin %s (module %s) not found"
msgstr "Pin %s (module %s) non trouve"
#: pcbnew/controle.cpp:92
#, c-format
msgid "Locate Pin %s (module %s)"
msgstr "Pin localise %s (module %s)"
#: pcbnew/edit.cpp:154
#: pcbnew/edit.cpp:154
msgid "Graphic not autorized on Copper layers"
msgid "Graphic not autorized on Copper layers"
msgstr "Graphique non autoris sur couches cuivre"
msgstr "Graphique non autoris sur couches cuivre"
...
@@ -3671,6 +3411,15 @@ msgstr "Ajuster Z
...
@@ -3671,6 +3411,15 @@ msgstr "Ajuster Z
msgid "Add Graphic"
msgid "Add Graphic"
msgstr "Addition lments graphiques"
msgstr "Addition lments graphiques"
#: pcbnew/edit.cpp:552
#: pcbnew/tool_modedit.cpp:170
#: pcbnew/tool_pcb.cpp:398
#: eeschema/schedit.cpp:309
#: eeschema/libframe.cpp:487
#: gerbview/tool_gerber.cpp:361
msgid "Add Text"
msgstr "Ajout de Texte"
#: pcbnew/edit.cpp:556
#: pcbnew/edit.cpp:556
msgid "Add Modules"
msgid "Add Modules"
msgstr "Addition de Modules"
msgstr "Addition de Modules"
...
@@ -3688,8 +3437,15 @@ msgstr "Surbrillance des
...
@@ -3688,8 +3437,15 @@ msgstr "Surbrillance des
msgid "Local Ratsnest"
msgid "Local Ratsnest"
msgstr "Monter le chevelu gnral"
msgstr "Monter le chevelu gnral"
#: pcbnew/netlist.cpp:95
#: pcbnew/edit.cpp:720
#, c-format
#: pcbnew/modedit.cpp:393
#: eeschema/schedit.cpp:443
#: eeschema/libframe.cpp:554
msgid "Delete item"
msgstr "Suppression d'lments"
#: pcbnew/netlist.cpp:95
#, c-format
msgid "Netlist file %s not found"
msgid "Netlist file %s not found"
msgstr "Netliste %s non trouve"
msgstr "Netliste %s non trouve"
...
@@ -4035,69 +3791,449 @@ msgstr "Ajuster Grille utilisateur"
...
@@ -4035,69 +3791,449 @@ msgstr "Ajuster Grille utilisateur"
msgid "&Contents"
msgid "&Contents"
msgstr "&Contenu"
msgstr "&Contenu"
#: pcbnew/menubarmodedit.cpp:60
#: pcbnew/menubarmodedit.cpp:60
#: pcbnew/menubarpcb.cpp:264
#: pcbnew/menubarpcb.cpp:264
msgid "Open the pcbnew manual"
msgid "Open the pcbnew manual"
msgstr "Ouvrir la documentation de pcbnew"
msgstr "Ouvrir la documentation de pcbnew"
#: pcbnew/menubarmodedit.cpp:64
#: pcbnew/menubarpcb.cpp:268
#: eeschema/menubar.cpp:157
#: cvpcb/tool_cvpcb.cpp:162
#: kicad/buildmnu.cpp:204
#: gerbview/tool_gerber.cpp:141
msgid "&About"
msgstr "&Infos logiciel"
#: pcbnew/menubarmodedit.cpp:64
#: pcbnew/menubarpcb.cpp:268
#: eeschema/menubar.cpp:157
#: cvpcb/tool_cvpcb.cpp:163
#: kicad/buildmnu.cpp:204
#: gerbview/tool_gerber.cpp:142
msgid "About this application"
msgstr "Au sujet de cette application"
#: pcbnew/menubarmodedit.cpp:72
#: pcbnew/menubarpcb.cpp:276
msgid "3D Display"
msgstr "3D Visu"
#: pcbnew/menubarmodedit.cpp:72
#: pcbnew/menubarpcb.cpp:276
msgid "Show Board in 3D Mode"
msgstr "Visualisation en 3D"
#: pcbnew/menubarmodedit.cpp:76
#: pcbnew/menubarpcb.cpp:282
msgid "&Dimensions"
msgstr "&Dimensions"
#: pcbnew/menubarmodedit.cpp:77
#: pcbnew/menubarpcb.cpp:285
msgid "&3D Display"
msgstr "&3D Visu"
#: pcbnew/menubarmodedit.cpp:78
#: pcbnew/menubarpcb.cpp:286
#: eeschema/menubar.cpp:164
#: cvpcb/tool_cvpcb.cpp:169
#: kicad/buildmnu.cpp:212
#: gerbview/tool_gerber.cpp:148
msgid "&Help"
msgstr "&Aide"
#: pcbnew/move_or_drag_track.cpp:640
msgid "Unable to drag this segment: too many segments connected"
msgstr "Impossible de drag ce segment: trop de segments connects"
#: pcbnew/move_or_drag_track.cpp:690
msgid "Unable to drag this segment: two collinear segments"
msgstr "Impossible de drag ce segment: 2 segments aligns"
#: pcbnew/find.cpp:130
msgid "Marker found"
msgstr "Marqueur trouv"
#: pcbnew/find.cpp:131
#, c-format
msgid "<%s> Found"
msgstr "<%s> trouv"
#: pcbnew/find.cpp:139
msgid "Marker not found"
msgstr "Marqueur non trouv"
#: pcbnew/find.cpp:140
#, c-format
msgid "<%s> Not Found"
msgstr "<%s> Non trouv"
#: pcbnew/find.cpp:232
#: eeschema/dialog_find.cpp:107
msgid "Item to find:"
msgstr "Elment a chercher:"
#: pcbnew/find.cpp:244
msgid "Find Item"
msgstr "Chercher Item"
#: pcbnew/find.cpp:249
msgid "Find Next Item"
msgstr "Chercher Item Suivant"
#: pcbnew/find.cpp:256
msgid "Find Marker"
msgstr "Chercher Marqueur"
#: pcbnew/find.cpp:260
msgid "Find Next Marker"
msgstr "Marqueur Suivant"
#: pcbnew/dialog_general_options.cpp:263
#: gerbview/options.cpp:181
msgid "No Display"
msgstr "Pas d'affichage"
#: pcbnew/dialog_general_options.cpp:266
#: gerbview/options.cpp:183
msgid "Display Polar Coord"
msgstr "Affichage coord Polaires"
#: pcbnew/dialog_general_options.cpp:273
#: eeschema/optionsframe.cpp:135
#: eeschema/dialog_options.cpp:248
#: eeschema/options.cpp:187
#: gerbview/options.cpp:193
msgid "Units"
msgstr "Units"
#: pcbnew/dialog_general_options.cpp:278
#: gerbview/options.cpp:199
msgid "Small"
msgstr "Petit"
#: pcbnew/dialog_general_options.cpp:279
#: gerbview/options.cpp:199
msgid "Big"
msgstr "Grand"
#: pcbnew/dialog_general_options.cpp:281
#: gerbview/options.cpp:200
msgid "Cursor"
msgstr "Curseur"
#: pcbnew/dialog_general_options.cpp:288
msgid "Number of Layers:"
msgstr "Nombre de Couches:"
#: pcbnew/dialog_general_options.cpp:295
msgid "Max Links:"
msgstr "Liens max:"
#: pcbnew/dialog_general_options.cpp:302
msgid "Auto Save (minuts):"
msgstr "Sauveg. Auto (min)"
#: pcbnew/dialog_general_options.cpp:312
#: eeschema/netlist_control.cpp:94
#: share/dialog_print.cpp:167
msgid "Options:"
msgstr "Options :"
#: pcbnew/dialog_general_options.cpp:316
msgid "Drc ON"
msgstr "Drc ACTIVE"
#: pcbnew/dialog_general_options.cpp:321
msgid "Show Ratsnest"
msgstr "Monter le chevelu gnral"
#: pcbnew/dialog_general_options.cpp:325
msgid "Show Mod Ratsnest"
msgstr "Monter le chevelu du module"
#: pcbnew/dialog_general_options.cpp:329
msgid "Tracks Auto Del"
msgstr "Auto Supp. Pistes"
#: pcbnew/dialog_general_options.cpp:333
msgid "Track 45 Only"
msgstr "Pistes 45 seulement"
#: pcbnew/dialog_general_options.cpp:337
msgid "Segments 45 Only"
msgstr "Segments 45 seulement"
#: pcbnew/dialog_general_options.cpp:341
#: eeschema/dialog_options.cpp:239
#: eeschema/options.cpp:124
msgid "Auto PAN"
msgstr "Auto PAN"
#: pcbnew/dialog_general_options.cpp:346
msgid "Double Segm Track"
msgstr "2 segments pour piste"
#: pcbnew/dialog_general_options.cpp:353
msgid "When creating tracks"
msgstr "En creation de pistes"
#: pcbnew/dialog_general_options.cpp:356
msgid "Magnetic Pads"
msgstr " Pads magntiques"
#: pcbnew/dialog_general_options.cpp:358
msgid "control the capture of the pcb cursor when the mouse cursor enters a pad area"
msgstr "Controle la capture du curseur pcb quand le curseuir souris est sur le pad"
#: pcbnew/tool_modedit.cpp:48
#: eeschema/tool_lib.cpp:119
msgid "Select working library"
msgstr "Slection de la librairie de travail"
#: pcbnew/tool_modedit.cpp:51
msgid "Save Module in working library"
msgstr "Sauver Module en librairie de travail"
#: pcbnew/tool_modedit.cpp:55
msgid "Create new library and save current module"
msgstr "Crer une nouvelle librairie et y sauver le composant"
#: pcbnew/tool_modedit.cpp:60
#: eeschema/tool_lib.cpp:122
msgid "Delete part in current library"
msgstr "Supprimer composant en librairie de travail"
#: pcbnew/tool_modedit.cpp:69
msgid "Load module from lib"
msgstr "Charger un module a partir d'une librairie"
#: pcbnew/tool_modedit.cpp:74
msgid "Load module from current board"
msgstr "Charger module a partir du C.I."
#: pcbnew/tool_modedit.cpp:78
msgid "Update module in current board"
msgstr "Remplacer module dans le C.I."
#: pcbnew/tool_modedit.cpp:82
msgid "Insert module into current board"
msgstr "Placer module dans le C.I."
#: pcbnew/tool_modedit.cpp:87
msgid "import module"
msgstr "Importer Module"
#: pcbnew/tool_modedit.cpp:91
msgid "export module"
msgstr "Exporter Module"
#: pcbnew/tool_modedit.cpp:96
#: eeschema/tool_sch.cpp:87
#: eeschema/tool_lib.cpp:147
msgid "Undo last edition"
msgstr "Defait dernire dition"
#: pcbnew/tool_modedit.cpp:98
#: eeschema/tool_sch.cpp:89
#: eeschema/tool_lib.cpp:149
msgid "Redo the last undo command"
msgstr "Refait la dernire commande defaite"
#: pcbnew/tool_modedit.cpp:103
msgid "Module Properties"
msgstr "Proprits du Module"
#: pcbnew/tool_modedit.cpp:107
msgid "Print Module"
msgstr "Imprimer Module"
#: pcbnew/tool_modedit.cpp:111
#: pcbnew/tool_pcb.cpp:246
#: eeschema/tool_sch.cpp:104
#: eeschema/tool_lib.cpp:170
#: eeschema/tool_viewlib.cpp:70
#: cvpcb/displayframe.cpp:118
#: gerbview/tool_gerber.cpp:260
#: 3d-viewer/3d_toolbar.cpp:43
msgid "zoom + (F1)"
msgstr "zoom + (F1)"
#: pcbnew/tool_modedit.cpp:114
#: pcbnew/tool_pcb.cpp:247
#: eeschema/tool_sch.cpp:107
#: eeschema/tool_lib.cpp:174
#: eeschema/tool_viewlib.cpp:74
#: cvpcb/displayframe.cpp:121
#: gerbview/tool_gerber.cpp:266
#: 3d-viewer/3d_toolbar.cpp:46
msgid "zoom - (F2)"
msgstr "zoom - (F2)"
#: pcbnew/tool_modedit.cpp:117
#: pcbnew/tool_pcb.cpp:248
#: eeschema/tool_sch.cpp:110
#: eeschema/tool_lib.cpp:178
#: eeschema/tool_viewlib.cpp:78
#: cvpcb/displayframe.cpp:124
#: gerbview/tool_gerber.cpp:272
#: 3d-viewer/3d_toolbar.cpp:49
msgid "redraw (F3)"
msgstr "Redessin (F3)"
#: pcbnew/tool_modedit.cpp:120
#: pcbnew/tool_pcb.cpp:250
#: eeschema/tool_sch.cpp:113
#: eeschema/tool_lib.cpp:182
#: gerbview/tool_gerber.cpp:278
#: 3d-viewer/3d_toolbar.cpp:52
msgid "auto zoom"
msgstr "Zoom automatique"
#: pcbnew/tool_modedit.cpp:129
msgid "Module Check"
msgstr "Test module"
#: pcbnew/tool_modedit.cpp:153
msgid "Add Pads"
msgstr "Addition de \"pins\""
#: pcbnew/tool_modedit.cpp:158
#: pcbnew/tool_pcb.cpp:386
#: eeschema/tool_sch.cpp:216
msgid "Add graphic line or polygon"
msgstr "Addition de lignes ou polygones graphiques"
#: pcbnew/tool_modedit.cpp:162
#: pcbnew/tool_pcb.cpp:390
msgid "Add graphic circle"
msgstr "Addition de graphiques (Cercle)"
#: pcbnew/tool_modedit.cpp:166
#: pcbnew/tool_pcb.cpp:394
msgid "Add graphic arc"
msgstr "Addition de graphiques (Arc de Cercle)"
#: pcbnew/tool_modedit.cpp:175
#: pcbnew/modedit.cpp:379
msgid "Place anchor"
msgstr "Place Ancre"
#: pcbnew/tool_modedit.cpp:180
#: pcbnew/tool_pcb.cpp:412
#: eeschema/tool_sch.cpp:225
#: eeschema/tool_lib.cpp:92
#: gerbview/tool_gerber.cpp:369
msgid "Delete items"
msgstr "Suppression d'lments"
#: pcbnew/tool_modedit.cpp:201
#: pcbnew/tool_pcb.cpp:293
#: eeschema/tool_sch.cpp:246
#: gerbview/tool_gerber.cpp:389
msgid "Display Grid OFF"
msgstr "Suppression de l'affichage de la grille"
#: pcbnew/tool_modedit.cpp:205
#: pcbnew/tool_pcb.cpp:295
#: gerbview/tool_gerber.cpp:395
msgid "Display Polar Coord ON"
msgstr "Activer affichage coord Polaires"
#: pcbnew/tool_modedit.cpp:209
#: pcbnew/tool_pcb.cpp:297
#: eeschema/tool_sch.cpp:250
#: gerbview/tool_gerber.cpp:399
msgid "Units = Inch"
msgstr "Units = pouce"
#: pcbnew/tool_modedit.cpp:213
#: pcbnew/tool_pcb.cpp:299
#: eeschema/tool_sch.cpp:254
#: gerbview/tool_gerber.cpp:403
msgid "Units = mm"
msgstr "Units = mm"
#: pcbnew/tool_modedit.cpp:219
#: pcbnew/tool_pcb.cpp:301
#: eeschema/tool_sch.cpp:258
#: gerbview/tool_gerber.cpp:409
msgid "Change Cursor Shape"
msgstr "Slection de la forme du curseur"
#: pcbnew/tool_modedit.cpp:227
#: pcbnew/tool_pcb.cpp:322
msgid "Show Pads Sketch"
msgstr "Afficher pastilles en contour"
#: pcbnew/tool_modedit.cpp:234
msgid "Show Texts Sketch"
msgstr "Afficher textes en contour"
#: pcbnew/tool_modedit.cpp:241
msgid "Show Edges Sketch"
msgstr "Afficher Modules en contour"
#: pcbnew/tool_modedit.cpp:273
#: pcbnew/tool_pcb.cpp:512
#: eeschema/plotps.cpp:168
#: share/zoom.cpp:353
msgid "Auto"
msgstr "Auto"
#: pcbnew/tool_modedit.cpp:277
#, c-format
msgid "Zoom %d"
msgstr "Zoom %d"
#: pcbnew/menubarmodedit.cpp:64
#: pcbnew/tool_modedit.cpp:294
#: pcbnew/menubarpcb.cpp:268
#, c-format
#: eeschema/menubar.cpp:157
msgid "Grid %.1f"
#: cvpcb/tool_cvpcb.cpp:162
msgstr "Grille %.1f"
#: kicad/buildmnu.cpp:204
#: gerbview/tool_gerber.cpp:141
msgid "&About"
msgstr "&Infos logiciel"
#: pcbnew/menubarmodedit.cpp:64
#: pcbnew/tool_modedit.cpp:296
#: pcbnew/menubarpcb.cpp:268
#, c-format
#: eeschema/menubar.cpp:157
msgid "Grid %.3f"
#: cvpcb/tool_cvpcb.cpp:163
msgstr "Grille %.3f"
#: kicad/buildmnu.cpp:204
#: gerbview/tool_gerber.cpp:142
msgid "About this application"
msgstr "Au sujet de cette application"
#: pcbnew/
menubarmodedit.cpp:72
#: pcbnew/
tool_modedit.cpp:299
#: pcbnew/
menubarpcb.cpp:276
#: pcbnew/
tool_pcb.cpp:542
msgid "
3D Display
"
msgid "
User Grid
"
msgstr "
3D Visu
"
msgstr "
Grille perso
"
#: pcbnew/menubarmodedit.cpp:72
#: pcbnew/modedit.cpp:362
#: pcbnew/menubarpcb.cpp:276
msgid "Add Pad"
msgid "Show Board in 3D Mode"
msgstr "Ajouter Pastilles"
msgstr "Visualisation en 3D"
#: pcbnew/m
enubarmodedit.cpp:76
#: pcbnew/m
odedit.cpp:375
#:
pcbnew/menubarpcb.cpp:282
#:
eeschema/schedit.cpp:293
msgid "
&Dimensions
"
msgid "
Add Drawing
"
msgstr "
&Dimension
s"
msgstr "
Ajout d'lments graphique
s"
#: pcbnew/
menubarmodedit.cpp:7
7
#: pcbnew/
controle.cpp:4
7
#
: pcbnew/menubarpcb.cpp:285
#
, c-format
msgid "
&3D Display
"
msgid "
Locate module %s %s
"
msgstr "
&3D Visu
"
msgstr "
Module localis %s %s
"
#: pcbnew/menubarmodedit.cpp:78
#: pcbnew/controle.cpp:88
#: pcbnew/menubarpcb.cpp:286
#, c-format
#: eeschema/menubar.cpp:164
msgid "module %s not found"
#: cvpcb/tool_cvpcb.cpp:169
msgstr "module %s non trouv"
#: kicad/buildmnu.cpp:212
#: gerbview/tool_gerber.cpp:148
msgid "&Help"
msgstr "&Aide"
#: pcbnew/move_or_drag_track.cpp:640
#: pcbnew/controle.cpp:90
msgid "Unable to drag this segment: too many segments connected"
#, c-format
msgstr "Impossible de drag ce segment: trop de segments connects"
msgid "Pin %s (module %s) not found"
msgstr "Pin %s (module %s) non trouve"
#: pcbnew/move_or_drag_track.cpp:690
#: pcbnew/controle.cpp:92
msgid "Unable to drag this segment: two collinear segments"
#, c-format
msgstr "Impossible de drag ce segment: 2 segments aligns"
msgid "Locate Pin %s (module %s)"
msgstr "Pin localise %s (module %s)"
#: pcbnew/menubarpcb.cpp:41
#: pcbnew/menubarpcb.cpp:41
msgid "Load Board"
msgid "Load Board
Ctrl-O
"
msgstr "Charger Circuit Imprim"
msgstr "Charger Circuit Imprim
(Ctrl O)
"
#: pcbnew/menubarpcb.cpp:42
#: pcbnew/menubarpcb.cpp:42
msgid "Delete old Board and Load new Board"
msgid "Delete old Board and Load new Board"
...
@@ -4136,8 +4272,8 @@ msgid "Clear old board and get old version of board"
...
@@ -4136,8 +4272,8 @@ msgid "Clear old board and get old version of board"
msgstr "Effacer C.I. actuel et reprendre ancienne version"
msgstr "Effacer C.I. actuel et reprendre ancienne version"
#: pcbnew/menubarpcb.cpp:73
#: pcbnew/menubarpcb.cpp:73
msgid "&Save board"
msgid "&Save board
Ctrl-S
"
msgstr "Sauver Circuit Imprim"
msgstr "Sauver Circuit Imprim
(Ctrl S)
"
#: pcbnew/menubarpcb.cpp:74
#: pcbnew/menubarpcb.cpp:74
msgid "Save current board"
msgid "Save current board"
...
@@ -4277,7 +4413,6 @@ msgstr "&Sauver Pcbnew Options"
...
@@ -4277,7 +4413,6 @@ msgstr "&Sauver Pcbnew Options"
#: pcbnew/menubarpcb.cpp:176
#: pcbnew/menubarpcb.cpp:176
#: pcbnew/menubarpcb.cpp:212
#: pcbnew/menubarpcb.cpp:212
#: gerbview/tool_gerber.cpp:120
msgid "Save options in current directory"
msgid "Save options in current directory"
msgstr "Sauver les options en rpertoire de travail"
msgstr "Sauver les options en rpertoire de travail"
...
@@ -4386,6 +4521,18 @@ msgstr "&Divers"
...
@@ -4386,6 +4521,18 @@ msgstr "&Divers"
msgid "P&ostprocess"
msgid "P&ostprocess"
msgstr "P&ostprocesseurs"
msgstr "P&ostprocesseurs"
#: pcbnew/moduleframe.cpp:176
msgid "Module Editor: module modified!, Continue ?"
msgstr "Editeur de Module: module modifi! Continuer ?"
#: pcbnew/hotkeys.cpp:127
msgid "Footprint found, but locked"
msgstr "Module trouv, mais verrouill"
#: pcbnew/hotkeys.cpp:248
msgid "Delete module?"
msgstr "Effacer Module?"
#: pcbnew/tool_pcb.cpp:49
#: pcbnew/tool_pcb.cpp:49
msgid ""
msgid ""
"Show active layer selections\n"
"Show active layer selections\n"
...
@@ -4444,9 +4591,8 @@ msgid "Print Board"
...
@@ -4444,9 +4591,8 @@ msgid "Print Board"
msgstr "Imprimer C.I."
msgstr "Imprimer C.I."
#: pcbnew/tool_pcb.cpp:253
#: pcbnew/tool_pcb.cpp:253
#: eeschema/tool_sch.cpp:117
msgid "Find components and texts (Ctrl-F)"
msgid "Find components and texts"
msgstr "Recherche de composants et textes (Ctrl F)"
msgstr "Recherche de composants et textes"
#: pcbnew/tool_pcb.cpp:256
#: pcbnew/tool_pcb.cpp:256
msgid "Read Netlist"
msgid "Read Netlist"
...
@@ -4545,154 +4691,6 @@ msgstr "Zoom "
...
@@ -4545,154 +4691,6 @@ msgstr "Zoom "
msgid "+/- to switch"
msgid "+/- to switch"
msgstr "+/- pour commuter"
msgstr "+/- pour commuter"
#: pcbnew/dialog_general_options.cpp:263
#: gerbview/options.cpp:181
msgid "No Display"
msgstr "Pas d'affichage"
#: pcbnew/dialog_general_options.cpp:266
#: gerbview/options.cpp:183
msgid "Display Polar Coord"
msgstr "Affichage coord Polaires"
#: pcbnew/dialog_general_options.cpp:273
#: eeschema/optionsframe.cpp:135
#: eeschema/dialog_options.cpp:248
#: eeschema/options.cpp:187
#: gerbview/options.cpp:193
msgid "Units"
msgstr "Units"
#: pcbnew/dialog_general_options.cpp:278
#: gerbview/options.cpp:199
msgid "Small"
msgstr "Petit"
#: pcbnew/dialog_general_options.cpp:279
#: gerbview/options.cpp:199
msgid "Big"
msgstr "Grand"
#: pcbnew/dialog_general_options.cpp:281
#: gerbview/options.cpp:200
msgid "Cursor"
msgstr "Curseur"
#: pcbnew/dialog_general_options.cpp:288
msgid "Number of Layers:"
msgstr "Nombre de Couches:"
#: pcbnew/dialog_general_options.cpp:295
msgid "Max Links:"
msgstr "Liens max:"
#: pcbnew/dialog_general_options.cpp:302
msgid "Auto Save (minuts):"
msgstr "Sauveg. Auto (min)"
#: pcbnew/dialog_general_options.cpp:312
#: eeschema/netlist_control.cpp:94
#: share/dialog_print.cpp:167
msgid "Options:"
msgstr "Options :"
#: pcbnew/dialog_general_options.cpp:316
msgid "Drc ON"
msgstr "Drc ACTIVE"
#: pcbnew/dialog_general_options.cpp:321
msgid "Show Ratsnest"
msgstr "Monter le chevelu gnral"
#: pcbnew/dialog_general_options.cpp:325
msgid "Show Mod Ratsnest"
msgstr "Monter le chevelu du module"
#: pcbnew/dialog_general_options.cpp:329
msgid "Tracks Auto Del"
msgstr "Auto Supp. Pistes"
#: pcbnew/dialog_general_options.cpp:333
msgid "Track 45 Only"
msgstr "Pistes 45 seulement"
#: pcbnew/dialog_general_options.cpp:337
msgid "Segments 45 Only"
msgstr "Segments 45 seulement"
#: pcbnew/dialog_general_options.cpp:341
#: eeschema/dialog_options.cpp:239
#: eeschema/options.cpp:124
msgid "Auto PAN"
msgstr "Auto PAN"
#: pcbnew/dialog_general_options.cpp:346
msgid "Double Segm Track"
msgstr "2 segments pour piste"
#: pcbnew/dialog_general_options.cpp:353
msgid "When creating tracks"
msgstr "En creation de pistes"
#: pcbnew/dialog_general_options.cpp:356
msgid "Magnetic Pads"
msgstr " Pads magntiques"
#: pcbnew/dialog_general_options.cpp:358
msgid "control the capture of the pcb cursor when the mouse cursor enters a pad area"
msgstr "Controle la capture du curseur pcb quand le curseuir souris est sur le pad"
#: pcbnew/find.cpp:130
msgid "Marker found"
msgstr "Marqueur trouv"
#: pcbnew/find.cpp:131
#, c-format
msgid "<%s> Found"
msgstr "<%s> trouv"
#: pcbnew/find.cpp:139
msgid "Marker not found"
msgstr "Marqueur non trouv"
#: pcbnew/find.cpp:140
#, c-format
msgid "<%s> Not Found"
msgstr "<%s> Non trouv"
#: pcbnew/find.cpp:232
#: eeschema/dialog_find.cpp:107
msgid "Item to find:"
msgstr "Elment a chercher:"
#: pcbnew/find.cpp:244
msgid "Find Item"
msgstr "Chercher Item"
#: pcbnew/find.cpp:249
msgid "Find Next Item"
msgstr "Chercher Item Suivant"
#: pcbnew/find.cpp:256
msgid "Find Marker"
msgstr "Chercher Marqueur"
#: pcbnew/find.cpp:260
msgid "Find Next Marker"
msgstr "Marqueur Suivant"
#: pcbnew/hotkeys.cpp:129
msgid "Footprint found, but locked"
msgstr "Module trouv, mais verrouill"
#: pcbnew/hotkeys.cpp:130
msgid "Footprint found, but not on this layer"
msgstr "\"Module trouv, mais pas sur cette couche"
#: pcbnew/hotkeys.cpp:251
msgid "Delete module?"
msgstr "Effacer Module?"
#: eeschema/save_schemas.cpp:71
#: eeschema/save_schemas.cpp:71
#: eeschema/files-io.cpp:62
#: eeschema/files-io.cpp:62
#: eeschema/eeload.cpp:56
#: eeschema/eeload.cpp:56
...
@@ -5197,6 +5195,10 @@ msgstr "Appel de CvPcb (Gestion des associations composants/module)"
...
@@ -5197,6 +5195,10 @@ msgstr "Appel de CvPcb (Gestion des associations composants/module)"
msgid "Run Pcbnew"
msgid "Run Pcbnew"
msgstr "Appel de Pcbnew (Editeur de Circuits Imprims)"
msgstr "Appel de Pcbnew (Editeur de Circuits Imprims)"
#: eeschema/tool_sch.cpp:117
msgid "Find components and texts"
msgstr "Recherche de composants et textes"
#: eeschema/tool_sch.cpp:121
#: eeschema/tool_sch.cpp:121
msgid "Netlist generation"
msgid "Netlist generation"
msgstr "Gnration de la netliste"
msgstr "Gnration de la netliste"
...
@@ -8716,10 +8718,6 @@ msgstr "Ext. Fichiers Gerber"
...
@@ -8716,10 +8718,6 @@ msgstr "Ext. Fichiers Gerber"
msgid "DCode File Ext:"
msgid "DCode File Ext:"
msgstr "Ext. Fichiers DCodes"
msgstr "Ext. Fichiers DCodes"
#: gerbview/gerbview.cpp:39
msgid "Gerbview is already running, Continue?"
msgstr "Gerbview est est cours d'excution. Continuer ?"
#: gerbview/dcode.cpp:438
#: gerbview/dcode.cpp:438
msgid "List D-Codes"
msgid "List D-Codes"
msgstr "Liste D-Codes"
msgstr "Liste D-Codes"
...
@@ -8855,6 +8853,10 @@ msgstr "Commande <%c%c> ignor
...
@@ -8855,6 +8853,10 @@ msgstr "Commande <%c%c> ignor
msgid "Too many include files!!"
msgid "Too many include files!!"
msgstr "Trop de fichiers inclus!!"
msgstr "Trop de fichiers inclus!!"
#: gerbview/gerbview.cpp:39
msgid "GerbView is already running. Continue?"
msgstr "Gerbview est est cours d'excution. Continuer ?"
#: gerbview/tool_gerber.cpp:35
#: gerbview/tool_gerber.cpp:35
msgid "Clear and Load gerber file"
msgid "Clear and Load gerber file"
msgstr "Effacer et charger fichier Gerber"
msgstr "Effacer et charger fichier Gerber"
...
@@ -8959,6 +8961,10 @@ msgstr "S
...
@@ -8959,6 +8961,10 @@ msgstr "S
msgid "&Save Gerbview Setup"
msgid "&Save Gerbview Setup"
msgstr "&Sauver Gerbview Options"
msgstr "&Sauver Gerbview Options"
#: gerbview/tool_gerber.cpp:120
msgid "Save application preferences"
msgstr "Sauver prfrences"
#: gerbview/tool_gerber.cpp:129
#: gerbview/tool_gerber.cpp:129
msgid "&List DCodes"
msgid "&List DCodes"
msgstr "&Liste DCodes"
msgstr "&Liste DCodes"
...
...
pcbnew/hotkeys.cpp
View file @
2c0377b0
...
@@ -38,9 +38,12 @@ sous le courseur souris
...
@@ -38,9 +38,12 @@ sous le courseur souris
if
(
hotkey
==
0
)
return
;
if
(
hotkey
==
0
)
return
;
// code Ctrl A = 1, Ctr B = 2 ..., remapped, (more easy to understand in switch)
if
(
hotkey
&
GR_KB_CTRL
)
hotkey
+=
'A'
-
1
;
MODULE
*
module
=
NULL
;
MODULE
*
module
=
NULL
;
hotkey
=
toupper
(
hotkey
);
if
(
hotkey
<=
0xFF
)
hotkey
=
toupper
(
hotkey
);
switch
(
hotkey
)
switch
(
hotkey
)
{
{
case
WXK_DELETE
:
case
WXK_DELETE
:
...
@@ -49,7 +52,6 @@ sous le courseur souris
...
@@ -49,7 +52,6 @@ sous le courseur souris
break
;
break
;
case
WXK_BACK
:
case
WXK_BACK
:
{
if
(
m_ID_current_state
==
ID_TRACK_BUTT
&&
if
(
m_ID_current_state
==
ID_TRACK_BUTT
&&
GetScreen
()
->
m_Active_Layer
<=
CMP_N
)
GetScreen
()
->
m_Active_Layer
<=
CMP_N
)
{
{
...
@@ -74,13 +76,38 @@ sous le courseur souris
...
@@ -74,13 +76,38 @@ sous le courseur souris
}
}
}
}
break
;
break
;
}
case
WXK_END
:
case
WXK_END
:
DrawPanel
->
MouseToCursorSchema
();
DrawPanel
->
MouseToCursorSchema
();
End_Route
(
(
TRACK
*
)
(
GetScreen
()
->
m_CurrentItem
),
DC
);
End_Route
(
(
TRACK
*
)
(
GetScreen
()
->
m_CurrentItem
),
DC
);
break
;
break
;
case
'F'
+
GR_KB_CTRL
:
{
wxCommandEvent
evt
;
evt
.
SetId
(
ID_FIND_ITEMS
);
Process_Special_Functions
(
evt
);
}
break
;
case
(
int
(
'O'
)
+
GR_KB_CTRL
)
:
{
//try not to duplicate save, load code etc.
wxCommandEvent
evt
;
evt
.
SetId
(
ID_LOAD_FILE
);
Files_io
(
evt
);
}
break
;
case
'S'
+
GR_KB_CTRL
:
{
//try not to duplicate save, load code etc.
wxCommandEvent
evt
;
evt
.
SetId
(
ID_SAVE_BOARD
);
Files_io
(
evt
);
}
break
;
case
'V'
:
// Switch to alternate layer and Place a via if a track is in progress
case
'V'
:
// Switch to alternate layer and Place a via if a track is in progress
if
(
m_ID_current_state
!=
ID_TRACK_BUTT
)
return
;
if
(
m_ID_current_state
!=
ID_TRACK_BUTT
)
return
;
if
(
ItemFree
)
if
(
ItemFree
)
...
@@ -101,7 +128,7 @@ sous le courseur souris
...
@@ -101,7 +128,7 @@ sous le courseur souris
case
'L'
:
// toggle module "MODULE_is_LOCKED" status:
case
'L'
:
// toggle module "MODULE_is_LOCKED" status:
// get any module, locked or not locked and toggle its locked status
// get any module, locked or not locked and toggle its locked status
if
(
ItemFree
)
if
(
ItemFree
)
module
=
Locate_Prefered_Module
(
m_Pcb
,
CURSEUR_O
N_GRILLE
|
MATCH_LAYER
);
module
=
Locate_Prefered_Module
(
m_Pcb
,
CURSEUR_O
FF_GRILLE
|
VISIBLE_ONLY
);
else
if
(
GetScreen
()
->
m_CurrentItem
->
m_StructType
==
TYPEMODULE
)
else
if
(
GetScreen
()
->
m_CurrentItem
->
m_StructType
==
TYPEMODULE
)
module
=
(
MODULE
*
)
GetScreen
()
->
m_CurrentItem
;
module
=
(
MODULE
*
)
GetScreen
()
->
m_CurrentItem
;
if
(
module
)
if
(
module
)
...
@@ -120,14 +147,13 @@ sous le courseur souris
...
@@ -120,14 +147,13 @@ sous le courseur souris
if
(
ItemFree
)
if
(
ItemFree
)
{
{
module
=
Locate_Prefered_Module
(
m_Pcb
,
module
=
Locate_Prefered_Module
(
m_Pcb
,
CURSEUR_O
N_GRILLE
|
IGNORE_LOCKED
|
MATCH_LAYER
);
CURSEUR_O
FF_GRILLE
|
IGNORE_LOCKED
|
VISIBLE_ONLY
/*MATCH_LAYER */
);
if
(
module
==
NULL
)
// no footprint found
if
(
module
==
NULL
)
// no footprint found
{
{
module
=
Locate_Prefered_Module
(
m_Pcb
,
CURSEUR_O
N
_GRILLE
);
module
=
Locate_Prefered_Module
(
m_Pcb
,
CURSEUR_O
FF
_GRILLE
);
if
(
module
)
// a footprint is found, but locked or on an other layer
if
(
module
)
// a footprint is found, but locked or on an other layer
{
{
if
(
module
->
IsLocked
()
)
DisplayInfo
(
this
,
_
(
"Footprint found, but locked"
)
);
if
(
module
->
IsLocked
()
)
DisplayInfo
(
this
,
_
(
"Footprint found, but locked"
)
);
else
DisplayInfo
(
this
,
_
(
"Footprint found, but not on this layer"
)
);
module
=
NULL
;
module
=
NULL
;
}
}
}
}
...
...
pcbnew/locate.cpp
View file @
2c0377b0
...
@@ -163,7 +163,7 @@ EDA_BaseStruct * item;
...
@@ -163,7 +163,7 @@ EDA_BaseStruct * item;
{
{
TEXTE_MODULE
*
pt_texte
;
TEXTE_MODULE
*
pt_texte
;
if
(
module
->
m_Layer
!=
LayerSearch
)
continue
;
if
(
module
->
m_Layer
!=
LayerSearch
)
continue
;
pt_texte
=
LocateTexteModule
(
m_Pcb
,
&
module
,
typeloc
);
pt_texte
=
LocateTexteModule
(
m_Pcb
,
&
module
,
typeloc
|
VISIBLE_ONLY
);
if
(
pt_texte
!=
NULL
)
if
(
pt_texte
!=
NULL
)
{
{
Affiche_Infos_E_Texte
(
this
,
module
,
pt_texte
);
Affiche_Infos_E_Texte
(
this
,
module
,
pt_texte
);
...
@@ -176,7 +176,7 @@ EDA_BaseStruct * item;
...
@@ -176,7 +176,7 @@ EDA_BaseStruct * item;
module
=
NULL
;
module
=
NULL
;
{
{
TEXTE_MODULE
*
pt_texte
;
TEXTE_MODULE
*
pt_texte
;
pt_texte
=
LocateTexteModule
(
m_Pcb
,
&
module
,
typeloc
);
pt_texte
=
LocateTexteModule
(
m_Pcb
,
&
module
,
typeloc
|
VISIBLE_ONLY
);
if
(
pt_texte
!=
NULL
)
if
(
pt_texte
!=
NULL
)
{
{
Affiche_Infos_E_Texte
(
this
,
module
,
pt_texte
);
Affiche_Infos_E_Texte
(
this
,
module
,
pt_texte
);
...
@@ -185,7 +185,7 @@ EDA_BaseStruct * item;
...
@@ -185,7 +185,7 @@ EDA_BaseStruct * item;
}
}
/* Search for a footprint */
/* Search for a footprint */
if
(
(
module
=
Locate_Prefered_Module
(
m_Pcb
,
typeloc
))
!=
NULL
)
if
(
(
module
=
Locate_Prefered_Module
(
m_Pcb
,
typeloc
|
VISIBLE_ONLY
))
!=
NULL
)
{
{
module
->
Display_Infos
(
this
);
module
->
Display_Infos
(
this
);
return
module
;
return
module
;
...
@@ -738,6 +738,8 @@ TEXTE_MODULE * LocateTexteModule(BOARD * Pcb, MODULE ** PtModule, int typeloc)
...
@@ -738,6 +738,8 @@ TEXTE_MODULE * LocateTexteModule(BOARD * Pcb, MODULE ** PtModule, int typeloc)
retourne
retourne
- pointeur sur le texte localise ( ou NULL )
- pointeur sur le texte localise ( ou NULL )
- si Ptmodule != NULL: pointeur sur module module ( non modifie sinon )
- si Ptmodule != NULL: pointeur sur module module ( non modifie sinon )
if typeloc bas the flag VISIBLE_ONLY set, only footprints which are "visible" are considered
*/
*/
{
{
EDA_BaseStruct
*
PtStruct
;
EDA_BaseStruct
*
PtStruct
;
...
@@ -755,6 +757,13 @@ wxPoint ref_pos;
...
@@ -755,6 +757,13 @@ wxPoint ref_pos;
for
(
;
module
!=
NULL
;
module
=
(
MODULE
*
)
module
->
Pnext
)
for
(
;
module
!=
NULL
;
module
=
(
MODULE
*
)
module
->
Pnext
)
{
{
if
(
(
typeloc
&
VISIBLE_ONLY
)
)
{
int
layer
=
module
->
m_Layer
;
if
(
layer
==
ADHESIVE_N_CU
||
layer
==
SILKSCREEN_N_CU
)
layer
=
CUIVRE_N
;
else
if
(
layer
==
ADHESIVE_N_CMP
||
layer
==
SILKSCREEN_N_CMP
)
layer
=
CMP_N
;
if
(
!
IsModuleLayerVisible
(
layer
)
)
continue
;
}
pt_txt_mod
=
module
->
m_Reference
;
pt_txt_mod
=
module
->
m_Reference
;
/* la souris est-elle dans le rectangle autour du texte*/
/* la souris est-elle dans le rectangle autour du texte*/
if
(
pt_txt_mod
->
Locate
(
ref_pos
)
)
if
(
pt_txt_mod
->
Locate
(
ref_pos
)
)
...
...
pcbnew/onrightclick.cpp
View file @
2c0377b0
...
@@ -117,9 +117,9 @@ double value;
...
@@ -117,9 +117,9 @@ double value;
/****************************************************************************/
/****************************************************************************/
void
WinEDA_PcbFrame
::
OnRightClick
(
const
wxPoint
&
MousePos
,
wxMenu
*
PopMenu
)
void
WinEDA_PcbFrame
::
OnRightClick
(
const
wxPoint
&
MousePos
,
wxMenu
*
PopMenu
)
/****************************************************************************/
/****************************************************************************/
/*
Prepare le menu PopUp affich� par un click sur le bouton droit
/*
Create the PopUp menu (click on right mouse button)
de la souris.
de la souris.
Ce menu est ensuite compl�t� par la liste des commandes de ZOOM
The ZOOM menu is added to this menu
*/
*/
{
{
EDA_BaseStruct
*
DrawStruct
=
m_CurrentScreen
->
m_CurrentItem
;
EDA_BaseStruct
*
DrawStruct
=
m_CurrentScreen
->
m_CurrentItem
;
...
@@ -137,14 +137,14 @@ wxClientDC dc(DrawPanel);
...
@@ -137,14 +137,14 @@ wxClientDC dc(DrawPanel);
{
{
if
(
m_HTOOL_current_state
==
ID_TOOLBARH_PCB_AUTOPLACE
)
if
(
m_HTOOL_current_state
==
ID_TOOLBARH_PCB_AUTOPLACE
)
{
{
DrawStruct
=
Locate_Prefered_Module
(
m_Pcb
,
CURSEUR_OFF_GRILLE
);
DrawStruct
=
Locate_Prefered_Module
(
m_Pcb
,
CURSEUR_OFF_GRILLE
|
VISIBLE_ONLY
);
if
(
DrawStruct
)
((
MODULE
*
)
DrawStruct
)
->
Display_Infos
(
this
);
if
(
DrawStruct
)
((
MODULE
*
)
DrawStruct
)
->
Display_Infos
(
this
);
else
DrawStruct
=
PcbGeneralLocateAndDisplay
();
else
DrawStruct
=
PcbGeneralLocateAndDisplay
();
}
}
else
DrawStruct
=
PcbGeneralLocateAndDisplay
();
else
DrawStruct
=
PcbGeneralLocateAndDisplay
();
}
}
//
Si commande en cours: affichage fin de commande
//
If command in progress: Put the Cancel command (if needed) and End command
if
(
m_ID_current_state
)
if
(
m_ID_current_state
)
{
{
if
(
DrawStruct
&&
DrawStruct
->
m_Flags
)
if
(
DrawStruct
&&
DrawStruct
->
m_Flags
)
...
@@ -187,7 +187,7 @@ wxClientDC dc(DrawPanel);
...
@@ -187,7 +187,7 @@ wxClientDC dc(DrawPanel);
if
(
!
flags
)
if
(
!
flags
)
{
{
ADD_MENUITEM
(
PopMenu
,
ID_POPUP_PCB_GET_AND_MOVE_MODULE_REQUEST
,
ADD_MENUITEM
(
PopMenu
,
ID_POPUP_PCB_GET_AND_MOVE_MODULE_REQUEST
,
_
(
"
Footprint Get and Move (F)
"
),
Move_Module_xpm
);
_
(
"
Get and Move Footprint
"
),
Move_Module_xpm
);
}
}
if
(
DrawStruct
)
if
(
DrawStruct
)
{
{
...
@@ -200,7 +200,7 @@ wxClientDC dc(DrawPanel);
...
@@ -200,7 +200,7 @@ wxClientDC dc(DrawPanel);
if
(
m_HTOOL_current_state
==
ID_TOOLBARH_PCB_AUTOPLACE
)
if
(
m_HTOOL_current_state
==
ID_TOOLBARH_PCB_AUTOPLACE
)
{
{
PopMenu
->
AppendSeparator
();
PopMenu
->
AppendSeparator
();
ADD_MENUITEM
(
PopMenu
,
ID_POPUP_PCB_AUTOPLACE_FIXE_MODULE
,
_
(
"
Fix
Module"
),
ADD_MENUITEM
(
PopMenu
,
ID_POPUP_PCB_AUTOPLACE_FIXE_MODULE
,
_
(
"
Lock
Module"
),
Locked_xpm
);
Locked_xpm
);
ADD_MENUITEM
(
PopMenu
,
ID_POPUP_PCB_AUTOPLACE_FREE_MODULE
,
_
(
"Free Module"
),
ADD_MENUITEM
(
PopMenu
,
ID_POPUP_PCB_AUTOPLACE_FREE_MODULE
,
_
(
"Free Module"
),
Unlocked_xpm
);
Unlocked_xpm
);
...
...
share/drawpanel.cpp
View file @
2c0377b0
...
@@ -900,12 +900,10 @@ bool escape = FALSE;
...
@@ -900,12 +900,10 @@ bool escape = FALSE;
break
;
break
;
}
}
if
(
event
.
ControlDown
()
)
localkey
|=
GR_KB_CTRL
;
if
(
event
.
ControlDown
()
)
localkey
|=
GR_KB_CTRL
;
if
(
event
.
AltDown
()
)
localkey
|=
GR_KB_ALT
;
if
(
event
.
AltDown
()
)
localkey
|=
GR_KB_ALT
;
if
(
event
.
ShiftDown
()
&&
(
key
>
256
)
)
localkey
|=
GR_KB_SHIFT
;
if
(
event
.
ShiftDown
()
&&
(
key
>
256
)
)
localkey
|=
GR_KB_SHIFT
;
wxClientDC
DC
(
this
);
wxClientDC
DC
(
this
);
BASE_SCREEN
*
Screen
=
GetScreen
();
BASE_SCREEN
*
Screen
=
GetScreen
();
...
@@ -925,6 +923,10 @@ BASE_SCREEN * Screen = GetScreen();
...
@@ -925,6 +923,10 @@ BASE_SCREEN * Screen = GetScreen();
}
}
m_Parent
->
GeneralControle
(
&
DC
,
Screen
->
m_MousePositionInPixels
);
m_Parent
->
GeneralControle
(
&
DC
,
Screen
->
m_MousePositionInPixels
);
#if 0
event.Skip(); // Allow menu shortcut processing
#endif
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment