From 537d4861ba259f0fd41ccb85988d7f3d1a8db22b Mon Sep 17 00:00:00 2001 From: charras Date: Sun, 15 Nov 2009 14:12:53 +0000 Subject: [PATCH] fixed tagged translation --- common/about_kicad.cpp | 2 +- pcbnew/autoplac.cpp | 13 +++++++------ pcbnew/board.cpp | 6 ++++-- pcbnew/edgemod.cpp | 6 ++++-- pcbnew/editedge.cpp | 6 ++++-- 5 files changed, 20 insertions(+), 13 deletions(-) diff --git a/common/about_kicad.cpp b/common/about_kicad.cpp index d6495451e5..a9343d0cdf 100644 --- a/common/about_kicad.cpp +++ b/common/about_kicad.cpp @@ -8,7 +8,7 @@ #include "appl_wxstruct.h" -#define BUILD_VERSION "(20091027-unstable)" +#define BUILD_VERSION "(2009-11-15-unstable)" #ifdef HAVE_SVN_VERSION diff --git a/pcbnew/autoplac.cpp b/pcbnew/autoplac.cpp index 157d09b5f3..8ac9a55dca 100644 --- a/pcbnew/autoplac.cpp +++ b/pcbnew/autoplac.cpp @@ -902,12 +902,13 @@ float WinEDA_PcbFrame::Compute_Ratsnest_PlaceModule( wxDC* DC ) /* Draw keep out area of a module. */ /***********************************/ -/* TRANSLATE - * les cellules ( du plan des Distances ) du rectangle x0,y0 a x1,y1 sont - * incrementees de la valeur Penalite - * celles qui sont externes au rectangle, mais internes au rectangle - * x0,y0 -marge a x1,y1 + marge sont incrementees d'une valeur - * (Penalite ... 0) decroissante en fonction de leur eloignement +/* Buid the cost map. + * Cells ( in Dist mao ) inside the rect x0,y0 a x1,y1 are + * incremented by value Penalite + * Cell outside this rectangle, but inside the rectangle + * x0,y0 -marge to x1,y1 + marge sont incrementede by a decreasing value + * (Penalite ... 0). The decreasing value de pends on the distance to the first rectangle + * Therefore the cost is hight in rect x0,y0 a x1,y1, and decrease outside this rectangle */ static void TracePenaliteRectangle( BOARD* Pcb, int ux0, diff --git a/pcbnew/board.cpp b/pcbnew/board.cpp index 9408d34082..93ff8f6331 100644 --- a/pcbnew/board.cpp +++ b/pcbnew/board.cpp @@ -344,8 +344,10 @@ int Build_Work( BOARD* Pcb ) for( unsigned ii = 0; ii < Pcb->GetRatsnestsCount(); ii++ ) { pt_rats = &Pcb->m_FullRatsnest[ii]; - /* TRANSLATE On ne route que les chevelus actifs et routables */ - if( (pt_rats->m_Status & CH_ACTIF) == 0 ) + /* We consider her only ratsnets that are active ( obviously not yet routed) + * and routables (that are not yet attempt to be routed and fail + */ + if( (pt_rats->m_Status & CH_ACTIF) == 0 ) continue; if( pt_rats->m_Status & CH_UNROUTABLE ) continue; diff --git a/pcbnew/edgemod.cpp b/pcbnew/edgemod.cpp index f3ddbb834f..399b80d420 100644 --- a/pcbnew/edgemod.cpp +++ b/pcbnew/edgemod.cpp @@ -352,8 +352,10 @@ EDGE_MODULE* WinEDA_ModuleEditFrame::Begin_Edge_Module( EDGE_MODULE* Edge, DrawPanel->ManageCurseur = ShowEdgeModule; DrawPanel->ForceCloseManageCurseur = Exit_EditEdge_Module; } - /* TRANSLATE trace en cours : les coord du point d'arrivee ont ete mises - * a jour par la routine Montre_Position_New_Edge_Module + /* Segment creation in progress. + * The ending coordinate are updated by the function + * Montre_Position_New_Edge_Module() called on move mouse event + * during the segment craetion */ else { diff --git a/pcbnew/editedge.cpp b/pcbnew/editedge.cpp index 7b7afbe646..9879008cce 100644 --- a/pcbnew/editedge.cpp +++ b/pcbnew/editedge.cpp @@ -226,8 +226,10 @@ DRAWSEGMENT* WinEDA_PcbFrame::Begin_DrawSegment( DRAWSEGMENT* Segment, DrawPanel->ManageCurseur = Montre_Position_NewSegment; DrawPanel->ForceCloseManageCurseur = Exit_EditEdge; } - else /* TRANSLATE trace en cours : les coord du point d'arrivee ont - * ete mises a jour par la routine Montre_Position_NewSegment*/ + else /* The ending point ccordinate Segment->m_End was updated by he function + * Montre_Position_NewSegment() called on a move mouse event + * during the segment creation + */ { if( Segment->m_Start != Segment->m_End ) {