fixed tagged translation
This commit is contained in:
parent
506a73c387
commit
537d4861ba
|
@ -8,7 +8,7 @@
|
||||||
#include "appl_wxstruct.h"
|
#include "appl_wxstruct.h"
|
||||||
|
|
||||||
|
|
||||||
#define BUILD_VERSION "(20091027-unstable)"
|
#define BUILD_VERSION "(2009-11-15-unstable)"
|
||||||
|
|
||||||
|
|
||||||
#ifdef HAVE_SVN_VERSION
|
#ifdef HAVE_SVN_VERSION
|
||||||
|
|
|
@ -902,12 +902,13 @@ float WinEDA_PcbFrame::Compute_Ratsnest_PlaceModule( wxDC* DC )
|
||||||
/* Draw keep out area of a module. */
|
/* Draw keep out area of a module. */
|
||||||
/***********************************/
|
/***********************************/
|
||||||
|
|
||||||
/* TRANSLATE
|
/* Buid the cost map.
|
||||||
* les cellules ( du plan des Distances ) du rectangle x0,y0 a x1,y1 sont
|
* Cells ( in Dist mao ) inside the rect x0,y0 a x1,y1 are
|
||||||
* incrementees de la valeur Penalite
|
* incremented by value Penalite
|
||||||
* celles qui sont externes au rectangle, mais internes au rectangle
|
* Cell outside this rectangle, but inside the rectangle
|
||||||
* x0,y0 -marge a x1,y1 + marge sont incrementees d'une valeur
|
* x0,y0 -marge to x1,y1 + marge sont incrementede by a decreasing value
|
||||||
* (Penalite ... 0) decroissante en fonction de leur eloignement
|
* (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,
|
static void TracePenaliteRectangle( BOARD* Pcb,
|
||||||
int ux0,
|
int ux0,
|
||||||
|
|
|
@ -344,7 +344,9 @@ int Build_Work( BOARD* Pcb )
|
||||||
for( unsigned ii = 0; ii < Pcb->GetRatsnestsCount(); ii++ )
|
for( unsigned ii = 0; ii < Pcb->GetRatsnestsCount(); ii++ )
|
||||||
{
|
{
|
||||||
pt_rats = &Pcb->m_FullRatsnest[ii];
|
pt_rats = &Pcb->m_FullRatsnest[ii];
|
||||||
/* TRANSLATE On ne route que les chevelus actifs et routables */
|
/* 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 )
|
if( (pt_rats->m_Status & CH_ACTIF) == 0 )
|
||||||
continue;
|
continue;
|
||||||
if( pt_rats->m_Status & CH_UNROUTABLE )
|
if( pt_rats->m_Status & CH_UNROUTABLE )
|
||||||
|
|
|
@ -352,8 +352,10 @@ EDGE_MODULE* WinEDA_ModuleEditFrame::Begin_Edge_Module( EDGE_MODULE* Edge,
|
||||||
DrawPanel->ManageCurseur = ShowEdgeModule;
|
DrawPanel->ManageCurseur = ShowEdgeModule;
|
||||||
DrawPanel->ForceCloseManageCurseur = Exit_EditEdge_Module;
|
DrawPanel->ForceCloseManageCurseur = Exit_EditEdge_Module;
|
||||||
}
|
}
|
||||||
/* TRANSLATE trace en cours : les coord du point d'arrivee ont ete mises
|
/* Segment creation in progress.
|
||||||
* a jour par la routine Montre_Position_New_Edge_Module
|
* The ending coordinate are updated by the function
|
||||||
|
* Montre_Position_New_Edge_Module() called on move mouse event
|
||||||
|
* during the segment craetion
|
||||||
*/
|
*/
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
|
@ -226,8 +226,10 @@ DRAWSEGMENT* WinEDA_PcbFrame::Begin_DrawSegment( DRAWSEGMENT* Segment,
|
||||||
DrawPanel->ManageCurseur = Montre_Position_NewSegment;
|
DrawPanel->ManageCurseur = Montre_Position_NewSegment;
|
||||||
DrawPanel->ForceCloseManageCurseur = Exit_EditEdge;
|
DrawPanel->ForceCloseManageCurseur = Exit_EditEdge;
|
||||||
}
|
}
|
||||||
else /* TRANSLATE trace en cours : les coord du point d'arrivee ont
|
else /* The ending point ccordinate Segment->m_End was updated by he function
|
||||||
* ete mises a jour par la routine Montre_Position_NewSegment*/
|
* Montre_Position_NewSegment() called on a move mouse event
|
||||||
|
* during the segment creation
|
||||||
|
*/
|
||||||
{
|
{
|
||||||
if( Segment->m_Start != Segment->m_End )
|
if( Segment->m_Start != Segment->m_End )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue