Commit 9eba4f95 authored by charras's avatar charras

Solved a bug when creating a new zone outline that could crash pcbnew

parent 544ca4c9
...@@ -5,6 +5,14 @@ Started 2007-June-11 ...@@ -5,6 +5,14 @@ Started 2007-June-11
Please add newer entries at the top, list the date and your name with Please add newer entries at the top, list the date and your name with
email address. email address.
2008-oct-11 UPDATE Jean-Pierre Charras <jean-pierre.charras@inpg.fr>
================================================================================
+pcbnew:
Solved a bug when creating a new zone outline that could crash pcbnew
More about copper zones filled without grid (by polygons)
Currently for tests only (work in progress).
now working: Thermal reliefs parameters can be set.
2008-oct-11 UPDATE Jean-Pierre Charras <jean-pierre.charras@inpg.fr> 2008-oct-11 UPDATE Jean-Pierre Charras <jean-pierre.charras@inpg.fr>
================================================================================ ================================================================================
+pcbnew: +pcbnew:
......
No preview for this file type
...@@ -2,8 +2,8 @@ msgid "" ...@@ -2,8 +2,8 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: kicad\n" "Project-Id-Version: kicad\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2008-10-09 22:04+0100\n" "POT-Creation-Date: 2008-10-16 20:00+0100\n"
"PO-Revision-Date: 2008-10-15 13:53+0100\n" "PO-Revision-Date: 2008-10-16 20:06+0100\n"
"Last-Translator: \n" "Last-Translator: \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"
...@@ -36,14 +36,11 @@ msgstr "Net Code" ...@@ -36,14 +36,11 @@ msgstr "Net Code"
#: pcbnew/affiche.cpp:53 #: pcbnew/affiche.cpp:53
#: pcbnew/class_board.cpp:551 #: pcbnew/class_board.cpp:551
#: pcbnew/class_module.cpp:1092
#: pcbnew/menubarpcb.cpp:240
msgid "Pads" msgid "Pads"
msgstr "Pads" msgstr "Pads"
#: pcbnew/affiche.cpp:67 #: pcbnew/affiche.cpp:67
#: pcbnew/class_board.cpp:561 #: pcbnew/class_board.cpp:561
#: pcbnew/plotps.cpp:363
msgid "Vias" msgid "Vias"
msgstr "Vias" msgstr "Vias"
...@@ -52,7 +49,6 @@ msgid "Net Length" ...@@ -52,7 +49,6 @@ msgid "Net Length"
msgstr "Long. Net:" msgstr "Long. Net:"
#: pcbnew/automove.cpp:207 #: pcbnew/automove.cpp:207
#: pcbnew/xchgmod.cpp:612
msgid "No Modules!" msgid "No Modules!"
msgstr "Pas de Modules" msgstr "Pas de Modules"
...@@ -150,62 +146,10 @@ msgid "Include egde layer" ...@@ -150,62 +146,10 @@ msgid "Include egde layer"
msgstr "Inclure couche Edge" msgstr "Inclure couche Edge"
#: pcbnew/block.cpp:154 #: pcbnew/block.cpp:154
#: pcbnew/cotation.cpp:109
#: pcbnew/dialog_edit_module.cpp:122
#: pcbnew/dialog_copper_zones_frame.cpp:107
#: pcbnew/dialog_orient_footprints.cpp:177
#: pcbnew/globaleditpad.cpp:108
#: pcbnew/muonde.cpp:352
#: pcbnew/mirepcb.cpp:103
#: pcbnew/modedit_onclick.cpp:192
#: pcbnew/modedit_onclick.cpp:224
#: pcbnew/pcbtexte.cpp:119
#: pcbnew/sel_layer.cpp:163
#: pcbnew/sel_layer.cpp:322
#: pcbnew/set_color.cpp:357
#: pcbnew/dialog_gendrill.cpp:297
#: pcbnew/onrightclick.cpp:122
#: pcbnew/onrightclick.cpp:136
#: pcbnew/dialog_non_copper_zones_properties.cpp:47
#: eeschema/onrightclick.cpp:98
#: eeschema/onrightclick.cpp:110
#: eeschema/sheetlab.cpp:98
#: eeschema/eelayer.cpp:255
#: eeschema/libedit_onrightclick.cpp:42
#: eeschema/libedit_onrightclick.cpp:57
#: gerbview/onrightclick.cpp:39
#: gerbview/onrightclick.cpp:58
#: gerbview/options.cpp:169
#: gerbview/options.cpp:293
#: gerbview/reglage.cpp:112
#: gerbview/set_color.cpp:329
#: common/displlst.cpp:111
#: common/selcolor.cpp:171
#: common/get_component_dialog.cpp:121
#: share/svg_print.cpp:239
msgid "Cancel" msgid "Cancel"
msgstr "Annuler" msgstr "Annuler"
#: pcbnew/block.cpp:157 #: pcbnew/block.cpp:157
#: pcbnew/cotation.cpp:105
#: pcbnew/dialog_edit_module.cpp:118
#: pcbnew/dialog_orient_footprints.cpp:174
#: pcbnew/muonde.cpp:348
#: pcbnew/mirepcb.cpp:99
#: pcbnew/pcbtexte.cpp:114
#: pcbnew/sel_layer.cpp:159
#: pcbnew/sel_layer.cpp:318
#: pcbnew/set_color.cpp:353
#: pcbnew/dialog_gendrill.cpp:292
#: pcbnew/dialog_non_copper_zones_properties.cpp:43
#: eeschema/sheetlab.cpp:94
#: eeschema/eelayer.cpp:251
#: gerbview/options.cpp:165
#: gerbview/options.cpp:289
#: gerbview/reglage.cpp:108
#: gerbview/set_color.cpp:325
#: common/displlst.cpp:106
#: common/get_component_dialog.cpp:112
msgid "OK" msgid "OK"
msgstr "OK" msgstr "OK"
...@@ -254,48 +198,30 @@ msgid "Connect" ...@@ -254,48 +198,30 @@ msgid "Connect"
msgstr "Connect" msgstr "Connect"
#: pcbnew/class_board.cpp:576 #: pcbnew/class_board.cpp:576
#: eeschema/eelayer.h:115
msgid "NoConn" msgid "NoConn"
msgstr "Non Conn" msgstr "Non Conn"
#: pcbnew/class_board_item.cpp:23 #: pcbnew/class_board_item.cpp:23
#: pcbnew/dialog_display_options.cpp:221
#: pcbnew/dialog_display_options.cpp:229
#: pcbnew/dialog_display_options.cpp:266
#: pcbnew/dialog_copper_zones_frame.cpp:77
#: pcbnew/pcbplot.cpp:415
#: pcbnew/dialog_non_copper_zones_properties.cpp:28
#: gerbview/options.cpp:321
msgid "Line" msgid "Line"
msgstr "Ligne" msgstr "Ligne"
#: pcbnew/class_board_item.cpp:24 #: pcbnew/class_board_item.cpp:24
#: pcbnew/dialog_pad_edit.cpp:198
msgid "Rect" msgid "Rect"
msgstr "Rect" msgstr "Rect"
#: pcbnew/class_board_item.cpp:25 #: pcbnew/class_board_item.cpp:25
#: pcbnew/class_drawsegment.cpp:311
msgid "Arc" msgid "Arc"
msgstr "Arc" msgstr "Arc"
#: pcbnew/class_board_item.cpp:26 #: pcbnew/class_board_item.cpp:26
#: pcbnew/class_drawsegment.cpp:307
#: pcbnew/class_track.cpp:879
#: pcbnew/dialog_pad_edit.cpp:176
#: pcbnew/dialog_pad_edit.cpp:196
msgid "Circle" msgid "Circle"
msgstr "Cercle" msgstr "Cercle"
#: pcbnew/class_board_item.cpp:57 #: pcbnew/class_board_item.cpp:57
#: pcbnew/class_pad.cpp:909
msgid "Net" msgid "Net"
msgstr "Net" msgstr "Net"
#: pcbnew/class_board_item.cpp:62 #: pcbnew/class_board_item.cpp:62
#: eeschema/dialog_build_BOM.cpp:298
#: eeschema/component_class.cpp:110
#: eeschema/edit_component_in_schematic.cpp:837
msgid "Footprint" msgid "Footprint"
msgstr "Module" msgstr "Module"
...@@ -339,20 +265,10 @@ msgid "Pcb Text" ...@@ -339,20 +265,10 @@ msgid "Pcb Text"
msgstr "Texte Pcb" msgstr "Texte Pcb"
#: pcbnew/class_board_item.cpp:100 #: pcbnew/class_board_item.cpp:100
#: pcbnew/dialog_netlist.cpp:162
#: eeschema/dialog_create_component.cpp:167
#: eeschema/onrightclick.cpp:307
#: eeschema/edit_component_in_schematic.cpp:759
#: eeschema/eelayer.h:152
msgid "Reference" msgid "Reference"
msgstr "Référence" msgstr "Référence"
#: pcbnew/class_board_item.cpp:104 #: pcbnew/class_board_item.cpp:104
#: pcbnew/class_edge_mod.cpp:287
#: pcbnew/class_text_mod.cpp:488
#: eeschema/component_class.cpp:109
#: eeschema/edit_component_in_schematic.cpp:797
#: eeschema/eelayer.h:158
msgid "Value" msgid "Value"
msgstr "Valeur" msgstr "Valeur"
...@@ -363,8 +279,6 @@ msgid " of " ...@@ -363,8 +279,6 @@ msgid " of "
msgstr " de " msgstr " de "
#: pcbnew/class_board_item.cpp:109 #: pcbnew/class_board_item.cpp:109
#: pcbnew/class_text_mod.cpp:488
#: pcbnew/class_text_mod.cpp:497
msgid "Text" msgid "Text"
msgstr "Texte" msgstr "Texte"
...@@ -373,24 +287,19 @@ msgid "Graphic" ...@@ -373,24 +287,19 @@ msgid "Graphic"
msgstr "Graphique" msgstr "Graphique"
#: pcbnew/class_board_item.cpp:127 #: pcbnew/class_board_item.cpp:127
#: pcbnew/class_track.cpp:841
#: pcbnew/pcbframe.cpp:467
msgid "Track" msgid "Track"
msgstr "Piste" msgstr "Piste"
#: pcbnew/class_board_item.cpp:134 #: pcbnew/class_board_item.cpp:134
#: pcbnew/class_board_item.cpp:205 #: pcbnew/class_board_item.cpp:205
#: pcbnew/dialog_copper_zones_frame.cpp:143
msgid "Net:" msgid "Net:"
msgstr "Net:" msgstr "Net:"
#: pcbnew/class_board_item.cpp:139 #: pcbnew/class_board_item.cpp:139
#: pcbnew/class_zone.cpp:759
msgid "Zone Outline" msgid "Zone Outline"
msgstr "Contour de Zone" msgstr "Contour de Zone"
#: pcbnew/class_board_item.cpp:144 #: pcbnew/class_board_item.cpp:144
#: pcbnew/class_zone.cpp:763
msgid "(Cutout)" msgid "(Cutout)"
msgstr "(Cutout)" msgstr "(Cutout)"
...@@ -399,17 +308,14 @@ msgid "Not on copper layer" ...@@ -399,17 +308,14 @@ msgid "Not on copper layer"
msgstr "Pas sur Couches Cuivre" msgstr "Pas sur Couches Cuivre"
#: pcbnew/class_board_item.cpp:167 #: pcbnew/class_board_item.cpp:167
#: pcbnew/class_zone.cpp:785
msgid "Not Found" msgid "Not Found"
msgstr " Non Trouvé" msgstr " Non Trouvé"
#: pcbnew/class_board_item.cpp:173 #: pcbnew/class_board_item.cpp:173
#: pcbnew/class_track.cpp:845
msgid "Zone" msgid "Zone"
msgstr "Zone" msgstr "Zone"
#: pcbnew/class_board_item.cpp:191 #: pcbnew/class_board_item.cpp:191
#: pcbnew/pcbframe.cpp:499
msgid "Via" msgid "Via"
msgstr "Via" msgstr "Via"
...@@ -418,12 +324,10 @@ msgid "Blind/Buried" ...@@ -418,12 +324,10 @@ msgid "Blind/Buried"
msgstr "Borgne/Aveugle" msgstr "Borgne/Aveugle"
#: pcbnew/class_board_item.cpp:197 #: pcbnew/class_board_item.cpp:197
#: pcbnew/pcbnew.h:292
msgid "Micro Via" msgid "Micro Via"
msgstr "Micro Via" msgstr "Micro Via"
#: pcbnew/class_board_item.cpp:220 #: pcbnew/class_board_item.cpp:220
#: pcbnew/class_marker.cpp:133
msgid "Marker" msgid "Marker"
msgstr "Marqueur" msgstr "Marqueur"
...@@ -443,8 +347,7 @@ msgstr "dimension" ...@@ -443,8 +347,7 @@ msgstr "dimension"
#: pcbnew/class_marker.cpp:133 #: pcbnew/class_marker.cpp:133
#: pcbnew/class_text_mod.cpp:503 #: pcbnew/class_text_mod.cpp:503
#: pcbnew/class_track.cpp:852 #: pcbnew/class_track.cpp:852
#: pcbnew/class_zone.cpp:766 #: pcbnew/class_zone.cpp:774
#: gerbview/affiche.cpp:94
msgid "Type" msgid "Type"
msgstr "Type" msgstr "Type"
...@@ -467,10 +370,7 @@ msgstr "Segment" ...@@ -467,10 +370,7 @@ msgstr "Segment"
#: pcbnew/class_pcb_text.cpp:190 #: pcbnew/class_pcb_text.cpp:190
#: pcbnew/class_text_mod.cpp:516 #: pcbnew/class_text_mod.cpp:516
#: pcbnew/class_track.cpp:909 #: pcbnew/class_track.cpp:909
#: pcbnew/class_zone.cpp:800 #: pcbnew/class_zone.cpp:808
#: pcbnew/dialog_edit_module.cpp:262
#: pcbnew/sel_layer.cpp:146
#: gerbview/affiche.cpp:110
msgid "Layer" msgid "Layer"
msgstr "Couche" msgstr "Couche"
...@@ -479,19 +379,10 @@ msgstr "Couche" ...@@ -479,19 +379,10 @@ msgstr "Couche"
#: pcbnew/class_pcb_text.cpp:204 #: pcbnew/class_pcb_text.cpp:204
#: pcbnew/class_text_mod.cpp:528 #: pcbnew/class_text_mod.cpp:528
#: pcbnew/class_track.cpp:932 #: pcbnew/class_track.cpp:932
#: pcbnew/cotation.cpp:129
#: pcbnew/dialog_edit_mod_text.cpp:254
#: pcbnew/mirepcb.cpp:113
#: pcbnew/pcbtexte.cpp:133
#: eeschema/affiche.cpp:188
#: eeschema/dialog_cmp_graphic_properties.cpp:189
#: gerbview/affiche.cpp:52
#: gerbview/affiche.cpp:114
msgid "Width" msgid "Width"
msgstr "Epaisseur" msgstr "Epaisseur"
#: pcbnew/class_drc_item.cpp:39 #: pcbnew/class_drc_item.cpp:39
#: pcbnew/dialog_drc.cpp:484
msgid "Unconnected pads" msgid "Unconnected pads"
msgstr "Pads non connectés" msgstr "Pads non connectés"
...@@ -559,7 +450,6 @@ msgstr "Seg" ...@@ -559,7 +450,6 @@ msgstr "Seg"
#: pcbnew/class_module.cpp:1107 #: pcbnew/class_module.cpp:1107
#: pcbnew/class_pad.cpp:903 #: pcbnew/class_pad.cpp:903
#: pcbnew/class_text_mod.cpp:494 #: pcbnew/class_text_mod.cpp:494
#: cvpcb/setvisu.cpp:31
msgid "Module" msgid "Module"
msgstr "Module" msgstr "Module"
...@@ -596,9 +486,6 @@ msgstr "Stat" ...@@ -596,9 +486,6 @@ msgstr "Stat"
#: pcbnew/class_pad.cpp:1035 #: pcbnew/class_pad.cpp:1035
#: pcbnew/class_pcb_text.cpp:201 #: pcbnew/class_pcb_text.cpp:201
#: pcbnew/class_text_mod.cpp:525 #: pcbnew/class_text_mod.cpp:525
#: pcbnew/dialog_edit_module.cpp:273
#: eeschema/affiche.cpp:117
#: gerbview/affiche.cpp:49
msgid "Orient" msgid "Orient"
msgstr "Orient" msgstr "Orient"
...@@ -625,14 +512,12 @@ msgstr "RefP" ...@@ -625,14 +512,12 @@ msgstr "RefP"
#: pcbnew/class_pad.cpp:1006 #: pcbnew/class_pad.cpp:1006
#: pcbnew/class_pcb_text.cpp:207 #: pcbnew/class_pcb_text.cpp:207
#: pcbnew/class_text_mod.cpp:531 #: pcbnew/class_text_mod.cpp:531
#: gerbview/affiche.cpp:55
msgid "H Size" msgid "H Size"
msgstr "Taille H" msgstr "Taille H"
#: pcbnew/class_pad.cpp:1010 #: pcbnew/class_pad.cpp:1010
#: pcbnew/class_pcb_text.cpp:210 #: pcbnew/class_pcb_text.cpp:210
#: pcbnew/class_text_mod.cpp:534 #: pcbnew/class_text_mod.cpp:534
#: gerbview/affiche.cpp:58
msgid "V Size" msgid "V Size"
msgstr "Taille V" msgstr "Taille V"
...@@ -655,38 +540,25 @@ msgid "Y pos" ...@@ -655,38 +540,25 @@ msgid "Y pos"
msgstr "Y pos" msgstr "Y pos"
#: pcbnew/class_pcb_text.cpp:186 #: pcbnew/class_pcb_text.cpp:186
#: gerbview/affiche.cpp:29
msgid "COTATION" msgid "COTATION"
msgstr "COTATION" msgstr "COTATION"
#: pcbnew/class_pcb_text.cpp:188 #: pcbnew/class_pcb_text.cpp:188
#: gerbview/affiche.cpp:32
msgid "PCB Text" msgid "PCB Text"
msgstr "Texte Pcb" msgstr "Texte Pcb"
#: pcbnew/class_pcb_text.cpp:194 #: pcbnew/class_pcb_text.cpp:194
#: pcbnew/class_text_mod.cpp:522 #: pcbnew/class_text_mod.cpp:522
#: pcbnew/cotation.cpp:113
#: pcbnew/modedit_onclick.cpp:243
#: pcbnew/pcbtexte.cpp:180
#: gerbview/affiche.cpp:40
#: share/dialog_print.cpp:198
msgid "Mirror" msgid "Mirror"
msgstr "Miroir" msgstr "Miroir"
#: pcbnew/class_pcb_text.cpp:196 #: pcbnew/class_pcb_text.cpp:196
#: pcbnew/class_text_mod.cpp:506 #: pcbnew/class_text_mod.cpp:506
#: pcbnew/dialog_display_options.cpp:275
#: eeschema/dialog_options.cpp:280
#: gerbview/affiche.cpp:43
msgid "No" msgid "No"
msgstr "Non" msgstr "Non"
#: pcbnew/class_pcb_text.cpp:198 #: pcbnew/class_pcb_text.cpp:198
#: pcbnew/class_text_mod.cpp:508 #: pcbnew/class_text_mod.cpp:508
#: pcbnew/dialog_display_options.cpp:274
#: eeschema/dialog_options.cpp:279
#: gerbview/affiche.cpp:45
msgid "Yes" msgid "Yes"
msgstr "Oui" msgstr "Oui"
...@@ -695,29 +567,20 @@ msgid "Ref." ...@@ -695,29 +567,20 @@ msgid "Ref."
msgstr "Ref." msgstr "Ref."
#: pcbnew/class_text_mod.cpp:509 #: pcbnew/class_text_mod.cpp:509
#: pcbnew/cotation.cpp:114
#: pcbnew/dialog_edit_mod_text.cpp:291
#: pcbnew/pcbtexte.cpp:181
#: pcbnew/dialog_general_options.cpp:289
#: eeschema/affiche.cpp:92
#: gerbview/options.cpp:176
#: gerbview/tool_gerber.cpp:113
msgid "Display" msgid "Display"
msgstr "Affichage" msgstr "Affichage"
#: pcbnew/class_track.cpp:868 #: pcbnew/class_track.cpp:868
#: pcbnew/class_zone.cpp:788 #: pcbnew/class_zone.cpp:796
#: pcbnew/zones_by_polygon.cpp:897
msgid "NetName" msgid "NetName"
msgstr "NetName" msgstr "NetName"
#: pcbnew/class_track.cpp:873 #: pcbnew/class_track.cpp:873
#: pcbnew/class_zone.cpp:796 #: pcbnew/class_zone.cpp:804
msgid "NetCode" msgid "NetCode"
msgstr "NetCode" msgstr "NetCode"
#: pcbnew/class_track.cpp:881 #: pcbnew/class_track.cpp:881
#: pcbnew/dialog_pad_edit.cpp:205
msgid "Standard" msgid "Standard"
msgstr "Standard" msgstr "Standard"
...@@ -725,27 +588,27 @@ msgstr "Standard" ...@@ -725,27 +588,27 @@ msgstr "Standard"
msgid "Diam" msgid "Diam"
msgstr "Diam" msgstr "Diam"
#: pcbnew/class_zone.cpp:791 #: pcbnew/class_zone.cpp:799
msgid "Non Copper Zone" msgid "Non Copper Zone"
msgstr "Zone non Cuivre" msgstr "Zone non Cuivre"
#: pcbnew/class_zone.cpp:804 #: pcbnew/class_zone.cpp:812
msgid "Corners" msgid "Corners"
msgstr "Sommets" msgstr "Sommets"
#: pcbnew/class_zone.cpp:810 #: pcbnew/class_zone.cpp:818
msgid "No Grid" msgid "No Grid"
msgstr "Pas de Grille" msgstr "Pas de Grille"
#: pcbnew/class_zone.cpp:811 #: pcbnew/class_zone.cpp:819
msgid "Fill Grid" msgid "Fill Grid"
msgstr "Grille de Remplissage" msgstr "Grille de Remplissage"
#: pcbnew/class_zone.cpp:816 #: pcbnew/class_zone.cpp:824
msgid "Hatch lines" msgid "Hatch lines"
msgstr "Lignes de Hachure" msgstr "Lignes de Hachure"
#: pcbnew/class_zone.cpp:822 #: pcbnew/class_zone.cpp:830
msgid "Corners in DrawList" msgid "Corners in DrawList"
msgstr "Sommets en Liste de dessin" msgstr "Sommets en Liste de dessin"
...@@ -770,10 +633,6 @@ msgid "Merge" ...@@ -770,10 +633,6 @@ msgid "Merge"
msgstr "Merge" msgstr "Merge"
#: pcbnew/clean.cpp:464 #: pcbnew/clean.cpp:464
#: pcbnew/dialog_pad_edit.cpp:186
#: eeschema/dialog_edit_component_in_schematic.cpp:172
#: eeschema/dialog_erc.cpp:193
#: eeschema/dialog_erc.cpp:197
msgid "0" msgid "0"
msgstr "0" msgstr "0"
...@@ -877,7 +736,6 @@ msgstr "" ...@@ -877,7 +736,6 @@ msgstr ""
" %s's \"texte module\" de %s." " %s's \"texte module\" de %s."
#: pcbnew/controle.cpp:172 #: pcbnew/controle.cpp:172
#: pcbnew/modedit.cpp:76
msgid "Selection Clarification" msgid "Selection Clarification"
msgstr "Clarification de la Sélection" msgstr "Clarification de la Sélection"
...@@ -888,30 +746,15 @@ msgstr "Propriétés des Cotes" ...@@ -888,30 +746,15 @@ msgstr "Propriétés des Cotes"
#: pcbnew/cotation.cpp:113 #: pcbnew/cotation.cpp:113
#: pcbnew/dialog_edit_module.cpp:270 #: pcbnew/dialog_edit_module.cpp:270
#: pcbnew/dialog_edit_module.cpp:316 #: pcbnew/dialog_edit_module.cpp:316
#: pcbnew/muonde.cpp:360
#: pcbnew/pcbtexte.cpp:180
#: eeschema/onrightclick.cpp:293
#: eeschema/dialog_edit_component_in_schematic.cpp:181
#: eeschema/dialog_options.cpp:247
#: eeschema/component_wizard/component_setup_frame.cpp:50
msgid "Normal" msgid "Normal"
msgstr "Normal" msgstr "Normal"
#: pcbnew/cotation.cpp:125 #: pcbnew/cotation.cpp:125
#: pcbnew/muonde.cpp:367
#: pcbnew/mirepcb.cpp:108
#: pcbnew/pcbtexte.cpp:129
#: eeschema/sheet.cpp:177
#: eeschema/sheet.cpp:183
#: eeschema/pinedit-dialog.cpp:208
#: eeschema/pinedit-dialog.cpp:214
#: common/wxwineda.cpp:91
msgid "Size" msgid "Size"
msgstr "Taille " msgstr "Taille "
#: pcbnew/cotation.cpp:133 #: pcbnew/cotation.cpp:133
#: pcbnew/dialog_copper_zones_frame.cpp:150 #: pcbnew/dialog_copper_zones_frame.cpp:198
#: gerbview/affiche.cpp:37
msgid "Layer:" msgid "Layer:"
msgstr "Couche:" msgstr "Couche:"
...@@ -949,9 +792,6 @@ msgstr "Pistes et vias" ...@@ -949,9 +792,6 @@ msgstr "Pistes et vias"
#: pcbnew/dialog_display_options.cpp:231 #: pcbnew/dialog_display_options.cpp:231
#: pcbnew/dialog_display_options.cpp:244 #: pcbnew/dialog_display_options.cpp:244
#: pcbnew/dialog_display_options.cpp:268 #: pcbnew/dialog_display_options.cpp:268
#: pcbnew/pcbplot.cpp:415
#: gerbview/options.cpp:298
#: gerbview/options.cpp:321
msgid "Sketch" msgid "Sketch"
msgstr "Contour" msgstr "Contour"
...@@ -960,10 +800,6 @@ msgstr "Contour" ...@@ -960,10 +800,6 @@ msgstr "Contour"
#: pcbnew/dialog_display_options.cpp:230 #: pcbnew/dialog_display_options.cpp:230
#: pcbnew/dialog_display_options.cpp:245 #: pcbnew/dialog_display_options.cpp:245
#: pcbnew/dialog_display_options.cpp:267 #: pcbnew/dialog_display_options.cpp:267
#: pcbnew/pcbplot.cpp:415
#: eeschema/dialog_cmp_graphic_properties.cpp:169
#: gerbview/options.cpp:298
#: gerbview/options.cpp:321
msgid "Filled" msgid "Filled"
msgstr "Plein" msgstr "Plein"
...@@ -973,8 +809,6 @@ msgstr "Pistes:" ...@@ -973,8 +809,6 @@ msgstr "Pistes:"
#: pcbnew/dialog_display_options.cpp:198 #: pcbnew/dialog_display_options.cpp:198
#: pcbnew/dialog_display_options.cpp:208 #: pcbnew/dialog_display_options.cpp:208
#: pcbnew/dialog_general_options.cpp:451
#: pcbnew/dialog_general_options.cpp:466
msgid "Always" msgid "Always"
msgstr "Toujours" msgstr "Toujours"
...@@ -984,8 +818,6 @@ msgstr "Nouvelle piste" ...@@ -984,8 +818,6 @@ msgstr "Nouvelle piste"
#: pcbnew/dialog_display_options.cpp:200 #: pcbnew/dialog_display_options.cpp:200
#: pcbnew/dialog_display_options.cpp:206 #: pcbnew/dialog_display_options.cpp:206
#: pcbnew/dialog_general_options.cpp:449
#: pcbnew/dialog_general_options.cpp:464
msgid "Never" msgid "Never"
msgstr "Jamais" msgstr "Jamais"
...@@ -1034,12 +866,10 @@ msgid "Show Pad NoConnect" ...@@ -1034,12 +866,10 @@ msgid "Show Pad NoConnect"
msgstr "Montrer non conn" msgstr "Montrer non conn"
#: pcbnew/dialog_display_options.cpp:269 #: pcbnew/dialog_display_options.cpp:269
#: gerbview/options.cpp:322
msgid "Display other items:" msgid "Display other items:"
msgstr "Afficher autres éléments" msgstr "Afficher autres éléments"
#: pcbnew/dialog_display_options.cpp:276 #: pcbnew/dialog_display_options.cpp:276
#: eeschema/dialog_options.cpp:281
msgid "Show page limits" msgid "Show page limits"
msgstr " Afficher limites de page" msgstr " Afficher limites de page"
...@@ -1049,24 +879,6 @@ msgstr " Afficher limites de page" ...@@ -1049,24 +879,6 @@ msgstr " Afficher limites de page"
#: pcbnew/dialog_track_options.cpp:322 #: pcbnew/dialog_track_options.cpp:322
#: pcbnew/dialog_graphic_items_options.cpp:263 #: pcbnew/dialog_graphic_items_options.cpp:263
#: pcbnew/dialog_initpcb.cpp:161 #: pcbnew/dialog_initpcb.cpp:161
#: pcbnew/set_grid.cpp:171
#: pcbnew/swap_layers.cpp:223
#: pcbnew/dialog_general_options.cpp:479
#: pcbnew/dialog_pad_edit.cpp:215
#: eeschema/dialog_create_component.cpp:198
#: eeschema/dialog_cmp_graphic_properties.cpp:178
#: eeschema/dialog_edit_component_in_schematic.cpp:241
#: eeschema/dialog_edit_label.cpp:181
#: eeschema/dialog_options.cpp:288
#: eeschema/symbtext.cpp:177
#: eeschema/dialog_build_BOM.cpp:344
#: eeschema/sheet.cpp:198
#: eeschema/pinedit-dialog.cpp:242
#: eeschema/dialog_edit_component_in_lib.cpp:221
#: cvpcb/dialog_display_options.cpp:187
#: cvpcb/dialog_cvpcb_config.cpp:138
#: gerbview/select_layers_to_pcb.cpp:285
#: share/setpage.cpp:444
msgid "&OK" msgid "&OK"
msgstr "&OK" msgstr "&OK"
...@@ -1076,33 +888,11 @@ msgstr "&OK" ...@@ -1076,33 +888,11 @@ msgstr "&OK"
#: pcbnew/dialog_track_options.cpp:328 #: pcbnew/dialog_track_options.cpp:328
#: pcbnew/dialog_graphic_items_options.cpp:267 #: pcbnew/dialog_graphic_items_options.cpp:267
#: pcbnew/dialog_initpcb.cpp:164 #: pcbnew/dialog_initpcb.cpp:164
#: pcbnew/set_grid.cpp:176
#: pcbnew/swap_layers.cpp:227
#: pcbnew/dialog_general_options.cpp:485
#: pcbnew/dialog_pad_edit.cpp:219
#: eeschema/dialog_create_component.cpp:203
#: eeschema/dialog_cmp_graphic_properties.cpp:183
#: eeschema/dialog_edit_component_in_schematic.cpp:233
#: eeschema/dialog_edit_label.cpp:186
#: eeschema/dialog_options.cpp:293
#: eeschema/symbtext.cpp:182
#: eeschema/netlist_control.cpp:144
#: eeschema/netlist_control.cpp:267
#: eeschema/sheet.cpp:194
#: eeschema/pinedit-dialog.cpp:238
#: eeschema/dialog_edit_component_in_lib.cpp:217
#: cvpcb/dialog_display_options.cpp:192
#: gerbview/select_layers_to_pcb.cpp:289
#: share/setpage.cpp:448
msgid "&Cancel" msgid "&Cancel"
msgstr "&Annuler" msgstr "&Annuler"
#: pcbnew/dialog_drc.cpp:430 #: pcbnew/dialog_drc.cpp:430
#: pcbnew/dialog_netlist.cpp:193 #: pcbnew/dialog_netlist.cpp:193
#: eeschema/dialog_create_component.cpp:179
#: eeschema/dialog_edit_component_in_schematic.cpp:202
#: eeschema/dialog_erc.cpp:239
#: eeschema/dialog_edit_component_in_lib.cpp:169
msgid "Options" msgid "Options"
msgstr "Options" msgstr "Options"
...@@ -1148,7 +938,6 @@ msgid "Include tests for clearances between pad to pads" ...@@ -1148,7 +938,6 @@ msgid "Include tests for clearances between pad to pads"
msgstr "Inclure test de l'isolation entre pads" msgstr "Inclure test de l'isolation entre pads"
#: pcbnew/dialog_drc.cpp:478 #: pcbnew/dialog_drc.cpp:478
#: pcbnew/onrightclick.cpp:649
msgid "Zones" msgid "Zones"
msgstr "Zones" msgstr "Zones"
...@@ -1242,12 +1031,10 @@ msgid "3D settings" ...@@ -1242,12 +1031,10 @@ msgid "3D settings"
msgstr "3D Caract" msgstr "3D Caract"
#: pcbnew/dialog_edit_module.cpp:184 #: pcbnew/dialog_edit_module.cpp:184
#: common/wxwineda.cpp:171
msgid "X" msgid "X"
msgstr "X" msgstr "X"
#: pcbnew/dialog_edit_module.cpp:185 #: pcbnew/dialog_edit_module.cpp:185
#: common/wxwineda.cpp:180
msgid "Y" msgid "Y"
msgstr "Y" msgstr "Y"
...@@ -1256,18 +1043,14 @@ msgid "Change module(s)" ...@@ -1256,18 +1043,14 @@ msgid "Change module(s)"
msgstr "Change module(s)" msgstr "Change module(s)"
#: pcbnew/dialog_edit_module.cpp:191 #: pcbnew/dialog_edit_module.cpp:191
#: pcbnew/modedit_onclick.cpp:250
msgid "Edit Module" msgid "Edit Module"
msgstr "Edit Module" msgstr "Edit Module"
#: pcbnew/dialog_edit_module.cpp:195 #: pcbnew/dialog_edit_module.cpp:195
#: pcbnew/pcbtexte.cpp:137
msgid "Position" msgid "Position"
msgstr "Position" msgstr "Position"
#: pcbnew/dialog_edit_module.cpp:220 #: pcbnew/dialog_edit_module.cpp:220
#: eeschema/onrightclick.cpp:343
#: eeschema/dialog_edit_component_in_lib.cpp:206
msgid "Doc" msgid "Doc"
msgstr "Doc" msgstr "Doc"
...@@ -1284,7 +1067,6 @@ msgid "Add Field" ...@@ -1284,7 +1067,6 @@ msgid "Add Field"
msgstr "Ajouter Champ" msgstr "Ajouter Champ"
#: pcbnew/dialog_edit_module.cpp:249 #: pcbnew/dialog_edit_module.cpp:249
#: eeschema/onrightclick.cpp:248
msgid "Edit Field" msgid "Edit Field"
msgstr "Editer Champ" msgstr "Editer Champ"
...@@ -1293,7 +1075,6 @@ msgid "Delete Field" ...@@ -1293,7 +1075,6 @@ msgid "Delete Field"
msgstr "Supprimer Champ" msgstr "Supprimer Champ"
#: pcbnew/dialog_edit_module.cpp:261 #: pcbnew/dialog_edit_module.cpp:261
#: common/common.cpp:376
msgid "Component" msgid "Component"
msgstr "Composant" msgstr "Composant"
...@@ -1302,7 +1083,6 @@ msgid "Copper" ...@@ -1302,7 +1083,6 @@ msgid "Copper"
msgstr "Cuivre" msgstr "Cuivre"
#: pcbnew/dialog_edit_module.cpp:270 #: pcbnew/dialog_edit_module.cpp:270
#: pcbnew/dialog_pad_edit.cpp:190
msgid "User" msgid "User"
msgstr "User" msgstr "User"
...@@ -1371,7 +1151,6 @@ msgid "3D Shape Name" ...@@ -1371,7 +1151,6 @@ msgid "3D Shape Name"
msgstr "3D forme" msgstr "3D forme"
#: pcbnew/dialog_edit_module.cpp:422 #: pcbnew/dialog_edit_module.cpp:422
#: eeschema/dialog_eeschema_config.cpp:231
msgid "Browse" msgid "Browse"
msgstr "Examiner" msgstr "Examiner"
...@@ -1442,7 +1221,6 @@ msgid "vertical" ...@@ -1442,7 +1221,6 @@ msgid "vertical"
msgstr "Vertical" msgstr "Vertical"
#: pcbnew/dialog_edit_mod_text.cpp:282 #: pcbnew/dialog_edit_mod_text.cpp:282
#: pcbnew/pcbtexte.cpp:156
msgid "Orientation" msgid "Orientation"
msgstr "Orientation" msgstr "Orientation"
...@@ -1459,139 +1237,182 @@ msgid "Value:" ...@@ -1459,139 +1237,182 @@ msgid "Value:"
msgstr "Valeur:" msgstr "Valeur:"
#: pcbnew/dialog_edit_mod_text.cpp:384 #: pcbnew/dialog_edit_mod_text.cpp:384
#: pcbnew/pcbtexte.cpp:123
#: eeschema/sheetlab.cpp:102
msgid "Text:" msgid "Text:"
msgstr "Texte:" msgstr "Texte:"
#: pcbnew/dialog_copper_zones_frame.cpp:34 #: pcbnew/dialog_copper_zones_frame.cpp:33
msgid "Zone fill options" msgid "Zone Setup:"
msgstr "Options de remplissage de zone:" msgstr "Options Zone:"
#: pcbnew/dialog_copper_zones_frame.cpp:39
msgid "Zone Fill Options:"
msgstr "Options Remplissage Zone:"
#: pcbnew/dialog_copper_zones_frame.cpp:36 #: pcbnew/dialog_copper_zones_frame.cpp:41
msgid "0.00000" msgid "0.00000"
msgstr "0.00000" msgstr "0.00000"
#: pcbnew/dialog_copper_zones_frame.cpp:36 #: pcbnew/dialog_copper_zones_frame.cpp:41
msgid "No Grid (For tests only!)" msgid "No grid (For tests only!)"
msgstr "Pas de grille (pour tests)" msgstr "Pas de grille (pour tests)"
#: pcbnew/dialog_copper_zones_frame.cpp:38 #: pcbnew/dialog_copper_zones_frame.cpp:43
msgid "Grid Size for Filling:" msgid "Grid Size for Filling:"
msgstr "Taille de Grille pour Remplissage:" msgstr "Taille de Grille pour Remplissage:"
#: pcbnew/dialog_copper_zones_frame.cpp:42 #: pcbnew/dialog_copper_zones_frame.cpp:47
msgid "Zone clearance value (mm):"
msgstr "Valeur isolation zone (mm):"
#: pcbnew/dialog_copper_zones_frame.cpp:49
msgid "Include pads" msgid "Include pads"
msgstr "Inclure oads" msgstr "Inclure pads"
#: pcbnew/dialog_copper_zones_frame.cpp:49 #: pcbnew/dialog_copper_zones_frame.cpp:47
msgid "Thermal relief" msgid "Thermal relief"
msgstr "Frein thermique" msgstr "Frein thermique"
#: pcbnew/dialog_copper_zones_frame.cpp:49 #: pcbnew/dialog_copper_zones_frame.cpp:47
msgid "Exclude pads" msgid "Exclude pads"
msgstr "Exclure pads" msgstr "Exclure pads"
#: pcbnew/dialog_copper_zones_frame.cpp:51 #: pcbnew/dialog_copper_zones_frame.cpp:49
msgid "Pad in zone:" msgid "Pad in Zone:"
msgstr "Pads en zone:" msgstr "Pad en Zone:"
#: pcbnew/dialog_copper_zones_frame.cpp:54
msgid "Thermal Reliefs Parameters"
msgstr "Pramètres FreinsThermiques"
#: pcbnew/dialog_copper_zones_frame.cpp:56
msgid "Antipad Size"
msgstr "Taille AntiPad"
#: pcbnew/dialog_copper_zones_frame.cpp:61
msgid "Define the gap around the pad"
msgstr "Definit l'espace autour du pad"
#: pcbnew/dialog_copper_zones_frame.cpp:66 #: pcbnew/dialog_copper_zones_frame.cpp:65
msgid "Copper Width"
msgstr "Epaisseur Cuivre"
#: pcbnew/dialog_copper_zones_frame.cpp:70
msgid "Define the tickness of copper in therma reliefs"
msgstr "Définit l'épaisseur du cuivre dans les freins thermiques"
#: pcbnew/dialog_copper_zones_frame.cpp:90
msgid "Outlines Options:" msgid "Outlines Options:"
msgstr "Options des Contours:" msgstr "Options des Contours:"
#: pcbnew/dialog_copper_zones_frame.cpp:68 #: pcbnew/dialog_copper_zones_frame.cpp:92
#: pcbnew/dialog_non_copper_zones_properties.cpp:34
#: eeschema/dialog_options.cpp:273
msgid "Any" msgid "Any"
msgstr "Tout" msgstr "Tout"
#: pcbnew/dialog_copper_zones_frame.cpp:68 #: pcbnew/dialog_copper_zones_frame.cpp:92
msgid "H , V and 45 deg" msgid "H , V and 45 deg"
msgstr "H, V et 45 deg" msgstr "H, V et 45 deg"
#: pcbnew/dialog_copper_zones_frame.cpp:70 #: pcbnew/dialog_copper_zones_frame.cpp:94
msgid "Zone edges orient:" msgid "Zone edges orient:"
msgstr "Direction contours zone:" msgstr "Direction contours zone:"
#: pcbnew/dialog_copper_zones_frame.cpp:77 #: pcbnew/dialog_copper_zones_frame.cpp:98
#: pcbnew/dialog_non_copper_zones_properties.cpp:28 msgid "Hatched outline"
msgid "Hatched Outline" msgstr "Contour hachuré"
msgstr "Contour Hachuré"
#: pcbnew/dialog_copper_zones_frame.cpp:77 #: pcbnew/dialog_copper_zones_frame.cpp:98
#: pcbnew/dialog_non_copper_zones_properties.cpp:28 msgid "Full hatched"
msgid "Full Hatched" msgstr "Pleinement hachuré"
msgstr "Pleinement Hachuré"
#: pcbnew/dialog_copper_zones_frame.cpp:79 #: pcbnew/dialog_copper_zones_frame.cpp:100
msgid "Outlines Appearance" msgid "Outlines Appearance"
msgstr "Aspect des Contours" msgstr "Aspect des Contours"
#: pcbnew/dialog_copper_zones_frame.cpp:81 #: pcbnew/dialog_copper_zones_frame.cpp:102
msgid "" msgid ""
"How a zone outline is shoved:\n" "Choose how a zone outline is displayed\n"
"Single line\n" "- Single line\n"
"Short hatching\n" "- Short hatching\n"
"Full area hatched" "- Full zone area hatched"
msgstr "" msgstr ""
"Choisir comment un coutour de zone est affiché\n"
"- Ligne simple\n"
"- Hachures courtes\n"
"- Hachures sur toute la surface"
#: pcbnew/dialog_copper_zones_frame.cpp:85 #: pcbnew/dialog_copper_zones_frame.cpp:106
msgid "16 segments / 360 deg" msgid "16 segments / 360 deg"
msgstr "16 segments / 360 deg" msgstr "16 segments / 360 deg"
#: pcbnew/dialog_copper_zones_frame.cpp:85 #: pcbnew/dialog_copper_zones_frame.cpp:106
msgid "32 segments / 360 deg" msgid "32 segments / 360 deg"
msgstr "32 segments / 360 deg" msgstr "32 segments / 360 deg"
#: pcbnew/dialog_copper_zones_frame.cpp:87 #: pcbnew/dialog_copper_zones_frame.cpp:108
msgid "Arcs Approximation:" msgid "Arcs Approximation:"
msgstr "Approximations des arcs:" msgstr "Approximations des arcs:"
#: pcbnew/dialog_copper_zones_frame.cpp:89 #: pcbnew/dialog_copper_zones_frame.cpp:110
msgid "" msgid ""
"Number of segments to approximate a circle in filling calculations.\n" "Number of segments to approximate a circle in filling calculations.\n"
"16 segment is faster to calculate and when redraw screen.\n" "16 segment is faster to calculate and when redraw screen.\n"
"32 segment give a better quality" "32 segment give a better quality"
msgstr "" msgstr ""
#: pcbnew/dialog_copper_zones_frame.cpp:103 #: pcbnew/dialog_copper_zones_frame.cpp:115
#: pcbnew/zone_filling_algorithm.cpp:247 msgid "Others Options:"
msgstr "Autres Options:"
#: pcbnew/dialog_copper_zones_frame.cpp:117
msgid "Show filled areas in sketch mode"
msgstr "Affichersurfaces remplies en mode contour"
#: pcbnew/dialog_copper_zones_frame.cpp:119
msgid ""
"If enabled, filled areas in is this zone will be displayed as non filled polygons.\n"
"If disabled, filled areas in is this zone will be displayed as \"solid\" areas (normal mode)."
msgstr ""
#: pcbnew/dialog_copper_zones_frame.cpp:123
msgid "Zone clearance value (mm):"
msgstr "Valeur isolation zone (mm):"
#: pcbnew/dialog_copper_zones_frame.cpp:134
msgid "Export to others zones"
msgstr "Exporter vers autres zones"
#: pcbnew/dialog_copper_zones_frame.cpp:135
msgid "Export this zone setup to all others copper zones"
msgstr ""
#: pcbnew/dialog_copper_zones_frame.cpp:151
msgid "Ok" msgid "Ok"
msgstr "Ok" msgstr "Ok"
#: pcbnew/dialog_copper_zones_frame.cpp:110 #: pcbnew/dialog_copper_zones_frame.cpp:158
msgid "Unfill zone" msgid "Remove Filling"
msgstr "Vider zone" msgstr "Supprimer Remplissage de Zone"
#: pcbnew/dialog_copper_zones_frame.cpp:117 #: pcbnew/dialog_copper_zones_frame.cpp:165
msgid "Nets Display Options:" msgid "Nets Display Options:"
msgstr "Options d'Affichage des Nets" msgstr "Options d'Affichage des Nets"
#: pcbnew/dialog_copper_zones_frame.cpp:119 #: pcbnew/dialog_copper_zones_frame.cpp:167
msgid "Alphabetic" msgid "Alphabetic"
msgstr "Alphabetique" msgstr "Alphabetique"
#: pcbnew/dialog_copper_zones_frame.cpp:119 #: pcbnew/dialog_copper_zones_frame.cpp:167
msgid "Advanced" msgid "Advanced"
msgstr "Avancé" msgstr "Avancé"
#: pcbnew/dialog_copper_zones_frame.cpp:121 #: pcbnew/dialog_copper_zones_frame.cpp:169
msgid "Net sorting:" msgid "Net sorting:"
msgstr "Tri des Equipotentielles:" msgstr "Tri des Equipotentielles:"
#: pcbnew/dialog_copper_zones_frame.cpp:123 #: pcbnew/dialog_copper_zones_frame.cpp:171
msgid "" msgid ""
"Nets can be sorted:\n" "Nets can be sorted:\n"
"By alphabetic order\n" "By alphabetic order\n"
"By number of pads in the net (advanced)" "By number of pads in the net (advanced)"
msgstr "" msgstr ""
#: pcbnew/dialog_copper_zones_frame.cpp:127 #: pcbnew/dialog_copper_zones_frame.cpp:175
msgid "Filter" msgid "Filter"
msgstr "Filtre" msgstr "Filtre"
...@@ -1612,7 +1433,6 @@ msgid "Alternate Via Drill" ...@@ -1612,7 +1433,6 @@ msgid "Alternate Via Drill"
msgstr "Perçage vias alternatif" msgstr "Perçage vias alternatif"
#: pcbnew/dialog_track_options.cpp:208 #: pcbnew/dialog_track_options.cpp:208
#: pcbnew/pcbnew.h:294
msgid "Through Via" msgid "Through Via"
msgstr "Via Traversante" msgstr "Via Traversante"
...@@ -1625,7 +1445,6 @@ msgid "Default Via Type" ...@@ -1625,7 +1445,6 @@ msgid "Default Via Type"
msgstr "Via par Défaut" msgstr "Via par Défaut"
#: pcbnew/dialog_track_options.cpp:223 #: pcbnew/dialog_track_options.cpp:223
#: pcbnew/dialog_gendrill.cpp:284
msgid "Micro Vias:" msgid "Micro Vias:"
msgstr "Micro Vias:" msgstr "Micro Vias:"
...@@ -1786,13 +1605,6 @@ msgid "Keep or change an existing footprint when the netlist gives a different f ...@@ -1786,13 +1605,6 @@ msgid "Keep or change an existing footprint when the netlist gives a different f
msgstr "Garder ou changer une empreinte existante quand la netliste donne une empreinte différente" msgstr "Garder ou changer une empreinte existante quand la netliste donne une empreinte différente"
#: pcbnew/dialog_netlist.cpp:186 #: pcbnew/dialog_netlist.cpp:186
#: pcbnew/onrightclick.cpp:584
#: pcbnew/onrightclick.cpp:765
#: pcbnew/onrightclick.cpp:820
#: pcbnew/onrightclick.cpp:869
#: eeschema/edit_component_in_lib.cpp:239
#: eeschema/edit_component_in_lib.cpp:320
#: eeschema/menubar.cpp:146
msgid "Delete" msgid "Delete"
msgstr "Supprimer" msgstr "Supprimer"
...@@ -1845,10 +1657,6 @@ msgid "Rebuild the full ratsnest (usefull after a manual pad netname edition)" ...@@ -1845,10 +1657,6 @@ msgid "Rebuild the full ratsnest (usefull after a manual pad netname edition)"
msgstr "Recalculer le chevelu complet ( utile après une edition manuelle de nom de net sur pad)" msgstr "Recalculer le chevelu complet ( utile après une edition manuelle de nom de net sur pad)"
#: pcbnew/dialog_netlist.cpp:232 #: pcbnew/dialog_netlist.cpp:232
#: pcbnew/pcbplot.cpp:284
#: pcbnew/xchgmod.cpp:137
#: eeschema/annotate_dialog.cpp:230
#: share/zoom.cpp:449
msgid "Close" msgid "Close"
msgstr "Fermer" msgstr "Fermer"
...@@ -1857,12 +1665,6 @@ msgid "Netlist File:" ...@@ -1857,12 +1665,6 @@ msgid "Netlist File:"
msgstr "Fichier Netliste:" msgstr "Fichier Netliste:"
#: pcbnew/dialog_netlist.cpp:253 #: pcbnew/dialog_netlist.cpp:253
#: pcbnew/dialog_freeroute_exchange.cpp:222
#: eeschema/plotps.cpp:227
#: eeschema/dialog_erc.cpp:219
#: eeschema/dialog_build_BOM.cpp:348
#: eeschema/plothpgl.cpp:292
#: share/dialog_print.cpp:242
msgid "&Close" msgid "&Close"
msgstr "&Fermer" msgstr "&Fermer"
...@@ -1908,7 +1710,6 @@ msgid "Bad value for footprints orientation" ...@@ -1908,7 +1710,6 @@ msgid "Bad value for footprints orientation"
msgstr "Mauvaise valeur pour l'orientation des empreintes" msgstr "Mauvaise valeur pour l'orientation des empreintes"
#: pcbnew/tool_modedit.cpp:44 #: pcbnew/tool_modedit.cpp:44
#: eeschema/tool_lib.cpp:120
msgid "Select working library" msgid "Select working library"
msgstr "Sélection de la librairie de travail" msgstr "Sélection de la librairie de travail"
...@@ -1925,7 +1726,6 @@ msgid "Delete part in current library" ...@@ -1925,7 +1726,6 @@ msgid "Delete part in current library"
msgstr "Supprimer composant en librairie de travail" msgstr "Supprimer composant en librairie de travail"
#: pcbnew/tool_modedit.cpp:61 #: pcbnew/tool_modedit.cpp:61
#: pcbnew/xchgmod.cpp:156
msgid "New Module" msgid "New Module"
msgstr "Nouveau Module" msgstr "Nouveau Module"
...@@ -1954,16 +1754,10 @@ msgid "export module" ...@@ -1954,16 +1754,10 @@ msgid "export module"
msgstr "Exporter Module" msgstr "Exporter Module"
#: pcbnew/tool_modedit.cpp:92 #: pcbnew/tool_modedit.cpp:92
#: eeschema/menubar.cpp:130
#: eeschema/tool_lib.cpp:147
#: eeschema/tool_sch.cpp:74
msgid "Undo last edition" msgid "Undo last edition"
msgstr "Defait dernière édition" msgstr "Defait dernière édition"
#: pcbnew/tool_modedit.cpp:94 #: pcbnew/tool_modedit.cpp:94
#: eeschema/menubar.cpp:138
#: eeschema/tool_lib.cpp:149
#: eeschema/tool_sch.cpp:77
msgid "Redo the last undo command" msgid "Redo the last undo command"
msgstr "Refait la dernière commande defaite" msgstr "Refait la dernière commande defaite"
...@@ -1976,58 +1770,22 @@ msgid "Print Module" ...@@ -1976,58 +1770,22 @@ msgid "Print Module"
msgstr "Imprimer Module" msgstr "Imprimer Module"
#: pcbnew/tool_modedit.cpp:106 #: pcbnew/tool_modedit.cpp:106
#: pcbnew/tool_pcb.cpp:255
#: eeschema/menubar.cpp:169
#: eeschema/menubar.cpp:172
#: eeschema/tool_lib.cpp:167
#: eeschema/tool_sch.cpp:92
#: eeschema/tool_viewlib.cpp:67
#: gerbview/tool_gerber.cpp:273
#: 3d-viewer/3d_toolbar.cpp:43
#: share/zoom.cpp:361
msgid "Zoom in" msgid "Zoom in"
msgstr "Zoom +" msgstr "Zoom +"
#: pcbnew/tool_modedit.cpp:110 #: pcbnew/tool_modedit.cpp:110
#: pcbnew/tool_pcb.cpp:259
#: eeschema/menubar.cpp:177
#: eeschema/menubar.cpp:180
#: eeschema/tool_lib.cpp:171
#: eeschema/tool_sch.cpp:96
#: eeschema/tool_viewlib.cpp:71
#: gerbview/tool_gerber.cpp:280
#: 3d-viewer/3d_toolbar.cpp:46
#: share/zoom.cpp:362
msgid "Zoom out" msgid "Zoom out"
msgstr "Zoom -" msgstr "Zoom -"
#: pcbnew/tool_modedit.cpp:114 #: pcbnew/tool_modedit.cpp:114
#: pcbnew/tool_pcb.cpp:263
#: eeschema/menubar.cpp:193
#: eeschema/tool_lib.cpp:175
#: eeschema/tool_sch.cpp:100
#: eeschema/tool_viewlib.cpp:75
#: gerbview/tool_gerber.cpp:287
#: 3d-viewer/3d_toolbar.cpp:49
#: share/zoom.cpp:369
msgid "Redraw view" msgid "Redraw view"
msgstr "Redessin de l'écran" msgstr "Redessin de l'écran"
#: pcbnew/tool_modedit.cpp:119 #: pcbnew/tool_modedit.cpp:119
#: pcbnew/tool_pcb.cpp:268
#: eeschema/menubar.cpp:186
#: eeschema/menubar.cpp:196
#: eeschema/tool_lib.cpp:181
#: eeschema/tool_sch.cpp:105
#: gerbview/tool_gerber.cpp:298
#: 3d-viewer/3d_toolbar.cpp:52
#: share/zoom.cpp:363
msgid "Zoom auto" msgid "Zoom auto"
msgstr "Zoom Automatique" msgstr "Zoom Automatique"
#: pcbnew/tool_modedit.cpp:124 #: pcbnew/tool_modedit.cpp:124
#: pcbnew/modedit.cpp:399
#: pcbnew/menubarmodedit.cpp:45
msgid "Pad Settings" msgid "Pad Settings"
msgstr "Caract pads" msgstr "Caract pads"
...@@ -2040,78 +1798,51 @@ msgid "Add Pads" ...@@ -2040,78 +1798,51 @@ msgid "Add Pads"
msgstr "Addition de \"pins\"" msgstr "Addition de \"pins\""
#: pcbnew/tool_modedit.cpp:159 #: pcbnew/tool_modedit.cpp:159
#: pcbnew/tool_pcb.cpp:429
msgid "Add graphic line or polygon" msgid "Add graphic line or polygon"
msgstr "Addition de lignes ou polygones graphiques" msgstr "Addition de lignes ou polygones graphiques"
#: pcbnew/tool_modedit.cpp:163 #: pcbnew/tool_modedit.cpp:163
#: pcbnew/tool_pcb.cpp:433
msgid "Add graphic circle" msgid "Add graphic circle"
msgstr "Addition de graphiques (Cercle)" msgstr "Addition de graphiques (Cercle)"
#: pcbnew/tool_modedit.cpp:167 #: pcbnew/tool_modedit.cpp:167
#: pcbnew/tool_pcb.cpp:437
msgid "Add graphic arc" msgid "Add graphic arc"
msgstr "Addition de graphiques (Arc de Cercle)" msgstr "Addition de graphiques (Arc de Cercle)"
#: pcbnew/tool_modedit.cpp:171 #: pcbnew/tool_modedit.cpp:171
#: pcbnew/edit.cpp:291 #: pcbnew/edit.cpp:291
#: eeschema/libframe.cpp:501
#: eeschema/schedit.cpp:217
#: gerbview/tool_gerber.cpp:387
msgid "Add Text" msgid "Add Text"
msgstr "Ajout de Texte" msgstr "Ajout de Texte"
#: pcbnew/tool_modedit.cpp:176 #: pcbnew/tool_modedit.cpp:176
#: pcbnew/modedit.cpp:413
msgid "Place anchor" msgid "Place anchor"
msgstr "Place Ancre" msgstr "Place Ancre"
#: pcbnew/tool_modedit.cpp:181 #: pcbnew/tool_modedit.cpp:181
#: pcbnew/tool_pcb.cpp:455
#: eeschema/menubar.cpp:146
#: eeschema/tool_lib.cpp:90
#: eeschema/tool_sch.cpp:228
#: gerbview/tool_gerber.cpp:395
msgid "Delete items" msgid "Delete items"
msgstr "Suppression d'éléments" msgstr "Suppression d'éléments"
#: pcbnew/tool_modedit.cpp:203 #: pcbnew/tool_modedit.cpp:203
#: pcbnew/tool_pcb.cpp:328
#: eeschema/tool_sch.cpp:250
#: gerbview/tool_gerber.cpp:419
msgid "Display Grid OFF" msgid "Display Grid OFF"
msgstr "Suppression de l'affichage de la grille" msgstr "Suppression de l'affichage de la grille"
#: pcbnew/tool_modedit.cpp:207 #: pcbnew/tool_modedit.cpp:207
#: pcbnew/tool_pcb.cpp:331
#: gerbview/tool_gerber.cpp:425
msgid "Display Polar Coord ON" msgid "Display Polar Coord ON"
msgstr "Activer affichage coord Polaires" msgstr "Activer affichage coord Polaires"
#: pcbnew/tool_modedit.cpp:211 #: pcbnew/tool_modedit.cpp:211
#: pcbnew/tool_pcb.cpp:333
#: eeschema/tool_sch.cpp:254
#: gerbview/tool_gerber.cpp:429
msgid "Units = Inch" msgid "Units = Inch"
msgstr "Unités = pouce" msgstr "Unités = pouce"
#: pcbnew/tool_modedit.cpp:215 #: pcbnew/tool_modedit.cpp:215
#: pcbnew/tool_pcb.cpp:335
#: eeschema/tool_sch.cpp:258
#: gerbview/tool_gerber.cpp:433
msgid "Units = mm" msgid "Units = mm"
msgstr "Unités = mm" msgstr "Unités = mm"
#: pcbnew/tool_modedit.cpp:221 #: pcbnew/tool_modedit.cpp:221
#: pcbnew/tool_pcb.cpp:338
#: eeschema/tool_sch.cpp:262
#: gerbview/tool_gerber.cpp:439
msgid "Change Cursor Shape" msgid "Change Cursor Shape"
msgstr "Sélection de la forme du curseur" msgstr "Sélection de la forme du curseur"
#: pcbnew/tool_modedit.cpp:229 #: pcbnew/tool_modedit.cpp:229
#: pcbnew/tool_pcb.cpp:360
msgid "Show Pads Sketch" msgid "Show Pads Sketch"
msgstr "Afficher pastilles en contour" msgstr "Afficher pastilles en contour"
...@@ -2124,8 +1855,6 @@ msgid "Show Edges Sketch" ...@@ -2124,8 +1855,6 @@ msgid "Show Edges Sketch"
msgstr "Afficher Modules en contour" msgstr "Afficher Modules en contour"
#: pcbnew/tool_modedit.cpp:276 #: pcbnew/tool_modedit.cpp:276
#: pcbnew/tool_pcb.cpp:577
#: eeschema/plotps.cpp:189
msgid "Auto" msgid "Auto"
msgstr "Auto" msgstr "Auto"
...@@ -2145,7 +1874,6 @@ msgid "Grid %.3f" ...@@ -2145,7 +1874,6 @@ msgid "Grid %.3f"
msgstr "Grille %.3f" msgstr "Grille %.3f"
#: pcbnew/tool_modedit.cpp:305 #: pcbnew/tool_modedit.cpp:305
#: pcbnew/tool_pcb.cpp:611
msgid "User Grid" msgid "User Grid"
msgstr "Grille perso" msgstr "Grille perso"
...@@ -2206,19 +1934,14 @@ msgid "Save current board as.." ...@@ -2206,19 +1934,14 @@ msgid "Save current board as.."
msgstr "Sauver le Circuit Imprimé courant sous.." msgstr "Sauver le Circuit Imprimé courant sous.."
#: pcbnew/menubarpcb.cpp:91 #: pcbnew/menubarpcb.cpp:91
#: eeschema/menubar.cpp:75
#: gerbview/tool_gerber.cpp:88
msgid "P&rint" msgid "P&rint"
msgstr "Imp&rimer" msgstr "Imp&rimer"
#: pcbnew/menubarpcb.cpp:91 #: pcbnew/menubarpcb.cpp:91
#: eeschema/menubar.cpp:75
#: gerbview/tool_gerber.cpp:88
msgid "Print on current printer" msgid "Print on current printer"
msgstr "Imprimer sur l'imprimante par défaut" msgstr "Imprimer sur l'imprimante par défaut"
#: pcbnew/menubarpcb.cpp:96 #: pcbnew/menubarpcb.cpp:96
#: eeschema/menubar.cpp:105
msgid "&Plot" msgid "&Plot"
msgstr "&Tracer" msgstr "&Tracer"
...@@ -2267,7 +1990,6 @@ msgid "Import a routed \"Specctra Session\" (*.ses) file" ...@@ -2267,7 +1990,6 @@ msgid "Import a routed \"Specctra Session\" (*.ses) file"
msgstr "Importer un fichier de routage \"Specctra Session\" (*.ses) " msgstr "Importer un fichier de routage \"Specctra Session\" (*.ses) "
#: pcbnew/menubarpcb.cpp:140 #: pcbnew/menubarpcb.cpp:140
#: eeschema/libframe.cpp:525
msgid "Import" msgid "Import"
msgstr "Importer" msgstr "Importer"
...@@ -2300,10 +2022,6 @@ msgid "Archive or Add footprints in a library file" ...@@ -2300,10 +2022,6 @@ msgid "Archive or Add footprints in a library file"
msgstr "Archiver ou ajouter les modules dans un fichier librairie" msgstr "Archiver ou ajouter les modules dans un fichier librairie"
#: pcbnew/menubarpcb.cpp:163 #: pcbnew/menubarpcb.cpp:163
#: eeschema/menubar.cpp:109
#: cvpcb/tool_cvpcb.cpp:122
#: kicad/buildmnu.cpp:122
#: gerbview/tool_gerber.cpp:93
msgid "E&xit" msgid "E&xit"
msgstr "&Quitter" msgstr "&Quitter"
...@@ -2312,18 +2030,14 @@ msgid "Quit pcbnew" ...@@ -2312,18 +2030,14 @@ msgid "Quit pcbnew"
msgstr "Quitter Pcbnew" msgstr "Quitter Pcbnew"
#: pcbnew/menubarpcb.cpp:181 #: pcbnew/menubarpcb.cpp:181
#: eeschema/menubar.cpp:358
msgid "&Library" msgid "&Library"
msgstr "&Librairie" msgstr "&Librairie"
#: pcbnew/menubarpcb.cpp:182 #: pcbnew/menubarpcb.cpp:182
#: cvpcb/tool_cvpcb.cpp:137
msgid "Setting Libraries, Directories and others..." msgid "Setting Libraries, Directories and others..."
msgstr "Sélectionner les librairies et répertoires" msgstr "Sélectionner les librairies et répertoires"
#: pcbnew/menubarpcb.cpp:186 #: pcbnew/menubarpcb.cpp:186
#: eeschema/menubar.cpp:364
#: gerbview/tool_gerber.cpp:108
msgid "&Colors" msgid "&Colors"
msgstr "&Couleurs" msgstr "&Couleurs"
...@@ -2348,23 +2062,18 @@ msgid "Select what items are displayed" ...@@ -2348,23 +2062,18 @@ msgid "Select what items are displayed"
msgstr "Sélectionner les éléments a afficher" msgstr "Sélectionner les éléments a afficher"
#: pcbnew/menubarpcb.cpp:207 #: pcbnew/menubarpcb.cpp:207
#: eeschema/menubar.cpp:382
msgid "&Save preferences" msgid "&Save preferences"
msgstr "&Sauver Préférences" msgstr "&Sauver Préférences"
#: pcbnew/menubarpcb.cpp:208 #: pcbnew/menubarpcb.cpp:208
#: eeschema/menubar.cpp:383
#: gerbview/tool_gerber.cpp:123
msgid "Save application preferences" msgid "Save application preferences"
msgstr "Sauver préférences" msgstr "Sauver préférences"
#: pcbnew/menubarpcb.cpp:212 #: pcbnew/menubarpcb.cpp:212
#: eeschema/menubar.cpp:386
msgid "&Read preferences" msgid "&Read preferences"
msgstr "&Lire Préférences" msgstr "&Lire Préférences"
#: pcbnew/menubarpcb.cpp:213 #: pcbnew/menubarpcb.cpp:213
#: eeschema/menubar.cpp:387
msgid "Read application preferences" msgid "Read application preferences"
msgstr "Lire préférences de l'application" msgstr "Lire préférences de l'application"
...@@ -2377,16 +2086,10 @@ msgid "Adjust size and width for tracks, vias" ...@@ -2377,16 +2086,10 @@ msgid "Adjust size and width for tracks, vias"
msgstr "Ajuster dims et taille des pistes et vias" msgstr "Ajuster dims et taille des pistes et vias"
#: pcbnew/menubarpcb.cpp:230 #: pcbnew/menubarpcb.cpp:230
#: pcbnew/tool_pcb.cpp:595
#: eeschema/eelayer.cpp:223
#: pcbnew/set_color.h:414
#: eeschema/eelayer.h:214
#: gerbview/set_color.h:324
msgid "Grid" msgid "Grid"
msgstr "Grille" msgstr "Grille"
#: pcbnew/menubarpcb.cpp:231 #: pcbnew/menubarpcb.cpp:231
#: pcbnew/menubarmodedit.cpp:51
msgid "Adjust User Grid" msgid "Adjust User Grid"
msgstr "Ajuster Grille utilisateur" msgstr "Ajuster Grille utilisateur"
...@@ -2395,17 +2098,14 @@ msgid "Texts and drawings" ...@@ -2395,17 +2098,14 @@ msgid "Texts and drawings"
msgstr "&Textes et Tracés" msgstr "&Textes et Tracés"
#: pcbnew/menubarpcb.cpp:236 #: pcbnew/menubarpcb.cpp:236
#: pcbnew/menubarmodedit.cpp:41
msgid "Adjust width for texts and drawings" msgid "Adjust width for texts and drawings"
msgstr "Ajuster dims pour textes et graphiques" msgstr "Ajuster dims pour textes et graphiques"
#: pcbnew/menubarpcb.cpp:241 #: pcbnew/menubarpcb.cpp:241
#: pcbnew/menubarmodedit.cpp:46
msgid "Adjust size,shape,layers... for Pads" msgid "Adjust size,shape,layers... for Pads"
msgstr "Ajuster taille, forme, couches... pour pads" msgstr "Ajuster taille, forme, couches... pour pads"
#: pcbnew/menubarpcb.cpp:246 #: pcbnew/menubarpcb.cpp:246
#: gerbview/tool_gerber.cpp:122
msgid "&Save Setup" msgid "&Save Setup"
msgstr "&Sauver Options" msgstr "&Sauver Options"
...@@ -2470,63 +2170,42 @@ msgid "Swap tracks on copper layers or drawings on others layers" ...@@ -2470,63 +2170,42 @@ msgid "Swap tracks on copper layers or drawings on others layers"
msgstr "Permutation de couches" msgstr "Permutation de couches"
#: pcbnew/menubarpcb.cpp:299 #: pcbnew/menubarpcb.cpp:299
#: pcbnew/menubarmodedit.cpp:64
#: eeschema/menubar.cpp:397
#: cvpcb/tool_cvpcb.cpp:155
#: kicad/buildmnu.cpp:190
#: gerbview/tool_gerber.cpp:149
msgid "&Contents" msgid "&Contents"
msgstr "&Contenu" msgstr "&Contenu"
#: pcbnew/menubarpcb.cpp:299 #: pcbnew/menubarpcb.cpp:299
#: pcbnew/menubarmodedit.cpp:65
msgid "Open the pcbnew manual" msgid "Open the pcbnew manual"
msgstr "Ouvrir la documentation de pcbnew" msgstr "Ouvrir la documentation de pcbnew"
#: pcbnew/menubarpcb.cpp:303 #: pcbnew/menubarpcb.cpp:303
#: pcbnew/menubarmodedit.cpp:73
msgid "&About pcbnew" msgid "&About pcbnew"
msgstr "&Au sujet de r Pcbnew" msgstr "&Au sujet de r Pcbnew"
#: pcbnew/menubarpcb.cpp:303 #: pcbnew/menubarpcb.cpp:303
#: pcbnew/menubarmodedit.cpp:74
msgid "About pcbnew PCB designer" msgid "About pcbnew PCB designer"
msgstr "Au sujet de Pcbnew, concption de PCB" msgstr "Au sujet de Pcbnew, concption de PCB"
#: pcbnew/menubarpcb.cpp:311 #: pcbnew/menubarpcb.cpp:311
#: pcbnew/menubarmodedit.cpp:82
msgid "3D Display" msgid "3D Display"
msgstr "3D Visu" msgstr "3D Visu"
#: pcbnew/menubarpcb.cpp:311 #: pcbnew/menubarpcb.cpp:311
#: pcbnew/menubarmodedit.cpp:82
msgid "Show board in 3D viewer" msgid "Show board in 3D viewer"
msgstr "Visualisation du circuit en 3D" msgstr "Visualisation du circuit en 3D"
#: pcbnew/menubarpcb.cpp:315 #: pcbnew/menubarpcb.cpp:315
#: eeschema/menubar.cpp:407
#: cvpcb/tool_cvpcb.cpp:164
#: gerbview/tool_gerber.cpp:156
#: 3d-viewer/3d_toolbar.cpp:116
msgid "&File" msgid "&File"
msgstr "&Fichiers" msgstr "&Fichiers"
#: pcbnew/menubarpcb.cpp:316 #: pcbnew/menubarpcb.cpp:316
#: eeschema/menubar.cpp:411
#: cvpcb/tool_cvpcb.cpp:165
#: kicad/buildmnu.cpp:202
#: gerbview/tool_gerber.cpp:157
#: 3d-viewer/3d_toolbar.cpp:124
msgid "&Preferences" msgid "&Preferences"
msgstr "&Préférences" msgstr "&Préférences"
#: pcbnew/menubarpcb.cpp:317 #: pcbnew/menubarpcb.cpp:317
#: pcbnew/menubarmodedit.cpp:86
msgid "&Dimensions" msgid "&Dimensions"
msgstr "&Dimensions" msgstr "&Dimensions"
#: pcbnew/menubarpcb.cpp:318 #: pcbnew/menubarpcb.cpp:318
#: gerbview/tool_gerber.cpp:158
msgid "&Miscellaneous" msgid "&Miscellaneous"
msgstr "&Divers" msgstr "&Divers"
...@@ -2535,22 +2214,15 @@ msgid "P&ostprocess" ...@@ -2535,22 +2214,15 @@ msgid "P&ostprocess"
msgstr "P&ostprocesseurs" msgstr "P&ostprocesseurs"
#: pcbnew/menubarpcb.cpp:320 #: pcbnew/menubarpcb.cpp:320
#: pcbnew/menubarmodedit.cpp:87
msgid "&3D Display" msgid "&3D Display"
msgstr "&3D Visu" msgstr "&3D Visu"
#: pcbnew/menubarpcb.cpp:321 #: pcbnew/menubarpcb.cpp:321
#: pcbnew/menubarmodedit.cpp:88
#: eeschema/menubar.cpp:412
#: cvpcb/tool_cvpcb.cpp:166
#: kicad/buildmnu.cpp:203
#: gerbview/tool_gerber.cpp:161
msgid "&Help" msgid "&Help"
msgstr "&Aide" msgstr "&Aide"
#: pcbnew/pcbplot.cpp:147 #: pcbnew/pcbplot.cpp:147
#: pcbnew/pcbplot.cpp:272 #: pcbnew/pcbplot.cpp:272
#: gerbview/tool_gerber.cpp:90
msgid "Plot" msgid "Plot"
msgstr "Tracer" msgstr "Tracer"
...@@ -2607,7 +2279,6 @@ msgid "X scale adjust" ...@@ -2607,7 +2279,6 @@ msgid "X scale adjust"
msgstr "Ajustage Echelle X" msgstr "Ajustage Echelle X"
#: pcbnew/pcbplot.cpp:259 #: pcbnew/pcbplot.cpp:259
#: share/wxprint.cpp:189
msgid "Set X scale adjust for exact scale plotting" msgid "Set X scale adjust for exact scale plotting"
msgstr "Ajuster échelle X pour traçage à l'échelle exacte" msgstr "Ajuster échelle X pour traçage à l'échelle exacte"
...@@ -2616,7 +2287,6 @@ msgid "Y scale adjust" ...@@ -2616,7 +2287,6 @@ msgid "Y scale adjust"
msgstr "Ajustage Echelle Y" msgstr "Ajustage Echelle Y"
#: pcbnew/pcbplot.cpp:264 #: pcbnew/pcbplot.cpp:264
#: share/wxprint.cpp:190
msgid "Set Y scale adjust for exact scale plotting" msgid "Set Y scale adjust for exact scale plotting"
msgstr "Ajuster échelle Y pour traçage à l'échelle exacte" msgstr "Ajuster échelle Y pour traçage à l'échelle exacte"
...@@ -2637,7 +2307,6 @@ msgid "Exclude Edges_Pcb layer" ...@@ -2637,7 +2307,6 @@ msgid "Exclude Edges_Pcb layer"
msgstr "Exclure Couche Contours PCB" msgstr "Exclure Couche Contours PCB"
#: pcbnew/pcbplot.cpp:332 #: pcbnew/pcbplot.cpp:332
#: share/dialog_print.cpp:149
msgid "Exclude contents of Edges_Pcb layer from all other layers" msgid "Exclude contents of Edges_Pcb layer from all other layers"
msgstr "Exclure les tracés contour PCB des autres couches" msgstr "Exclure les tracés contour PCB des autres couches"
...@@ -2722,12 +2391,10 @@ msgid "Scale 1.5" ...@@ -2722,12 +2391,10 @@ msgid "Scale 1.5"
msgstr "Echelle 1,5" msgstr "Echelle 1,5"
#: pcbnew/pcbplot.cpp:406 #: pcbnew/pcbplot.cpp:406
#: share/dialog_print.cpp:163
msgid "Scale 2" msgid "Scale 2"
msgstr "Echelle 2" msgstr "Echelle 2"
#: pcbnew/pcbplot.cpp:406 #: pcbnew/pcbplot.cpp:406
#: share/dialog_print.cpp:164
msgid "Scale 3" msgid "Scale 3"
msgstr "Echelle 3" msgstr "Echelle 3"
...@@ -2832,9 +2499,6 @@ msgid "Local Ratsnest" ...@@ -2832,9 +2499,6 @@ msgid "Local Ratsnest"
msgstr "Monter le chevelu général" msgstr "Monter le chevelu général"
#: pcbnew/edit.cpp:569 #: pcbnew/edit.cpp:569
#: pcbnew/modedit.cpp:427
#: eeschema/libframe.cpp:577
#: eeschema/schedit.cpp:366
msgid "Delete item" msgid "Delete item"
msgstr "Suppression d'éléments" msgstr "Suppression d'éléments"
...@@ -2889,19 +2553,6 @@ msgstr "Fichier GenCAD:" ...@@ -2889,19 +2553,6 @@ msgstr "Fichier GenCAD:"
#: pcbnew/export_gencad.cpp:83 #: pcbnew/export_gencad.cpp:83
#: pcbnew/files.cpp:352 #: pcbnew/files.cpp:352
#: pcbnew/plothpgl.cpp:67
#: pcbnew/librairi.cpp:308
#: pcbnew/librairi.cpp:454
#: pcbnew/librairi.cpp:604
#: pcbnew/librairi.cpp:808
#: pcbnew/gen_modules_placefile.cpp:145
#: pcbnew/gen_modules_placefile.cpp:161
#: pcbnew/gen_modules_placefile.cpp:330
#: eeschema/plotps.cpp:433
#: eeschema/plothpgl.cpp:601
#: cvpcb/genequiv.cpp:42
#: gerbview/export_to_pcbnew.cpp:75
#: common/hotkeys_basic.cpp:385
msgid "Unable to create " msgid "Unable to create "
msgstr "Impossible de créer " msgstr "Impossible de créer "
...@@ -2910,13 +2561,6 @@ msgid "Recovery file " ...@@ -2910,13 +2561,6 @@ msgid "Recovery file "
msgstr "Fichier de secours " msgstr "Fichier de secours "
#: pcbnew/files.cpp:56 #: pcbnew/files.cpp:56
#: pcbnew/librairi.cpp:256
#: eeschema/find.cpp:241
#: eeschema/find.cpp:249
#: eeschema/find.cpp:695
#: gerbview/dcode.cpp:266
#: gerbview/readgerb.cpp:145
#: common/eda_doc.cpp:150
msgid " not found" msgid " not found"
msgstr " non trouvé" msgstr " non trouvé"
...@@ -2933,8 +2577,6 @@ msgid "Load board files:" ...@@ -2933,8 +2577,6 @@ msgid "Load board files:"
msgstr "Charger Fichiers C.I.:" msgstr "Charger Fichiers C.I.:"
#: pcbnew/files.cpp:188 #: pcbnew/files.cpp:188
#: pcbnew/librairi.cpp:77
#: cvpcb/readschematicnetlist.cpp:110
#, c-format #, c-format
msgid "File <%s> not found" msgid "File <%s> not found"
msgstr " fichier %s non trouvé" msgstr " fichier %s non trouvé"
...@@ -2986,7 +2628,6 @@ msgid "<%s> Not Found" ...@@ -2986,7 +2628,6 @@ msgid "<%s> Not Found"
msgstr "<%s> Non trouvé" msgstr "<%s> Non trouvé"
#: pcbnew/find.cpp:238 #: pcbnew/find.cpp:238
#: eeschema/dialog_find.cpp:117
msgid "Item to find:" msgid "Item to find:"
msgstr "Elément a chercher:" msgstr "Elément a chercher:"
...@@ -3012,18 +2653,14 @@ msgstr "Fichier de percage" ...@@ -3012,18 +2653,14 @@ msgstr "Fichier de percage"
#: pcbnew/gendrill.cpp:322 #: pcbnew/gendrill.cpp:322
#: pcbnew/gendrill.cpp:810 #: pcbnew/gendrill.cpp:810
#: pcbnew/plotps.cpp:51
#: pcbnew/xchgmod.cpp:637
msgid "Unable to create file " msgid "Unable to create file "
msgstr "Impossible de créer le fichier " msgstr "Impossible de créer le fichier "
#: pcbnew/gendrill.cpp:378 #: pcbnew/gendrill.cpp:378
#: pcbnew/dialog_gendrill.cpp:184
msgid "2:3" msgid "2:3"
msgstr "2:3" msgstr "2:3"
#: pcbnew/gendrill.cpp:379 #: pcbnew/gendrill.cpp:379
#: pcbnew/dialog_gendrill.cpp:185
msgid "2:4" msgid "2:4"
msgstr "2:4" msgstr "2:4"
...@@ -3145,7 +2782,6 @@ msgid "Delete draw items?" ...@@ -3145,7 +2782,6 @@ msgid "Delete draw items?"
msgstr "Suppression éléments graphiques?" msgstr "Suppression éléments graphiques?"
#: pcbnew/initpcb.cpp:249 #: pcbnew/initpcb.cpp:249
#: gerbview/initpcb.cpp:150
msgid "Delete Tracks?" msgid "Delete Tracks?"
msgstr "Effacer Pistes ?" msgstr "Effacer Pistes ?"
...@@ -3154,7 +2790,6 @@ msgid "Delete Modules?" ...@@ -3154,7 +2790,6 @@ msgid "Delete Modules?"
msgstr "Effacement des Modules?" msgstr "Effacement des Modules?"
#: pcbnew/initpcb.cpp:295 #: pcbnew/initpcb.cpp:295
#: gerbview/initpcb.cpp:173
msgid "Delete Pcb Texts" msgid "Delete Pcb Texts"
msgstr "Effacer Textes Pcb" msgstr "Effacer Textes Pcb"
...@@ -3175,7 +2810,6 @@ msgid "Arc Stub" ...@@ -3175,7 +2810,6 @@ msgid "Arc Stub"
msgstr "Arc Stub" msgstr "Arc Stub"
#: pcbnew/muonde.cpp:175 #: pcbnew/muonde.cpp:175
#: common/common.cpp:102
msgid " (mm):" msgid " (mm):"
msgstr " (mm):" msgstr " (mm):"
...@@ -3191,7 +2825,6 @@ msgstr " (pouce):" ...@@ -3191,7 +2825,6 @@ msgstr " (pouce):"
#: pcbnew/muonde.cpp:189 #: pcbnew/muonde.cpp:189
#: pcbnew/muonde.cpp:202 #: pcbnew/muonde.cpp:202
#: pcbnew/gen_self.h:231
msgid "Incorrect number, abort" msgid "Incorrect number, abort"
msgstr "Nombre incorrect, arret" msgstr "Nombre incorrect, arret"
...@@ -3257,8 +2890,6 @@ msgid "Gap (inch):" ...@@ -3257,8 +2890,6 @@ msgid "Gap (inch):"
msgstr "Gap (inch):" msgstr "Gap (inch):"
#: pcbnew/modules.cpp:81 #: pcbnew/modules.cpp:81
#: pcbnew/librairi.cpp:527
#: common/get_component_dialog.cpp:98
msgid "Name:" msgid "Name:"
msgstr "Nom:" msgstr "Nom:"
...@@ -3267,13 +2898,10 @@ msgid "Search footprint" ...@@ -3267,13 +2898,10 @@ msgid "Search footprint"
msgstr "Cherche Module" msgstr "Cherche Module"
#: pcbnew/modules.cpp:305 #: pcbnew/modules.cpp:305
#: pcbnew/onrightclick.cpp:733
msgid "Delete Module" msgid "Delete Module"
msgstr "Supprimer Module" msgstr "Supprimer Module"
#: pcbnew/modules.cpp:306 #: pcbnew/modules.cpp:306
#: eeschema/find.cpp:220
#: eeschema/onrightclick.cpp:304
msgid "Value " msgid "Value "
msgstr "Valeur " msgstr "Valeur "
...@@ -3306,25 +2934,18 @@ msgid "Open module editor" ...@@ -3306,25 +2934,18 @@ msgid "Open module editor"
msgstr "Ouvrir Editeur de modules" msgstr "Ouvrir Editeur de modules"
#: pcbnew/tool_pcb.cpp:238 #: pcbnew/tool_pcb.cpp:238
#: eeschema/tool_sch.cpp:65
#: gerbview/tool_gerber.cpp:245
msgid "Cut selected item" msgid "Cut selected item"
msgstr "Suppression des éléments sélectionnés" msgstr "Suppression des éléments sélectionnés"
#: pcbnew/tool_pcb.cpp:242 #: pcbnew/tool_pcb.cpp:242
#: eeschema/tool_sch.cpp:68
#: gerbview/tool_gerber.cpp:250
msgid "Copy selected item" msgid "Copy selected item"
msgstr "Copie des éléments sélectionnés" msgstr "Copie des éléments sélectionnés"
#: pcbnew/tool_pcb.cpp:244 #: pcbnew/tool_pcb.cpp:244
#: eeschema/tool_sch.cpp:71
#: gerbview/tool_gerber.cpp:256
msgid "Paste" msgid "Paste"
msgstr "Copie des éléments sauvegardés" msgstr "Copie des éléments sauvegardés"
#: pcbnew/tool_pcb.cpp:247 #: pcbnew/tool_pcb.cpp:247
#: gerbview/tool_gerber.cpp:263
msgid "Undelete" msgid "Undelete"
msgstr "Annulation du dernier effacement" msgstr "Annulation du dernier effacement"
...@@ -3337,8 +2958,6 @@ msgid "Plot (HPGL, PostScript, or GERBER format)" ...@@ -3337,8 +2958,6 @@ msgid "Plot (HPGL, PostScript, or GERBER format)"
msgstr "Tracer en format HPGL, POSTSCRIPT ou GERBER" msgstr "Tracer en format HPGL, POSTSCRIPT ou GERBER"
#: pcbnew/tool_pcb.cpp:272 #: pcbnew/tool_pcb.cpp:272
#: eeschema/menubar.cpp:154
#: eeschema/tool_sch.cpp:109
msgid "Find components and texts" msgid "Find components and texts"
msgstr "Recherche de composants et textes" msgstr "Recherche de composants et textes"
...@@ -3379,8 +2998,6 @@ msgid "Enable Auto Del Track" ...@@ -3379,8 +2998,6 @@ msgid "Enable Auto Del Track"
msgstr "Autoriser l'effacement automatique des pistes" msgstr "Autoriser l'effacement automatique des pistes"
#: pcbnew/tool_pcb.cpp:355 #: pcbnew/tool_pcb.cpp:355
#: pcbnew/pcbframe.cpp:434
#: pcbnew/set_color.h:423
msgid "Show Zones" msgid "Show Zones"
msgstr "Monter Zones" msgstr "Monter Zones"
...@@ -3389,7 +3006,6 @@ msgid "Show Tracks Sketch" ...@@ -3389,7 +3006,6 @@ msgid "Show Tracks Sketch"
msgstr "Afficher Pistes en Contour" msgstr "Afficher Pistes en Contour"
#: pcbnew/tool_pcb.cpp:368 #: pcbnew/tool_pcb.cpp:368
#: pcbnew/pcbframe.cpp:455
msgid "Hight Contrast Mode Display" msgid "Hight Contrast Mode Display"
msgstr "Mode d'affichage Haut Contraste" msgstr "Mode d'affichage Haut Contraste"
...@@ -3430,7 +3046,6 @@ msgid "Add dimension" ...@@ -3430,7 +3046,6 @@ msgid "Add dimension"
msgstr "Ajout des cotes" msgstr "Ajout des cotes"
#: pcbnew/tool_pcb.cpp:450 #: pcbnew/tool_pcb.cpp:450
#: gerbview/tool_gerber.cpp:380
msgid "Add layer alignment target" msgid "Add layer alignment target"
msgstr "Ajouter Mire de superposition" msgstr "Ajouter Mire de superposition"
...@@ -3491,27 +3106,18 @@ msgid "Target Shape:" ...@@ -3491,27 +3106,18 @@ msgid "Target Shape:"
msgstr "Forme Mire:" msgstr "Forme Mire:"
#: pcbnew/modedit_onclick.cpp:196 #: pcbnew/modedit_onclick.cpp:196
#: eeschema/onrightclick.cpp:102
#: eeschema/libedit_onrightclick.cpp:47
#: gerbview/onrightclick.cpp:41
msgid "End Tool" msgid "End Tool"
msgstr "Fin Outil" msgstr "Fin Outil"
#: pcbnew/modedit_onclick.cpp:206 #: pcbnew/modedit_onclick.cpp:206
#: eeschema/libedit_onrightclick.cpp:231
#: gerbview/onrightclick.cpp:50
msgid "Cancel Block" msgid "Cancel Block"
msgstr "Annuler Bloc" msgstr "Annuler Bloc"
#: pcbnew/modedit_onclick.cpp:208 #: pcbnew/modedit_onclick.cpp:208
#: eeschema/libedit_onrightclick.cpp:234
#: gerbview/onrightclick.cpp:51
msgid "Zoom Block (drag middle mouse)" msgid "Zoom Block (drag middle mouse)"
msgstr "Zoom Bloc (drag bouton du milieu souris)" msgstr "Zoom Bloc (drag bouton du milieu souris)"
#: pcbnew/modedit_onclick.cpp:211 #: pcbnew/modedit_onclick.cpp:211
#: eeschema/libedit_onrightclick.cpp:238
#: gerbview/onrightclick.cpp:53
msgid "Place Block" msgid "Place Block"
msgstr "Place Bloc" msgstr "Place Bloc"
...@@ -3532,8 +3138,6 @@ msgid "Delete Block (shift+ctrl + drag mouse)" ...@@ -3532,8 +3138,6 @@ msgid "Delete Block (shift+ctrl + drag mouse)"
msgstr "Effacement Bloc (shift+ctrl + drag mouse)" msgstr "Effacement Bloc (shift+ctrl + drag mouse)"
#: pcbnew/modedit_onclick.cpp:241 #: pcbnew/modedit_onclick.cpp:241
#: pcbnew/onrightclick.cpp:759
#: pcbnew/onrightclick.cpp:863
msgid "Rotate" msgid "Rotate"
msgstr "Rotation" msgstr "Rotation"
...@@ -3558,17 +3162,14 @@ msgid "Move Pad" ...@@ -3558,17 +3162,14 @@ msgid "Move Pad"
msgstr "Déplace Pad" msgstr "Déplace Pad"
#: pcbnew/modedit_onclick.cpp:263 #: pcbnew/modedit_onclick.cpp:263
#: pcbnew/onrightclick.cpp:798
msgid "Edit Pad" msgid "Edit Pad"
msgstr "Edit Pad" msgstr "Edit Pad"
#: pcbnew/modedit_onclick.cpp:265 #: pcbnew/modedit_onclick.cpp:265
#: pcbnew/onrightclick.cpp:802
msgid "New Pad Settings" msgid "New Pad Settings"
msgstr "Nouvelles Caract. Pads" msgstr "Nouvelles Caract. Pads"
#: pcbnew/modedit_onclick.cpp:267 #: pcbnew/modedit_onclick.cpp:267
#: pcbnew/onrightclick.cpp:806
msgid "Export Pad Settings" msgid "Export Pad Settings"
msgstr "Exporte Caract. Pads" msgstr "Exporte Caract. Pads"
...@@ -3577,7 +3178,6 @@ msgid "delete Pad" ...@@ -3577,7 +3178,6 @@ msgid "delete Pad"
msgstr "Supprimer Pad" msgstr "Supprimer Pad"
#: pcbnew/modedit_onclick.cpp:274 #: pcbnew/modedit_onclick.cpp:274
#: pcbnew/onrightclick.cpp:813
msgid "Global Pad Settings" msgid "Global Pad Settings"
msgstr "Edition Globale des pads" msgstr "Edition Globale des pads"
...@@ -3610,10 +3210,6 @@ msgid "Place edge" ...@@ -3610,10 +3210,6 @@ msgid "Place edge"
msgstr "Place contour" msgstr "Place contour"
#: pcbnew/modedit_onclick.cpp:306 #: pcbnew/modedit_onclick.cpp:306
#: pcbnew/onrightclick.cpp:727
#: pcbnew/onrightclick.cpp:761
#: pcbnew/onrightclick.cpp:865
#: eeschema/onrightclick.cpp:300
msgid "Edit" msgid "Edit"
msgstr "Editer" msgstr "Editer"
...@@ -3659,7 +3255,6 @@ msgid "Unable to drag this segment: two collinear segments" ...@@ -3659,7 +3255,6 @@ msgid "Unable to drag this segment: two collinear segments"
msgstr "Impossible de drag ce segment: 2 segments alignés" msgstr "Impossible de drag ce segment: 2 segments alignés"
#: pcbnew/muwave_command.cpp:52 #: pcbnew/muwave_command.cpp:52
#: eeschema/libframe.cpp:517
msgid "Add Line" msgid "Add Line"
msgstr "Addition de lignes" msgstr "Addition de lignes"
...@@ -3762,20 +3357,15 @@ msgid "Cotation not authorized on Copper layers" ...@@ -3762,20 +3357,15 @@ msgid "Cotation not authorized on Copper layers"
msgstr "Cotation non autorisée sur Couches Cuivre" msgstr "Cotation non autorisée sur Couches Cuivre"
#: pcbnew/pcbcfg.cpp:71 #: pcbnew/pcbcfg.cpp:71
#: eeschema/eeconfig.cpp:60
#: cvpcb/menucfg.cpp:140
msgid "Read config file" msgid "Read config file"
msgstr "Lire config" msgstr "Lire config"
#: pcbnew/pcbcfg.cpp:85 #: pcbnew/pcbcfg.cpp:85
#: cvpcb/menucfg.cpp:152
#, c-format #, c-format
msgid "File %s not found" msgid "File %s not found"
msgstr " fichier %s non trouvé" msgstr " fichier %s non trouvé"
#: pcbnew/pcbcfg.cpp:205 #: pcbnew/pcbcfg.cpp:205
#: eeschema/eeconfig.cpp:200
#: cvpcb/cfg.cpp:75
msgid "Save preferences" msgid "Save preferences"
msgstr "Sauver préférences" msgstr "Sauver préférences"
...@@ -3852,13 +3442,10 @@ msgstr "Attention: Les couches dessus et dessous sont les mêmes" ...@@ -3852,13 +3442,10 @@ msgstr "Attention: Les couches dessus et dessous sont les mêmes"
#: pcbnew/set_color.cpp:269 #: pcbnew/set_color.cpp:269
#: pcbnew/set_color.cpp:296 #: pcbnew/set_color.cpp:296
#: gerbview/set_color.cpp:258
#: gerbview/set_color.cpp:285
msgid "Show None" msgid "Show None"
msgstr "Rien Afficher" msgstr "Rien Afficher"
#: pcbnew/set_color.cpp:278 #: pcbnew/set_color.cpp:278
#: gerbview/set_color.cpp:267
msgid "Show All" msgid "Show All"
msgstr "Tout Afficher" msgstr "Tout Afficher"
...@@ -3871,20 +3458,14 @@ msgid "Switch off all of the copper layers" ...@@ -3871,20 +3458,14 @@ msgid "Switch off all of the copper layers"
msgstr "N'affiche pas les couches cuivre" msgstr "N'affiche pas les couches cuivre"
#: pcbnew/set_color.cpp:361 #: pcbnew/set_color.cpp:361
#: eeschema/eelayer.cpp:260
#: gerbview/set_color.cpp:333
msgid "Apply" msgid "Apply"
msgstr "Appliquer" msgstr "Appliquer"
#: pcbnew/set_grid.cpp:147 #: pcbnew/set_grid.cpp:147
#: pcbnew/dialog_gendrill.cpp:167
#: pcbnew/dialog_general_options.cpp:299
#: gerbview/options.cpp:185
msgid "Inches" msgid "Inches"
msgstr "Pouces" msgstr "Pouces"
#: pcbnew/set_grid.cpp:148 #: pcbnew/set_grid.cpp:148
#: share/drawframe.cpp:388
msgid "mm" msgid "mm"
msgstr "mm" msgstr "mm"
...@@ -3933,7 +3514,6 @@ msgid "Add Pad" ...@@ -3933,7 +3514,6 @@ msgid "Add Pad"
msgstr "Ajouter Pastilles" msgstr "Ajouter Pastilles"
#: pcbnew/modedit.cpp:409 #: pcbnew/modedit.cpp:409
#: eeschema/schedit.cpp:197
msgid "Add Drawing" msgid "Add Drawing"
msgstr "Ajout d'éléments graphiques" msgstr "Ajout d'éléments graphiques"
...@@ -4036,21 +3616,21 @@ msgstr "Change module %s (%s) " ...@@ -4036,21 +3616,21 @@ msgstr "Change module %s (%s) "
msgid "Cmp files:" msgid "Cmp files:"
msgstr "Fichiers Cmp: " msgstr "Fichiers Cmp: "
#: pcbnew/zones_by_polygon.cpp:324 #: pcbnew/zones_by_polygon.cpp:328
#: pcbnew/zones_by_polygon.cpp:380 #: pcbnew/zones_by_polygon.cpp:384
#: pcbnew/zones_by_polygon.cpp:709 #: pcbnew/zones_by_polygon.cpp:717
msgid "Area: DRC outline error" msgid "Area: DRC outline error"
msgstr "Zone; Erreur DRC sur contour" msgstr "Zone; Erreur DRC sur contour"
#: pcbnew/zones_by_polygon.cpp:592 #: pcbnew/zones_by_polygon.cpp:599
msgid "DRC error: this start point is inside or too close an other area" msgid "DRC error: this start point is inside or too close an other area"
msgstr "Erreur DRC: ce point de départ est a l'intérieur d'une autre zone ou trop proche" msgstr "Erreur DRC: ce point de départ est a l'intérieur d'une autre zone ou trop proche"
#: pcbnew/zones_by_polygon.cpp:654 #: pcbnew/zones_by_polygon.cpp:662
msgid "DRC error: closing this area creates a drc error with an other area" msgid "DRC error: closing this area creates a drc error with an other area"
msgstr "Erreur DRC: la fermeture de cette zone crée une erreur DRC avec une autre zone" msgstr "Erreur DRC: la fermeture de cette zone crée une erreur DRC avec une autre zone"
#: pcbnew/zones_by_polygon.cpp:895 #: pcbnew/zones_by_polygon.cpp:903
msgid "No Net" msgid "No Net"
msgstr "No Net" msgstr "No Net"
...@@ -4063,7 +3643,6 @@ msgid "Place module" ...@@ -4063,7 +3643,6 @@ msgid "Place module"
msgstr "Place module" msgstr "Place module"
#: pcbnew/loadcmp.cpp:215 #: pcbnew/loadcmp.cpp:215
#: eeschema/eelibs_read_libraryfiles.cpp:64
#, c-format #, c-format
msgid "Library <%s> not found" msgid "Library <%s> not found"
msgstr "Librairie %s non trouvée" msgstr "Librairie %s non trouvée"
...@@ -4084,12 +3663,10 @@ msgstr "Module <%s> non trouvé" ...@@ -4084,12 +3663,10 @@ msgstr "Module <%s> non trouvé"
#: pcbnew/loadcmp.cpp:369 #: pcbnew/loadcmp.cpp:369
#: pcbnew/librairi.cpp:256 #: pcbnew/librairi.cpp:256
#: eeschema/eelibs_read_libraryfiles.cpp:144
msgid "Library " msgid "Library "
msgstr "Librairie " msgstr "Librairie "
#: pcbnew/loadcmp.cpp:369 #: pcbnew/loadcmp.cpp:369
#: eeschema/eelibs_read_libraryfiles.cpp:148
msgid " loaded" msgid " loaded"
msgstr " chargé" msgstr " chargé"
...@@ -4158,7 +3735,6 @@ msgid "File %s exists, OK to replace ?" ...@@ -4158,7 +3735,6 @@ msgid "File %s exists, OK to replace ?"
msgstr "Fichier %s existant, OK pour remplacer ?" msgstr "Fichier %s existant, OK pour remplacer ?"
#: pcbnew/librairi.cpp:203 #: pcbnew/librairi.cpp:203
#: eeschema/symbedit.cpp:165
#, c-format #, c-format
msgid "Unable to create <%s>" msgid "Unable to create <%s>"
msgstr "Incapable de créer <%s>" msgstr "Incapable de créer <%s>"
...@@ -4399,7 +3975,6 @@ msgstr "Choisir l'origine des coordonnées: absolue ou relative à l'axe auxilia ...@@ -4399,7 +3975,6 @@ msgstr "Choisir l'origine des coordonnées: absolue ou relative à l'axe auxilia
#: pcbnew/dialog_gendrill.cpp:205 #: pcbnew/dialog_gendrill.cpp:205
#: pcbnew/dialog_gendrill.cpp:215 #: pcbnew/dialog_gendrill.cpp:215
#: eeschema/libedit.cpp:41
msgid "None" msgid "None"
msgstr "Aucun" msgstr "Aucun"
...@@ -4440,15 +4015,10 @@ msgid "Speed (cm/s)" ...@@ -4440,15 +4015,10 @@ msgid "Speed (cm/s)"
msgstr "Vitesse plume ( cm/s )" msgstr "Vitesse plume ( cm/s )"
#: pcbnew/dialog_gendrill.cpp:233 #: pcbnew/dialog_gendrill.cpp:233
#: eeschema/plothpgl.cpp:256
msgid "Pen Number" msgid "Pen Number"
msgstr "Numéro de plume" msgstr "Numéro de plume"
#: pcbnew/dialog_gendrill.cpp:239 #: pcbnew/dialog_gendrill.cpp:239
#: pcbnew/dialog_general_options.cpp:376
#: eeschema/dialog_build_BOM.cpp:283
#: eeschema/netlist_control.cpp:121
#: share/dialog_print.cpp:187
msgid "Options:" msgid "Options:"
msgstr "Options :" msgstr "Options :"
...@@ -4540,7 +4110,6 @@ msgid "Sizes and Widths" ...@@ -4540,7 +4110,6 @@ msgid "Sizes and Widths"
msgstr "Dims. et Epaiss." msgstr "Dims. et Epaiss."
#: pcbnew/menubarmodedit.cpp:50 #: pcbnew/menubarmodedit.cpp:50
#: pcbnew/set_grid.h:39
msgid "User Grid Size" msgid "User Grid Size"
msgstr "Dim Grille utilisteur" msgstr "Dim Grille utilisteur"
...@@ -4597,7 +4166,6 @@ msgid "Move Drawing" ...@@ -4597,7 +4166,6 @@ msgid "Move Drawing"
msgstr "Déplace Tracé" msgstr "Déplace Tracé"
#: pcbnew/onrightclick.cpp:238 #: pcbnew/onrightclick.cpp:238
#: eeschema/onrightclick.cpp:208
msgid "End Drawing" msgid "End Drawing"
msgstr "Fin tracé" msgstr "Fin tracé"
...@@ -4606,7 +4174,6 @@ msgid "Edit Drawing" ...@@ -4606,7 +4174,6 @@ msgid "Edit Drawing"
msgstr "Edit Tracé" msgstr "Edit Tracé"
#: pcbnew/onrightclick.cpp:243 #: pcbnew/onrightclick.cpp:243
#: eeschema/onrightclick.cpp:210
msgid "Delete Drawing" msgid "Delete Drawing"
msgstr "Supprimer Tracé" msgstr "Supprimer Tracé"
...@@ -4623,7 +4190,6 @@ msgid "Delete Last Corner" ...@@ -4623,7 +4190,6 @@ msgid "Delete Last Corner"
msgstr "Supprimer Dernier Sommet" msgstr "Supprimer Dernier Sommet"
#: pcbnew/onrightclick.cpp:275 #: pcbnew/onrightclick.cpp:275
#: eeschema/onrightclick.cpp:155
msgid "Delete Marker" msgid "Delete Marker"
msgstr "Effacer Marqueur" msgstr "Effacer Marqueur"
...@@ -4740,23 +4306,18 @@ msgid "Read Global AutoRouter Data" ...@@ -4740,23 +4306,18 @@ msgid "Read Global AutoRouter Data"
msgstr "Lire Données de L'autorouteur global" msgstr "Lire Données de L'autorouteur global"
#: pcbnew/onrightclick.cpp:450 #: pcbnew/onrightclick.cpp:450
#: eeschema/onrightclick.cpp:609
msgid "Cancel block" msgid "Cancel block"
msgstr "Annuler bloc" msgstr "Annuler bloc"
#: pcbnew/onrightclick.cpp:452 #: pcbnew/onrightclick.cpp:452
#: eeschema/onrightclick.cpp:615
msgid "Zoom block" msgid "Zoom block"
msgstr "Zoom bloc" msgstr "Zoom bloc"
#: pcbnew/onrightclick.cpp:455 #: pcbnew/onrightclick.cpp:455
#: eeschema/onrightclick.cpp:617
msgid "Place block" msgid "Place block"
msgstr "Place bloc" msgstr "Place bloc"
#: pcbnew/onrightclick.cpp:457 #: pcbnew/onrightclick.cpp:457
#: eeschema/onrightclick.cpp:626
#: eeschema/libedit_onrightclick.cpp:244
msgid "Copy block" msgid "Copy block"
msgstr "Copie bloc" msgstr "Copie bloc"
...@@ -4769,8 +4330,6 @@ msgid "Rotate block" ...@@ -4769,8 +4330,6 @@ msgid "Rotate block"
msgstr "Rotation bloc" msgstr "Rotation bloc"
#: pcbnew/onrightclick.cpp:463 #: pcbnew/onrightclick.cpp:463
#: eeschema/onrightclick.cpp:630
#: eeschema/libedit_onrightclick.cpp:247
msgid "Delete block" msgid "Delete block"
msgstr "Effacer bloc" msgstr "Effacer bloc"
...@@ -4999,7 +4558,6 @@ msgid "Rotate +" ...@@ -4999,7 +4558,6 @@ msgid "Rotate +"
msgstr "Rotation +" msgstr "Rotation +"
#: pcbnew/onrightclick.cpp:722 #: pcbnew/onrightclick.cpp:722
#: eeschema/onrightclick.cpp:288
msgid "Rotate -" msgid "Rotate -"
msgstr "Rotation -" msgstr "Rotation -"
...@@ -5067,6 +4625,14 @@ msgstr "URL FreeRouting.net" ...@@ -5067,6 +4625,14 @@ msgstr "URL FreeRouting.net"
msgid "The URL of the FreeRouting.net website" msgid "The URL of the FreeRouting.net website"
msgstr "L' URL du site FreeRouting.net" msgstr "L' URL du site FreeRouting.net"
#: pcbnew/dialog_non_copper_zones_properties.cpp:28
msgid "Hatched Outline"
msgstr "Contour Hachuré"
#: pcbnew/dialog_non_copper_zones_properties.cpp:28
msgid "Full Hatched"
msgstr "Pleinement Hachuré"
#: pcbnew/dialog_non_copper_zones_properties.cpp:30 #: pcbnew/dialog_non_copper_zones_properties.cpp:30
msgid "Outlines Appearence" msgid "Outlines Appearence"
msgstr "Aspect des Contours" msgstr "Aspect des Contours"
...@@ -5080,12 +4646,11 @@ msgid "Zone Edges Orient" ...@@ -5080,12 +4646,11 @@ msgid "Zone Edges Orient"
msgstr "Direction contours zone" msgstr "Direction contours zone"
#: pcbnew/dialog_non_copper_zones_properties.cpp:54 #: pcbnew/dialog_non_copper_zones_properties.cpp:54
#: gerbview/select_layers_to_pcb.cpp:91
msgid "Layer selection:" msgid "Layer selection:"
msgstr "Sélection couche:" msgstr "Sélection couche:"
#: pcbnew/zones_non_copper_type_functions.cpp:152 #: pcbnew/zones_non_copper_type_functions.cpp:152
#: pcbnew/dialog_copper_zones.cpp:335 #: pcbnew/dialog_copper_zones.cpp:369
msgid "Error : you must choose a layer" msgid "Error : you must choose a layer"
msgstr "Erreur. Vous devez choisir une couche" msgstr "Erreur. Vous devez choisir une couche"
...@@ -5097,55 +4662,35 @@ msgstr "Valeur isolation zone:" ...@@ -5097,55 +4662,35 @@ msgstr "Valeur isolation zone:"
msgid "Grid :" msgid "Grid :"
msgstr "Grille:" msgstr "Grille:"
#: pcbnew/dialog_copper_zones.cpp:344 #: pcbnew/dialog_copper_zones.cpp:381
msgid "Error : you must choose a net name" msgid "Error : you must choose a net name"
msgstr "Erreur. Vous devez choisir une équipotentielle" msgstr "Erreur. Vous devez choisir une équipotentielle"
#: pcbnew/dialog_setup_libs.cpp:97 #: pcbnew/dialog_setup_libs.cpp:97
#: eeschema/dialog_eeschema_config.cpp:105
#: cvpcb/dialog_cvpcb_config.cpp:75
#: gerbview/reglage.cpp:90
msgid "from " msgid "from "
msgstr "De " msgstr "De "
#: pcbnew/dialog_setup_libs.cpp:153 #: pcbnew/dialog_setup_libs.cpp:153
#: eeschema/dialog_eeschema_config.cpp:161
#: cvpcb/dialog_display_options.cpp:178
#: cvpcb/dialog_cvpcb_config.cpp:128
msgid "Save Cfg" msgid "Save Cfg"
msgstr "Sauver config" msgstr "Sauver config"
#: pcbnew/dialog_setup_libs.cpp:159 #: pcbnew/dialog_setup_libs.cpp:159
#: eeschema/dialog_eeschema_config.cpp:178
#: cvpcb/dialog_cvpcb_config.cpp:143
msgid "Files ext:" msgid "Files ext:"
msgstr "Ext. Fichiers" msgstr "Ext. Fichiers"
#: pcbnew/dialog_setup_libs.cpp:175 #: pcbnew/dialog_setup_libs.cpp:175
#: cvpcb/dialog_cvpcb_config.cpp:162
#: cvpcb/dialog_cvpcb_config.cpp:194
msgid "Del" msgid "Del"
msgstr "Supprimer" msgstr "Supprimer"
#: pcbnew/dialog_setup_libs.cpp:179 #: pcbnew/dialog_setup_libs.cpp:179
#: eeschema/edit_component_in_lib.cpp:233
#: eeschema/edit_component_in_lib.cpp:312
#: eeschema/dialog_eeschema_config.cpp:197
#: cvpcb/dialog_cvpcb_config.cpp:166
#: cvpcb/dialog_cvpcb_config.cpp:198
msgid "Add" msgid "Add"
msgstr "Ajouter" msgstr "Ajouter"
#: pcbnew/dialog_setup_libs.cpp:183 #: pcbnew/dialog_setup_libs.cpp:183
#: eeschema/dialog_eeschema_config.cpp:203
#: cvpcb/dialog_cvpcb_config.cpp:170
#: cvpcb/dialog_cvpcb_config.cpp:202
msgid "Ins" msgid "Ins"
msgstr "Insérer" msgstr "Insérer"
#: pcbnew/dialog_setup_libs.cpp:191 #: pcbnew/dialog_setup_libs.cpp:191
#: eeschema/dialog_eeschema_config.cpp:213
#: cvpcb/dialog_cvpcb_config.cpp:177
msgid "Libraries" msgid "Libraries"
msgstr "Librairies" msgstr "Librairies"
...@@ -5154,7 +4699,6 @@ msgid "Lib Modules Dir:" ...@@ -5154,7 +4699,6 @@ msgid "Lib Modules Dir:"
msgstr "Repertoire Lib Modules:" msgstr "Repertoire Lib Modules:"
#: pcbnew/dialog_setup_libs.cpp:206 #: pcbnew/dialog_setup_libs.cpp:206
#: cvpcb/menucfg.cpp:62
msgid "Module Doc File:" msgid "Module Doc File:"
msgstr "Fichiers Doc des Modules" msgstr "Fichiers Doc des Modules"
...@@ -5175,15 +4719,10 @@ msgid "Net ext: " ...@@ -5175,15 +4719,10 @@ msgid "Net ext: "
msgstr "Net ext: " msgstr "Net ext: "
#: pcbnew/dialog_setup_libs.cpp:367 #: pcbnew/dialog_setup_libs.cpp:367
#: eeschema/dialog_eeschema_config.cpp:368
#: cvpcb/menucfg.cpp:202
msgid "Library files:" msgid "Library files:"
msgstr "Fichiers Librairies:" msgstr "Fichiers Librairies:"
#: pcbnew/dialog_setup_libs.cpp:392 #: pcbnew/dialog_setup_libs.cpp:392
#: eeschema/dialog_eeschema_config.cpp:394
#: cvpcb/menucfg.cpp:227
#: cvpcb/menucfg.cpp:295
msgid "Library already in use" msgid "Library already in use"
msgstr "Librairie déjà en usage" msgstr "Librairie déjà en usage"
...@@ -5204,38 +4743,30 @@ msgid "Module count" ...@@ -5204,38 +4743,30 @@ msgid "Module count"
msgstr "Nb Modules" msgstr "Nb Modules"
#: pcbnew/dialog_general_options.cpp:288 #: pcbnew/dialog_general_options.cpp:288
#: gerbview/options.cpp:175
msgid "No Display" msgid "No Display"
msgstr "Pas d'affichage" msgstr "Pas d'affichage"
#: pcbnew/dialog_general_options.cpp:291 #: pcbnew/dialog_general_options.cpp:291
#: gerbview/options.cpp:177
msgid "Display Polar Coord" msgid "Display Polar Coord"
msgstr "Affichage coord Polaires" msgstr "Affichage coord Polaires"
#: pcbnew/dialog_general_options.cpp:300 #: pcbnew/dialog_general_options.cpp:300
#: gerbview/options.cpp:186
msgid "millimeters" msgid "millimeters"
msgstr "millimetres" msgstr "millimetres"
#: pcbnew/dialog_general_options.cpp:302 #: pcbnew/dialog_general_options.cpp:302
#: eeschema/dialog_options.cpp:264
#: gerbview/options.cpp:187
msgid "Units" msgid "Units"
msgstr "Unités" msgstr "Unités"
#: pcbnew/dialog_general_options.cpp:309 #: pcbnew/dialog_general_options.cpp:309
#: gerbview/options.cpp:193
msgid "Small" msgid "Small"
msgstr "Petit" msgstr "Petit"
#: pcbnew/dialog_general_options.cpp:310 #: pcbnew/dialog_general_options.cpp:310
#: gerbview/options.cpp:193
msgid "Big" msgid "Big"
msgstr "Grand" msgstr "Grand"
#: pcbnew/dialog_general_options.cpp:312 #: pcbnew/dialog_general_options.cpp:312
#: gerbview/options.cpp:194
msgid "Cursor" msgid "Cursor"
msgstr "Curseur" msgstr "Curseur"
...@@ -5276,7 +4807,6 @@ msgid "Segments 45 Only" ...@@ -5276,7 +4807,6 @@ msgid "Segments 45 Only"
msgstr "Segments 45 seulement" msgstr "Segments 45 seulement"
#: pcbnew/dialog_general_options.cpp:429 #: pcbnew/dialog_general_options.cpp:429
#: eeschema/dialog_options.cpp:256
msgid "Auto PAN" msgid "Auto PAN"
msgstr "Auto PAN" msgstr "Auto PAN"
...@@ -5327,12 +4857,10 @@ msgid "90" ...@@ -5327,12 +4857,10 @@ msgid "90"
msgstr "90" msgstr "90"
#: pcbnew/dialog_pad_edit.cpp:188 #: pcbnew/dialog_pad_edit.cpp:188
#: eeschema/dialog_edit_component_in_schematic.cpp:175
msgid "-90" msgid "-90"
msgstr "-90" msgstr "-90"
#: pcbnew/dialog_pad_edit.cpp:189 #: pcbnew/dialog_pad_edit.cpp:189
#: eeschema/dialog_edit_component_in_schematic.cpp:174
msgid "180" msgid "180"
msgstr "180" msgstr "180"
...@@ -5353,7 +4881,6 @@ msgid "SMD" ...@@ -5353,7 +4881,6 @@ msgid "SMD"
msgstr "CMS" msgstr "CMS"
#: pcbnew/dialog_pad_edit.cpp:207 #: pcbnew/dialog_pad_edit.cpp:207
#: eeschema/netlist.cpp:245
msgid "Conn" msgid "Conn"
msgstr "Conn" msgstr "Conn"
...@@ -5422,9 +4949,6 @@ msgid "Board modified, Save before exit ?" ...@@ -5422,9 +4949,6 @@ msgid "Board modified, Save before exit ?"
msgstr "Circuit Imprimé modifiée, Sauver avant de quitter ?" msgstr "Circuit Imprimé modifiée, Sauver avant de quitter ?"
#: pcbnew/pcbframe.cpp:281 #: pcbnew/pcbframe.cpp:281
#: eeschema/schframe.cpp:309
#: cvpcb/cvframe.cpp:178
#: common/confirm.cpp:119
msgid "Confirmation" msgid "Confirmation"
msgstr "Confirmation" msgstr "Confirmation"
...@@ -5445,12 +4969,10 @@ msgid "Display Polar Coords" ...@@ -5445,12 +4969,10 @@ msgid "Display Polar Coords"
msgstr "Affichage coord Polaires" msgstr "Affichage coord Polaires"
#: pcbnew/pcbframe.cpp:402 #: pcbnew/pcbframe.cpp:402
#: eeschema/schframe.cpp:407
msgid "Grid not show" msgid "Grid not show"
msgstr "Grille non montrée" msgstr "Grille non montrée"
#: pcbnew/pcbframe.cpp:402 #: pcbnew/pcbframe.cpp:402
#: eeschema/schframe.cpp:407
msgid "Show Grid" msgid "Show Grid"
msgstr "Afficher grille" msgstr "Afficher grille"
...@@ -5671,7 +5193,6 @@ msgid "FileName" ...@@ -5671,7 +5193,6 @@ msgid "FileName"
msgstr "Nom Fichier" msgstr "Nom Fichier"
#: eeschema/affiche.cpp:37 #: eeschema/affiche.cpp:37
#: eeschema/component_class.cpp:108
msgid "Ref" msgid "Ref"
msgstr "Ref" msgstr "Ref"
...@@ -5696,7 +5217,6 @@ msgid "PinName" ...@@ -5696,7 +5217,6 @@ msgid "PinName"
msgstr "Nom Pin" msgstr "Nom Pin"
#: eeschema/affiche.cpp:80 #: eeschema/affiche.cpp:80
#: eeschema/eelayer.h:140
msgid "PinNum" msgid "PinNum"
msgstr "Num Pin" msgstr "Num Pin"
...@@ -5719,44 +5239,31 @@ msgid "Length" ...@@ -5719,44 +5239,31 @@ msgid "Length"
msgstr "Longueur" msgstr "Longueur"
#: eeschema/affiche.cpp:102 #: eeschema/affiche.cpp:102
#: eeschema/dialog_edit_label.cpp:150
#: eeschema/pinedit-dialog.cpp:225
msgid "Up" msgid "Up"
msgstr "Haut" msgstr "Haut"
#: eeschema/affiche.cpp:105 #: eeschema/affiche.cpp:105
#: eeschema/dialog_edit_label.cpp:152
#: eeschema/pinedit-dialog.cpp:226
msgid "Down" msgid "Down"
msgstr "Bas" msgstr "Bas"
#: eeschema/affiche.cpp:108 #: eeschema/affiche.cpp:108
#: eeschema/dialog_edit_label.cpp:151
#: eeschema/pinedit-dialog.cpp:224
msgid "Left" msgid "Left"
msgstr "Gauche" msgstr "Gauche"
#: eeschema/affiche.cpp:111 #: eeschema/affiche.cpp:111
#: eeschema/dialog_edit_label.cpp:149
#: eeschema/pinedit-dialog.cpp:223
msgid "Right" msgid "Right"
msgstr "Droite" msgstr "Droite"
#: eeschema/affiche.cpp:169 #: eeschema/affiche.cpp:169
#: eeschema/affiche.cpp:175 #: eeschema/affiche.cpp:175
#: share/dialog_print.cpp:218
#: share/svg_print.cpp:229
msgid "All" msgid "All"
msgstr "Tout" msgstr "Tout"
#: eeschema/affiche.cpp:172 #: eeschema/affiche.cpp:172
#: eeschema/onrightclick.cpp:328
msgid "Unit" msgid "Unit"
msgstr "Unité" msgstr "Unité"
#: eeschema/affiche.cpp:182 #: eeschema/affiche.cpp:182
#: eeschema/onrightclick.cpp:315
#: eeschema/dialog_edit_component_in_schematic.cpp:191
msgid "Convert" msgid "Convert"
msgstr "Convert" msgstr "Convert"
...@@ -5799,7 +5306,6 @@ msgid " Not Found" ...@@ -5799,7 +5306,6 @@ msgid " Not Found"
msgstr " Non trouvé" msgstr " Non trouvé"
#: eeschema/find.cpp:653 #: eeschema/find.cpp:653
#: eeschema/selpart.cpp:39
msgid "No libraries are loaded" msgid "No libraries are loaded"
msgstr "Pas de librairies chargées" msgstr "Pas de librairies chargées"
...@@ -5832,23 +5338,18 @@ msgid "Nothing found" ...@@ -5832,23 +5338,18 @@ msgid "Nothing found"
msgstr " Rien trouvé" msgstr " Rien trouvé"
#: eeschema/dialog_create_component.cpp:171 #: eeschema/dialog_create_component.cpp:171
#: eeschema/component_class.cpp:59
msgid "U" msgid "U"
msgstr "U" msgstr "U"
#: eeschema/dialog_create_component.cpp:183 #: eeschema/dialog_create_component.cpp:183
#: eeschema/edit_component_in_lib.cpp:401
msgid "As Convert" msgid "As Convert"
msgstr "A une forme \"convertie\"" msgstr "A une forme \"convertie\""
#: eeschema/dialog_create_component.cpp:187 #: eeschema/dialog_create_component.cpp:187
#: eeschema/dialog_edit_component_in_lib.cpp:161
msgid "Power symbol" msgid "Power symbol"
msgstr "Symbole alimentation" msgstr "Symbole alimentation"
#: eeschema/dialog_create_component.cpp:191 #: eeschema/dialog_create_component.cpp:191
#: eeschema/dialog_edit_component_in_schematic.cpp:188
#: eeschema/dialog_edit_component_in_lib.cpp:165
msgid "Parts are locked" msgid "Parts are locked"
msgstr "Les parts sont verrouillées" msgstr "Les parts sont verrouillées"
...@@ -5969,17 +5470,14 @@ msgid "Show Pin Number" ...@@ -5969,17 +5470,14 @@ msgid "Show Pin Number"
msgstr "Montrer Numéro de Pin" msgstr "Montrer Numéro de Pin"
#: eeschema/dialog_create_component.cpp:254 #: eeschema/dialog_create_component.cpp:254
#: eeschema/edit_component_in_lib.cpp:418
msgid "Show Pin Name" msgid "Show Pin Name"
msgstr "Montre Nom de Pin" msgstr "Montre Nom de Pin"
#: eeschema/dialog_create_component.cpp:258 #: eeschema/dialog_create_component.cpp:258
#: eeschema/edit_component_in_lib.cpp:429
msgid "Pin Name Inside" msgid "Pin Name Inside"
msgstr "Nom de pin a l'intérieur" msgstr "Nom de pin a l'intérieur"
#: eeschema/dialog_create_component.cpp:262 #: eeschema/dialog_create_component.cpp:262
#: eeschema/dialog_edit_component_in_lib.cpp:155
msgid "Skew:" msgid "Skew:"
msgstr "Décalage:" msgstr "Décalage:"
...@@ -6002,7 +5500,6 @@ msgstr "Feuille %s (fichier %s) modifiée. La sauver?" ...@@ -6002,7 +5500,6 @@ msgstr "Feuille %s (fichier %s) modifiée. La sauver?"
#: eeschema/netform.cpp:60 #: eeschema/netform.cpp:60
#: eeschema/netform.cpp:278 #: eeschema/netform.cpp:278
#: eeschema/save_schemas.cpp:86
msgid "Failed to create file " msgid "Failed to create file "
msgstr "Impossible de créer le fichier " msgstr "Impossible de créer le fichier "
...@@ -6301,13 +5798,10 @@ msgid "Options :" ...@@ -6301,13 +5798,10 @@ msgid "Options :"
msgstr "Options :" msgstr "Options :"
#: eeschema/dialog_cmp_graphic_properties.cpp:156 #: eeschema/dialog_cmp_graphic_properties.cpp:156
#: eeschema/symbtext.cpp:162
msgid "Common to Units" msgid "Common to Units"
msgstr "Commun aux Unités" msgstr "Commun aux Unités"
#: eeschema/dialog_cmp_graphic_properties.cpp:160 #: eeschema/dialog_cmp_graphic_properties.cpp:160
#: eeschema/symbtext.cpp:166
#: eeschema/pinedit-dialog.cpp:197
msgid "Common to convert" msgid "Common to convert"
msgstr "Commun a converti" msgstr "Commun a converti"
...@@ -6324,7 +5818,6 @@ msgid "Fill:" ...@@ -6324,7 +5818,6 @@ msgid "Fill:"
msgstr "Remplissage:" msgstr "Remplissage:"
#: eeschema/edit_component_in_lib.cpp:168 #: eeschema/edit_component_in_lib.cpp:168
#: eeschema/dialog_edit_component_in_lib.h:56
msgid "Lib Component Properties" msgid "Lib Component Properties"
msgstr "Propriétés du composant librairie" msgstr "Propriétés du composant librairie"
...@@ -6337,7 +5830,6 @@ msgid "(alias of " ...@@ -6337,7 +5830,6 @@ msgid "(alias of "
msgstr "(alias de " msgstr "(alias de "
#: eeschema/edit_component_in_lib.cpp:216 #: eeschema/edit_component_in_lib.cpp:216
#: eeschema/dialog_edit_component_in_lib.cpp:210
msgid "Alias" msgid "Alias"
msgstr "Alias" msgstr "Alias"
...@@ -6382,7 +5874,6 @@ msgstr "Alignement au sommet" ...@@ -6382,7 +5874,6 @@ msgstr "Alignement au sommet"
#: eeschema/edit_component_in_lib.cpp:484 #: eeschema/edit_component_in_lib.cpp:484
#: eeschema/dialog_edit_component_in_schematic.cpp:226 #: eeschema/dialog_edit_component_in_schematic.cpp:226
#: eeschema/eelayer.h:164
msgid "Fields" msgid "Fields"
msgstr "Champs" msgstr "Champs"
...@@ -6393,22 +5884,18 @@ msgstr "Texte visible" ...@@ -6393,22 +5884,18 @@ msgstr "Texte visible"
#: eeschema/edit_component_in_lib.cpp:502 #: eeschema/edit_component_in_lib.cpp:502
#: eeschema/dialog_edit_component_in_schematic.cpp:216 #: eeschema/dialog_edit_component_in_schematic.cpp:216
#: eeschema/symbtext.cpp:170
msgid "Vertical" msgid "Vertical"
msgstr "Vertical" msgstr "Vertical"
#: eeschema/edit_component_in_lib.cpp:508 #: eeschema/edit_component_in_lib.cpp:508
#: eeschema/edit_component_in_schematic.cpp:206
msgid "Field Name:" msgid "Field Name:"
msgstr "Nom Champ" msgstr "Nom Champ"
#: eeschema/edit_component_in_lib.cpp:518 #: eeschema/edit_component_in_lib.cpp:518
#: eeschema/edit_component_in_schematic.cpp:216
msgid "Field Text:" msgid "Field Text:"
msgstr "Texte du Champ:" msgstr "Texte du Champ:"
#: eeschema/edit_component_in_lib.cpp:524 #: eeschema/edit_component_in_lib.cpp:524
#: eeschema/edit_component_in_schematic.cpp:224
msgid "Pos" msgid "Pos"
msgstr "Pos" msgstr "Pos"
...@@ -6425,7 +5912,6 @@ msgid "Chip Name" ...@@ -6425,7 +5912,6 @@ msgid "Chip Name"
msgstr "Nom en librairie" msgstr "Nom en librairie"
#: eeschema/edit_component_in_lib.cpp:554 #: eeschema/edit_component_in_lib.cpp:554
#: eeschema/edit_component_in_schematic.cpp:200
msgid "Field to edit" msgid "Field to edit"
msgstr "Champ à éditer" msgstr "Champ à éditer"
...@@ -6471,7 +5957,6 @@ msgid "Delete Convert items" ...@@ -6471,7 +5957,6 @@ msgid "Delete Convert items"
msgstr "Suppression des éléments convertis" msgstr "Suppression des éléments convertis"
#: eeschema/edit_component_in_lib.cpp:1144 #: eeschema/edit_component_in_lib.cpp:1144
#: common/eda_doc.cpp:134
msgid "Doc Files" msgid "Doc Files"
msgstr "Fichiers de Doc" msgstr "Fichiers de Doc"
...@@ -6484,17 +5969,14 @@ msgid "New FootprintFilter:" ...@@ -6484,17 +5969,14 @@ msgid "New FootprintFilter:"
msgstr "Nouveau Filtre de Modules:" msgstr "Nouveau Filtre de Modules:"
#: eeschema/plotps.cpp:190 #: eeschema/plotps.cpp:190
#: eeschema/plothpgl.cpp:223
msgid "Page Size A4" msgid "Page Size A4"
msgstr "Feuille A4" msgstr "Feuille A4"
#: eeschema/plotps.cpp:191 #: eeschema/plotps.cpp:191
#: eeschema/plothpgl.cpp:228
msgid "Page Size A" msgid "Page Size A"
msgstr "Feuille A" msgstr "Feuille A"
#: eeschema/plotps.cpp:192 #: eeschema/plotps.cpp:192
#: eeschema/plothpgl.cpp:233
msgid "Plot page size:" msgid "Plot page size:"
msgstr "Format de la feuille:" msgstr "Format de la feuille:"
...@@ -6507,8 +5989,6 @@ msgid "B/W" ...@@ -6507,8 +5989,6 @@ msgid "B/W"
msgstr "N/B" msgstr "N/B"
#: eeschema/plotps.cpp:204 #: eeschema/plotps.cpp:204
#: share/dialog_print.cpp:203
#: share/svg_print.cpp:212
msgid "Color" msgid "Color"
msgstr "Couleur" msgstr "Couleur"
...@@ -6517,18 +5997,14 @@ msgid "Plot Color:" ...@@ -6517,18 +5997,14 @@ msgid "Plot Color:"
msgstr "Tracé et Couleurs:" msgstr "Tracé et Couleurs:"
#: eeschema/plotps.cpp:209 #: eeschema/plotps.cpp:209
#: share/dialog_print.cpp:194
#: share/svg_print.cpp:218
msgid "Print Sheet Ref" msgid "Print Sheet Ref"
msgstr "Imprimer cartouche" msgstr "Imprimer cartouche"
#: eeschema/plotps.cpp:218 #: eeschema/plotps.cpp:218
#: eeschema/plothpgl.cpp:283
msgid "&Plot page" msgid "&Plot page"
msgstr "&Tracer Page" msgstr "&Tracer Page"
#: eeschema/plotps.cpp:223 #: eeschema/plotps.cpp:223
#: eeschema/plothpgl.cpp:288
msgid "Plot a&ll" msgid "Plot a&ll"
msgstr "&Tout tracer" msgstr "&Tout tracer"
...@@ -6547,7 +6023,6 @@ msgid "Plot: %s\n" ...@@ -6547,7 +6023,6 @@ msgid "Plot: %s\n"
msgstr "Trace: %s\n" msgstr "Trace: %s\n"
#: eeschema/menubar.cpp:41 #: eeschema/menubar.cpp:41
#: gerbview/tool_gerber.cpp:63
msgid "&New" msgid "&New"
msgstr "&Nouveau" msgstr "&Nouveau"
...@@ -6556,7 +6031,6 @@ msgid "New schematic" ...@@ -6556,7 +6031,6 @@ msgid "New schematic"
msgstr "Nouvelle schématique" msgstr "Nouvelle schématique"
#: eeschema/menubar.cpp:47 #: eeschema/menubar.cpp:47
#: cvpcb/tool_cvpcb.cpp:109
msgid "&Open" msgid "&Open"
msgstr "&Ouvrir " msgstr "&Ouvrir "
...@@ -6569,7 +6043,6 @@ msgid "&Save" ...@@ -6569,7 +6043,6 @@ msgid "&Save"
msgstr "&Sauver" msgstr "&Sauver"
#: eeschema/menubar.cpp:55 #: eeschema/menubar.cpp:55
#: eeschema/tool_sch.cpp:45
msgid "Save schematic project" msgid "Save schematic project"
msgstr "Sauver le Projet schématique" msgstr "Sauver le Projet schématique"
...@@ -6638,7 +6111,6 @@ msgid "&Redo\t" ...@@ -6638,7 +6111,6 @@ msgid "&Redo\t"
msgstr "&Redo\t" msgstr "&Redo\t"
#: eeschema/menubar.cpp:154 #: eeschema/menubar.cpp:154
#: pcbnew/find.h:38
msgid "Find" msgid "Find"
msgstr "Chercher" msgstr "Chercher"
...@@ -6655,7 +6127,6 @@ msgid "&Component" ...@@ -6655,7 +6127,6 @@ msgid "&Component"
msgstr "&Composant" msgstr "&Composant"
#: eeschema/menubar.cpp:206 #: eeschema/menubar.cpp:206
#: eeschema/tool_sch.cpp:156
msgid "Place the component" msgid "Place the component"
msgstr "Placer le Composant" msgstr "Placer le Composant"
...@@ -6664,7 +6135,6 @@ msgid "&Power port" ...@@ -6664,7 +6135,6 @@ msgid "&Power port"
msgstr "Power Symbole" msgstr "Power Symbole"
#: eeschema/menubar.cpp:212 #: eeschema/menubar.cpp:212
#: eeschema/tool_sch.cpp:160
msgid "Place the power port" msgid "Place the power port"
msgstr "Placer le Symbole Power" msgstr "Placer le Symbole Power"
...@@ -6673,7 +6143,6 @@ msgid "&Wire" ...@@ -6673,7 +6143,6 @@ msgid "&Wire"
msgstr "&Fil" msgstr "&Fil"
#: eeschema/menubar.cpp:218 #: eeschema/menubar.cpp:218
#: eeschema/tool_sch.cpp:165
msgid "Place the wire" msgid "Place the wire"
msgstr "Place fil" msgstr "Place fil"
...@@ -6682,7 +6151,6 @@ msgid "&Bus" ...@@ -6682,7 +6151,6 @@ msgid "&Bus"
msgstr "&Bus" msgstr "&Bus"
#: eeschema/menubar.cpp:227 #: eeschema/menubar.cpp:227
#: eeschema/tool_sch.cpp:169
msgid "Place bus" msgid "Place bus"
msgstr "Place bus" msgstr "Place bus"
...@@ -6715,7 +6183,6 @@ msgid "Net name" ...@@ -6715,7 +6183,6 @@ msgid "Net name"
msgstr "Net Name" msgstr "Net Name"
#: eeschema/menubar.cpp:267 #: eeschema/menubar.cpp:267
#: eeschema/tool_sch.cpp:186
msgid "Place net name" msgid "Place net name"
msgstr "Place nom de net" msgstr "Place nom de net"
...@@ -6728,12 +6195,10 @@ msgid "Place a global label. Warning: all global labels with the same name are c ...@@ -6728,12 +6195,10 @@ msgid "Place a global label. Warning: all global labels with the same name are c
msgstr "Placer un label global. Attention: tous les labels globaux avec le même nom sont connectés dans toute la hierarchie" msgstr "Placer un label global. Attention: tous les labels globaux avec le même nom sont connectés dans toute la hierarchie"
#: eeschema/menubar.cpp:284 #: eeschema/menubar.cpp:284
#: eeschema/eelayer.h:85
msgid "Junction" msgid "Junction"
msgstr "Jonction" msgstr "Jonction"
#: eeschema/menubar.cpp:285 #: eeschema/menubar.cpp:285
#: eeschema/tool_sch.cpp:195
msgid "Place junction" msgid "Place junction"
msgstr "Place jonction" msgstr "Place jonction"
...@@ -6782,7 +6247,6 @@ msgid "Graphic text (comment)" ...@@ -6782,7 +6247,6 @@ msgid "Graphic text (comment)"
msgstr "Ttextes graphiques (commentaires)" msgstr "Ttextes graphiques (commentaires)"
#: eeschema/menubar.cpp:349 #: eeschema/menubar.cpp:349
#: eeschema/tool_sch.cpp:223
msgid "Place graphic text (comment)" msgid "Place graphic text (comment)"
msgstr "Placer textes graphiques (commentaires)" msgstr "Placer textes graphiques (commentaires)"
...@@ -6795,7 +6259,6 @@ msgid "Color preferences" ...@@ -6795,7 +6259,6 @@ msgid "Color preferences"
msgstr "Préférences de couleurs" msgstr "Préférences de couleurs"
#: eeschema/menubar.cpp:371 #: eeschema/menubar.cpp:371
#: gerbview/tool_gerber.cpp:110
msgid "&Options" msgid "&Options"
msgstr "&Options" msgstr "&Options"
...@@ -6989,19 +6452,14 @@ msgid "Text Orient:" ...@@ -6989,19 +6452,14 @@ msgid "Text Orient:"
msgstr "Orient:" msgstr "Orient:"
#: eeschema/dialog_edit_label.cpp:160 #: eeschema/dialog_edit_label.cpp:160
#: eeschema/pinedit-dialog.cpp:264
#: eeschema/component_wizard/dialog_component_setup.cpp:201
msgid "Input" msgid "Input"
msgstr "Entrée" msgstr "Entrée"
#: eeschema/dialog_edit_label.cpp:161 #: eeschema/dialog_edit_label.cpp:161
#: eeschema/pinedit-dialog.cpp:265
#: eeschema/component_wizard/dialog_component_setup.cpp:202
msgid "Output" msgid "Output"
msgstr "Sortie" msgstr "Sortie"
#: eeschema/dialog_edit_label.cpp:162 #: eeschema/dialog_edit_label.cpp:162
#: eeschema/pinedit-dialog.cpp:266
msgid "Bidi" msgid "Bidi"
msgstr "Bidi" msgstr "Bidi"
...@@ -7010,8 +6468,6 @@ msgid "TriState" ...@@ -7010,8 +6468,6 @@ msgid "TriState"
msgstr "3 états" msgstr "3 états"
#: eeschema/dialog_edit_label.cpp:164 #: eeschema/dialog_edit_label.cpp:164
#: eeschema/pinedit-dialog.cpp:268
#: eeschema/component_wizard/dialog_component_setup.cpp:205
msgid "Passive" msgid "Passive"
msgstr "Passive" msgstr "Passive"
...@@ -7267,8 +6723,6 @@ msgid "Select component (%d items)" ...@@ -7267,8 +6723,6 @@ msgid "Select component (%d items)"
msgstr "Selection composant (%d items)" msgstr "Selection composant (%d items)"
#: eeschema/viewlibs.cpp:118 #: eeschema/viewlibs.cpp:118
#: eeschema/viewlib_frame.cpp:53
#: eeschema/tool_sch.cpp:56
msgid "Library browser" msgid "Library browser"
msgstr "Visualisateur des librairies" msgstr "Visualisateur des librairies"
...@@ -7296,9 +6750,6 @@ msgid "Empty Text!" ...@@ -7296,9 +6750,6 @@ msgid "Empty Text!"
msgstr "Texte vide" msgstr "Texte vide"
#: eeschema/eeconfig.cpp:73 #: eeschema/eeconfig.cpp:73
#: kicad/files-io.cpp:131
#: gerbview/dcode.cpp:266
#: gerbview/readgerb.cpp:145
msgid "File " msgid "File "
msgstr "Fichier " msgstr "Fichier "
...@@ -7311,7 +6762,6 @@ msgid "White" ...@@ -7311,7 +6762,6 @@ msgid "White"
msgstr "Blanc" msgstr "Blanc"
#: eeschema/eelayer.cpp:234 #: eeschema/eelayer.cpp:234
#: share/dialog_print.cpp:204
msgid "Black" msgid "Black"
msgstr "Noir" msgstr "Noir"
...@@ -7325,7 +6775,6 @@ msgid "Arc %.1f deg" ...@@ -7325,7 +6775,6 @@ msgid "Arc %.1f deg"
msgstr "Arc %.1f deg" msgstr "Arc %.1f deg"
#: eeschema/eeredraw.cpp:130 #: eeschema/eeredraw.cpp:130
#: eeschema/eelayer.h:171
msgid "Sheet" msgid "Sheet"
msgstr "Feuille" msgstr "Feuille"
...@@ -7366,12 +6815,10 @@ msgid "Warning More than 1 Pin connected to UnConnect symbol" ...@@ -7366,12 +6815,10 @@ msgid "Warning More than 1 Pin connected to UnConnect symbol"
msgstr "Warning: plus que 1 Pin connectée a un symbole de non connexion" msgstr "Warning: plus que 1 Pin connectée a un symbole de non connexion"
#: eeschema/erc.cpp:595 #: eeschema/erc.cpp:595
#: common/confirm.cpp:84
msgid "Warning" msgid "Warning"
msgstr "Avertissement" msgstr "Avertissement"
#: eeschema/erc.cpp:598 #: eeschema/erc.cpp:598
#: common/confirm.cpp:88
msgid "Error" msgid "Error"
msgstr "Erreur" msgstr "Erreur"
...@@ -7440,12 +6887,10 @@ msgid "Root" ...@@ -7440,12 +6887,10 @@ msgid "Root"
msgstr "Racine" msgstr "Racine"
#: eeschema/hotkeys.cpp:249 #: eeschema/hotkeys.cpp:249
#: eeschema/schedit.cpp:241
msgid "Add Component" msgid "Add Component"
msgstr "Ajout Composant" msgstr "Ajout Composant"
#: eeschema/hotkeys.cpp:271 #: eeschema/hotkeys.cpp:271
#: eeschema/schedit.cpp:189
msgid "Add Wire" msgid "Add Wire"
msgstr "Ajouter Fils" msgstr "Ajouter Fils"
...@@ -7482,7 +6927,6 @@ msgid "Hierachy Pins by Sheets" ...@@ -7482,7 +6927,6 @@ msgid "Hierachy Pins by Sheets"
msgstr "Pins de hiérarchie par feuilles" msgstr "Pins de hiérarchie par feuilles"
#: eeschema/dialog_build_BOM.cpp:269 #: eeschema/dialog_build_BOM.cpp:269
#: eeschema/netlist.cpp:197
msgid "List" msgid "List"
msgstr "Liste" msgstr "Liste"
...@@ -7555,7 +6999,6 @@ msgid "Create &List" ...@@ -7555,7 +6999,6 @@ msgid "Create &List"
msgstr "Créer &Liste" msgstr "Créer &Liste"
#: eeschema/dialog_build_BOM.cpp:352 #: eeschema/dialog_build_BOM.cpp:352
#: cvpcb/dialog_display_options.cpp:196
msgid "&Apply" msgid "&Apply"
msgstr "&Appliquer" msgstr "&Appliquer"
...@@ -7732,7 +7175,6 @@ msgstr "#End labels\n" ...@@ -7732,7 +7175,6 @@ msgstr "#End labels\n"
#: eeschema/netlist_control.cpp:124 #: eeschema/netlist_control.cpp:124
#: eeschema/netlist_control.cpp:240 #: eeschema/netlist_control.cpp:240
#: gerbview/options.cpp:201
msgid "Default format" msgid "Default format"
msgstr "Format par défaut" msgstr "Format par défaut"
...@@ -7786,7 +7228,6 @@ msgid "Netlist command:" ...@@ -7786,7 +7228,6 @@ msgid "Netlist command:"
msgstr "Commande netliste:" msgstr "Commande netliste:"
#: eeschema/netlist_control.cpp:320 #: eeschema/netlist_control.cpp:320
#: share/setpage.cpp:354
msgid "Title:" msgid "Title:"
msgstr "Titre:" msgstr "Titre:"
...@@ -7819,37 +7260,30 @@ msgid "Datasheet" ...@@ -7819,37 +7260,30 @@ msgid "Datasheet"
msgstr "Documentation" msgstr "Documentation"
#: eeschema/pinedit.cpp:22 #: eeschema/pinedit.cpp:22
#: eeschema/pinedit-dialog.cpp:251
msgid "line" msgid "line"
msgstr "Ligne" msgstr "Ligne"
#: eeschema/pinedit.cpp:22 #: eeschema/pinedit.cpp:22
#: eeschema/pinedit-dialog.cpp:252
msgid "invert" msgid "invert"
msgstr "invert" msgstr "invert"
#: eeschema/pinedit.cpp:22 #: eeschema/pinedit.cpp:22
#: eeschema/pinedit-dialog.cpp:253
msgid "clock" msgid "clock"
msgstr "clock" msgstr "clock"
#: eeschema/pinedit.cpp:22 #: eeschema/pinedit.cpp:22
#: eeschema/pinedit-dialog.cpp:254
msgid "clock inv" msgid "clock inv"
msgstr "clock inv" msgstr "clock inv"
#: eeschema/pinedit.cpp:23 #: eeschema/pinedit.cpp:23
#: eeschema/pinedit-dialog.cpp:255
msgid "low in" msgid "low in"
msgstr "low in" msgstr "low in"
#: eeschema/pinedit.cpp:23 #: eeschema/pinedit.cpp:23
#: eeschema/pinedit-dialog.cpp:256
msgid "low clock" msgid "low clock"
msgstr "low clock" msgstr "low clock"
#: eeschema/pinedit.cpp:23 #: eeschema/pinedit.cpp:23
#: eeschema/pinedit-dialog.cpp:257
msgid "low out" msgid "low out"
msgstr "low out" msgstr "low out"
...@@ -7876,7 +7310,6 @@ msgid " Normal" ...@@ -7876,7 +7310,6 @@ msgid " Normal"
msgstr " Normal" msgstr " Normal"
#: eeschema/save_schemas.cpp:61 #: eeschema/save_schemas.cpp:61
#: eeschema/files-io.cpp:82
msgid "Schematic files:" msgid "Schematic files:"
msgstr "Fichiers schématiques:" msgstr "Fichiers schématiques:"
...@@ -7937,7 +7370,6 @@ msgid "Add Power" ...@@ -7937,7 +7370,6 @@ msgid "Add Power"
msgstr "Add Alims" msgstr "Add Alims"
#: eeschema/sheet.cpp:162 #: eeschema/sheet.cpp:162
#: share/svg_print.cpp:251
msgid "Filename:" msgid "Filename:"
msgstr "Nom Fichier:" msgstr "Nom Fichier:"
...@@ -8185,7 +7617,6 @@ msgid "Edit pins part per part (Carefully use!)" ...@@ -8185,7 +7617,6 @@ msgid "Edit pins part per part (Carefully use!)"
msgstr "Editer pins unité par unité (Utiliser en connaissance de cause)" msgstr "Editer pins unité par unité (Utiliser en connaissance de cause)"
#: eeschema/tool_lib.cpp:238 #: eeschema/tool_lib.cpp:238
#: eeschema/tool_viewlib.cpp:128
#, c-format #, c-format
msgid "Part %c" msgid "Part %c"
msgstr "Composant %c" msgstr "Composant %c"
...@@ -8227,7 +7658,6 @@ msgid "3 States" ...@@ -8227,7 +7658,6 @@ msgid "3 States"
msgstr "3 Etats" msgstr "3 Etats"
#: eeschema/pinedit-dialog.cpp:269 #: eeschema/pinedit-dialog.cpp:269
#: eeschema/component_wizard/dialog_component_setup.cpp:206
msgid "Unspecified" msgid "Unspecified"
msgstr "Non specifié" msgstr "Non specifié"
...@@ -8420,7 +7850,6 @@ msgid "Place graphic line or polygon" ...@@ -8420,7 +7850,6 @@ msgid "Place graphic line or polygon"
msgstr "Placer ligne ou polygone graphique" msgstr "Placer ligne ou polygone graphique"
#: eeschema/tool_sch.cpp:267 #: eeschema/tool_sch.cpp:267
#: eeschema/schframe.cpp:418
msgid "Show Hidden Pins" msgid "Show Hidden Pins"
msgstr "Force affichage des pins invisibles" msgstr "Force affichage des pins invisibles"
...@@ -8655,7 +8084,6 @@ msgid "Move Text " ...@@ -8655,7 +8084,6 @@ msgid "Move Text "
msgstr "Déplacer Texte" msgstr "Déplacer Texte"
#: eeschema/libedit_onrightclick.cpp:126 #: eeschema/libedit_onrightclick.cpp:126
#: eeschema/dialog_edit_label.h:44
msgid "Text Editor" msgid "Text Editor"
msgstr "Editeur de Texte" msgstr "Editeur de Texte"
...@@ -8958,8 +8386,6 @@ msgid "Cvpcb is already running, Continue?" ...@@ -8958,8 +8386,6 @@ msgid "Cvpcb is already running, Continue?"
msgstr "Cvpcb est est cours d'exécution. Continuer ?" msgstr "Cvpcb est est cours d'exécution. Continuer ?"
#: cvpcb/displayframe.cpp:118 #: cvpcb/displayframe.cpp:118
#: pcbnew/dialog_display_options.h:54
#: cvpcb/dialog_display_options.h:51
msgid "Display Options" msgid "Display Options"
msgstr "Options d'Affichage" msgstr "Options d'Affichage"
...@@ -9199,27 +8625,22 @@ msgid "Delete selections" ...@@ -9199,27 +8625,22 @@ msgid "Delete selections"
msgstr "Effacement des associations existantes" msgstr "Effacement des associations existantes"
#: cvpcb/cvframe.cpp:426 #: cvpcb/cvframe.cpp:426
#: share/drawframe.cpp:136
msgid "Dialog boxes" msgid "Dialog boxes"
msgstr "Fenêtres de dialogue" msgstr "Fenêtres de dialogue"
#: cvpcb/cvframe.cpp:431 #: cvpcb/cvframe.cpp:431
#: share/drawframe.cpp:141
msgid "Lists" msgid "Lists"
msgstr "Listes" msgstr "Listes"
#: cvpcb/cvframe.cpp:436 #: cvpcb/cvframe.cpp:436
#: share/drawframe.cpp:146
msgid "Status box" msgid "Status box"
msgstr "Fenetre d'état" msgstr "Fenetre d'état"
#: cvpcb/cvframe.cpp:442 #: cvpcb/cvframe.cpp:442
#: share/drawframe.cpp:152
msgid "&Font" msgid "&Font"
msgstr "&Fonte" msgstr "&Fonte"
#: cvpcb/cvframe.cpp:444 #: cvpcb/cvframe.cpp:444
#: share/drawframe.cpp:154
msgid "Choose font type and size for dialogs, infos and status box" msgid "Choose font type and size for dialogs, infos and status box"
msgstr "Choisir les fontes et leur taille pour les dialogues, infos et ligne d'état" msgstr "Choisir les fontes et leur taille pour les dialogues, infos et ligne d'état"
...@@ -9339,7 +8760,6 @@ msgid "You must choose a PDF viewer before use this option" ...@@ -9339,7 +8760,6 @@ msgid "You must choose a PDF viewer before use this option"
msgstr "Vous devez choisir un Visualisateur PDF avant d'utiliser cette option" msgstr "Vous devez choisir un Visualisateur PDF avant d'utiliser cette option"
#: kicad/preferences.cpp:97 #: kicad/preferences.cpp:97
#: common/gestfich.cpp:685
msgid "Prefered Editor:" msgid "Prefered Editor:"
msgstr "Editeur préféré:" msgstr "Editeur préféré:"
...@@ -9726,12 +9146,10 @@ msgid "Gerber files:" ...@@ -9726,12 +9146,10 @@ msgid "Gerber files:"
msgstr "Fichiers Gerber:" msgstr "Fichiers Gerber:"
#: gerbview/files.cpp:187 #: gerbview/files.cpp:187
#: gerbview/readgerb.cpp:273
msgid "D codes files:" msgid "D codes files:"
msgstr "Fichiers D-Codes:" msgstr "Fichiers D-Codes:"
#: gerbview/gerbview_config.cpp:147 #: gerbview/gerbview_config.cpp:147
#: gerbview/process_config.cpp:117
msgid "Save config file" msgid "Save config file"
msgstr "Sauver config" msgstr "Sauver config"
...@@ -10852,7 +10270,6 @@ msgid "dialog_freeroute_exchange" ...@@ -10852,7 +10270,6 @@ msgid "dialog_freeroute_exchange"
msgstr "dialog_freeroute_exchange" msgstr "dialog_freeroute_exchange"
#: pcbnew/dialog_general_options.h:60 #: pcbnew/dialog_general_options.h:60
#: eeschema/dialog_options.h:55
msgid "General Options" msgid "General Options"
msgstr "Options Générales" msgstr "Options Générales"
...@@ -10873,7 +10290,6 @@ msgid "Footprints Orientation" ...@@ -10873,7 +10290,6 @@ msgid "Footprints Orientation"
msgstr "Orientation des Modules" msgstr "Orientation des Modules"
#: pcbnew/dialog_setup_libs.h:43 #: pcbnew/dialog_setup_libs.h:43
#: eeschema/dialog_eeschema_config.h:50
msgid "Dialog" msgid "Dialog"
msgstr "Dialog" msgstr "Dialog"
...@@ -10981,7 +10397,7 @@ msgstr "Afficher Modules Cu" ...@@ -10981,7 +10397,7 @@ msgstr "Afficher Modules Cu"
msgid "Pad properties" msgid "Pad properties"
msgstr "Propriétés des Pads" msgstr "Propriétés des Pads"
#: pcbnew/dialog_copper_zones_frame.h:88 #: pcbnew/dialog_copper_zones_frame.h:103
msgid "Fill Zones Options" msgid "Fill Zones Options"
msgstr "Options de Remplissage de Zone" msgstr "Options de Remplissage de Zone"
...@@ -11297,3 +10713,6 @@ msgstr "Imprimer" ...@@ -11297,3 +10713,6 @@ msgstr "Imprimer"
msgid "Create SVG file" msgid "Create SVG file"
msgstr "Créer Fichier SVG" msgstr "Créer Fichier SVG"
#~ msgid "Unfill zone"
#~ msgstr "Vider zone"
...@@ -21,16 +21,18 @@ ZONE_CONTAINER::ZONE_CONTAINER( BOARD* parent ) : ...@@ -21,16 +21,18 @@ ZONE_CONTAINER::ZONE_CONTAINER( BOARD* parent ) :
BOARD_ITEM( parent, TYPEZONE_CONTAINER ) BOARD_ITEM( parent, TYPEZONE_CONTAINER )
{ {
m_NetCode = -1; // Net number for fast comparisons m_NetCode = -1; // Net number for fast comparisons
m_CornerSelection = -1; m_CornerSelection = -1;
m_ZoneClearance = 200; // a reasonnable clerance value m_ZoneClearance = 200; // a reasonnable clerance value
m_GridFillValue = 50; // a reasonnable grid used for filling m_GridFillValue = 50; // a reasonnable grid used for filling
m_PadOption = THERMAL_PAD; m_PadOption = THERMAL_PAD;
utility = 0; // flags used in polygon calculations utility = 0; // flags used in polygon calculations
utility2 = 0; // flags used in polygon calculations utility2 = 0; // flags used in polygon calculations
m_Poly = new CPolyLine(); // Outlines m_Poly = new CPolyLine(); // Outlines
m_ArcToSegmentsCount = 16; // Use 16 segment to convert a circle to a polygon m_ArcToSegmentsCount = 16; // Use 16 segment to convert a circle to a polygon
m_DrawOptions = 0; m_DrawOptions = 0;
m_ThermalReliefGapValue = 200; // tickness of the gap in thermal reliefs
m_ThermalReliefCopperBridgeValue = 200; // tickness of the copper bridge in thermal reliefs
} }
...@@ -86,8 +88,8 @@ bool ZONE_CONTAINER::Save( FILE* aFile ) const ...@@ -86,8 +88,8 @@ bool ZONE_CONTAINER::Save( FILE* aFile ) const
// Save the outline main info // Save the outline main info
ret = fprintf( aFile, "ZInfo %8.8lX %d \"%s\"\n", ret = fprintf( aFile, "ZInfo %8.8lX %d \"%s\"\n",
m_TimeStamp, m_NetCode, m_TimeStamp, m_NetCode,
CONV_TO_UTF8( m_Netname ) ); CONV_TO_UTF8( m_Netname ) );
if( ret < 3 ) if( ret < 3 )
return false; return false;
...@@ -138,8 +140,8 @@ bool ZONE_CONTAINER::Save( FILE* aFile ) const ...@@ -138,8 +140,8 @@ bool ZONE_CONTAINER::Save( FILE* aFile ) const
if( ret < 2 ) if( ret < 2 )
return false; return false;
ret = fprintf( aFile, "ZOptions %d %d %c\n", m_GridFillValue, m_ArcToSegmentsCount, ret = fprintf( aFile, "ZOptions %d %d %c %d %d\n", m_GridFillValue, m_ArcToSegmentsCount,
m_DrawOptions ? 'S' : 'F' ); m_DrawOptions ? 'S' : 'F' , m_ThermalReliefGapValue, m_ThermalReliefCopperBridgeValue);
if( ret < 3 ) if( ret < 3 )
return false; return false;
...@@ -148,8 +150,8 @@ bool ZONE_CONTAINER::Save( FILE* aFile ) const ...@@ -148,8 +150,8 @@ bool ZONE_CONTAINER::Save( FILE* aFile ) const
for( item_pos = 0; item_pos < corners_count; item_pos++ ) for( item_pos = 0; item_pos < corners_count; item_pos++ )
{ {
ret = fprintf( aFile, "ZCorner %d %d %d\n", ret = fprintf( aFile, "ZCorner %d %d %d\n",
m_Poly->corner[item_pos].x, m_Poly->corner[item_pos].y, m_Poly->corner[item_pos].x, m_Poly->corner[item_pos].y,
m_Poly->corner[item_pos].end_contour ); m_Poly->corner[item_pos].end_contour );
if( ret < 3 ) if( ret < 3 )
return false; return false;
} }
...@@ -274,20 +276,20 @@ int ZONE_CONTAINER::ReadDescr( FILE* aFile, int* aLineNum ) ...@@ -274,20 +276,20 @@ int ZONE_CONTAINER::ReadDescr( FILE* aFile, int* aLineNum )
{ {
int gridsize = 50; int gridsize = 50;
int arcsegmentcount = 16; int arcsegmentcount = 16;
int drawopt = 'F'; char drawopt = 'F';
text = Line + 8; text = Line + 8;
ret = sscanf( text, "%d %d %c", &gridsize, &arcsegmentcount, &drawopt ); ret = sscanf( text, "%d %d %c %d %d", &gridsize, &arcsegmentcount, &drawopt,
if( ret < 1 ) // Must find 1 or more args. &m_ThermalReliefGapValue, &m_ThermalReliefCopperBridgeValue );
if( ret < 1 ) // Must find 1 or more args.
return false; return false;
else else
m_GridFillValue = gridsize; m_GridFillValue = gridsize;
if ( arcsegmentcount >= 32 ) if( arcsegmentcount >= 32 )
m_ArcToSegmentsCount = 32; m_ArcToSegmentsCount = 32;
if ( drawopt == 'S' ) // Sketch mode for filled areas in this zone selected
m_DrawOptions = 1;
if( drawopt == 'S' ) // Sketch mode for filled areas in this zone selected
m_DrawOptions = 1;
} }
if( strnicmp( Line, "ZClearance", 10 ) == 0 ) // Clearence and pad options info found if( strnicmp( Line, "ZClearance", 10 ) == 0 ) // Clearence and pad options info found
{ {
...@@ -351,7 +353,7 @@ int ZONE_CONTAINER::ReadDescr( FILE* aFile, int* aLineNum ) ...@@ -351,7 +353,7 @@ int ZONE_CONTAINER::ReadDescr( FILE* aFile, int* aLineNum )
} }
/* Set hatch here, when outlines corners are read */ /* Set hatch here, when outlines corners are read */
m_Poly->SetHatch(outline_hatch); m_Poly->SetHatch( outline_hatch );
return error ? 0 : 1; return error ? 0 : 1;
} }
...@@ -509,10 +511,10 @@ void ZONE_CONTAINER::DrawFilledArea( WinEDA_DrawPanel* panel, ...@@ -509,10 +511,10 @@ void ZONE_CONTAINER::DrawFilledArea( WinEDA_DrawPanel* panel,
{ // Draw the current filled area { // Draw the current filled area
if( sketch_mode ) if( sketch_mode )
GRClosedPoly( &panel->m_ClipBox, DC, corners_count, CornersBuffer, GRClosedPoly( &panel->m_ClipBox, DC, corners_count, CornersBuffer,
false, 0, color, color ); false, 0, color, color );
else else
GRPoly( &panel->m_ClipBox, DC, corners_count, CornersBuffer, GRPoly( &panel->m_ClipBox, DC, corners_count, CornersBuffer,
true, 0, color, color ); true, 0, color, color );
corners_count = 0; corners_count = 0;
ii = 0; ii = 0;
} }
...@@ -571,7 +573,7 @@ void ZONE_CONTAINER::DrawWhileCreateOutline( WinEDA_DrawPanel* panel, wxDC* DC, ...@@ -571,7 +573,7 @@ void ZONE_CONTAINER::DrawWhileCreateOutline( WinEDA_DrawPanel* panel, wxDC* DC,
if( DC == NULL ) if( DC == NULL )
return; return;
int curr_layer = ( (PCB_SCREEN*) panel->GetScreen() )->m_Active_Layer; int curr_layer = ( (PCB_SCREEN*) panel->GetScreen() )->m_Active_Layer;
int color = g_DesignSettings.m_LayerColor[m_Layer] & MASKCOLOR; int color = g_DesignSettings.m_LayerColor[m_Layer & 31] & MASKCOLOR;
if( DisplayOpt.ContrastModeDisplay ) if( DisplayOpt.ContrastModeDisplay )
{ {
...@@ -585,28 +587,31 @@ void ZONE_CONTAINER::DrawWhileCreateOutline( WinEDA_DrawPanel* panel, wxDC* DC, ...@@ -585,28 +587,31 @@ void ZONE_CONTAINER::DrawWhileCreateOutline( WinEDA_DrawPanel* panel, wxDC* DC,
// draw the lines // draw the lines
wxPoint start_contour_pos = GetCornerPosition( 0 ); wxPoint start_contour_pos = GetCornerPosition( 0 );
for( int ic = 0; ic < GetNumCorners(); ic++ ) int icmax = GetNumCorners() - 1;
for( int ic = 0; ic <= icmax; ic++ )
{ {
int xi = GetCornerPosition( ic ).x; int xi = GetCornerPosition( ic ).x;
int yi = GetCornerPosition( ic ).y; int yi = GetCornerPosition( ic ).y;
int xf, yf; int xf, yf;
if( m_Poly->corner[ic].end_contour == FALSE && ic < GetNumCorners() - 1 ) if( m_Poly->corner[ic].end_contour == FALSE && ic < icmax )
{ {
is_close_segment = false; is_close_segment = false;
xf = GetCornerPosition( ic + 1 ).x; xf = GetCornerPosition( ic + 1 ).x;
yf = GetCornerPosition( ic + 1 ).y; yf = GetCornerPosition( ic + 1 ).y;
if( (m_Poly->corner[ic + 1].end_contour) || (ic == GetNumCorners() - 2) ) if( (m_Poly->corner[ic + 1].end_contour) || (ic == icmax - 1) )
current_gr_mode = GR_XOR; current_gr_mode = GR_XOR;
else else
current_gr_mode = draw_mode; current_gr_mode = draw_mode;
} }
else else // Draw the line from last corner to the first corner of the current coutour
{ {
is_close_segment = true; is_close_segment = true;
current_gr_mode = GR_XOR; current_gr_mode = GR_XOR;
xf = start_contour_pos.x; xf = start_contour_pos.x;
yf = start_contour_pos.y; yf = start_contour_pos.y;
start_contour_pos = GetCornerPosition( ic + 1 ); // Prepare the next contour for drawing, if exists
if ( ic < icmax )
start_contour_pos = GetCornerPosition( ic + 1 );
} }
GRSetDrawMode( DC, current_gr_mode ); GRSetDrawMode( DC, current_gr_mode );
if( is_close_segment ) if( is_close_segment )
...@@ -707,11 +712,11 @@ int ZONE_CONTAINER::HitTestForEdge( const wxPoint& refPos ) ...@@ -707,11 +712,11 @@ int ZONE_CONTAINER::HitTestForEdge( const wxPoint& refPos )
/* test the dist between segment and ref point */ /* test the dist between segment and ref point */
dist = (int) GetPointToLineSegmentDistance( refPos.x, dist = (int) GetPointToLineSegmentDistance( refPos.x,
refPos.y, refPos.y,
m_Poly->corner[item_pos].x, m_Poly->corner[item_pos].x,
m_Poly->corner[item_pos].y, m_Poly->corner[item_pos].y,
m_Poly->corner[end_segm].x, m_Poly->corner[end_segm].x,
m_Poly->corner[end_segm].y ); m_Poly->corner[end_segm].y );
if( dist <= min_dist ) if( dist <= min_dist )
{ {
m_CornerSelection = item_pos; m_CornerSelection = item_pos;
......
...@@ -27,33 +27,35 @@ public: ...@@ -27,33 +27,35 @@ public:
PAD_IN_ZONE // pads are covered by copper PAD_IN_ZONE // pads are covered by copper
}; };
wxString m_Netname; // Net Name wxString m_Netname; // Net Name
CPolyLine* m_Poly; // outlines CPolyLine* m_Poly; // outlines
int m_CornerSelection; // For corner moving, corner index to drag, or -1 if no selection int m_CornerSelection; // For corner moving, corner index to drag, or -1 if no selection
int m_ZoneClearance; // clearance value int m_ZoneClearance; // clearance value
int m_GridFillValue; // Grid used for filling, 0 = use polygonal areas to fill int m_GridFillValue; // Grid used for filling, 0 = use polygonal areas to fill
int m_ArcToSegmentsCount; // number of segments to convert a cirlce to a polygon (uses 16 or 32) int m_ArcToSegmentsCount; // number of segments to convert a cirlce to a polygon (uses 16 or 32)
m_PadInZone m_PadOption; // see m_PadInZone m_PadInZone m_PadOption; // see m_PadInZone
int utility, utility2; // flags used in polygon calculations int m_ThermalReliefGapValue; // tickness of the gap in thermal reliefs
int m_ThermalReliefCopperBridgeValue; // tickness of the copper bridge in thermal reliefs
int utility, utility2; // flags used in polygon calculations
std::vector <CPolyPt> m_FilledPolysList; /* set of filled polygons used to draw a zone as a filled area. std::vector <CPolyPt> m_FilledPolysList; /* set of filled polygons used to draw a zone as a filled area.
* from outlines (m_Poly) but unlike m_Poly these filled polygons have no hole (they are all in one piece) * from outlines (m_Poly) but unlike m_Poly these filled polygons have no hole (they are all in one piece)
* In very simple cases m_FilledPolysList is same as m_Poly * In very simple cases m_FilledPolysList is same as m_Poly
* In less simple cases (when m_Poly has holes) m_FilledPolysList is a polygon equivalent to m_Poly, without holes * In less simple cases (when m_Poly has holes) m_FilledPolysList is a polygon equivalent to m_Poly, without holes
* In complex cases an ouline decribed by m_Poly can have many filled areas * In complex cases an ouline decribed by m_Poly can have many filled areas
*/ */
int m_DrawOptions; /* used to pass some draw options (draw filled areas in sketch mode for instance ...) int m_DrawOptions; /* used to pass some draw options (draw filled areas in sketch mode for instance ...)
* currently useful when testing filling zones algos * currently useful when testing filling zones algos
*/ */
private: private:
int m_NetCode; // Net number for fast comparisons int m_NetCode; // Net number for fast comparisons
public: public:
ZONE_CONTAINER( BOARD* parent ); ZONE_CONTAINER( BOARD* parent );
~ZONE_CONTAINER(); ~ZONE_CONTAINER();
bool Save( FILE* aFile ) const; bool Save( FILE* aFile ) const;
int ReadDescr( FILE* aFile, int* aLineNum = NULL ); int ReadDescr( FILE* aFile, int* aLineNum = NULL );
wxPoint& GetPosition() wxPoint& GetPosition()
{ {
...@@ -72,9 +74,9 @@ public: ...@@ -72,9 +74,9 @@ public:
* copy usefull data from the source. * copy usefull data from the source.
* flags and linked list pointers are NOT copied * flags and linked list pointers are NOT copied
*/ */
void Copy( ZONE_CONTAINER* src ); void Copy( ZONE_CONTAINER* src );
void Display_Infos( WinEDA_DrawFrame* frame ); void Display_Infos( WinEDA_DrawFrame* frame );
/** /**
* Function Draw * Function Draw
...@@ -84,10 +86,10 @@ public: ...@@ -84,10 +86,10 @@ public:
* @param offset = Draw offset (usually wxPoint(0,0)) * @param offset = Draw offset (usually wxPoint(0,0))
* @param aDrawMode = GR_OR, GR_XOR, GR_COPY .. * @param aDrawMode = GR_OR, GR_XOR, GR_COPY ..
*/ */
void Draw( WinEDA_DrawPanel* panel, void Draw( WinEDA_DrawPanel* panel,
wxDC* DC, wxDC* DC,
int aDrawMode, int aDrawMode,
const wxPoint& offset = ZeroOffset ); const wxPoint& offset = ZeroOffset );
/** /**
* Function DrawDrawFilledArea * Function DrawDrawFilledArea
...@@ -97,19 +99,19 @@ public: ...@@ -97,19 +99,19 @@ public:
* @param offset = Draw offset (usually wxPoint(0,0)) * @param offset = Draw offset (usually wxPoint(0,0))
* @param aDrawMode = GR_OR, GR_XOR, GR_COPY .. * @param aDrawMode = GR_OR, GR_XOR, GR_COPY ..
*/ */
void DrawFilledArea( WinEDA_DrawPanel* panel, void DrawFilledArea( WinEDA_DrawPanel* panel,
wxDC* DC, wxDC* DC,
int aDrawMode, int aDrawMode,
const wxPoint& offset = ZeroOffset ); const wxPoint& offset = ZeroOffset );
EDA_Rect GetBoundingBox(); EDA_Rect GetBoundingBox();
/** /**
* Function Test_For_Copper_Island_And_Remove__Insulated_Islands * Function Test_For_Copper_Island_And_Remove__Insulated_Islands
* Remove insulated copper islands found in m_FilledPolysList. * Remove insulated copper islands found in m_FilledPolysList.
* @param aPcb = the board to analyse * @param aPcb = the board to analyse
*/ */
void Test_For_Copper_Island_And_Remove_Insulated_Islands( BOARD* aPcb ); void Test_For_Copper_Island_And_Remove_Insulated_Islands( BOARD* aPcb );
/** /**
* Function DrawWhileCreateOutline * Function DrawWhileCreateOutline
...@@ -120,7 +122,7 @@ public: ...@@ -120,7 +122,7 @@ public:
* @param DC = current Device Context * @param DC = current Device Context
* @param draw_mode = draw mode: OR, XOR .. * @param draw_mode = draw mode: OR, XOR ..
*/ */
void DrawWhileCreateOutline( WinEDA_DrawPanel* panel, wxDC* DC, int draw_mode = GR_OR ); void DrawWhileCreateOutline( WinEDA_DrawPanel* panel, wxDC* DC, int draw_mode = GR_OR );
/** /**
...@@ -139,7 +141,7 @@ public: ...@@ -139,7 +141,7 @@ public:
} }
void SetNet( int anet_code ); void SetNet( int anet_code );
/** /**
* Function HitTest * Function HitTest
...@@ -147,7 +149,7 @@ public: ...@@ -147,7 +149,7 @@ public:
* @param refPos A wxPoint to test * @param refPos A wxPoint to test
* @return bool - true if a hit, else false * @return bool - true if a hit, else false
*/ */
bool HitTest( const wxPoint& refPos ); bool HitTest( const wxPoint& refPos );
/** function BuildFilledPolysListData /** function BuildFilledPolysListData
* Build m_FilledPolysList data from real outlines (m_Poly) * Build m_FilledPolysList data from real outlines (m_Poly)
...@@ -158,7 +160,7 @@ public: ...@@ -158,7 +160,7 @@ public:
* This function does not add holes for pads and tracks but calls * This function does not add holes for pads and tracks but calls
* AddClearanceAreasPolygonsToPolysList() to do that for copper layers * AddClearanceAreasPolygonsToPolysList() to do that for copper layers
*/ */
int BuildFilledPolysListData( BOARD* aPcb ); int BuildFilledPolysListData( BOARD* aPcb );
/** function AddClearanceAreasPolygonsToPolysList /** function AddClearanceAreasPolygonsToPolysList
* Add non copper areas polygons (pads and tracks with clearence) * Add non copper areas polygons (pads and tracks with clearence)
...@@ -170,7 +172,7 @@ public: ...@@ -170,7 +172,7 @@ public:
* filled copper area polygon (without clearence areas * filled copper area polygon (without clearence areas
* @param aPcb: the current board * @param aPcb: the current board
*/ */
void AddClearanceAreasPolygonsToPolysList( BOARD* aPcb ); void AddClearanceAreasPolygonsToPolysList( BOARD* aPcb );
/** /**
* Function HitTestForCorner * Function HitTestForCorner
...@@ -178,7 +180,7 @@ public: ...@@ -178,7 +180,7 @@ public:
* @return -1 if none, corner index in .corner <vector> * @return -1 if none, corner index in .corner <vector>
* @param refPos : A wxPoint to test * @param refPos : A wxPoint to test
*/ */
int HitTestForCorner( const wxPoint& refPos ); int HitTestForCorner( const wxPoint& refPos );
/** /**
* Function HitTestForEdge * Function HitTestForEdge
...@@ -186,7 +188,7 @@ public: ...@@ -186,7 +188,7 @@ public:
* @return -1 if none, or index of the starting corner in .corner <vector> * @return -1 if none, or index of the starting corner in .corner <vector>
* @param refPos : A wxPoint to test * @param refPos : A wxPoint to test
*/ */
int HitTestForEdge( const wxPoint& refPos ); int HitTestForEdge( const wxPoint& refPos );
/** /**
* Function HitTest (overlayed) * Function HitTest (overlayed)
...@@ -194,7 +196,7 @@ public: ...@@ -194,7 +196,7 @@ public:
* @param refArea : the given EDA_Rect * @param refArea : the given EDA_Rect
* @return bool - true if a hit, else false * @return bool - true if a hit, else false
*/ */
bool HitTest( EDA_Rect& refArea ); bool HitTest( EDA_Rect& refArea );
/** /**
* Function Fill_Zone() * Function Fill_Zone()
...@@ -207,7 +209,7 @@ public: ...@@ -207,7 +209,7 @@ public:
* @param verbose = true to show error messages * @param verbose = true to show error messages
* @return error level (0 = no error) * @return error level (0 = no error)
*/ */
int Fill_Zone( WinEDA_PcbFrame* frame, wxDC* DC, bool verbose = TRUE ); int Fill_Zone( WinEDA_PcbFrame* frame, wxDC* DC, bool verbose = TRUE );
/* Geometric transformations: */ /* Geometric transformations: */
...@@ -216,14 +218,14 @@ public: ...@@ -216,14 +218,14 @@ public:
* Move the outlines * Move the outlines
* @param offset = moving vector * @param offset = moving vector
*/ */
void Move( const wxPoint& offset ); void Move( const wxPoint& offset );
/** /**
* Function MoveEdge * Function MoveEdge
* Move the outline Edge. m_CornerSelection is the start point of the outline edge * Move the outline Edge. m_CornerSelection is the start point of the outline edge
* @param offset = moving vector * @param offset = moving vector
*/ */
void MoveEdge( const wxPoint& offset ); void MoveEdge( const wxPoint& offset );
/** /**
* Function Rotate * Function Rotate
...@@ -231,7 +233,7 @@ public: ...@@ -231,7 +233,7 @@ public:
* @param centre = rot centre * @param centre = rot centre
* @param angle = in 0.1 degree * @param angle = in 0.1 degree
*/ */
void Rotate( const wxPoint& centre, int angle ); void Rotate( const wxPoint& centre, int angle );
/** /**
* Function Mirror * Function Mirror
...@@ -239,7 +241,7 @@ public: ...@@ -239,7 +241,7 @@ public:
* the layer is not changed * the layer is not changed
* @param mirror_ref = vertical axis position * @param mirror_ref = vertical axis position
*/ */
void Mirror( const wxPoint& mirror_ref ); void Mirror( const wxPoint& mirror_ref );
/** /**
* Function GetClass * Function GetClass
......
...@@ -53,7 +53,7 @@ dialog_copper_zone::dialog_copper_zone( WinEDA_PcbFrame* parent, ZONE_CONTAINER ...@@ -53,7 +53,7 @@ dialog_copper_zone::dialog_copper_zone( WinEDA_PcbFrame* parent, ZONE_CONTAINER
/*****************************************************************/ /*****************************************************************/
void dialog_copper_zone::OnInitDialog( wxInitDialogEvent& event ) void dialog_copper_zone::OnInitDialog( wxInitDialogEvent& event )
/*****************************************************************/ /*****************************************************************/
// Initialise dialog options // Initialise all dialog options and values in wxTextCtrl
{ {
BOARD* board = m_Parent->m_Pcb; BOARD* board = m_Parent->m_Pcb;
...@@ -81,7 +81,7 @@ void dialog_copper_zone::OnInitDialog( wxInitDialogEvent& event ) ...@@ -81,7 +81,7 @@ void dialog_copper_zone::OnInitDialog( wxInitDialogEvent& event )
int selection = 0; int selection = 0;
int grid_routing = g_GridRoutingSize; int grid_routing = g_GridRoutingSize;
if( m_Zone_Container ) if( m_Zone_Container )
grid_routing = m_Zone_Container->m_GridFillValue; grid_routing = m_Zone_Container->m_GridFillValue;
...@@ -109,18 +109,18 @@ void dialog_copper_zone::OnInitDialog( wxInitDialogEvent& event ) ...@@ -109,18 +109,18 @@ void dialog_copper_zone::OnInitDialog( wxInitDialogEvent& event )
switch( m_Zone_Container->m_PadOption ) switch( m_Zone_Container->m_PadOption )
{ {
case ZONE_CONTAINER::PAD_NOT_IN_ZONE: // Pads are not covered case ZONE_CONTAINER::PAD_NOT_IN_ZONE: // Pads are not covered
m_FillOpt->SetSelection( 2 ); m_PadInZoneOpt->SetSelection( 2 );
break; break;
case ZONE_CONTAINER::THERMAL_PAD: // Use thermal relief for pads case ZONE_CONTAINER::THERMAL_PAD: // Use thermal relief for pads
m_FillOpt->SetSelection( 1 ); m_PadInZoneOpt->SetSelection( 1 );
break; break;
case ZONE_CONTAINER::PAD_IN_ZONE: // pads are covered by copper case ZONE_CONTAINER::PAD_IN_ZONE: // pads are covered by copper
m_FillOpt->SetSelection( 0 ); m_PadInZoneOpt->SetSelection( 0 );
break; break;
} }
g_Zone_Hatching = m_Zone_Container->m_Poly->GetHatchStyle(); g_Zone_Hatching = m_Zone_Container->m_Poly->GetHatchStyle();
g_Zone_Arc_Approximation = m_Zone_Container->m_ArcToSegmentsCount; g_Zone_Arc_Approximation = m_Zone_Container->m_ArcToSegmentsCount;
g_FilledAreasShowMode = m_Zone_Container->m_DrawOptions; g_FilledAreasShowMode = m_Zone_Container->m_DrawOptions;
if ( g_FilledAreasShowMode == 1) if ( g_FilledAreasShowMode == 1)
m_ShowFilledAreasInSketchOpt->SetValue(true); m_ShowFilledAreasInSketchOpt->SetValue(true);
...@@ -133,19 +133,45 @@ void dialog_copper_zone::OnInitDialog( wxInitDialogEvent& event ) ...@@ -133,19 +133,45 @@ void dialog_copper_zone::OnInitDialog( wxInitDialogEvent& event )
switch( g_Zone_Pad_Options ) switch( g_Zone_Pad_Options )
{ {
case ZONE_CONTAINER::PAD_NOT_IN_ZONE: // Pads are not covered case ZONE_CONTAINER::PAD_NOT_IN_ZONE: // Pads are not covered
m_FillOpt->SetSelection( 2 ); m_PadInZoneOpt->SetSelection( 2 );
break; break;
case ZONE_CONTAINER::THERMAL_PAD: // Use thermal relief for pads case ZONE_CONTAINER::THERMAL_PAD: // Use thermal relief for pads
m_FillOpt->SetSelection( 1 ); m_PadInZoneOpt->SetSelection( 1 );
break; break;
case ZONE_CONTAINER::PAD_IN_ZONE: // pads are covered by copper case ZONE_CONTAINER::PAD_IN_ZONE: // pads are covered by copper
m_FillOpt->SetSelection( 0 ); m_PadInZoneOpt->SetSelection( 0 );
break; break;
} }
g_Zone_Hatching = m_Parent->m_Parent->m_EDA_Config->Read( ZONE_NET_OUTLINES_HATCH_OPTION_KEY, g_Zone_Hatching = m_Parent->m_Parent->m_EDA_Config->Read( ZONE_NET_OUTLINES_HATCH_OPTION_KEY,
(long) CPolyLine::DIAGONAL_EDGE ); (long) CPolyLine::DIAGONAL_EDGE );
} }
if ( g_Zone_Pad_Options != ZONE_CONTAINER::THERMAL_PAD )
{
m_AntipadSizeValue->Enable(false);
m_CopperWidthValue->Enable(false);
}
else
{
m_AntipadSizeValue->Enable(true);
m_CopperWidthValue->Enable(true);
}
if( m_Zone_Container )
{
g_ThermalReliefGapValue = m_Zone_Container->m_ThermalReliefGapValue;
g_ThermalReliefCopperBridgeValue = m_Zone_Container->m_ThermalReliefCopperBridgeValue;
}
else
{
m_Parent->m_Parent->m_EDA_Config->Read( ZONE_THERMAL_RELIEF_GAP_STRING_KEY, &g_ThermalReliefGapValue );
m_Parent->m_Parent->m_EDA_Config->Read( ZONE_THERMAL_RELIEF_COPPER_WIDTH_STRING_KEY, &g_ThermalReliefCopperBridgeValue );
}
AddUnitSymbol( *m_AntipadSizeText, g_UnitMetric );
AddUnitSymbol( *m_CopperBridgeWidthText, g_UnitMetric );
PutValueInLocalUnits( *m_AntipadSizeValue, g_ThermalReliefGapValue, PCB_INTERNAL_UNIT );
PutValueInLocalUnits( *m_CopperWidthValue, g_ThermalReliefCopperBridgeValue, PCB_INTERNAL_UNIT );
switch( g_Zone_Hatching ) switch( g_Zone_Hatching )
{ {
case CPolyLine::NO_HATCH: case CPolyLine::NO_HATCH:
...@@ -160,7 +186,7 @@ void dialog_copper_zone::OnInitDialog( wxInitDialogEvent& event ) ...@@ -160,7 +186,7 @@ void dialog_copper_zone::OnInitDialog( wxInitDialogEvent& event )
m_OutlineAppearanceCtrl->SetSelection(2); m_OutlineAppearanceCtrl->SetSelection(2);
break; break;
} }
m_ArcApproximationOpt->SetSelection( g_Zone_Arc_Approximation == 32 ? 1 : 0 ); m_ArcApproximationOpt->SetSelection( g_Zone_Arc_Approximation == 32 ? 1 : 0 );
/* build copper layers list */ /* build copper layers list */
...@@ -245,6 +271,7 @@ void dialog_copper_zone::OnInitDialog( wxInitDialogEvent& event ) ...@@ -245,6 +271,7 @@ void dialog_copper_zone::OnInitDialog( wxInitDialogEvent& event )
{ {
GetSizer()->SetSizeHints(this); GetSizer()->SetSizeHints(this);
} }
Center();
} }
...@@ -265,7 +292,7 @@ bool dialog_copper_zone::AcceptOptions(bool aPromptForErrors, bool aUseExportabl ...@@ -265,7 +292,7 @@ bool dialog_copper_zone::AcceptOptions(bool aPromptForErrors, bool aUseExportabl
* @param aUseExportableSetupOnly = true to use exportable parametres only (used to export this setup to other zones) * @param aUseExportableSetupOnly = true to use exportable parametres only (used to export this setup to other zones)
*/ */
{ {
switch( m_FillOpt->GetSelection() ) switch( m_PadInZoneOpt->GetSelection() )
{ {
case 2: case 2:
g_Zone_Pad_Options = ZONE_CONTAINER::PAD_NOT_IN_ZONE; // Pads are not covered g_Zone_Pad_Options = ZONE_CONTAINER::PAD_NOT_IN_ZONE; // Pads are not covered
...@@ -280,7 +307,7 @@ bool dialog_copper_zone::AcceptOptions(bool aPromptForErrors, bool aUseExportabl ...@@ -280,7 +307,7 @@ bool dialog_copper_zone::AcceptOptions(bool aPromptForErrors, bool aUseExportabl
break; break;
} }
switch( m_OutlineAppearanceCtrl->GetSelection() ) switch( m_OutlineAppearanceCtrl->GetSelection() )
{ {
case 0: case 0:
g_Zone_Hatching = CPolyLine::NO_HATCH; g_Zone_Hatching = CPolyLine::NO_HATCH;
...@@ -294,7 +321,7 @@ bool dialog_copper_zone::AcceptOptions(bool aPromptForErrors, bool aUseExportabl ...@@ -294,7 +321,7 @@ bool dialog_copper_zone::AcceptOptions(bool aPromptForErrors, bool aUseExportabl
g_Zone_Hatching = CPolyLine::DIAGONAL_FULL; g_Zone_Hatching = CPolyLine::DIAGONAL_FULL;
break; break;
} }
g_Zone_Arc_Approximation = m_ArcApproximationOpt->GetSelection() == 1 ? 32 : 16; g_Zone_Arc_Approximation = m_ArcApproximationOpt->GetSelection() == 1 ? 32 : 16;
if( m_Parent->m_Parent->m_EDA_Config ) if( m_Parent->m_Parent->m_EDA_Config )
...@@ -338,6 +365,12 @@ bool dialog_copper_zone::AcceptOptions(bool aPromptForErrors, bool aUseExportabl ...@@ -338,6 +365,12 @@ bool dialog_copper_zone::AcceptOptions(bool aPromptForErrors, bool aUseExportabl
g_FilledAreasShowMode = m_ShowFilledAreasInSketchOpt->IsChecked() ? 1 : 0; g_FilledAreasShowMode = m_ShowFilledAreasInSketchOpt->IsChecked() ? 1 : 0;
g_ThermalReliefGapValue = ReturnValueFromTextCtrl( *m_AntipadSizeValue, PCB_INTERNAL_UNIT );
g_ThermalReliefCopperBridgeValue = ReturnValueFromTextCtrl( *m_CopperWidthValue, PCB_INTERNAL_UNIT );
m_Parent->m_Parent->m_EDA_Config->Write( ZONE_THERMAL_RELIEF_GAP_STRING_KEY, (long) g_ThermalReliefGapValue );
m_Parent->m_Parent->m_EDA_Config->Write( ZONE_THERMAL_RELIEF_COPPER_WIDTH_STRING_KEY, (long)g_ThermalReliefCopperBridgeValue );
// If we use only exportable to others zones parameters, exit here: // If we use only exportable to others zones parameters, exit here:
if ( aUseExportableSetupOnly ) if ( aUseExportableSetupOnly )
return true; return true;
...@@ -349,10 +382,10 @@ bool dialog_copper_zone::AcceptOptions(bool aPromptForErrors, bool aUseExportabl ...@@ -349,10 +382,10 @@ bool dialog_copper_zone::AcceptOptions(bool aPromptForErrors, bool aUseExportabl
DisplayError( this, _( "Error : you must choose a layer" ) ); DisplayError( this, _( "Error : you must choose a layer" ) );
return false; return false;
} }
g_CurrentZone_Layer = m_LayerId[ii]; g_CurrentZone_Layer = m_LayerId[ii];
/* Get the net name selection for this zone */ /* Get the net name selection for this zone */
ii = m_ListNetNameSelection->GetSelection(); ii = m_ListNetNameSelection->GetSelection();
...@@ -406,7 +439,7 @@ void dialog_copper_zone::OnNetSortingOptionSelected( wxCommandEvent& event ) ...@@ -406,7 +439,7 @@ void dialog_copper_zone::OnNetSortingOptionSelected( wxCommandEvent& event )
m_Parent->m_Parent->m_EDA_Config->Write( ZONE_NET_SORT_OPTION_KEY, (long) m_NetSorting ); m_Parent->m_Parent->m_EDA_Config->Write( ZONE_NET_SORT_OPTION_KEY, (long) m_NetSorting );
m_Parent->m_Parent->m_EDA_Config->Write( ZONE_NET_FILTER_STRING_KEY, m_NetNameFilter->GetValue() ); m_Parent->m_Parent->m_EDA_Config->Write( ZONE_NET_FILTER_STRING_KEY, m_NetNameFilter->GetValue() );
} }
// Select and isplay current zone net name in listbox: // Select and isplay current zone net name in listbox:
int net_select = g_HightLigth_NetCode; int net_select = g_HightLigth_NetCode;
if( m_Zone_Container ) if( m_Zone_Container )
...@@ -455,7 +488,7 @@ void dialog_copper_zone::ExportSetupToOtherCopperZones( wxCommandEvent& event ) ...@@ -455,7 +488,7 @@ void dialog_copper_zone::ExportSetupToOtherCopperZones( wxCommandEvent& event )
{ {
if ( !AcceptOptions(true, true) ) if ( !AcceptOptions(true, true) )
return; return;
// Export to others zones: // Export to others zones:
BOARD * pcb = m_Parent->m_Pcb; BOARD * pcb = m_Parent->m_Pcb;
for( int ii = 0; ii < pcb->GetAreaCount(); ii++ ) for( int ii = 0; ii < pcb->GetAreaCount(); ii++ )
...@@ -467,7 +500,28 @@ void dialog_copper_zone::ExportSetupToOtherCopperZones( wxCommandEvent& event ) ...@@ -467,7 +500,28 @@ void dialog_copper_zone::ExportSetupToOtherCopperZones( wxCommandEvent& event )
zone->m_GridFillValue = g_GridRoutingSize; zone->m_GridFillValue = g_GridRoutingSize;
zone->m_ArcToSegmentsCount = g_Zone_Arc_Approximation; zone->m_ArcToSegmentsCount = g_Zone_Arc_Approximation;
zone->m_DrawOptions = g_FilledAreasShowMode; zone->m_DrawOptions = g_FilledAreasShowMode;
zone->m_ThermalReliefGapValue = g_ThermalReliefGapValue;
zone->m_ThermalReliefCopperBridgeValue = g_ThermalReliefCopperBridgeValue;
m_Parent->GetScreen()->SetModify();; m_Parent->GetScreen()->SetModify();;
} }
} }
/******************************************************************/
void dialog_copper_zone::OnPadsInZoneClick( wxCommandEvent& event )
/******************************************************************/
{
switch ( m_PadInZoneOpt->GetSelection() )
{
default:
m_AntipadSizeValue->Enable(false);
m_CopperWidthValue->Enable(false);
break;
case 1:
m_AntipadSizeValue->Enable(true);
m_CopperWidthValue->Enable(true);
break;
}
}
...@@ -24,6 +24,7 @@ public: ...@@ -24,6 +24,7 @@ public:
void OnRemoveFillZoneButtonClick( wxCommandEvent& event ); void OnRemoveFillZoneButtonClick( wxCommandEvent& event );
void OnNetSortingOptionSelected( wxCommandEvent& event ); void OnNetSortingOptionSelected( wxCommandEvent& event );
void ExportSetupToOtherCopperZones( wxCommandEvent& event ); void ExportSetupToOtherCopperZones( wxCommandEvent& event );
void OnPadsInZoneClick( wxCommandEvent& event );
}; };
#endif // #ifndef DIALOG_COPPER_ZONES #endif // #ifndef DIALOG_COPPER_ZONES
...@@ -11,6 +11,7 @@ ...@@ -11,6 +11,7 @@
BEGIN_EVENT_TABLE( dialog_copper_zone_frame, wxDialog ) BEGIN_EVENT_TABLE( dialog_copper_zone_frame, wxDialog )
EVT_INIT_DIALOG( dialog_copper_zone_frame::_wxFB_OnInitDialog ) EVT_INIT_DIALOG( dialog_copper_zone_frame::_wxFB_OnInitDialog )
EVT_RADIOBOX( wxID_PADS_IN_ZONE_OPTIONS, dialog_copper_zone_frame::_wxFB_OnPadsInZoneClick )
EVT_BUTTON( wxID_BUTTON_EXPORT, dialog_copper_zone_frame::_wxFB_ExportSetupToOtherCopperZones ) EVT_BUTTON( wxID_BUTTON_EXPORT, dialog_copper_zone_frame::_wxFB_ExportSetupToOtherCopperZones )
EVT_BUTTON( wxID_OK, dialog_copper_zone_frame::_wxFB_OnButtonOkClick ) EVT_BUTTON( wxID_OK, dialog_copper_zone_frame::_wxFB_OnButtonOkClick )
EVT_BUTTON( wxID_CANCEL, dialog_copper_zone_frame::_wxFB_OnButtonCancelClick ) EVT_BUTTON( wxID_CANCEL, dialog_copper_zone_frame::_wxFB_OnButtonCancelClick )
...@@ -37,30 +38,40 @@ dialog_copper_zone_frame::dialog_copper_zone_frame( wxWindow* parent, wxWindowID ...@@ -37,30 +38,40 @@ dialog_copper_zone_frame::dialog_copper_zone_frame( wxWindow* parent, wxWindowID
wxStaticBoxSizer* m_FillOptionsBox; wxStaticBoxSizer* m_FillOptionsBox;
m_FillOptionsBox = new wxStaticBoxSizer( new wxStaticBox( this, wxID_ANY, _("Zone Fill Options:") ), wxVERTICAL ); m_FillOptionsBox = new wxStaticBoxSizer( new wxStaticBox( this, wxID_ANY, _("Zone Fill Options:") ), wxVERTICAL );
wxString m_GridCtrlChoices[] = { _("0.00000"), _("0.00000"), _("0.00000"), _("0.00000"), _("No Grid (For tests only!)") }; wxString m_GridCtrlChoices[] = { _("0.00000"), _("0.00000"), _("0.00000"), _("0.00000"), _("No grid (For tests only!)") };
int m_GridCtrlNChoices = sizeof( m_GridCtrlChoices ) / sizeof( wxString ); int m_GridCtrlNChoices = sizeof( m_GridCtrlChoices ) / sizeof( wxString );
m_GridCtrl = new wxRadioBox( this, ID_RADIOBOX_GRID_SELECTION, _("Grid Size for Filling:"), wxDefaultPosition, wxDefaultSize, m_GridCtrlNChoices, m_GridCtrlChoices, 1, wxRA_SPECIFY_COLS ); m_GridCtrl = new wxRadioBox( this, ID_RADIOBOX_GRID_SELECTION, _("Grid Size for Filling:"), wxDefaultPosition, wxDefaultSize, m_GridCtrlNChoices, m_GridCtrlChoices, 1, wxRA_SPECIFY_COLS );
m_GridCtrl->SetSelection( 0 ); m_GridCtrl->SetSelection( 4 );
m_FillOptionsBox->Add( m_GridCtrl, 0, wxALL|wxEXPAND, 5 ); m_FillOptionsBox->Add( m_GridCtrl, 0, wxALL|wxEXPAND, 5 );
m_ClearanceValueTitle = new wxStaticText( this, wxID_ANY, _("Zone clearance value (mm):"), wxDefaultPosition, wxDefaultSize, 0 ); wxString m_PadInZoneOptChoices[] = { _("Include pads"), _("Thermal relief"), _("Exclude pads") };
m_ClearanceValueTitle->Wrap( -1 ); int m_PadInZoneOptNChoices = sizeof( m_PadInZoneOptChoices ) / sizeof( wxString );
m_FillOptionsBox->Add( m_ClearanceValueTitle, 0, wxTOP|wxRIGHT|wxLEFT, 5 ); m_PadInZoneOpt = new wxRadioBox( this, wxID_PADS_IN_ZONE_OPTIONS, _("Pad in Zone:"), wxDefaultPosition, wxDefaultSize, m_PadInZoneOptNChoices, m_PadInZoneOptChoices, 1, wxRA_SPECIFY_COLS );
m_PadInZoneOpt->SetSelection( 1 );
m_FillOptionsBox->Add( m_PadInZoneOpt, 0, wxALL|wxEXPAND, 5 );
m_ZoneClearanceCtrl = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); wxStaticBoxSizer* m_ThermalShapesParamsSizer;
m_FillOptionsBox->Add( m_ZoneClearanceCtrl, 0, wxEXPAND|wxBOTTOM|wxRIGHT|wxLEFT, 5 ); m_ThermalShapesParamsSizer = new wxStaticBoxSizer( new wxStaticBox( this, wxID_ANY, _("Thermal Reliefs Parameters") ), wxVERTICAL );
wxString m_FillOptChoices[] = { _("Include Pads"), _("Thermal Relief"), _("Exclude Pads") }; m_AntipadSizeText = new wxStaticText( this, wxID_ANY, _("Antipad Size"), wxDefaultPosition, wxDefaultSize, 0 );
int m_FillOptNChoices = sizeof( m_FillOptChoices ) / sizeof( wxString ); m_AntipadSizeText->Wrap( -1 );
m_FillOpt = new wxRadioBox( this, wxID_ANY, _("Pad in Zone:"), wxDefaultPosition, wxDefaultSize, m_FillOptNChoices, m_FillOptChoices, 1, wxRA_SPECIFY_COLS ); m_ThermalShapesParamsSizer->Add( m_AntipadSizeText, 0, wxTOP|wxRIGHT|wxLEFT, 5 );
m_FillOpt->SetSelection( 2 );
m_FillOptionsBox->Add( m_FillOpt, 0, wxALL|wxEXPAND, 5 );
m_ShowFilledAreasInSketchOpt = new wxCheckBox( this, wxID_ANY, _("Show filled areas in sketch mode"), wxDefaultPosition, wxDefaultSize, 0 ); m_AntipadSizeValue = new wxTextCtrl( this, wxID_ANTIPAD_SIZE, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
m_AntipadSizeValue->SetToolTip( _("Define the gap around the pad") );
m_ShowFilledAreasInSketchOpt->SetToolTip( _("If enabled, filled areas in is this zone will be displayed as non filled polygons.\nIf disabled, filled areas in is this zone will be displayed as \"solid\" areas (normal mode).") ); m_ThermalShapesParamsSizer->Add( m_AntipadSizeValue, 0, wxBOTTOM|wxRIGHT|wxLEFT|wxEXPAND, 5 );
m_CopperBridgeWidthText = new wxStaticText( this, wxID_ANY, _("Copper Width"), wxDefaultPosition, wxDefaultSize, 0 );
m_CopperBridgeWidthText->Wrap( -1 );
m_ThermalShapesParamsSizer->Add( m_CopperBridgeWidthText, 0, wxTOP|wxRIGHT|wxLEFT, 5 );
m_FillOptionsBox->Add( m_ShowFilledAreasInSketchOpt, 0, wxALL, 5 ); m_CopperWidthValue = new wxTextCtrl( this, wxID_COPPER_BRIDGE_VALUE, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
m_CopperWidthValue->SetToolTip( _("Define the tickness of copper in therma reliefs") );
m_ThermalShapesParamsSizer->Add( m_CopperWidthValue, 0, wxBOTTOM|wxRIGHT|wxLEFT|wxEXPAND, 5 );
m_FillOptionsBox->Add( m_ThermalShapesParamsSizer, 0, wxEXPAND, 5 );
m_LeftBoxSizer->Add( m_FillOptionsBox, 1, wxEXPAND, 5 ); m_LeftBoxSizer->Add( m_FillOptionsBox, 1, wxEXPAND, 5 );
...@@ -84,13 +95,10 @@ dialog_copper_zone_frame::dialog_copper_zone_frame( wxWindow* parent, wxWindowID ...@@ -84,13 +95,10 @@ dialog_copper_zone_frame::dialog_copper_zone_frame( wxWindow* parent, wxWindowID
m_OrientEdgesOpt->SetSelection( 0 ); m_OrientEdgesOpt->SetSelection( 0 );
m_OutilinesBoxOpt->Add( m_OrientEdgesOpt, 0, wxALL|wxEXPAND, 5 ); m_OutilinesBoxOpt->Add( m_OrientEdgesOpt, 0, wxALL|wxEXPAND, 5 );
wxString m_OutlineAppearanceCtrlChoices[] = { _("Line"), _("Hatched outline"), _("Full hatched") };
m_OutilinesBoxOpt->Add( 5, 5, 0, 0, 5 );
wxString m_OutlineAppearanceCtrlChoices[] = { _("Line"), _("Hatched Outline"), _("Full Hatched") };
int m_OutlineAppearanceCtrlNChoices = sizeof( m_OutlineAppearanceCtrlChoices ) / sizeof( wxString ); int m_OutlineAppearanceCtrlNChoices = sizeof( m_OutlineAppearanceCtrlChoices ) / sizeof( wxString );
m_OutlineAppearanceCtrl = new wxRadioBox( this, ID_RADIOBOX_OUTLINES_OPTION, _("Outlines Appearance"), wxDefaultPosition, wxDefaultSize, m_OutlineAppearanceCtrlNChoices, m_OutlineAppearanceCtrlChoices, 1, wxRA_SPECIFY_COLS ); m_OutlineAppearanceCtrl = new wxRadioBox( this, ID_RADIOBOX_OUTLINES_OPTION, _("Outlines Appearance"), wxDefaultPosition, wxDefaultSize, m_OutlineAppearanceCtrlNChoices, m_OutlineAppearanceCtrlChoices, 1, wxRA_SPECIFY_COLS );
m_OutlineAppearanceCtrl->SetSelection( 0 ); m_OutlineAppearanceCtrl->SetSelection( 1 );
m_OutlineAppearanceCtrl->SetToolTip( _("Choose how a zone outline is displayed\n- Single line\n- Short hatching\n- Full zone area hatched") ); m_OutlineAppearanceCtrl->SetToolTip( _("Choose how a zone outline is displayed\n- Single line\n- Short hatching\n- Full zone area hatched") );
m_OutilinesBoxOpt->Add( m_OutlineAppearanceCtrl, 0, wxALL|wxEXPAND, 5 ); m_OutilinesBoxOpt->Add( m_OutlineAppearanceCtrl, 0, wxALL|wxEXPAND, 5 );
...@@ -103,12 +111,30 @@ dialog_copper_zone_frame::dialog_copper_zone_frame( wxWindow* parent, wxWindowID ...@@ -103,12 +111,30 @@ dialog_copper_zone_frame::dialog_copper_zone_frame( wxWindow* parent, wxWindowID
m_OutilinesBoxOpt->Add( m_ArcApproximationOpt, 0, wxALL|wxEXPAND, 5 ); m_OutilinesBoxOpt->Add( m_ArcApproximationOpt, 0, wxALL|wxEXPAND, 5 );
wxStaticBoxSizer* m_OthersOptionsSizer;
m_OthersOptionsSizer = new wxStaticBoxSizer( new wxStaticBox( this, wxID_ANY, _("Others Options:") ), wxVERTICAL );
m_ShowFilledAreasInSketchOpt = new wxCheckBox( this, wxID_ANY, _("Show filled areas in sketch mode"), wxDefaultPosition, wxDefaultSize, 0 );
m_ShowFilledAreasInSketchOpt->SetToolTip( _("If enabled, filled areas in is this zone will be displayed as non filled polygons.\nIf disabled, filled areas in is this zone will be displayed as \"solid\" areas (normal mode).") );
m_OthersOptionsSizer->Add( m_ShowFilledAreasInSketchOpt, 0, wxALL, 5 );
m_ClearanceValueTitle = new wxStaticText( this, wxID_ANY, _("Zone clearance value (mm):"), wxDefaultPosition, wxDefaultSize, 0 );
m_ClearanceValueTitle->Wrap( -1 );
m_OthersOptionsSizer->Add( m_ClearanceValueTitle, 0, wxTOP|wxRIGHT|wxLEFT, 5 );
m_ZoneClearanceCtrl = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
m_OthersOptionsSizer->Add( m_ZoneClearanceCtrl, 0, wxEXPAND|wxBOTTOM|wxRIGHT|wxLEFT, 5 );
m_OutilinesBoxOpt->Add( m_OthersOptionsSizer, 1, wxEXPAND, 5 );
m_MiddleBoxSizer->Add( m_OutilinesBoxOpt, 1, wxEXPAND, 5 ); m_MiddleBoxSizer->Add( m_OutilinesBoxOpt, 1, wxEXPAND, 5 );
m_ExportSetupBuuton = new wxButton( this, wxID_BUTTON_EXPORT, _("Export to others zones"), wxDefaultPosition, wxDefaultSize, 0 ); m_ExportSetupButton = new wxButton( this, wxID_BUTTON_EXPORT, _("Export to others zones"), wxDefaultPosition, wxDefaultSize, 0 );
m_ExportSetupBuuton->SetToolTip( _("Export this zone setup to all others copper zones") ); m_ExportSetupButton->SetToolTip( _("Export this zone setup to all others copper zones") );
m_MiddleBoxSizer->Add( m_ExportSetupBuuton, 0, wxALL|wxALIGN_CENTER_HORIZONTAL, 5 ); m_MiddleBoxSizer->Add( m_ExportSetupButton, 0, wxALL|wxALIGN_CENTER_HORIZONTAL, 5 );
m_MiddleBox->Add( m_MiddleBoxSizer, 0, 0, 5 ); m_MiddleBox->Add( m_MiddleBoxSizer, 0, 0, 5 );
...@@ -129,7 +155,7 @@ dialog_copper_zone_frame::dialog_copper_zone_frame( wxWindow* parent, wxWindowID ...@@ -129,7 +155,7 @@ dialog_copper_zone_frame::dialog_copper_zone_frame( wxWindow* parent, wxWindowID
m_ButtonCancel = new wxButton( this, wxID_CANCEL, _("Cancel"), wxDefaultPosition, wxDefaultSize, 0 ); m_ButtonCancel = new wxButton( this, wxID_CANCEL, _("Cancel"), wxDefaultPosition, wxDefaultSize, 0 );
m_RightBoxSizer->Add( m_ButtonCancel, 0, wxALL|wxALIGN_CENTER_HORIZONTAL, 5 ); m_RightBoxSizer->Add( m_ButtonCancel, 0, wxALL|wxALIGN_CENTER_HORIZONTAL, 5 );
m_UnFillZoneButton = new wxButton( this, wxID_BUTTON_UNFILL, _("UnFill Zone"), wxDefaultPosition, wxDefaultSize, 0 ); m_UnFillZoneButton = new wxButton( this, wxID_BUTTON_UNFILL, _("Remove Filling"), wxDefaultPosition, wxDefaultSize, 0 );
m_RightBoxSizer->Add( m_UnFillZoneButton, 0, wxALL|wxALIGN_CENTER_HORIZONTAL, 5 ); m_RightBoxSizer->Add( m_UnFillZoneButton, 0, wxALL|wxALIGN_CENTER_HORIZONTAL, 5 );
......
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
<property name="minimum_size"></property> <property name="minimum_size"></property>
<property name="name">dialog_copper_zone_frame</property> <property name="name">dialog_copper_zone_frame</property>
<property name="pos"></property> <property name="pos"></property>
<property name="size">452,493</property> <property name="size">545,493</property>
<property name="style">wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER</property> <property name="style">wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER</property>
<property name="subclass"></property> <property name="subclass"></property>
<property name="title">Fill Zones Options</property> <property name="title">Fill Zones Options</property>
...@@ -123,7 +123,7 @@ ...@@ -123,7 +123,7 @@
<property name="proportion">0</property> <property name="proportion">0</property>
<object class="wxRadioBox" expanded="1"> <object class="wxRadioBox" expanded="1">
<property name="bg"></property> <property name="bg"></property>
<property name="choices">&quot;0.00000&quot; &quot;0.00000&quot; &quot;0.00000&quot; &quot;0.00000&quot; &quot;No Grid (For tests only!)&quot;</property> <property name="choices">&quot;0.00000&quot; &quot;0.00000&quot; &quot;0.00000&quot; &quot;0.00000&quot; &quot;No grid (For tests only!)&quot;</property>
<property name="context_help"></property> <property name="context_help"></property>
<property name="enabled">1</property> <property name="enabled">1</property>
<property name="fg"></property> <property name="fg"></property>
...@@ -137,7 +137,7 @@ ...@@ -137,7 +137,7 @@
<property name="name">m_GridCtrl</property> <property name="name">m_GridCtrl</property>
<property name="permission">protected</property> <property name="permission">protected</property>
<property name="pos"></property> <property name="pos"></property>
<property name="selection">0</property> <property name="selection">4</property>
<property name="size"></property> <property name="size"></property>
<property name="style">wxRA_SPECIFY_COLS</property> <property name="style">wxRA_SPECIFY_COLS</property>
<property name="subclass"></property> <property name="subclass"></property>
...@@ -171,133 +171,27 @@ ...@@ -171,133 +171,27 @@
<event name="OnUpdateUI"></event> <event name="OnUpdateUI"></event>
</object> </object>
</object> </object>
<object class="sizeritem" expanded="1">
<property name="border">5</property>
<property name="flag">wxTOP|wxRIGHT|wxLEFT</property>
<property name="proportion">0</property>
<object class="wxStaticText" expanded="1">
<property name="bg"></property>
<property name="context_help"></property>
<property name="enabled">1</property>
<property name="fg"></property>
<property name="font"></property>
<property name="hidden">0</property>
<property name="id">wxID_ANY</property>
<property name="label">Zone clearance value (mm):</property>
<property name="maximum_size"></property>
<property name="minimum_size"></property>
<property name="name">m_ClearanceValueTitle</property>
<property name="permission">protected</property>
<property name="pos"></property>
<property name="size"></property>
<property name="style"></property>
<property name="subclass"></property>
<property name="tooltip"></property>
<property name="window_extra_style"></property>
<property name="window_name"></property>
<property name="window_style"></property>
<property name="wrap">-1</property>
<event name="OnChar"></event>
<event name="OnEnterWindow"></event>
<event name="OnEraseBackground"></event>
<event name="OnKeyDown"></event>
<event name="OnKeyUp"></event>
<event name="OnKillFocus"></event>
<event name="OnLeaveWindow"></event>
<event name="OnLeftDClick"></event>
<event name="OnLeftDown"></event>
<event name="OnLeftUp"></event>
<event name="OnMiddleDClick"></event>
<event name="OnMiddleDown"></event>
<event name="OnMiddleUp"></event>
<event name="OnMotion"></event>
<event name="OnMouseEvents"></event>
<event name="OnMouseWheel"></event>
<event name="OnPaint"></event>
<event name="OnRightDClick"></event>
<event name="OnRightDown"></event>
<event name="OnRightUp"></event>
<event name="OnSetFocus"></event>
<event name="OnSize"></event>
<event name="OnUpdateUI"></event>
</object>
</object>
<object class="sizeritem" expanded="1">
<property name="border">5</property>
<property name="flag">wxEXPAND|wxBOTTOM|wxRIGHT|wxLEFT</property>
<property name="proportion">0</property>
<object class="wxTextCtrl" expanded="1">
<property name="bg"></property>
<property name="context_help"></property>
<property name="enabled">1</property>
<property name="fg"></property>
<property name="font"></property>
<property name="hidden">0</property>
<property name="id">wxID_ANY</property>
<property name="maximum_size"></property>
<property name="maxlength">0</property>
<property name="minimum_size"></property>
<property name="name">m_ZoneClearanceCtrl</property>
<property name="permission">protected</property>
<property name="pos"></property>
<property name="size"></property>
<property name="style"></property>
<property name="subclass"></property>
<property name="tooltip"></property>
<property name="value"></property>
<property name="window_extra_style"></property>
<property name="window_name"></property>
<property name="window_style"></property>
<event name="OnChar"></event>
<event name="OnEnterWindow"></event>
<event name="OnEraseBackground"></event>
<event name="OnKeyDown"></event>
<event name="OnKeyUp"></event>
<event name="OnKillFocus"></event>
<event name="OnLeaveWindow"></event>
<event name="OnLeftDClick"></event>
<event name="OnLeftDown"></event>
<event name="OnLeftUp"></event>
<event name="OnMiddleDClick"></event>
<event name="OnMiddleDown"></event>
<event name="OnMiddleUp"></event>
<event name="OnMotion"></event>
<event name="OnMouseEvents"></event>
<event name="OnMouseWheel"></event>
<event name="OnPaint"></event>
<event name="OnRightDClick"></event>
<event name="OnRightDown"></event>
<event name="OnRightUp"></event>
<event name="OnSetFocus"></event>
<event name="OnSize"></event>
<event name="OnText"></event>
<event name="OnTextEnter"></event>
<event name="OnTextMaxLen"></event>
<event name="OnTextURL"></event>
<event name="OnUpdateUI"></event>
</object>
</object>
<object class="sizeritem" expanded="1"> <object class="sizeritem" expanded="1">
<property name="border">5</property> <property name="border">5</property>
<property name="flag">wxALL|wxEXPAND</property> <property name="flag">wxALL|wxEXPAND</property>
<property name="proportion">0</property> <property name="proportion">0</property>
<object class="wxRadioBox" expanded="1"> <object class="wxRadioBox" expanded="1">
<property name="bg"></property> <property name="bg"></property>
<property name="choices">&quot;Include Pads&quot; &quot;Thermal Relief&quot; &quot;Exclude Pads&quot;</property> <property name="choices">&quot;Include pads&quot; &quot;Thermal relief&quot; &quot;Exclude pads&quot;</property>
<property name="context_help"></property> <property name="context_help"></property>
<property name="enabled">1</property> <property name="enabled">1</property>
<property name="fg"></property> <property name="fg"></property>
<property name="font"></property> <property name="font"></property>
<property name="hidden">0</property> <property name="hidden">0</property>
<property name="id">wxID_ANY</property> <property name="id">wxID_PADS_IN_ZONE_OPTIONS</property>
<property name="label">Pad in Zone:</property> <property name="label">Pad in Zone:</property>
<property name="majorDimension">1</property> <property name="majorDimension">1</property>
<property name="maximum_size"></property> <property name="maximum_size"></property>
<property name="minimum_size"></property> <property name="minimum_size"></property>
<property name="name">m_FillOpt</property> <property name="name">m_PadInZoneOpt</property>
<property name="permission">protected</property> <property name="permission">protected</property>
<property name="pos"></property> <property name="pos"></property>
<property name="selection">2</property> <property name="selection">1</property>
<property name="size"></property> <property name="size"></property>
<property name="style">wxRA_SPECIFY_COLS</property> <property name="style">wxRA_SPECIFY_COLS</property>
<property name="subclass"></property> <property name="subclass"></property>
...@@ -322,7 +216,7 @@ ...@@ -322,7 +216,7 @@
<event name="OnMouseEvents"></event> <event name="OnMouseEvents"></event>
<event name="OnMouseWheel"></event> <event name="OnMouseWheel"></event>
<event name="OnPaint"></event> <event name="OnPaint"></event>
<event name="OnRadioBox"></event> <event name="OnRadioBox">OnPadsInZoneClick</event>
<event name="OnRightDClick"></event> <event name="OnRightDClick"></event>
<event name="OnRightDown"></event> <event name="OnRightDown"></event>
<event name="OnRightUp"></event> <event name="OnRightUp"></event>
...@@ -333,54 +227,228 @@ ...@@ -333,54 +227,228 @@
</object> </object>
<object class="sizeritem" expanded="1"> <object class="sizeritem" expanded="1">
<property name="border">5</property> <property name="border">5</property>
<property name="flag">wxALL</property> <property name="flag">wxEXPAND</property>
<property name="proportion">0</property> <property name="proportion">0</property>
<object class="wxCheckBox" expanded="1"> <object class="wxStaticBoxSizer" expanded="1">
<property name="bg"></property>
<property name="checked">0</property>
<property name="context_help"></property>
<property name="enabled">1</property>
<property name="fg"></property>
<property name="font"></property>
<property name="hidden">0</property>
<property name="id">wxID_ANY</property> <property name="id">wxID_ANY</property>
<property name="label">Show filled areas in sketch mode</property> <property name="label">Thermal Reliefs Parameters</property>
<property name="maximum_size"></property>
<property name="minimum_size"></property> <property name="minimum_size"></property>
<property name="name">m_ShowFilledAreasInSketchOpt</property> <property name="name">m_ThermalShapesParamsSizer</property>
<property name="permission">protected</property> <property name="orient">wxVERTICAL</property>
<property name="pos"></property> <property name="permission">none</property>
<property name="size"></property>
<property name="style"></property>
<property name="subclass"></property>
<property name="tooltip">If enabled, filled areas in is this zone will be displayed as non filled polygons.&#x0A;If disabled, filled areas in is this zone will be displayed as &quot;solid&quot; areas (normal mode).</property>
<property name="window_extra_style"></property>
<property name="window_name"></property>
<property name="window_style"></property>
<event name="OnChar"></event>
<event name="OnCheckBox"></event>
<event name="OnEnterWindow"></event>
<event name="OnEraseBackground"></event>
<event name="OnKeyDown"></event>
<event name="OnKeyUp"></event>
<event name="OnKillFocus"></event>
<event name="OnLeaveWindow"></event>
<event name="OnLeftDClick"></event>
<event name="OnLeftDown"></event>
<event name="OnLeftUp"></event>
<event name="OnMiddleDClick"></event>
<event name="OnMiddleDown"></event>
<event name="OnMiddleUp"></event>
<event name="OnMotion"></event>
<event name="OnMouseEvents"></event>
<event name="OnMouseWheel"></event>
<event name="OnPaint"></event>
<event name="OnRightDClick"></event>
<event name="OnRightDown"></event>
<event name="OnRightUp"></event>
<event name="OnSetFocus"></event>
<event name="OnSize"></event>
<event name="OnUpdateUI"></event> <event name="OnUpdateUI"></event>
<object class="sizeritem" expanded="1">
<property name="border">5</property>
<property name="flag">wxTOP|wxRIGHT|wxLEFT</property>
<property name="proportion">0</property>
<object class="wxStaticText" expanded="1">
<property name="bg"></property>
<property name="context_help"></property>
<property name="enabled">1</property>
<property name="fg"></property>
<property name="font"></property>
<property name="hidden">0</property>
<property name="id">wxID_ANY</property>
<property name="label">Antipad Size</property>
<property name="maximum_size"></property>
<property name="minimum_size"></property>
<property name="name">m_AntipadSizeText</property>
<property name="permission">protected</property>
<property name="pos"></property>
<property name="size"></property>
<property name="style"></property>
<property name="subclass"></property>
<property name="tooltip"></property>
<property name="window_extra_style"></property>
<property name="window_name"></property>
<property name="window_style"></property>
<property name="wrap">-1</property>
<event name="OnChar"></event>
<event name="OnEnterWindow"></event>
<event name="OnEraseBackground"></event>
<event name="OnKeyDown"></event>
<event name="OnKeyUp"></event>
<event name="OnKillFocus"></event>
<event name="OnLeaveWindow"></event>
<event name="OnLeftDClick"></event>
<event name="OnLeftDown"></event>
<event name="OnLeftUp"></event>
<event name="OnMiddleDClick"></event>
<event name="OnMiddleDown"></event>
<event name="OnMiddleUp"></event>
<event name="OnMotion"></event>
<event name="OnMouseEvents"></event>
<event name="OnMouseWheel"></event>
<event name="OnPaint"></event>
<event name="OnRightDClick"></event>
<event name="OnRightDown"></event>
<event name="OnRightUp"></event>
<event name="OnSetFocus"></event>
<event name="OnSize"></event>
<event name="OnUpdateUI"></event>
</object>
</object>
<object class="sizeritem" expanded="1">
<property name="border">5</property>
<property name="flag">wxBOTTOM|wxRIGHT|wxLEFT|wxEXPAND</property>
<property name="proportion">0</property>
<object class="wxTextCtrl" expanded="1">
<property name="bg"></property>
<property name="context_help"></property>
<property name="enabled">1</property>
<property name="fg"></property>
<property name="font"></property>
<property name="hidden">0</property>
<property name="id">wxID_ANTIPAD_SIZE</property>
<property name="maximum_size"></property>
<property name="maxlength">0</property>
<property name="minimum_size"></property>
<property name="name">m_AntipadSizeValue</property>
<property name="permission">protected</property>
<property name="pos"></property>
<property name="size"></property>
<property name="style"></property>
<property name="subclass"></property>
<property name="tooltip">Define the gap around the pad</property>
<property name="value"></property>
<property name="window_extra_style"></property>
<property name="window_name"></property>
<property name="window_style"></property>
<event name="OnChar"></event>
<event name="OnEnterWindow"></event>
<event name="OnEraseBackground"></event>
<event name="OnKeyDown"></event>
<event name="OnKeyUp"></event>
<event name="OnKillFocus"></event>
<event name="OnLeaveWindow"></event>
<event name="OnLeftDClick"></event>
<event name="OnLeftDown"></event>
<event name="OnLeftUp"></event>
<event name="OnMiddleDClick"></event>
<event name="OnMiddleDown"></event>
<event name="OnMiddleUp"></event>
<event name="OnMotion"></event>
<event name="OnMouseEvents"></event>
<event name="OnMouseWheel"></event>
<event name="OnPaint"></event>
<event name="OnRightDClick"></event>
<event name="OnRightDown"></event>
<event name="OnRightUp"></event>
<event name="OnSetFocus"></event>
<event name="OnSize"></event>
<event name="OnText"></event>
<event name="OnTextEnter"></event>
<event name="OnTextMaxLen"></event>
<event name="OnTextURL"></event>
<event name="OnUpdateUI"></event>
</object>
</object>
<object class="sizeritem" expanded="1">
<property name="border">5</property>
<property name="flag">wxTOP|wxRIGHT|wxLEFT</property>
<property name="proportion">0</property>
<object class="wxStaticText" expanded="1">
<property name="bg"></property>
<property name="context_help"></property>
<property name="enabled">1</property>
<property name="fg"></property>
<property name="font"></property>
<property name="hidden">0</property>
<property name="id">wxID_ANY</property>
<property name="label">Copper Width</property>
<property name="maximum_size"></property>
<property name="minimum_size"></property>
<property name="name">m_CopperBridgeWidthText</property>
<property name="permission">protected</property>
<property name="pos"></property>
<property name="size"></property>
<property name="style"></property>
<property name="subclass"></property>
<property name="tooltip"></property>
<property name="window_extra_style"></property>
<property name="window_name"></property>
<property name="window_style"></property>
<property name="wrap">-1</property>
<event name="OnChar"></event>
<event name="OnEnterWindow"></event>
<event name="OnEraseBackground"></event>
<event name="OnKeyDown"></event>
<event name="OnKeyUp"></event>
<event name="OnKillFocus"></event>
<event name="OnLeaveWindow"></event>
<event name="OnLeftDClick"></event>
<event name="OnLeftDown"></event>
<event name="OnLeftUp"></event>
<event name="OnMiddleDClick"></event>
<event name="OnMiddleDown"></event>
<event name="OnMiddleUp"></event>
<event name="OnMotion"></event>
<event name="OnMouseEvents"></event>
<event name="OnMouseWheel"></event>
<event name="OnPaint"></event>
<event name="OnRightDClick"></event>
<event name="OnRightDown"></event>
<event name="OnRightUp"></event>
<event name="OnSetFocus"></event>
<event name="OnSize"></event>
<event name="OnUpdateUI"></event>
</object>
</object>
<object class="sizeritem" expanded="1">
<property name="border">5</property>
<property name="flag">wxBOTTOM|wxRIGHT|wxLEFT|wxEXPAND</property>
<property name="proportion">0</property>
<object class="wxTextCtrl" expanded="1">
<property name="bg"></property>
<property name="context_help"></property>
<property name="enabled">1</property>
<property name="fg"></property>
<property name="font"></property>
<property name="hidden">0</property>
<property name="id">wxID_COPPER_BRIDGE_VALUE</property>
<property name="maximum_size"></property>
<property name="maxlength">0</property>
<property name="minimum_size"></property>
<property name="name">m_CopperWidthValue</property>
<property name="permission">protected</property>
<property name="pos"></property>
<property name="size"></property>
<property name="style"></property>
<property name="subclass"></property>
<property name="tooltip">Define the tickness of copper in therma reliefs</property>
<property name="value"></property>
<property name="window_extra_style"></property>
<property name="window_name"></property>
<property name="window_style"></property>
<event name="OnChar"></event>
<event name="OnEnterWindow"></event>
<event name="OnEraseBackground"></event>
<event name="OnKeyDown"></event>
<event name="OnKeyUp"></event>
<event name="OnKillFocus"></event>
<event name="OnLeaveWindow"></event>
<event name="OnLeftDClick"></event>
<event name="OnLeftDown"></event>
<event name="OnLeftUp"></event>
<event name="OnMiddleDClick"></event>
<event name="OnMiddleDown"></event>
<event name="OnMiddleUp"></event>
<event name="OnMotion"></event>
<event name="OnMouseEvents"></event>
<event name="OnMouseWheel"></event>
<event name="OnPaint"></event>
<event name="OnRightDClick"></event>
<event name="OnRightDown"></event>
<event name="OnRightUp"></event>
<event name="OnSetFocus"></event>
<event name="OnSize"></event>
<event name="OnText"></event>
<event name="OnTextEnter"></event>
<event name="OnTextMaxLen"></event>
<event name="OnTextURL"></event>
<event name="OnUpdateUI"></event>
</object>
</object>
</object> </object>
</object> </object>
</object> </object>
...@@ -481,23 +549,13 @@ ...@@ -481,23 +549,13 @@
<event name="OnUpdateUI"></event> <event name="OnUpdateUI"></event>
</object> </object>
</object> </object>
<object class="sizeritem" expanded="1">
<property name="border">5</property>
<property name="flag"></property>
<property name="proportion">0</property>
<object class="spacer" expanded="1">
<property name="height">5</property>
<property name="permission">protected</property>
<property name="width">5</property>
</object>
</object>
<object class="sizeritem" expanded="1"> <object class="sizeritem" expanded="1">
<property name="border">5</property> <property name="border">5</property>
<property name="flag">wxALL|wxEXPAND</property> <property name="flag">wxALL|wxEXPAND</property>
<property name="proportion">0</property> <property name="proportion">0</property>
<object class="wxRadioBox" expanded="1"> <object class="wxRadioBox" expanded="1">
<property name="bg"></property> <property name="bg"></property>
<property name="choices">&quot;Line&quot; &quot;Hatched Outline&quot; &quot;Full Hatched&quot;</property> <property name="choices">&quot;Line&quot; &quot;Hatched outline&quot; &quot;Full hatched&quot;</property>
<property name="context_help"></property> <property name="context_help"></property>
<property name="enabled">1</property> <property name="enabled">1</property>
<property name="fg"></property> <property name="fg"></property>
...@@ -511,7 +569,7 @@ ...@@ -511,7 +569,7 @@
<property name="name">m_OutlineAppearanceCtrl</property> <property name="name">m_OutlineAppearanceCtrl</property>
<property name="permission">protected</property> <property name="permission">protected</property>
<property name="pos"></property> <property name="pos"></property>
<property name="selection">0</property> <property name="selection">1</property>
<property name="size"></property> <property name="size"></property>
<property name="style">wxRA_SPECIFY_COLS</property> <property name="style">wxRA_SPECIFY_COLS</property>
<property name="subclass"></property> <property name="subclass"></property>
...@@ -599,6 +657,178 @@ ...@@ -599,6 +657,178 @@
<event name="OnUpdateUI"></event> <event name="OnUpdateUI"></event>
</object> </object>
</object> </object>
<object class="sizeritem" expanded="1">
<property name="border">5</property>
<property name="flag">wxEXPAND</property>
<property name="proportion">1</property>
<object class="wxStaticBoxSizer" expanded="1">
<property name="id">wxID_ANY</property>
<property name="label">Others Options:</property>
<property name="minimum_size"></property>
<property name="name">m_OthersOptionsSizer</property>
<property name="orient">wxVERTICAL</property>
<property name="permission">none</property>
<event name="OnUpdateUI"></event>
<object class="sizeritem" expanded="1">
<property name="border">5</property>
<property name="flag">wxALL</property>
<property name="proportion">0</property>
<object class="wxCheckBox" expanded="1">
<property name="bg"></property>
<property name="checked">0</property>
<property name="context_help"></property>
<property name="enabled">1</property>
<property name="fg"></property>
<property name="font"></property>
<property name="hidden">0</property>
<property name="id">wxID_ANY</property>
<property name="label">Show filled areas in sketch mode</property>
<property name="maximum_size"></property>
<property name="minimum_size"></property>
<property name="name">m_ShowFilledAreasInSketchOpt</property>
<property name="permission">protected</property>
<property name="pos"></property>
<property name="size"></property>
<property name="style"></property>
<property name="subclass"></property>
<property name="tooltip">If enabled, filled areas in is this zone will be displayed as non filled polygons.&#x0A;If disabled, filled areas in is this zone will be displayed as &quot;solid&quot; areas (normal mode).</property>
<property name="window_extra_style"></property>
<property name="window_name"></property>
<property name="window_style"></property>
<event name="OnChar"></event>
<event name="OnCheckBox"></event>
<event name="OnEnterWindow"></event>
<event name="OnEraseBackground"></event>
<event name="OnKeyDown"></event>
<event name="OnKeyUp"></event>
<event name="OnKillFocus"></event>
<event name="OnLeaveWindow"></event>
<event name="OnLeftDClick"></event>
<event name="OnLeftDown"></event>
<event name="OnLeftUp"></event>
<event name="OnMiddleDClick"></event>
<event name="OnMiddleDown"></event>
<event name="OnMiddleUp"></event>
<event name="OnMotion"></event>
<event name="OnMouseEvents"></event>
<event name="OnMouseWheel"></event>
<event name="OnPaint"></event>
<event name="OnRightDClick"></event>
<event name="OnRightDown"></event>
<event name="OnRightUp"></event>
<event name="OnSetFocus"></event>
<event name="OnSize"></event>
<event name="OnUpdateUI"></event>
</object>
</object>
<object class="sizeritem" expanded="1">
<property name="border">5</property>
<property name="flag">wxTOP|wxRIGHT|wxLEFT</property>
<property name="proportion">0</property>
<object class="wxStaticText" expanded="1">
<property name="bg"></property>
<property name="context_help"></property>
<property name="enabled">1</property>
<property name="fg"></property>
<property name="font"></property>
<property name="hidden">0</property>
<property name="id">wxID_ANY</property>
<property name="label">Zone clearance value (mm):</property>
<property name="maximum_size"></property>
<property name="minimum_size"></property>
<property name="name">m_ClearanceValueTitle</property>
<property name="permission">protected</property>
<property name="pos"></property>
<property name="size"></property>
<property name="style"></property>
<property name="subclass"></property>
<property name="tooltip"></property>
<property name="window_extra_style"></property>
<property name="window_name"></property>
<property name="window_style"></property>
<property name="wrap">-1</property>
<event name="OnChar"></event>
<event name="OnEnterWindow"></event>
<event name="OnEraseBackground"></event>
<event name="OnKeyDown"></event>
<event name="OnKeyUp"></event>
<event name="OnKillFocus"></event>
<event name="OnLeaveWindow"></event>
<event name="OnLeftDClick"></event>
<event name="OnLeftDown"></event>
<event name="OnLeftUp"></event>
<event name="OnMiddleDClick"></event>
<event name="OnMiddleDown"></event>
<event name="OnMiddleUp"></event>
<event name="OnMotion"></event>
<event name="OnMouseEvents"></event>
<event name="OnMouseWheel"></event>
<event name="OnPaint"></event>
<event name="OnRightDClick"></event>
<event name="OnRightDown"></event>
<event name="OnRightUp"></event>
<event name="OnSetFocus"></event>
<event name="OnSize"></event>
<event name="OnUpdateUI"></event>
</object>
</object>
<object class="sizeritem" expanded="1">
<property name="border">5</property>
<property name="flag">wxEXPAND|wxBOTTOM|wxRIGHT|wxLEFT</property>
<property name="proportion">0</property>
<object class="wxTextCtrl" expanded="1">
<property name="bg"></property>
<property name="context_help"></property>
<property name="enabled">1</property>
<property name="fg"></property>
<property name="font"></property>
<property name="hidden">0</property>
<property name="id">wxID_ANY</property>
<property name="maximum_size"></property>
<property name="maxlength">0</property>
<property name="minimum_size"></property>
<property name="name">m_ZoneClearanceCtrl</property>
<property name="permission">protected</property>
<property name="pos"></property>
<property name="size"></property>
<property name="style"></property>
<property name="subclass"></property>
<property name="tooltip"></property>
<property name="value"></property>
<property name="window_extra_style"></property>
<property name="window_name"></property>
<property name="window_style"></property>
<event name="OnChar"></event>
<event name="OnEnterWindow"></event>
<event name="OnEraseBackground"></event>
<event name="OnKeyDown"></event>
<event name="OnKeyUp"></event>
<event name="OnKillFocus"></event>
<event name="OnLeaveWindow"></event>
<event name="OnLeftDClick"></event>
<event name="OnLeftDown"></event>
<event name="OnLeftUp"></event>
<event name="OnMiddleDClick"></event>
<event name="OnMiddleDown"></event>
<event name="OnMiddleUp"></event>
<event name="OnMotion"></event>
<event name="OnMouseEvents"></event>
<event name="OnMouseWheel"></event>
<event name="OnPaint"></event>
<event name="OnRightDClick"></event>
<event name="OnRightDown"></event>
<event name="OnRightUp"></event>
<event name="OnSetFocus"></event>
<event name="OnSize"></event>
<event name="OnText"></event>
<event name="OnTextEnter"></event>
<event name="OnTextMaxLen"></event>
<event name="OnTextURL"></event>
<event name="OnUpdateUI"></event>
</object>
</object>
</object>
</object>
</object> </object>
</object> </object>
<object class="sizeritem" expanded="1"> <object class="sizeritem" expanded="1">
...@@ -617,7 +847,7 @@ ...@@ -617,7 +847,7 @@
<property name="label">Export to others zones</property> <property name="label">Export to others zones</property>
<property name="maximum_size"></property> <property name="maximum_size"></property>
<property name="minimum_size"></property> <property name="minimum_size"></property>
<property name="name">m_ExportSetupBuuton</property> <property name="name">m_ExportSetupButton</property>
<property name="permission">protected</property> <property name="permission">protected</property>
<property name="pos"></property> <property name="pos"></property>
<property name="size"></property> <property name="size"></property>
...@@ -795,7 +1025,7 @@ ...@@ -795,7 +1025,7 @@
<property name="font"></property> <property name="font"></property>
<property name="hidden">0</property> <property name="hidden">0</property>
<property name="id">wxID_BUTTON_UNFILL</property> <property name="id">wxID_BUTTON_UNFILL</property>
<property name="label">UnFill Zone</property> <property name="label">Remove Filling</property>
<property name="maximum_size"></property> <property name="maximum_size"></property>
<property name="minimum_size"></property> <property name="minimum_size"></property>
<property name="name">m_UnFillZoneButton</property> <property name="name">m_UnFillZoneButton</property>
......
...@@ -18,9 +18,9 @@ ...@@ -18,9 +18,9 @@
#include <wx/settings.h> #include <wx/settings.h>
#include <wx/stattext.h> #include <wx/stattext.h>
#include <wx/textctrl.h> #include <wx/textctrl.h>
#include <wx/checkbox.h>
#include <wx/sizer.h> #include <wx/sizer.h>
#include <wx/statbox.h> #include <wx/statbox.h>
#include <wx/checkbox.h>
#include <wx/button.h> #include <wx/button.h>
#include <wx/listbox.h> #include <wx/listbox.h>
#include <wx/dialog.h> #include <wx/dialog.h>
...@@ -37,6 +37,7 @@ class dialog_copper_zone_frame : public wxDialog ...@@ -37,6 +37,7 @@ class dialog_copper_zone_frame : public wxDialog
// Private event handlers // Private event handlers
void _wxFB_OnInitDialog( wxInitDialogEvent& event ){ OnInitDialog( event ); } void _wxFB_OnInitDialog( wxInitDialogEvent& event ){ OnInitDialog( event ); }
void _wxFB_OnPadsInZoneClick( wxCommandEvent& event ){ OnPadsInZoneClick( event ); }
void _wxFB_ExportSetupToOtherCopperZones( wxCommandEvent& event ){ ExportSetupToOtherCopperZones( event ); } void _wxFB_ExportSetupToOtherCopperZones( wxCommandEvent& event ){ ExportSetupToOtherCopperZones( event ); }
void _wxFB_OnButtonOkClick( wxCommandEvent& event ){ OnButtonOkClick( event ); } void _wxFB_OnButtonOkClick( wxCommandEvent& event ){ OnButtonOkClick( event ); }
void _wxFB_OnButtonCancelClick( wxCommandEvent& event ){ OnButtonCancelClick( event ); } void _wxFB_OnButtonCancelClick( wxCommandEvent& event ){ OnButtonCancelClick( event ); }
...@@ -48,6 +49,9 @@ class dialog_copper_zone_frame : public wxDialog ...@@ -48,6 +49,9 @@ class dialog_copper_zone_frame : public wxDialog
enum enum
{ {
ID_RADIOBOX_GRID_SELECTION = 1000, ID_RADIOBOX_GRID_SELECTION = 1000,
wxID_PADS_IN_ZONE_OPTIONS,
wxID_ANTIPAD_SIZE,
wxID_COPPER_BRIDGE_VALUE,
ID_RADIOBOX_OUTLINES_OPTION, ID_RADIOBOX_OUTLINES_OPTION,
wxID_ARC_APPROX, wxID_ARC_APPROX,
wxID_BUTTON_EXPORT, wxID_BUTTON_EXPORT,
...@@ -59,16 +63,19 @@ class dialog_copper_zone_frame : public wxDialog ...@@ -59,16 +63,19 @@ class dialog_copper_zone_frame : public wxDialog
}; };
wxRadioBox* m_GridCtrl; wxRadioBox* m_GridCtrl;
wxStaticText* m_ClearanceValueTitle; wxRadioBox* m_PadInZoneOpt;
wxTextCtrl* m_ZoneClearanceCtrl; wxStaticText* m_AntipadSizeText;
wxRadioBox* m_FillOpt; wxTextCtrl* m_AntipadSizeValue;
wxCheckBox* m_ShowFilledAreasInSketchOpt; wxStaticText* m_CopperBridgeWidthText;
wxTextCtrl* m_CopperWidthValue;
wxRadioBox* m_OrientEdgesOpt; wxRadioBox* m_OrientEdgesOpt;
wxRadioBox* m_OutlineAppearanceCtrl; wxRadioBox* m_OutlineAppearanceCtrl;
wxRadioBox* m_ArcApproximationOpt; wxRadioBox* m_ArcApproximationOpt;
wxButton* m_ExportSetupBuuton; wxCheckBox* m_ShowFilledAreasInSketchOpt;
wxStaticText* m_ClearanceValueTitle;
wxTextCtrl* m_ZoneClearanceCtrl;
wxButton* m_ExportSetupButton;
wxButton* m_OkButton; wxButton* m_OkButton;
wxButton* m_ButtonCancel; wxButton* m_ButtonCancel;
...@@ -84,6 +91,7 @@ class dialog_copper_zone_frame : public wxDialog ...@@ -84,6 +91,7 @@ class dialog_copper_zone_frame : public wxDialog
// Virtual event handlers, overide them in your derived class // Virtual event handlers, overide them in your derived class
virtual void OnInitDialog( wxInitDialogEvent& event ){ event.Skip(); } virtual void OnInitDialog( wxInitDialogEvent& event ){ event.Skip(); }
virtual void OnPadsInZoneClick( wxCommandEvent& event ){ event.Skip(); }
virtual void ExportSetupToOtherCopperZones( wxCommandEvent& event ){ event.Skip(); } virtual void ExportSetupToOtherCopperZones( wxCommandEvent& event ){ event.Skip(); }
virtual void OnButtonOkClick( wxCommandEvent& event ){ event.Skip(); } virtual void OnButtonOkClick( wxCommandEvent& event ){ event.Skip(); }
virtual void OnButtonCancelClick( wxCommandEvent& event ){ event.Skip(); } virtual void OnButtonCancelClick( wxCommandEvent& event ){ event.Skip(); }
...@@ -92,7 +100,7 @@ class dialog_copper_zone_frame : public wxDialog ...@@ -92,7 +100,7 @@ class dialog_copper_zone_frame : public wxDialog
public: public:
dialog_copper_zone_frame( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Fill Zones Options"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 452,493 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER ); dialog_copper_zone_frame( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Fill Zones Options"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 545,493 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
~dialog_copper_zone_frame(); ~dialog_copper_zone_frame();
}; };
......
...@@ -15,6 +15,8 @@ ...@@ -15,6 +15,8 @@
#define ZONE_NET_OUTLINES_HATCH_OPTION_KEY wxT( "Zone_Ouline_Hatch_Opt" ) #define ZONE_NET_OUTLINES_HATCH_OPTION_KEY wxT( "Zone_Ouline_Hatch_Opt" )
#define ZONE_NET_SORT_OPTION_KEY wxT( "Zone_NetSort_Opt" ) #define ZONE_NET_SORT_OPTION_KEY wxT( "Zone_NetSort_Opt" )
#define ZONE_NET_FILTER_STRING_KEY wxT( "Zone_Filter_Opt" ) #define ZONE_NET_FILTER_STRING_KEY wxT( "Zone_Filter_Opt" )
#define ZONE_THERMAL_RELIEF_GAP_STRING_KEY wxT( "Zone_TH_Gap" )
#define ZONE_THERMAL_RELIEF_COPPER_WIDTH_STRING_KEY wxT( "Zone_TH_Copper_Width" )
enum zone_cmd { enum zone_cmd {
ZONE_ABORT, ZONE_ABORT,
...@@ -37,6 +39,16 @@ eda_global int g_Zone_Hatching; // Option to show the zone a ...@@ -37,6 +39,16 @@ eda_global int g_Zone_Hatching; // Option to show the zone a
eda_global int g_Zone_Arc_Approximation; // Option to select number of segments to approximate a circle eda_global int g_Zone_Arc_Approximation; // Option to select number of segments to approximate a circle
// 16 or 32 segments // 16 or 32 segments
eda_global int g_FilledAreasShowMode; // Used to select draw options for filled areas in a zone (currently normal =0, sketch = 1) eda_global int g_FilledAreasShowMode; // Used to select draw options for filled areas in a zone (currently normal =0, sketch = 1)
eda_global long g_ThermalReliefGapValue // tickness of the gap in thermal reliefs
#ifdef MAIN
= 200
#endif
;
eda_global long g_ThermalReliefCopperBridgeValue // tickness of the copper bridge in thermal reliefs
#ifdef MAIN
= 200
#endif
;
eda_global ZONE_CONTAINER::m_PadInZone g_Zone_Pad_Options eda_global ZONE_CONTAINER::m_PadInZone g_Zone_Pad_Options
#ifdef MAIN #ifdef MAIN
......
...@@ -64,6 +64,8 @@ void WinEDA_PcbFrame::Add_Similar_Zone( wxDC* DC, ZONE_CONTAINER* zone_container ...@@ -64,6 +64,8 @@ void WinEDA_PcbFrame::Add_Similar_Zone( wxDC* DC, ZONE_CONTAINER* zone_container
* @param zone_container = parent zone outline * @param zone_container = parent zone outline
*/ */
{ {
if ( zone_container == NULL )
return;
s_AddCutoutToCurrentZone = false; s_AddCutoutToCurrentZone = false;
s_CurrentZone = zone_container; s_CurrentZone = zone_container;
wxCommandEvent evt; wxCommandEvent evt;
...@@ -83,6 +85,8 @@ void WinEDA_PcbFrame::Add_Zone_Cutout( wxDC* DC, ZONE_CONTAINER* zone_container ...@@ -83,6 +85,8 @@ void WinEDA_PcbFrame::Add_Zone_Cutout( wxDC* DC, ZONE_CONTAINER* zone_container
* @param zone_container = parent zone outline * @param zone_container = parent zone outline
*/ */
{ {
if ( zone_container == NULL )
return;
s_AddCutoutToCurrentZone = true; s_AddCutoutToCurrentZone = true;
s_CurrentZone = zone_container; s_CurrentZone = zone_container;
wxCommandEvent evt; wxCommandEvent evt;
...@@ -479,39 +483,40 @@ int WinEDA_PcbFrame::Begin_Zone( wxDC* DC ) ...@@ -479,39 +483,40 @@ int WinEDA_PcbFrame::Begin_Zone( wxDC* DC )
* Function Begin_Zone * Function Begin_Zone
* either initializes the first segment of a new zone, or adds an * either initializes the first segment of a new zone, or adds an
* intermediate segment. * intermediate segment.
* A new zone can be:
* created from scratch: the user will be prompted to define parameters (layer, clearence ...)
* created from a similar zone (s_CurrentZone is used): parameters are copied from s_CurrentZone
* created as a cutout (an hole) inside s_CurrentZone
*/ */
{ {
// verify if s_CurrentZone exists: // verify if s_CurrentZone exists (could be deleted since last selection) :
int ii; int ii;
for( ii = 0; ii < m_Pcb->GetAreaCount(); ii++ ) for( ii = 0; ii < m_Pcb->GetAreaCount(); ii++ )
{ {
if( s_CurrentZone == m_Pcb->GetArea( ii ) ) if( s_CurrentZone == m_Pcb->GetArea( ii ) )
break; break;
} }
if( ii == m_Pcb->GetAreaCount() ) // Not found: could be deleted since last selection if( ii >= m_Pcb->GetAreaCount() ) // Not found: could be deleted since last selection
{ {
s_AddCutoutToCurrentZone = false; s_AddCutoutToCurrentZone = false;
s_CurrentZone = NULL; s_CurrentZone = NULL;
} }
// If no zone contour in progress, a new zone is beeing created:
ZONE_CONTAINER* zone;
if( m_Pcb->m_CurrentZoneContour == NULL ) if( m_Pcb->m_CurrentZoneContour == NULL )
m_Pcb->m_CurrentZoneContour = new ZONE_CONTAINER( m_Pcb ); m_Pcb->m_CurrentZoneContour = new ZONE_CONTAINER( m_Pcb );
zone = m_Pcb->m_CurrentZoneContour; ZONE_CONTAINER* zone = m_Pcb->m_CurrentZoneContour;
if( zone->GetNumCorners() == 0 ) /* Start a new contour: init zone params (net and layer) */ if( zone->GetNumCorners() == 0 ) /* Start a new contour: init zone params (net, layer ...) */
{ {
if( s_CurrentZone == NULL ) // A new outline is created if( s_CurrentZone == NULL ) // A new outline is created, from scratch
{ {
int diag; int diag;
// Init zone params to reasonnable values // Init zone params to reasonnable values
zone->SetLayer( ( (PCB_SCREEN*) GetScreen() )->m_Active_Layer ); zone->SetLayer( ( (PCB_SCREEN*) GetScreen() )->m_Active_Layer );
// Prompt user fro exact parameters: // Prompt user for parameters:
DrawPanel->m_IgnoreMouseEvents = TRUE; DrawPanel->m_IgnoreMouseEvents = TRUE;
if( zone->IsOnCopperLayer() ) if( zone->IsOnCopperLayer() )
{ // Put a zone on a copper layer { // Put a zone on a copper layer
...@@ -541,7 +546,7 @@ int WinEDA_PcbFrame::Begin_Zone( wxDC* DC ) ...@@ -541,7 +546,7 @@ int WinEDA_PcbFrame::Begin_Zone( wxDC* DC )
( (PCB_SCREEN*) GetScreen() )->m_Active_Layer = g_CurrentZone_Layer; // Set by the dialog frame ( (PCB_SCREEN*) GetScreen() )->m_Active_Layer = g_CurrentZone_Layer; // Set by the dialog frame
} }
else /* Start a new contour: init zone params (net and layer) from an existing zone */ else // Start a new contour: init zone params (net and layer) from an existing zone (add cutout or similar zone)
{ {
( (PCB_SCREEN*) GetScreen() )->m_Active_Layer = g_CurrentZone_Layer = ( (PCB_SCREEN*) GetScreen() )->m_Active_Layer = g_CurrentZone_Layer =
s_CurrentZone->GetLayer(); s_CurrentZone->GetLayer();
...@@ -551,18 +556,18 @@ int WinEDA_PcbFrame::Begin_Zone( wxDC* DC ) ...@@ -551,18 +556,18 @@ int WinEDA_PcbFrame::Begin_Zone( wxDC* DC )
/* Show the Net for zones on copper layers */ /* Show the Net for zones on copper layers */
if( g_CurrentZone_Layer < FIRST_NO_COPPER_LAYER ) if( g_CurrentZone_Layer < FIRST_NO_COPPER_LAYER )
{ {
if( g_HightLigt_Status && (g_HightLigth_NetCode != g_NetcodeSelection) ) if( s_CurrentZone )
g_NetcodeSelection = s_CurrentZone->GetNet();
if( g_HightLigt_Status )
{ {
Hight_Light( DC ); // Remove old hightlight selection Hight_Light( DC ); // Remove old hightlight selection
} }
if( s_CurrentZone )
g_NetcodeSelection = s_CurrentZone->GetNet();
g_HightLigth_NetCode = g_NetcodeSelection; g_HightLigth_NetCode = g_NetcodeSelection;
Hight_Light( DC ); Hight_Light( DC );
} }
if( !s_AddCutoutToCurrentZone ) if( !s_AddCutoutToCurrentZone )
s_CurrentZone = NULL; // the zone is used only once s_CurrentZone = NULL; // the zone is used only once ("add similar zone" command)
} }
// if first segment // if first segment
...@@ -574,6 +579,8 @@ int WinEDA_PcbFrame::Begin_Zone( wxDC* DC ) ...@@ -574,6 +579,8 @@ int WinEDA_PcbFrame::Begin_Zone( wxDC* DC )
zone->m_TimeStamp = GetTimeStamp(); zone->m_TimeStamp = GetTimeStamp();
zone->m_PadOption = g_Zone_Pad_Options; zone->m_PadOption = g_Zone_Pad_Options;
zone->m_ZoneClearance = g_DesignSettings.m_ZoneClearence; zone->m_ZoneClearance = g_DesignSettings.m_ZoneClearence;
zone->m_ThermalReliefGapValue = g_ThermalReliefGapValue;
zone->m_ThermalReliefCopperBridgeValue = g_ThermalReliefCopperBridgeValue;
zone->m_GridFillValue = g_GridRoutingSize; zone->m_GridFillValue = g_GridRoutingSize;
zone->m_Poly->Start( g_CurrentZone_Layer, zone->m_Poly->Start( g_CurrentZone_Layer,
GetScreen()->m_Curseur.x, GetScreen()->m_Curseur.y, GetScreen()->m_Curseur.x, GetScreen()->m_Curseur.y,
...@@ -729,6 +736,8 @@ static void Show_New_Edge_While_Move_Mouse( WinEDA_DrawPanel* panel, wxDC* DC, b ...@@ -729,6 +736,8 @@ static void Show_New_Edge_While_Move_Mouse( WinEDA_DrawPanel* panel, wxDC* DC, b
return; return;
int icorner = zone->GetNumCorners() - 1; int icorner = zone->GetNumCorners() - 1;
if ( icorner < 1 )
return; // We must have 2 (or more) corners
if( erase ) /* Undraw edge in old position*/ if( erase ) /* Undraw edge in old position*/
{ {
...@@ -760,7 +769,6 @@ void WinEDA_PcbFrame::Edit_Zone_Params( wxDC* DC, ZONE_CONTAINER* zone_container ...@@ -760,7 +769,6 @@ void WinEDA_PcbFrame::Edit_Zone_Params( wxDC* DC, ZONE_CONTAINER* zone_container
*/ */
{ {
int diag; int diag;
DrawPanel->m_IgnoreMouseEvents = TRUE; DrawPanel->m_IgnoreMouseEvents = TRUE;
if( zone_container->GetLayer() < FIRST_NO_COPPER_LAYER ) if( zone_container->GetLayer() < FIRST_NO_COPPER_LAYER )
{ // edit a zone on a copper layer { // edit a zone on a copper layer
...@@ -795,6 +803,8 @@ void WinEDA_PcbFrame::Edit_Zone_Params( wxDC* DC, ZONE_CONTAINER* zone_container ...@@ -795,6 +803,8 @@ void WinEDA_PcbFrame::Edit_Zone_Params( wxDC* DC, ZONE_CONTAINER* zone_container
zone_container->m_GridFillValue = g_GridRoutingSize; zone_container->m_GridFillValue = g_GridRoutingSize;
zone_container->m_ArcToSegmentsCount = g_Zone_Arc_Approximation; zone_container->m_ArcToSegmentsCount = g_Zone_Arc_Approximation;
zone_container->m_DrawOptions = g_FilledAreasShowMode; zone_container->m_DrawOptions = g_FilledAreasShowMode;
zone_container->m_ThermalReliefGapValue = g_ThermalReliefGapValue;
zone_container->m_ThermalReliefCopperBridgeValue = g_ThermalReliefCopperBridgeValue;
// Combine zones if possible : // Combine zones if possible :
......
...@@ -113,7 +113,8 @@ void ZONE_CONTAINER::AddClearanceAreasPolygonsToPolysList( BOARD* aPcb ) ...@@ -113,7 +113,8 @@ void ZONE_CONTAINER::AddClearanceAreasPolygonsToPolysList( BOARD* aPcb )
break; break;
case THERMAL_PAD: case THERMAL_PAD:
AddThermalReliefPadPolygon( booleng, *pad, 100, 100 ); AddThermalReliefPadPolygon( booleng, *pad,
m_ThermalReliefGapValue, m_ThermalReliefCopperBridgeValue );
break; break;
case PAD_IN_ZONE: case PAD_IN_ZONE:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment