removed not used files. french kicad.po updated
This commit is contained in:
parent
1e896d1750
commit
3823d66052
|
@ -4,6 +4,12 @@ Started 2007-June-11
|
|||
Please add newer entries at the top, list the date and your name with
|
||||
email address.
|
||||
|
||||
2007-Nov-02 UPDATE Jean-Pierre Charras <jean-pierre.charras@inpg.fr>
|
||||
================================================================================
|
||||
+ all
|
||||
removed not used files
|
||||
|
||||
|
||||
2007-Nov-07 UPDATE Geoff Harland <gharlandau@yahoo.com.au>
|
||||
================================================================================
|
||||
+ all
|
||||
|
|
|
@ -1,509 +0,0 @@
|
|||
/////////////////////////////////////////////////////////////////////////////
|
||||
// Name: svg_print.cpp
|
||||
// Purpose:
|
||||
// Author: jean-pierre Charras
|
||||
// Modified by:
|
||||
// Created: 05/02/2006 11:05:19
|
||||
// RCS-ID:
|
||||
// Copyright: License GNU
|
||||
// Licence:
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// Generated by DialogBlocks (unregistered), 05/02/2006 11:05:19
|
||||
|
||||
#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
|
||||
#pragma implementation "svg_print.h"
|
||||
#endif
|
||||
|
||||
// For compilers that support precompilation, includes "wx/wx.h".
|
||||
#include "wx/wxprec.h"
|
||||
|
||||
#ifdef __BORLANDC__
|
||||
#pragma hdrstop
|
||||
#endif
|
||||
|
||||
#ifndef WX_PRECOMP
|
||||
#include "wx/wx.h"
|
||||
#endif
|
||||
|
||||
////@begin includes
|
||||
////@end includes
|
||||
|
||||
#include <ctype.h>
|
||||
#include "wx/metafile.h"
|
||||
#include "wx/dcsvg.h"
|
||||
#include "wx/image.h"
|
||||
|
||||
#include "fctsys.h"
|
||||
#include "gr_basic.h"
|
||||
|
||||
#include "common.h"
|
||||
|
||||
#include "svg_print.h"
|
||||
|
||||
////@begin XPM images
|
||||
////@end XPM images
|
||||
|
||||
extern BASE_SCREEN * ActiveScreen;
|
||||
extern int PenMinWidth; /* dim mini (en 1/100 mmm) pour les traits imprimes */
|
||||
|
||||
#define WIDTH_MAX_VALUE 100
|
||||
#define WIDTH_MIN_VALUE 1
|
||||
|
||||
// Variables locales
|
||||
static int Select_PrintAll = FALSE;
|
||||
static bool Print_Sheet_Ref = TRUE;
|
||||
static int s_PlotBlackAndWhite = 0;
|
||||
|
||||
|
||||
|
||||
/*******************************************************/
|
||||
void WinEDA_DrawFrame::SVG_Print(wxCommandEvent& event)
|
||||
/*******************************************************/
|
||||
/* Prepare les structures de donnees de gestion de l'impression
|
||||
et affiche la fenetre de dialogue de gestion de l'impression des feuilles
|
||||
*/
|
||||
{
|
||||
// Arret des commandes en cours
|
||||
if( DrawPanel->ManageCurseur && DrawPanel->ForceCloseManageCurseur )
|
||||
{
|
||||
wxClientDC dc(DrawPanel);
|
||||
DrawPanel->PrepareDC(dc);
|
||||
DrawPanel->ForceCloseManageCurseur(DrawPanel, &dc);
|
||||
}
|
||||
SetToolID(0, wxCURSOR_ARROW,wxEmptyString);
|
||||
|
||||
WinEDA_PrintSVGFrame frame(this);
|
||||
frame.ShowModal();
|
||||
}
|
||||
|
||||
|
||||
/*!
|
||||
* WinEDA_PrintSVGFrame type definition
|
||||
*/
|
||||
|
||||
IMPLEMENT_DYNAMIC_CLASS( WinEDA_PrintSVGFrame, wxDialog )
|
||||
|
||||
/*!
|
||||
* WinEDA_PrintSVGFrame event table definition
|
||||
*/
|
||||
|
||||
BEGIN_EVENT_TABLE( WinEDA_PrintSVGFrame, wxDialog )
|
||||
|
||||
////@begin WinEDA_PrintSVGFrame event table entries
|
||||
EVT_CLOSE( WinEDA_PrintSVGFrame::OnCloseWindow )
|
||||
|
||||
EVT_SPINCTRL( ID_SPINCTRL, WinEDA_PrintSVGFrame::OnSpinctrlUpdated )
|
||||
|
||||
EVT_RADIOBOX( ID_RADIOBOX_SETPRINTMODE, WinEDA_PrintSVGFrame::OnRadioboxSetprintmodeSelected )
|
||||
|
||||
EVT_BUTTON( ID_PRINT_EXECUTE, WinEDA_PrintSVGFrame::OnPrintExecuteClick )
|
||||
|
||||
EVT_BUTTON( wxID_CLOSE, WinEDA_PrintSVGFrame::OnCloseClick )
|
||||
|
||||
////@end WinEDA_PrintSVGFrame event table entries
|
||||
|
||||
END_EVENT_TABLE()
|
||||
|
||||
/*!
|
||||
* WinEDA_PrintSVGFrame constructors
|
||||
*/
|
||||
|
||||
WinEDA_PrintSVGFrame::WinEDA_PrintSVGFrame( )
|
||||
{
|
||||
}
|
||||
|
||||
WinEDA_PrintSVGFrame::WinEDA_PrintSVGFrame( WinEDA_DrawFrame* parent,
|
||||
wxWindowID id, const wxString& caption, const wxPoint& pos,
|
||||
const wxSize& size, long style )
|
||||
{
|
||||
m_Parent = parent;
|
||||
m_ImageXSize_mm = 270;
|
||||
wxConfig * Config = m_Parent->m_Parent->m_EDA_Config;
|
||||
if ( Config )
|
||||
{
|
||||
Config->Read(wxT("PlotSVGPenWidth"), &PenMinWidth);
|
||||
Config->Read(wxT("PlotSVGModeColor"), &s_PlotBlackAndWhite);
|
||||
}
|
||||
|
||||
Create(parent, id, caption, pos, size, style);
|
||||
}
|
||||
|
||||
/*!
|
||||
* WinEDA_PrintSVGFrame creator
|
||||
*/
|
||||
|
||||
bool WinEDA_PrintSVGFrame::Create( wxWindow* parent, wxWindowID id, const wxString& caption, const wxPoint& pos, const wxSize& size, long style )
|
||||
{
|
||||
////@begin WinEDA_PrintSVGFrame member initialisation
|
||||
m_ButtPenWidth = NULL;
|
||||
m_ModeColorOption = NULL;
|
||||
m_Print_Sheet_Ref = NULL;
|
||||
m_PagesOption = NULL;
|
||||
m_FileNameCtrl = NULL;
|
||||
m_MessagesBox = NULL;
|
||||
////@end WinEDA_PrintSVGFrame member initialisation
|
||||
|
||||
////@begin WinEDA_PrintSVGFrame creation
|
||||
SetExtraStyle(GetExtraStyle()|wxWS_EX_BLOCK_EVENTS);
|
||||
wxDialog::Create( parent, id, caption, pos, size, style );
|
||||
|
||||
CreateControls();
|
||||
if (GetSizer())
|
||||
{
|
||||
GetSizer()->SetSizeHints(this);
|
||||
}
|
||||
Centre();
|
||||
////@end WinEDA_PrintSVGFrame creation
|
||||
return true;
|
||||
}
|
||||
|
||||
/*!
|
||||
* Control creation for WinEDA_PrintSVGFrame
|
||||
*/
|
||||
|
||||
void WinEDA_PrintSVGFrame::CreateControls()
|
||||
{
|
||||
SetFont(*g_DialogFont);
|
||||
|
||||
////@begin WinEDA_PrintSVGFrame content construction
|
||||
// Generated by DialogBlocks, 09/09/2006 10:31:06 (unregistered)
|
||||
|
||||
WinEDA_PrintSVGFrame* itemDialog1 = this;
|
||||
|
||||
wxBoxSizer* itemBoxSizer2 = new wxBoxSizer(wxVERTICAL);
|
||||
itemDialog1->SetSizer(itemBoxSizer2);
|
||||
|
||||
wxBoxSizer* itemBoxSizer3 = new wxBoxSizer(wxHORIZONTAL);
|
||||
itemBoxSizer2->Add(itemBoxSizer3, 0, wxALIGN_CENTER_HORIZONTAL|wxALL, 5);
|
||||
|
||||
wxBoxSizer* itemBoxSizer4 = new wxBoxSizer(wxVERTICAL);
|
||||
itemBoxSizer3->Add(itemBoxSizer4, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5);
|
||||
|
||||
wxStaticText* itemStaticText5 = new wxStaticText( itemDialog1, wxID_STATIC, _("Pen width mini"), wxDefaultPosition, wxDefaultSize, 0 );
|
||||
itemBoxSizer4->Add(itemStaticText5, 0, wxALIGN_LEFT|wxLEFT|wxRIGHT|wxTOP|wxADJUST_MINSIZE, 5);
|
||||
|
||||
m_ButtPenWidth = new wxSpinCtrl( itemDialog1, ID_SPINCTRL, _T("0"), wxDefaultPosition, wxDefaultSize, wxSP_ARROW_KEYS, 1, 100, 0 );
|
||||
itemBoxSizer4->Add(m_ButtPenWidth, 0, wxALIGN_LEFT|wxALL, 5);
|
||||
|
||||
wxString m_ModeColorOptionStrings[] = {
|
||||
_("Color"),
|
||||
_("Black and White")
|
||||
};
|
||||
m_ModeColorOption = new wxRadioBox( itemDialog1, ID_RADIOBOX_SETPRINTMODE, _("Print mode"), wxDefaultPosition, wxDefaultSize, 2, m_ModeColorOptionStrings, 1, wxRA_SPECIFY_COLS );
|
||||
m_ModeColorOption->SetSelection(0);
|
||||
itemBoxSizer4->Add(m_ModeColorOption, 0, wxALIGN_LEFT|wxALL, 5);
|
||||
|
||||
m_Print_Sheet_Ref = new wxCheckBox( itemDialog1, ID_CHECKBOX, _("Print Sheet Ref"), wxDefaultPosition, wxDefaultSize, wxCHK_2STATE );
|
||||
m_Print_Sheet_Ref->SetValue(false);
|
||||
itemBoxSizer4->Add(m_Print_Sheet_Ref, 0, wxALIGN_LEFT|wxALL, 5);
|
||||
|
||||
itemBoxSizer4->Add(5, 5, 0, wxALIGN_CENTER_HORIZONTAL|wxALL, 56);
|
||||
|
||||
wxString m_PagesOptionStrings[] = {
|
||||
_("Current"),
|
||||
_("All")
|
||||
};
|
||||
m_PagesOption = new wxRadioBox( itemDialog1, ID_RADIOBOX, _("Page Print:"), wxDefaultPosition, wxDefaultSize, 2, m_PagesOptionStrings, 1, wxRA_SPECIFY_COLS );
|
||||
m_PagesOption->SetSelection(0);
|
||||
itemBoxSizer4->Add(m_PagesOption, 0, wxALIGN_LEFT|wxALL, 5);
|
||||
|
||||
itemBoxSizer3->Add(5, 5, 0, wxALIGN_CENTER_VERTICAL|wxALL, 15);
|
||||
|
||||
wxBoxSizer* itemBoxSizer12 = new wxBoxSizer(wxVERTICAL);
|
||||
itemBoxSizer3->Add(itemBoxSizer12, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5);
|
||||
|
||||
wxButton* itemButton13 = new wxButton( itemDialog1, ID_PRINT_EXECUTE, _("Create &File"), wxDefaultPosition, wxDefaultSize, 0 );
|
||||
itemButton13->SetForegroundColour(wxColour(0, 128, 0));
|
||||
itemBoxSizer12->Add(itemButton13, 0, wxGROW|wxALL, 5);
|
||||
|
||||
wxButton* itemButton14 = new wxButton( itemDialog1, wxID_CLOSE, _("&Close"), wxDefaultPosition, wxDefaultSize, 0 );
|
||||
itemButton14->SetForegroundColour(wxColour(0, 0, 198));
|
||||
itemBoxSizer12->Add(itemButton14, 0, wxGROW|wxALL, 5);
|
||||
|
||||
wxStaticText* itemStaticText15 = new wxStaticText( itemDialog1, wxID_STATIC, _("Filename:"), wxDefaultPosition, wxDefaultSize, 0 );
|
||||
itemBoxSizer2->Add(itemStaticText15, 0, wxALIGN_LEFT|wxLEFT|wxRIGHT|wxTOP|wxADJUST_MINSIZE, 5);
|
||||
|
||||
m_FileNameCtrl = new wxTextCtrl( itemDialog1, ID_TEXTCTRL, _T(""), wxDefaultPosition, wxDefaultSize, 0 );
|
||||
itemBoxSizer2->Add(m_FileNameCtrl, 0, wxGROW|wxALL, 5);
|
||||
|
||||
itemBoxSizer2->Add(5, 5, 0, wxALIGN_CENTER_HORIZONTAL|wxALL, 5);
|
||||
|
||||
wxStaticText* itemStaticText18 = new wxStaticText( itemDialog1, wxID_STATIC, _("Messages:"), wxDefaultPosition, wxDefaultSize, 0 );
|
||||
itemBoxSizer2->Add(itemStaticText18, 0, wxALIGN_LEFT|wxLEFT|wxRIGHT|wxTOP|wxADJUST_MINSIZE, 5);
|
||||
|
||||
m_MessagesBox = new wxTextCtrl( itemDialog1, ID_TEXTCTRL1, _T(""), wxDefaultPosition, wxSize(-1, 100), wxTE_MULTILINE|wxTE_READONLY );
|
||||
itemBoxSizer2->Add(m_MessagesBox, 0, wxGROW|wxALL, 5);
|
||||
|
||||
// Set validators
|
||||
m_ButtPenWidth->SetValidator( wxGenericValidator(& PenMinWidth) );
|
||||
m_ModeColorOption->SetValidator( wxGenericValidator(& s_PlotBlackAndWhite) );
|
||||
m_Print_Sheet_Ref->SetValidator( wxGenericValidator(& Print_Sheet_Ref) );
|
||||
////@end WinEDA_PrintSVGFrame content construction
|
||||
}
|
||||
|
||||
/*!
|
||||
* Should we show tooltips?
|
||||
*/
|
||||
|
||||
bool WinEDA_PrintSVGFrame::ShowToolTips()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
/*!
|
||||
* Get bitmap resources
|
||||
*/
|
||||
|
||||
wxBitmap WinEDA_PrintSVGFrame::GetBitmapResource( const wxString& name )
|
||||
{
|
||||
// Bitmap retrieval
|
||||
////@begin WinEDA_PrintSVGFrame bitmap retrieval
|
||||
wxUnusedVar(name);
|
||||
return wxNullBitmap;
|
||||
////@end WinEDA_PrintSVGFrame bitmap retrieval
|
||||
}
|
||||
|
||||
/*!
|
||||
* Get icon resources
|
||||
*/
|
||||
|
||||
wxIcon WinEDA_PrintSVGFrame::GetIconResource( const wxString& name )
|
||||
{
|
||||
// Icon retrieval
|
||||
////@begin WinEDA_PrintSVGFrame icon retrieval
|
||||
wxUnusedVar(name);
|
||||
return wxNullIcon;
|
||||
////@end WinEDA_PrintSVGFrame icon retrieval
|
||||
}
|
||||
|
||||
|
||||
/******************************************************/
|
||||
wxString WinEDA_PrintSVGFrame::ReturnFullFileName()
|
||||
/******************************************************/
|
||||
{
|
||||
wxString name, ext;
|
||||
|
||||
name = m_Parent->m_CurrentScreen->m_FileName;
|
||||
ChangeFileNameExt(name, wxT(".svg"));
|
||||
return name;
|
||||
}
|
||||
|
||||
|
||||
/*********************************************************/
|
||||
void WinEDA_PrintSVGFrame::SetPenWidth(wxSpinEvent& event)
|
||||
/*********************************************************/
|
||||
{
|
||||
PenMinWidth = m_ButtPenWidth->GetValue();
|
||||
if ( PenMinWidth > WIDTH_MAX_VALUE )
|
||||
{
|
||||
PenMinWidth = WIDTH_MAX_VALUE;
|
||||
wxBell();
|
||||
}
|
||||
if ( PenMinWidth < WIDTH_MIN_VALUE )
|
||||
{
|
||||
PenMinWidth = WIDTH_MIN_VALUE;
|
||||
wxBell();
|
||||
}
|
||||
m_ButtPenWidth->SetValue(PenMinWidth);
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**************************************************************/
|
||||
void WinEDA_PrintSVGFrame::PrintSVGDoc(wxCommandEvent& event)
|
||||
/**************************************************************/
|
||||
/* Called on activate "Print CURRENT" button
|
||||
*/
|
||||
{
|
||||
bool print_ref = TRUE;
|
||||
wxString msg;
|
||||
|
||||
Select_PrintAll = FALSE;
|
||||
if ( m_PagesOption && (m_PagesOption->GetSelection() == 1) )
|
||||
Select_PrintAll = TRUE;
|
||||
|
||||
if ( (m_Print_Sheet_Ref == NULL) || (m_Print_Sheet_Ref->GetValue() == FALSE) )
|
||||
print_ref = FALSE;
|
||||
|
||||
wxSpinEvent spinevent;
|
||||
SetPenWidth(spinevent);
|
||||
|
||||
|
||||
BASE_SCREEN * screen = m_Parent->m_CurrentScreen;
|
||||
BASE_SCREEN *oldscreen = screen;
|
||||
|
||||
if( Select_PrintAll )
|
||||
while ( screen->Pback ) screen = (BASE_SCREEN *) screen->Pback;
|
||||
|
||||
if ( (m_Parent->m_Ident == PCB_FRAME) || (m_Parent->m_Ident == GERBER_FRAME) )
|
||||
{
|
||||
if( Select_PrintAll )
|
||||
{
|
||||
m_PrintMaskLayer = 0xFFFFFFFF;
|
||||
}
|
||||
else m_PrintMaskLayer = 1;
|
||||
}
|
||||
|
||||
if (screen == NULL) return;
|
||||
|
||||
if ( Select_PrintAll && m_Parent->m_Ident == SCHEMATIC_FRAME )
|
||||
{
|
||||
SCH_SCREEN ** ScreenList;
|
||||
int ScreenCount;
|
||||
ScreenList = ((WinEDA_SchematicFrame*) m_Parent)->ReturnScreenList(NULL, &ScreenCount);
|
||||
|
||||
for( int ii = 0; ii < ScreenCount; ii++ )
|
||||
{
|
||||
SCH_SCREEN *schscreen = ScreenList[ii];
|
||||
/* Create all files *.svg */
|
||||
m_Parent->m_CurrentScreen = (BASE_SCREEN *)schscreen;
|
||||
ActiveScreen = screen;
|
||||
wxString FullFileName = ReturnFullFileName();
|
||||
bool success = DrawPage(FullFileName);
|
||||
msg = _("Create file ") + FullFileName;
|
||||
if ( ! success ) msg += _(" error");
|
||||
msg += wxT("\n");
|
||||
m_MessagesBox->AppendText(msg);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
ActiveScreen = screen;
|
||||
wxString FullFileName = m_FileNameCtrl->GetValue();
|
||||
if ( FullFileName.IsEmpty() )
|
||||
FullFileName = ReturnFullFileName();
|
||||
bool success = DrawPage(FullFileName);
|
||||
msg = _("Create file ") + FullFileName;
|
||||
if ( ! success ) msg += _(" error");
|
||||
msg += wxT("\n");
|
||||
m_MessagesBox->AppendText(msg);
|
||||
}
|
||||
ActiveScreen = oldscreen;
|
||||
}
|
||||
|
||||
/*****************************************************************/
|
||||
bool WinEDA_PrintSVGFrame::DrawPage(const wxString & FullFileName)
|
||||
/*****************************************************************/
|
||||
/*
|
||||
Routine effective d'impression
|
||||
*/
|
||||
{
|
||||
int tmpzoom;
|
||||
wxPoint tmp_startvisu;
|
||||
wxSize SheetSize; // Sheet size in internal units
|
||||
wxPoint old_org;
|
||||
float dpi;
|
||||
bool success = TRUE;
|
||||
|
||||
/* modification des cadrages et reglages locaux */
|
||||
tmp_startvisu = ActiveScreen->m_StartVisu;
|
||||
tmpzoom = ActiveScreen->GetZoom();
|
||||
old_org = ActiveScreen->m_DrawOrg;
|
||||
ActiveScreen->m_DrawOrg.x = ActiveScreen->m_DrawOrg.y = 0;
|
||||
ActiveScreen->m_StartVisu.x = ActiveScreen->m_StartVisu.y = 0;
|
||||
SheetSize = ActiveScreen->m_CurrentSheet->m_Size; // size in 1/1000 inch
|
||||
SheetSize.x *= m_Parent->m_InternalUnits / 1000;
|
||||
SheetSize.y *= m_Parent->m_InternalUnits / 1000; // size in pixels
|
||||
|
||||
ActiveScreen->SetZoom(1);
|
||||
dpi = (float)SheetSize.x * 25.4 /m_ImageXSize_mm;
|
||||
|
||||
WinEDA_DrawPanel * panel = m_Parent->DrawPanel;
|
||||
|
||||
wxSVGFileDC dc(FullFileName, SheetSize.x, SheetSize.y, dpi) ;
|
||||
|
||||
if ( ! dc.Ok() )
|
||||
{
|
||||
DisplayError(this, wxT("SVGprint error: wxSVGFileDC not OK"));
|
||||
success = FALSE;
|
||||
}
|
||||
|
||||
else
|
||||
{
|
||||
EDA_Rect tmp = panel->m_ClipBox;
|
||||
GRResetPenAndBrush(&dc);
|
||||
PenMinWidth = m_ButtPenWidth->GetValue();
|
||||
SetPenMinWidth(PenMinWidth);
|
||||
GRForceBlackPen( m_ModeColorOption->GetSelection() == 0 ? FALSE : TRUE );
|
||||
|
||||
|
||||
panel->m_ClipBox.SetX(0);panel->m_ClipBox.SetY(0);
|
||||
panel->m_ClipBox.SetWidth(0x7FFFFF0); panel->m_ClipBox.SetHeight(0x7FFFFF0);
|
||||
|
||||
g_IsPrinting = TRUE;
|
||||
panel->PrintPage(&dc, m_Print_Sheet_Ref, m_PrintMaskLayer);
|
||||
g_IsPrinting = FALSE;
|
||||
panel->m_ClipBox = tmp;
|
||||
}
|
||||
|
||||
|
||||
GRForceBlackPen(FALSE);
|
||||
SetPenMinWidth(1);
|
||||
|
||||
ActiveScreen->m_StartVisu = tmp_startvisu;
|
||||
ActiveScreen->m_DrawOrg = old_org;
|
||||
ActiveScreen->SetZoom(tmpzoom);
|
||||
|
||||
return success;
|
||||
}
|
||||
|
||||
/*!
|
||||
* wxEVT_COMMAND_BUTTON_CLICKED event handler for ID_PRINT_EXECUTE
|
||||
*/
|
||||
|
||||
void WinEDA_PrintSVGFrame::OnPrintExecuteClick( wxCommandEvent& event )
|
||||
{
|
||||
PrintSVGDoc(event);
|
||||
}
|
||||
|
||||
/*!
|
||||
* wxEVT_COMMAND_BUTTON_CLICKED event handler for wxID_CLOSE
|
||||
*/
|
||||
|
||||
void WinEDA_PrintSVGFrame::OnCloseClick( wxCommandEvent& event )
|
||||
{
|
||||
Close(TRUE);
|
||||
}
|
||||
|
||||
|
||||
/*!
|
||||
* wxEVT_COMMAND_SPINCTRL_UPDATED event handler for ID_SPINCTRL
|
||||
*/
|
||||
|
||||
void WinEDA_PrintSVGFrame::OnSpinctrlUpdated( wxSpinEvent& event )
|
||||
{
|
||||
SetPenWidth(event);
|
||||
}
|
||||
|
||||
|
||||
/*!
|
||||
* wxEVT_CLOSE_WINDOW event handler for ID_DIALOG
|
||||
*/
|
||||
|
||||
void WinEDA_PrintSVGFrame::OnCloseWindow( wxCloseEvent& event )
|
||||
{
|
||||
wxConfig * Config = m_Parent->m_Parent->m_EDA_Config;
|
||||
if ( Config )
|
||||
{
|
||||
s_PlotBlackAndWhite = m_ModeColorOption->GetSelection();
|
||||
Config->Write(wxT("PlotSVGPenWidth"), PenMinWidth);
|
||||
Config->Write(wxT("PlotSVGModeColor"), s_PlotBlackAndWhite);
|
||||
}
|
||||
event.Skip();
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/*!
|
||||
* wxEVT_COMMAND_RADIOBOX_SELECTED event handler for ID_RADIOBOX_SETPRINTMODE
|
||||
*/
|
||||
|
||||
void WinEDA_PrintSVGFrame::OnRadioboxSetprintmodeSelected( wxCommandEvent& event )
|
||||
{
|
||||
s_PlotBlackAndWhite = m_ModeColorOption->GetSelection();
|
||||
event.Skip();
|
||||
}
|
||||
|
||||
|
|
@ -1,125 +0,0 @@
|
|||
/////////////////////////////////////////////////////////////////////////////
|
||||
// Name: svg_print.h
|
||||
// Purpose:
|
||||
// Author: jean-pierre Charras
|
||||
// Modified by:
|
||||
// Created: 27/10/2007 12:48:35
|
||||
// RCS-ID:
|
||||
// Copyright: License GNU
|
||||
// Licence:
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// Generated by DialogBlocks (unregistered), 27/10/2007 12:48:35
|
||||
|
||||
#ifndef _SVG_PRINT_H_
|
||||
#define _SVG_PRINT_H_
|
||||
|
||||
#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
|
||||
#pragma interface "svg_print.h"
|
||||
#endif
|
||||
|
||||
/*!
|
||||
* Includes
|
||||
*/
|
||||
|
||||
////@begin includes
|
||||
#include "wx/valgen.h"
|
||||
#include "wx/spinctrl.h"
|
||||
////@end includes
|
||||
|
||||
/*!
|
||||
* Forward declarations
|
||||
*/
|
||||
|
||||
////@begin forward declarations
|
||||
class wxSpinCtrl;
|
||||
////@end forward declarations
|
||||
|
||||
/*!
|
||||
* Control identifiers
|
||||
*/
|
||||
|
||||
////@begin control identifiers
|
||||
#define ID_DIALOG 10000
|
||||
#define ID_SPINCTRL 10003
|
||||
#define ID_RADIOBOX_SETPRINTMODE 10007
|
||||
#define ID_CHECKBOX 10004
|
||||
#define ID_RADIOBOX 10005
|
||||
#define ID_PRINT_EXECUTE 10002
|
||||
#define ID_TEXTCTRL 10001
|
||||
#define ID_TEXTCTRL1 10006
|
||||
#define SYMBOL_WINEDA_PRINTSVGFRAME_STYLE wxCAPTION|wxSYSTEM_MENU|wxCLOSE_BOX|wxFRAME_FLOAT_ON_PARENT|MAYBE_RESIZE_BORDER
|
||||
#define SYMBOL_WINEDA_PRINTSVGFRAME_TITLE _("Create SVG file")
|
||||
#define SYMBOL_WINEDA_PRINTSVGFRAME_IDNAME ID_DIALOG
|
||||
#define SYMBOL_WINEDA_PRINTSVGFRAME_SIZE wxSize(400, 300)
|
||||
#define SYMBOL_WINEDA_PRINTSVGFRAME_POSITION wxDefaultPosition
|
||||
////@end control identifiers
|
||||
|
||||
|
||||
/*!
|
||||
* WinEDA_PrintSVGFrame class declaration
|
||||
*/
|
||||
|
||||
class WinEDA_PrintSVGFrame: public wxDialog
|
||||
{
|
||||
DECLARE_DYNAMIC_CLASS( WinEDA_PrintSVGFrame )
|
||||
DECLARE_EVENT_TABLE()
|
||||
|
||||
public:
|
||||
/// Constructors
|
||||
WinEDA_PrintSVGFrame();
|
||||
WinEDA_PrintSVGFrame( wxWindow* parent, wxWindowID id = SYMBOL_WINEDA_PRINTSVGFRAME_IDNAME, const wxString& caption = SYMBOL_WINEDA_PRINTSVGFRAME_TITLE, const wxPoint& pos = SYMBOL_WINEDA_PRINTSVGFRAME_POSITION, const wxSize& size = SYMBOL_WINEDA_PRINTSVGFRAME_SIZE, long style = SYMBOL_WINEDA_PRINTSVGFRAME_STYLE );
|
||||
|
||||
/// Creation
|
||||
bool Create( wxWindow* parent, wxWindowID id = SYMBOL_WINEDA_PRINTSVGFRAME_IDNAME, const wxString& caption = SYMBOL_WINEDA_PRINTSVGFRAME_TITLE, const wxPoint& pos = SYMBOL_WINEDA_PRINTSVGFRAME_POSITION, const wxSize& size = SYMBOL_WINEDA_PRINTSVGFRAME_SIZE, long style = SYMBOL_WINEDA_PRINTSVGFRAME_STYLE );
|
||||
|
||||
/// Destructor
|
||||
~WinEDA_PrintSVGFrame();
|
||||
|
||||
/// Initialises member variables
|
||||
void Init();
|
||||
|
||||
/// Creates the controls and sizers
|
||||
void CreateControls();
|
||||
|
||||
////@begin WinEDA_PrintSVGFrame event handler declarations
|
||||
/// wxEVT_CLOSE_WINDOW event handler for ID_DIALOG
|
||||
void OnCloseWindow( wxCloseEvent& event );
|
||||
|
||||
/// wxEVT_COMMAND_SPINCTRL_UPDATED event handler for ID_SPINCTRL
|
||||
void OnSpinctrlUpdated( wxSpinEvent& event );
|
||||
|
||||
/// wxEVT_COMMAND_RADIOBOX_SELECTED event handler for ID_RADIOBOX_SETPRINTMODE
|
||||
void OnRadioboxSetprintmodeSelected( wxCommandEvent& event );
|
||||
|
||||
/// wxEVT_COMMAND_BUTTON_CLICKED event handler for ID_PRINT_EXECUTE
|
||||
void OnPrintExecuteClick( wxCommandEvent& event );
|
||||
|
||||
/// wxEVT_COMMAND_BUTTON_CLICKED event handler for wxID_CLOSE
|
||||
void OnCloseClick( wxCommandEvent& event );
|
||||
|
||||
////@end WinEDA_PrintSVGFrame event handler declarations
|
||||
|
||||
////@begin WinEDA_PrintSVGFrame member function declarations
|
||||
/// Retrieves bitmap resources
|
||||
wxBitmap GetBitmapResource( const wxString& name );
|
||||
|
||||
/// Retrieves icon resources
|
||||
wxIcon GetIconResource( const wxString& name );
|
||||
////@end WinEDA_PrintSVGFrame member function declarations
|
||||
|
||||
/// Should we show tooltips?
|
||||
static bool ShowToolTips();
|
||||
|
||||
////@begin WinEDA_PrintSVGFrame member variables
|
||||
wxSpinCtrl* m_ButtPenWidth;
|
||||
wxRadioBox* m_ModeColorOption;
|
||||
wxCheckBox* m_Print_Sheet_Ref;
|
||||
wxRadioBox* m_PagesOption;
|
||||
wxTextCtrl* m_FileNameCtrl;
|
||||
wxTextCtrl* m_MessagesBox;
|
||||
////@end WinEDA_PrintSVGFrame member variables
|
||||
};
|
||||
|
||||
#endif
|
||||
// _SVG_PRINT_H_
|
File diff suppressed because it is too large
Load Diff
|
@ -1,332 +0,0 @@
|
|||
/*****************************************************/
|
||||
/* Gestion de la configuration generale de EESCHEMA */
|
||||
/*****************************************************/
|
||||
/* Gestion de la fenetre de selection des librarires actives, de leur chemin
|
||||
et du format des netlistes générées
|
||||
*/
|
||||
|
||||
#include "fctsys.h"
|
||||
|
||||
#include "common.h"
|
||||
#include "program.h"
|
||||
#include "libcmp.h"
|
||||
#include "general.h"
|
||||
|
||||
#include "protos.h"
|
||||
#include "netlist.h"
|
||||
|
||||
#include "id.h"
|
||||
|
||||
|
||||
/* Fonctions Locales */
|
||||
|
||||
/***********/
|
||||
|
||||
enum {
|
||||
SAVE_CFG = 1000,
|
||||
DEL_LIB,
|
||||
ADD_LIB,
|
||||
INSERT_LIB,
|
||||
FORMAT_NETLIST
|
||||
};
|
||||
|
||||
/* Forward declarations */
|
||||
|
||||
/* Routines Locales */
|
||||
|
||||
/*************************************************/
|
||||
/* classe derivee pour la frame de Configuration */
|
||||
/*************************************************/
|
||||
|
||||
class WinEDA_ConfigFrame: public wxDialog
|
||||
{
|
||||
private:
|
||||
protected:
|
||||
public:
|
||||
|
||||
WinEDA_SchematicFrame * m_Parent;
|
||||
wxListBox * m_ListLibr;
|
||||
wxRadioBox *m_NetFormatBox;
|
||||
bool m_LibListChanged;
|
||||
WinEDA_EnterText * LibDirCtrl;
|
||||
|
||||
// Constructor and destructor
|
||||
WinEDA_ConfigFrame(WinEDA_SchematicFrame *parent, const wxPoint& pos);
|
||||
~WinEDA_ConfigFrame() {};
|
||||
|
||||
void OnCloseWindow(wxCloseEvent & event);
|
||||
|
||||
void CreateListFormatsNetListes(const wxPoint & pos);
|
||||
|
||||
void SaveCfg(wxCommandEvent& event);
|
||||
void LibDelFct(wxCommandEvent& event);
|
||||
void AddOrInsertLibrary(wxCommandEvent& event);
|
||||
void ReturnNetFormat(wxCommandEvent& event);
|
||||
void ChangeSetup();
|
||||
|
||||
DECLARE_EVENT_TABLE()
|
||||
|
||||
};
|
||||
/* Construction de la table des evenements pour WinEDA_ConfigFrame */
|
||||
BEGIN_EVENT_TABLE(WinEDA_ConfigFrame, wxDialog)
|
||||
EVT_BUTTON(SAVE_CFG, WinEDA_ConfigFrame::SaveCfg)
|
||||
EVT_BUTTON(DEL_LIB, WinEDA_ConfigFrame::LibDelFct)
|
||||
EVT_BUTTON(ADD_LIB, WinEDA_ConfigFrame::AddOrInsertLibrary)
|
||||
EVT_BUTTON(INSERT_LIB, WinEDA_ConfigFrame::AddOrInsertLibrary)
|
||||
EVT_RADIOBOX(FORMAT_NETLIST, WinEDA_ConfigFrame::ReturnNetFormat)
|
||||
EVT_CLOSE(WinEDA_ConfigFrame::OnCloseWindow)
|
||||
END_EVENT_TABLE()
|
||||
|
||||
/******************************************************************/
|
||||
void WinEDA_SchematicFrame::InstallConfigFrame(const wxPoint & pos)
|
||||
/******************************************************************/
|
||||
{
|
||||
WinEDA_ConfigFrame * CfgFrame = new WinEDA_ConfigFrame(this, pos);
|
||||
CfgFrame->ShowModal(); CfgFrame->Destroy();
|
||||
}
|
||||
|
||||
|
||||
#define X_SIZE 500
|
||||
#define Y_SIZE 360
|
||||
|
||||
/********************************************************************/
|
||||
WinEDA_ConfigFrame::WinEDA_ConfigFrame(WinEDA_SchematicFrame *parent,
|
||||
const wxPoint& framepos):
|
||||
wxDialog(parent, -1, wxEmptyString, framepos, wxSize(X_SIZE, Y_SIZE),
|
||||
DIALOG_STYLE )
|
||||
/*****************************************************************/
|
||||
/* Constructeur de WinEDA_ConfigFrame: la fenetre de config des librairies
|
||||
*/
|
||||
{
|
||||
wxPoint pos;
|
||||
wxSize size;
|
||||
int dimy;
|
||||
wxString msg;
|
||||
wxButton * Button;
|
||||
|
||||
m_Parent = parent;
|
||||
m_LibListChanged = FALSE;
|
||||
SetFont(*g_DialogFont);
|
||||
|
||||
msg = _("from ") + EDA_Appl->m_CurrentOptionFile;
|
||||
SetTitle(msg);
|
||||
|
||||
/* Creation des boutons de commande */
|
||||
pos.x = 10; pos.y = 5;
|
||||
Button = new wxButton(this, SAVE_CFG, _("Save Cfg"), pos);
|
||||
Button->SetForegroundColour(*wxRED);
|
||||
|
||||
pos.x = 230;
|
||||
Button = new wxButton(this, DEL_LIB, _("Del"), pos);
|
||||
Button->SetForegroundColour(*wxRED);
|
||||
|
||||
pos.x += Button->GetSize().x;
|
||||
Button = new wxButton(this, ADD_LIB, _("Add"), pos );
|
||||
Button->SetForegroundColour(wxColor(0,80,0));
|
||||
|
||||
pos.x += Button->GetSize().x;
|
||||
Button = new wxButton(this, INSERT_LIB, _("Ins"), pos );
|
||||
Button->SetForegroundColour(*wxBLUE);
|
||||
|
||||
pos.x = 10; pos.y = 45;
|
||||
CreateListFormatsNetListes(pos);
|
||||
|
||||
pos.x = 235; pos.y = 55;
|
||||
m_ListLibr = new wxListBox(this,
|
||||
-1, pos, wxSize(X_SIZE - pos.x -10,225),
|
||||
0,NULL,
|
||||
wxLB_ALWAYS_SB|wxLB_SINGLE);
|
||||
wxStaticText * Msg = new wxStaticText(this, -1, _("Libraries"),
|
||||
wxPoint(pos.x, pos.y - 14) );
|
||||
Msg->SetForegroundColour(wxColour(200,0,0) );
|
||||
m_ListLibr->InsertItems(g_LibName_List, 0);
|
||||
|
||||
// Affichage des extensions des différents fichiers:
|
||||
dimy = 17;
|
||||
pos.x = 10;
|
||||
pos.y = m_NetFormatBox->GetPosition().y + m_NetFormatBox->GetSize().y + 10;
|
||||
wxStaticBox * Box = new wxStaticBox(this, -1, _("Files ext:"), pos, wxSize(180,110) );
|
||||
pos.y += 20; pos.x += 10;
|
||||
msg = _("Cmp file Ext: ") + g_NetCmpExtBuffer;
|
||||
wxStaticText * text = new wxStaticText(this, -1, msg, pos);
|
||||
|
||||
pos.y += dimy;
|
||||
msg = _("Net file Ext: ") + g_NetExtBuffer;
|
||||
text = new wxStaticText(this, -1, msg, pos);
|
||||
|
||||
pos.y += dimy;
|
||||
msg = _("Library file Ext: ") + g_LibExtBuffer;
|
||||
text = new wxStaticText(this, -1, msg, pos);
|
||||
|
||||
pos.y += dimy;
|
||||
msg = _("Symbol file Ext: ") + g_SymbolExtBuffer;
|
||||
text = new wxStaticText(this, -1, msg, pos);
|
||||
|
||||
pos.y += dimy;
|
||||
msg = _("Schematic file Ext: ") + g_SchExtBuffer;
|
||||
text = new wxStaticText(this, -1, msg, pos);
|
||||
|
||||
|
||||
int posY = Box->GetPosition().y + Box->GetSize().y + 30;
|
||||
pos.x = 10; pos.y = MAX(310, posY);
|
||||
size.x = X_SIZE - pos.x -10; size.y = -1;
|
||||
LibDirCtrl = new WinEDA_EnterText(this,
|
||||
_("Library files path:"), g_UserLibDirBuffer,
|
||||
pos, size);
|
||||
pos.y += LibDirCtrl->GetDimension().y + 5;
|
||||
|
||||
SetClientSize(wxSize(X_SIZE, pos.y) );
|
||||
}
|
||||
|
||||
|
||||
/***********************************************************/
|
||||
void WinEDA_ConfigFrame::OnCloseWindow(wxCloseEvent & event)
|
||||
/***********************************************************/
|
||||
{
|
||||
ChangeSetup();
|
||||
if ( m_LibListChanged )
|
||||
{
|
||||
LoadLibraries(m_Parent);
|
||||
if ( m_Parent->m_Parent->ViewlibFrame )
|
||||
m_Parent->m_Parent->ViewlibFrame->ReCreateListLib();
|
||||
}
|
||||
EndModal(0);
|
||||
}
|
||||
|
||||
|
||||
/*******************************************/
|
||||
void WinEDA_ConfigFrame::ChangeSetup()
|
||||
/*******************************************/
|
||||
{
|
||||
g_UserLibDirBuffer = LibDirCtrl->GetData();
|
||||
SetRealLibraryPath( wxT("library") );
|
||||
}
|
||||
|
||||
|
||||
/******************************************************/
|
||||
void WinEDA_ConfigFrame::SaveCfg(wxCommandEvent& event)
|
||||
/******************************************************/
|
||||
{
|
||||
ChangeSetup();
|
||||
m_Parent->Save_Config(this);
|
||||
}
|
||||
|
||||
/********************************************************/
|
||||
void WinEDA_ConfigFrame::LibDelFct(wxCommandEvent& event)
|
||||
/********************************************************/
|
||||
{
|
||||
int ii;
|
||||
|
||||
ii = m_ListLibr->GetSelection();
|
||||
if ( ii < 0 ) return;
|
||||
|
||||
g_LibName_List.RemoveAt(ii);
|
||||
m_ListLibr->Clear();
|
||||
m_ListLibr->InsertItems(g_LibName_List, 0);
|
||||
m_LibListChanged = TRUE;
|
||||
}
|
||||
|
||||
/****************************************************************/
|
||||
void WinEDA_ConfigFrame::AddOrInsertLibrary(wxCommandEvent& event)
|
||||
/****************************************************************/
|
||||
/* Insert or add a library to the existing library list:
|
||||
New library is put in list before (insert) or after (add)
|
||||
the selection
|
||||
*/
|
||||
{
|
||||
int ii;
|
||||
wxString FullLibName,ShortLibName, Mask;
|
||||
|
||||
ii = m_ListLibr->GetSelection();
|
||||
if ( ii < 0 ) ii = 0;
|
||||
ChangeSetup();
|
||||
if( event.GetId() == ADD_LIB)
|
||||
{
|
||||
if( g_LibName_List.GetCount() != 0 ) ii ++; /* Add after selection */
|
||||
}
|
||||
|
||||
Mask = wxT("*") + g_LibExtBuffer;
|
||||
FullLibName = EDA_FileSelector( _("Library files:"),
|
||||
g_RealLibDirBuffer, /* Chemin par defaut */
|
||||
wxEmptyString, /* nom fichier par defaut */
|
||||
g_LibExtBuffer, /* extension par defaut */
|
||||
Mask, /* Masque d'affichage */
|
||||
this,
|
||||
wxFD_OPEN,
|
||||
TRUE
|
||||
);
|
||||
|
||||
if ( FullLibName.IsEmpty() ) return;
|
||||
|
||||
ShortLibName = MakeReducedFileName(FullLibName,g_RealLibDirBuffer,g_LibExtBuffer);
|
||||
|
||||
//Add or insert new library name
|
||||
if (FindLibrary(ShortLibName) == NULL)
|
||||
{
|
||||
m_LibListChanged = TRUE;
|
||||
g_LibName_List.Insert(ShortLibName, ii);
|
||||
m_ListLibr->Clear();
|
||||
m_ListLibr->InsertItems(g_LibName_List, 0);
|
||||
}
|
||||
|
||||
else DisplayError(this, _("Library already in use"));
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**************************************************************/
|
||||
void WinEDA_ConfigFrame::ReturnNetFormat(wxCommandEvent& event)
|
||||
/**************************************************************/
|
||||
{
|
||||
int ii;
|
||||
|
||||
ii = m_NetFormatBox->GetSelection();
|
||||
if ( ii == 0 ) g_NetFormat = NET_TYPE_PCBNEW;
|
||||
if ( ii == 1 ) g_NetFormat = NET_TYPE_ORCADPCB2;
|
||||
else if ( ii == 2 ) g_NetFormat = NET_TYPE_CADSTAR;
|
||||
else if ( ii == 3 ) g_NetFormat = NET_TYPE_SPICE;
|
||||
else if ( g_NetFormat < NET_TYPE_CUSTOM1 ) g_NetFormat = NET_TYPE_CUSTOM1;
|
||||
}
|
||||
|
||||
|
||||
/***********************************************************************/
|
||||
void WinEDA_ConfigFrame::CreateListFormatsNetListes(const wxPoint & pos)
|
||||
/***********************************************************************/
|
||||
/* Message de wxRadioBox de selection type netliste */
|
||||
|
||||
{
|
||||
wxString Net_Select[] =
|
||||
{ wxT("&PcbNew"), wxT("&OrcadPcb2"), wxT("&CadStar"), wxT("&Spice"), wxT("Other")};
|
||||
|
||||
m_NetFormatBox = new wxRadioBox(this, FORMAT_NETLIST,
|
||||
_("NetList Formats:"),
|
||||
pos, wxSize(-1,-1),
|
||||
5, Net_Select, 1, wxRA_SPECIFY_COLS);
|
||||
|
||||
switch( g_NetFormat )
|
||||
{
|
||||
case NET_TYPE_NOT_INIT:
|
||||
case NET_TYPE_PCBNEW:
|
||||
m_NetFormatBox->SetSelection(0);
|
||||
break;
|
||||
|
||||
case NET_TYPE_ORCADPCB2:
|
||||
m_NetFormatBox->SetSelection(1);
|
||||
break;
|
||||
|
||||
case NET_TYPE_CADSTAR:
|
||||
m_NetFormatBox->SetSelection(2);
|
||||
break;
|
||||
|
||||
case NET_TYPE_SPICE:
|
||||
m_NetFormatBox->SetSelection(3);
|
||||
break;
|
||||
|
||||
default:
|
||||
m_NetFormatBox->SetSelection(4);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
Binary file not shown.
|
@ -2,8 +2,8 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: kicad\n"
|
||||
"POT-Creation-Date: \n"
|
||||
"PO-Revision-Date: 2007-11-05 09:07+0100\n"
|
||||
"Last-Translator: jp charras <jean-pierre.charras@inpg.fr>\n"
|
||||
"PO-Revision-Date: 2007-11-06 08:42+0100\n"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: kicad team <jean-pierre.charras@ujf-grenoble.fr>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=iso-8859-1\n"
|
||||
|
@ -1052,9 +1052,9 @@ msgstr "Offset Y"
|
|||
#: eeschema/dialog_edit_label.cpp:176
|
||||
#: eeschema/dialog_edit_component_in_lib.cpp:218
|
||||
#: eeschema/dialog_create_component.cpp:195
|
||||
#: eeschema/dialog_build_BOM.cpp:346
|
||||
#: eeschema/dialog_edit_component_in_schematic.cpp:243
|
||||
#: eeschema/dialog_cmp_graphic_properties.cpp:178
|
||||
#: eeschema/dialog_build_BOM.cpp:346
|
||||
#: eeschema/pinedit-dialog.cpp:308
|
||||
#: cvpcb/dialog_cvpcb_config.cpp:139
|
||||
#: cvpcb/dialog_display_options.cpp:186
|
||||
|
@ -1079,10 +1079,10 @@ msgstr "&OK"
|
|||
#: eeschema/dialog_options.cpp:278
|
||||
#: eeschema/dialog_edit_component_in_lib.cpp:214
|
||||
#: eeschema/dialog_create_component.cpp:200
|
||||
#: eeschema/dialog_build_BOM.cpp:350
|
||||
#: eeschema/dialog_cmp_graphic_properties.cpp:182
|
||||
#: eeschema/netlist_control.cpp:115
|
||||
#: eeschema/netlist_control.cpp:268
|
||||
#: eeschema/dialog_build_BOM.cpp:350
|
||||
#: eeschema/pinedit-dialog.cpp:304
|
||||
#: cvpcb/dialog_display_options.cpp:191
|
||||
#: gerbview/select_layers_to_pcb.cpp:287
|
||||
|
@ -1866,6 +1866,7 @@ msgid "Net"
|
|||
msgstr "Net"
|
||||
|
||||
#: pcbnew/class_board_item.cpp:41
|
||||
#: eeschema/dialog_build_BOM.cpp:300
|
||||
#: eeschema/component_class.cpp:56
|
||||
msgid "Footprint"
|
||||
msgstr "Module"
|
||||
|
@ -3317,9 +3318,9 @@ msgid "Auto Save (minuts):"
|
|||
msgstr "Sauveg. Auto (min)"
|
||||
|
||||
#: pcbnew/dialog_general_options.cpp:315
|
||||
#: eeschema/dialog_build_BOM.cpp:285
|
||||
#: eeschema/dialog_cmp_graphic_properties.cpp:151
|
||||
#: eeschema/netlist_control.cpp:94
|
||||
#: eeschema/dialog_build_BOM.cpp:285
|
||||
#: share/dialog_print.cpp:167
|
||||
msgid "Options:"
|
||||
msgstr "Options :"
|
||||
|
@ -3608,7 +3609,6 @@ msgid "Show None"
|
|||
msgstr "Rien Afficher"
|
||||
|
||||
#: pcbnew/set_color.cpp:285
|
||||
#: eeschema/eelayer.cpp:256
|
||||
#: gerbview/set_color.cpp:257
|
||||
msgid "Apply"
|
||||
msgstr "Appliquer"
|
||||
|
@ -5240,18 +5240,6 @@ msgstr "Forme Pin de hi
|
|||
msgid "No New Global Label found"
|
||||
msgstr "Pas de nouveau Global Label trouvé"
|
||||
|
||||
#: eeschema/eelayer.cpp:233
|
||||
msgid "White Background"
|
||||
msgstr "Fond Blanc"
|
||||
|
||||
#: eeschema/eelayer.cpp:234
|
||||
msgid "Black Background"
|
||||
msgstr "Fond Noir"
|
||||
|
||||
#: eeschema/eelayer.cpp:235
|
||||
msgid "Background Color"
|
||||
msgstr "Couleur du Fond"
|
||||
|
||||
#: eeschema/dialog_options.cpp:140
|
||||
#: eeschema/dialog_options.cpp:288
|
||||
msgid "Delta Step X"
|
||||
|
@ -6133,6 +6121,25 @@ msgstr "Erreur: Root Part <%s> non trouv
|
|||
msgid "Current Part: <%s>"
|
||||
msgstr "Cmp Courant: <%s>"
|
||||
|
||||
#: eeschema/eelayer.cpp:233
|
||||
msgid "White"
|
||||
msgstr "Blanc"
|
||||
|
||||
#: eeschema/eelayer.cpp:234
|
||||
#: share/dialog_print.cpp:184
|
||||
msgid "Black"
|
||||
msgstr "Noir"
|
||||
|
||||
#: eeschema/eelayer.cpp:235
|
||||
msgid "Background Color:"
|
||||
msgstr "Couleur du Fond:"
|
||||
|
||||
#: eeschema/eelayer.cpp:256
|
||||
#: eeschema/dialog_build_BOM.cpp:354
|
||||
#: cvpcb/dialog_display_options.cpp:195
|
||||
msgid "&Apply"
|
||||
msgstr "&Appliquer"
|
||||
|
||||
#: eeschema/affiche.cpp:22
|
||||
#: eeschema/dialog_create_component.cpp:157
|
||||
msgid "Name"
|
||||
|
@ -6466,195 +6473,6 @@ msgstr "Autre"
|
|||
msgid " Default Path for libraries"
|
||||
msgstr "Chemin par défaut des librairies"
|
||||
|
||||
#: eeschema/dialog_build_BOM.cpp:246
|
||||
msgid "List items:"
|
||||
msgstr " Liste éléments: "
|
||||
|
||||
#: eeschema/dialog_build_BOM.cpp:250
|
||||
msgid "Components by Reference"
|
||||
msgstr "Composants par référence"
|
||||
|
||||
#: eeschema/dialog_build_BOM.cpp:254
|
||||
msgid "Sub Components (i.e. U2A, U2B ...)"
|
||||
msgstr "Sous Composants (i.e U2A, U2B...)"
|
||||
|
||||
#: eeschema/dialog_build_BOM.cpp:258
|
||||
msgid "Components by Value"
|
||||
msgstr "Composants par valeur"
|
||||
|
||||
#: eeschema/dialog_build_BOM.cpp:262
|
||||
msgid "Hierachy Pins by Name"
|
||||
msgstr "Pins de hierarchie par Nom"
|
||||
|
||||
#: eeschema/dialog_build_BOM.cpp:266
|
||||
msgid "Hierachy Pins by Sheets"
|
||||
msgstr "Pins de hiérarchie par feuilles"
|
||||
|
||||
#: eeschema/dialog_build_BOM.cpp:272
|
||||
msgid "Text for spreadsheet import"
|
||||
msgstr "Texte pour import dans tableur:"
|
||||
|
||||
#: eeschema/dialog_build_BOM.cpp:273
|
||||
msgid "Output format:"
|
||||
msgstr "Format de sortie"
|
||||
|
||||
#: eeschema/dialog_build_BOM.cpp:278
|
||||
msgid "Tab"
|
||||
msgstr "Tab"
|
||||
|
||||
#: eeschema/dialog_build_BOM.cpp:279
|
||||
msgid ";"
|
||||
msgstr ";"
|
||||
|
||||
#: eeschema/dialog_build_BOM.cpp:280
|
||||
msgid ","
|
||||
msgstr ","
|
||||
|
||||
#: eeschema/dialog_build_BOM.cpp:281
|
||||
msgid "Field separator for spreadsheet import:"
|
||||
msgstr "Separateur de champ pour import dans tableu:"
|
||||
|
||||
#: eeschema/dialog_build_BOM.cpp:289
|
||||
msgid "Launch list browser"
|
||||
msgstr "Lancer le visualisateur de liste"
|
||||
|
||||
#: eeschema/dialog_build_BOM.cpp:296
|
||||
msgid "Fields to add:"
|
||||
msgstr "Champ à ajouter:"
|
||||
|
||||
#: eeschema/dialog_build_BOM.cpp:300
|
||||
msgid "Add Footprint Field"
|
||||
msgstr "Ajouter Champ Module"
|
||||
|
||||
#: eeschema/dialog_build_BOM.cpp:304
|
||||
msgid "Add Field 1"
|
||||
msgstr "Ajouter Champ 1"
|
||||
|
||||
#: eeschema/dialog_build_BOM.cpp:308
|
||||
msgid "Add Field 2"
|
||||
msgstr "Ajouter Champ 2"
|
||||
|
||||
#: eeschema/dialog_build_BOM.cpp:312
|
||||
msgid "Add Field 3"
|
||||
msgstr "Ajouter Champ 3"
|
||||
|
||||
#: eeschema/dialog_build_BOM.cpp:316
|
||||
msgid "Add Field 4"
|
||||
msgstr "Ajouter Champ 4"
|
||||
|
||||
#: eeschema/dialog_build_BOM.cpp:320
|
||||
msgid "Add Field 5"
|
||||
msgstr "Ajouter Champ 5"
|
||||
|
||||
#: eeschema/dialog_build_BOM.cpp:324
|
||||
msgid "Add Field 6"
|
||||
msgstr "Ajouter Champ 6"
|
||||
|
||||
#: eeschema/dialog_build_BOM.cpp:328
|
||||
msgid "Add Field 7"
|
||||
msgstr "Ajouter Champ 7"
|
||||
|
||||
#: eeschema/dialog_build_BOM.cpp:332
|
||||
msgid "Add Field 8"
|
||||
msgstr "Ajouter Champ 8"
|
||||
|
||||
#: eeschema/dialog_build_BOM.cpp:338
|
||||
msgid "Create &List"
|
||||
msgstr "Créer &Liste"
|
||||
|
||||
#: eeschema/dialog_build_BOM.cpp:354
|
||||
#: cvpcb/dialog_display_options.cpp:195
|
||||
msgid "&Apply"
|
||||
msgstr "&Appliquer"
|
||||
|
||||
#: eeschema/dialog_build_BOM.cpp:560
|
||||
msgid "Bill of material:"
|
||||
msgstr "Liste du materiel:"
|
||||
|
||||
#: eeschema/dialog_build_BOM.cpp:610
|
||||
#: eeschema/dialog_build_BOM.cpp:666
|
||||
msgid "Failed to open file "
|
||||
msgstr "Erreur ouverture "
|
||||
|
||||
#: eeschema/dialog_build_BOM.cpp:738
|
||||
#, c-format
|
||||
msgid ""
|
||||
"\n"
|
||||
"#Glob labels ( order = Sheet Number ) count = %d\n"
|
||||
msgstr ""
|
||||
"\n"
|
||||
"#Glob labels ( ordre = Numéro de feuiller ) nombre = %d\n"
|
||||
|
||||
#: eeschema/dialog_build_BOM.cpp:749
|
||||
#, c-format
|
||||
msgid ""
|
||||
"\n"
|
||||
"#Glob labels ( order = Alphab. ) count = %d\n"
|
||||
"\n"
|
||||
msgstr ""
|
||||
"\n"
|
||||
"#Glob labels ( ordre = Alphab. ) nombre = %d\n"
|
||||
|
||||
#: eeschema/dialog_build_BOM.cpp:756
|
||||
msgid ""
|
||||
"\n"
|
||||
"#End List\n"
|
||||
msgstr ""
|
||||
"\n"
|
||||
"#End List\n"
|
||||
|
||||
#: eeschema/dialog_build_BOM.cpp:1126
|
||||
#: eeschema/component_class.cpp:58
|
||||
#: eeschema/component_class.cpp:59
|
||||
#: eeschema/component_class.cpp:60
|
||||
#: eeschema/component_class.cpp:61
|
||||
#: eeschema/component_class.cpp:62
|
||||
#: eeschema/component_class.cpp:63
|
||||
#: eeschema/component_class.cpp:64
|
||||
#: eeschema/component_class.cpp:65
|
||||
msgid "Field"
|
||||
msgstr "Champ"
|
||||
|
||||
#: eeschema/dialog_build_BOM.cpp:1134
|
||||
msgid ""
|
||||
"\n"
|
||||
"#Cmp ( order = Reference )"
|
||||
msgstr ""
|
||||
"\n"
|
||||
"#Cmp ( ordre = Reference )"
|
||||
|
||||
#: eeschema/dialog_build_BOM.cpp:1137
|
||||
#: eeschema/dialog_build_BOM.cpp:1217
|
||||
msgid " (with SubCmp)"
|
||||
msgstr "avec sub-composants"
|
||||
|
||||
#: eeschema/dialog_build_BOM.cpp:1197
|
||||
#: eeschema/dialog_build_BOM.cpp:1258
|
||||
msgid "#End Cmp\n"
|
||||
msgstr "#End Cmp\n"
|
||||
|
||||
#: eeschema/dialog_build_BOM.cpp:1214
|
||||
msgid ""
|
||||
"\n"
|
||||
"#Cmp ( order = Value )"
|
||||
msgstr ""
|
||||
"\n"
|
||||
"#Cmp ( ordre = Valeur )"
|
||||
|
||||
#: eeschema/dialog_build_BOM.cpp:1283
|
||||
#, c-format
|
||||
msgid "> %-28.28s Global (Sheet %.2d) pos: %3.3f, %3.3f\n"
|
||||
msgstr "> %-28.28s Global (feuille %.2d) pos: %3.3f, %3.3f\n"
|
||||
|
||||
#: eeschema/dialog_build_BOM.cpp:1302
|
||||
#, c-format
|
||||
msgid "> %-28.28s Sheet %-7.7s (Sheet %.2d) pos: %3.3f, %3.3f\n"
|
||||
msgstr "> %-28.28s Sheet %-7.7s (feuille %.2d) pos: %3.3f, %3.3f\n"
|
||||
|
||||
#: eeschema/dialog_build_BOM.cpp:1316
|
||||
msgid "#End labels\n"
|
||||
msgstr "#End labels\n"
|
||||
|
||||
#: eeschema/dialog_edit_component_in_schematic.cpp:70
|
||||
msgid "Component properties (Not found in lib)"
|
||||
msgstr "Propriétés du composant : non trouvé en librairie"
|
||||
|
@ -6967,6 +6785,186 @@ msgstr "Fichiers Netlist:"
|
|||
msgid "Must be Annotated, Continue ?"
|
||||
msgstr "Annotation nécessaire, continuer?"
|
||||
|
||||
#: eeschema/dialog_build_BOM.cpp:246
|
||||
msgid "List items:"
|
||||
msgstr " Liste éléments: "
|
||||
|
||||
#: eeschema/dialog_build_BOM.cpp:250
|
||||
msgid "Components by Reference"
|
||||
msgstr "Composants par référence"
|
||||
|
||||
#: eeschema/dialog_build_BOM.cpp:254
|
||||
msgid "Sub Components (i.e. U2A, U2B ...)"
|
||||
msgstr "Sous Composants (i.e U2A, U2B...)"
|
||||
|
||||
#: eeschema/dialog_build_BOM.cpp:258
|
||||
msgid "Components by Value"
|
||||
msgstr "Composants par valeur"
|
||||
|
||||
#: eeschema/dialog_build_BOM.cpp:262
|
||||
msgid "Hierachy Pins by Name"
|
||||
msgstr "Pins de hierarchie par Nom"
|
||||
|
||||
#: eeschema/dialog_build_BOM.cpp:266
|
||||
msgid "Hierachy Pins by Sheets"
|
||||
msgstr "Pins de hiérarchie par feuilles"
|
||||
|
||||
#: eeschema/dialog_build_BOM.cpp:272
|
||||
msgid "Text for spreadsheet import"
|
||||
msgstr "Texte pour import dans tableur:"
|
||||
|
||||
#: eeschema/dialog_build_BOM.cpp:273
|
||||
msgid "Output format:"
|
||||
msgstr "Format de sortie"
|
||||
|
||||
#: eeschema/dialog_build_BOM.cpp:278
|
||||
msgid "Tab"
|
||||
msgstr "Tab"
|
||||
|
||||
#: eeschema/dialog_build_BOM.cpp:279
|
||||
msgid ";"
|
||||
msgstr ";"
|
||||
|
||||
#: eeschema/dialog_build_BOM.cpp:280
|
||||
msgid ","
|
||||
msgstr ","
|
||||
|
||||
#: eeschema/dialog_build_BOM.cpp:281
|
||||
msgid "Field separator for spreadsheet import:"
|
||||
msgstr "Separateur de champ pour import dans tableu:"
|
||||
|
||||
#: eeschema/dialog_build_BOM.cpp:289
|
||||
msgid "Launch list browser"
|
||||
msgstr "Lancer le visualisateur de liste"
|
||||
|
||||
#: eeschema/dialog_build_BOM.cpp:296
|
||||
msgid "Fields to add:"
|
||||
msgstr "Champ à ajouter:"
|
||||
|
||||
#: eeschema/dialog_build_BOM.cpp:304
|
||||
msgid "Field 1"
|
||||
msgstr "Champ 1"
|
||||
|
||||
#: eeschema/dialog_build_BOM.cpp:308
|
||||
msgid "Field 2"
|
||||
msgstr "Champ 2"
|
||||
|
||||
#: eeschema/dialog_build_BOM.cpp:312
|
||||
msgid "Field 3"
|
||||
msgstr "Champ 3"
|
||||
|
||||
#: eeschema/dialog_build_BOM.cpp:316
|
||||
msgid "Field 4"
|
||||
msgstr "Champ 4"
|
||||
|
||||
#: eeschema/dialog_build_BOM.cpp:320
|
||||
msgid "Field 5"
|
||||
msgstr "Champ 5"
|
||||
|
||||
#: eeschema/dialog_build_BOM.cpp:324
|
||||
msgid "Field 6"
|
||||
msgstr "Champ 6"
|
||||
|
||||
#: eeschema/dialog_build_BOM.cpp:328
|
||||
msgid "Field 7"
|
||||
msgstr "Champ 7"
|
||||
|
||||
#: eeschema/dialog_build_BOM.cpp:332
|
||||
msgid "Field 8"
|
||||
msgstr "Champ 8"
|
||||
|
||||
#: eeschema/dialog_build_BOM.cpp:338
|
||||
msgid "Create &List"
|
||||
msgstr "Créer &Liste"
|
||||
|
||||
#: eeschema/dialog_build_BOM.cpp:560
|
||||
msgid "Bill of material:"
|
||||
msgstr "Liste du materiel:"
|
||||
|
||||
#: eeschema/dialog_build_BOM.cpp:610
|
||||
#: eeschema/dialog_build_BOM.cpp:666
|
||||
msgid "Failed to open file "
|
||||
msgstr "Erreur ouverture "
|
||||
|
||||
#: eeschema/dialog_build_BOM.cpp:738
|
||||
#, c-format
|
||||
msgid ""
|
||||
"\n"
|
||||
"#Glob labels ( order = Sheet Number ) count = %d\n"
|
||||
msgstr ""
|
||||
"\n"
|
||||
"#Glob labels ( ordre = Numéro de feuiller ) nombre = %d\n"
|
||||
|
||||
#: eeschema/dialog_build_BOM.cpp:749
|
||||
#, c-format
|
||||
msgid ""
|
||||
"\n"
|
||||
"#Glob labels ( order = Alphab. ) count = %d\n"
|
||||
"\n"
|
||||
msgstr ""
|
||||
"\n"
|
||||
"#Glob labels ( ordre = Alphab. ) nombre = %d\n"
|
||||
|
||||
#: eeschema/dialog_build_BOM.cpp:756
|
||||
msgid ""
|
||||
"\n"
|
||||
"#End List\n"
|
||||
msgstr ""
|
||||
"\n"
|
||||
"#End List\n"
|
||||
|
||||
#: eeschema/dialog_build_BOM.cpp:1126
|
||||
#: eeschema/component_class.cpp:58
|
||||
#: eeschema/component_class.cpp:59
|
||||
#: eeschema/component_class.cpp:60
|
||||
#: eeschema/component_class.cpp:61
|
||||
#: eeschema/component_class.cpp:62
|
||||
#: eeschema/component_class.cpp:63
|
||||
#: eeschema/component_class.cpp:64
|
||||
#: eeschema/component_class.cpp:65
|
||||
msgid "Field"
|
||||
msgstr "Champ"
|
||||
|
||||
#: eeschema/dialog_build_BOM.cpp:1134
|
||||
msgid ""
|
||||
"\n"
|
||||
"#Cmp ( order = Reference )"
|
||||
msgstr ""
|
||||
"\n"
|
||||
"#Cmp ( ordre = Reference )"
|
||||
|
||||
#: eeschema/dialog_build_BOM.cpp:1137
|
||||
#: eeschema/dialog_build_BOM.cpp:1217
|
||||
msgid " (with SubCmp)"
|
||||
msgstr "avec sub-composants"
|
||||
|
||||
#: eeschema/dialog_build_BOM.cpp:1197
|
||||
#: eeschema/dialog_build_BOM.cpp:1258
|
||||
msgid "#End Cmp\n"
|
||||
msgstr "#End Cmp\n"
|
||||
|
||||
#: eeschema/dialog_build_BOM.cpp:1214
|
||||
msgid ""
|
||||
"\n"
|
||||
"#Cmp ( order = Value )"
|
||||
msgstr ""
|
||||
"\n"
|
||||
"#Cmp ( ordre = Valeur )"
|
||||
|
||||
#: eeschema/dialog_build_BOM.cpp:1283
|
||||
#, c-format
|
||||
msgid "> %-28.28s Global (Sheet %.2d) pos: %3.3f, %3.3f\n"
|
||||
msgstr "> %-28.28s Global (feuille %.2d) pos: %3.3f, %3.3f\n"
|
||||
|
||||
#: eeschema/dialog_build_BOM.cpp:1302
|
||||
#, c-format
|
||||
msgid "> %-28.28s Sheet %-7.7s (Sheet %.2d) pos: %3.3f, %3.3f\n"
|
||||
msgstr "> %-28.28s Sheet %-7.7s (feuille %.2d) pos: %3.3f, %3.3f\n"
|
||||
|
||||
#: eeschema/dialog_build_BOM.cpp:1316
|
||||
msgid "#End labels\n"
|
||||
msgstr "#End labels\n"
|
||||
|
||||
#: eeschema/files-io.cpp:57
|
||||
msgid "Clear SubHierarchy ?"
|
||||
msgstr "Supprimer la sous hiérarchie?"
|
||||
|
@ -8185,7 +8183,7 @@ msgid "You must choose a PDF viewer before use this option"
|
|||
msgstr "Vous devez choisir un Visualisateur PDF avant d'utiliser cette option"
|
||||
|
||||
#: kicad/preferences.cpp:97
|
||||
#: common/gestfich.cpp:625
|
||||
#: common/gestfich.cpp:626
|
||||
msgid "Prefered Editor:"
|
||||
msgstr "Editeur préféré:"
|
||||
|
||||
|
@ -8351,7 +8349,7 @@ msgstr "Impossible de d
|
|||
#: kicad/treeprj_datas.cpp:212
|
||||
#: kicad/treeprj_datas.cpp:290
|
||||
msgid "Permission error ?"
|
||||
msgstr ""
|
||||
msgstr "Permission error ?"
|
||||
|
||||
#: kicad/treeprj_datas.cpp:275
|
||||
msgid ""
|
||||
|
@ -9267,7 +9265,7 @@ msgstr "Contour Pcb"
|
|||
msgid "--- "
|
||||
msgstr "--- "
|
||||
|
||||
#: common/gestfich.cpp:619
|
||||
#: common/gestfich.cpp:620
|
||||
msgid "No default editor found, you must choose it"
|
||||
msgstr "Pas d'éditeur par défaut trouvé, vous devez en choisir un"
|
||||
|
||||
|
@ -9474,10 +9472,6 @@ msgstr "Echelle 4"
|
|||
msgid "Approx. Scale:"
|
||||
msgstr "Echelle approx.:"
|
||||
|
||||
#: share/dialog_print.cpp:184
|
||||
msgid "Black"
|
||||
msgstr "Noir"
|
||||
|
||||
#: share/dialog_print.cpp:186
|
||||
msgid "Color Print:"
|
||||
msgstr "Impression Couleurs:"
|
||||
|
@ -9833,9 +9827,21 @@ msgstr "Propri
|
|||
msgid "EESchema Erc"
|
||||
msgstr "EESchema Erc"
|
||||
|
||||
#: eeschema/annotate_dialog.h:53
|
||||
msgid "EESchema Annotation"
|
||||
msgstr "Numérotation des composants"
|
||||
|
||||
#: eeschema/dialog_find.h:39
|
||||
msgid "EESchema Locate"
|
||||
msgstr "Recherche"
|
||||
|
||||
#: eeschema/dialog_build_BOM.h:61
|
||||
msgid "List of Material"
|
||||
msgstr "Liste du Matériel"
|
||||
|
||||
#: eeschema/eelayer.h:34
|
||||
msgid "EESchema Preferences"
|
||||
msgstr "EESchema Préférences"
|
||||
msgid "EESchema Colors"
|
||||
msgstr "Couleurs dans EESchema"
|
||||
|
||||
#: eeschema/eelayer.h:73
|
||||
msgid "Wire"
|
||||
|
@ -9913,18 +9919,6 @@ msgstr "Feuilles"
|
|||
msgid "Erc Mark"
|
||||
msgstr "Marqueur ERC"
|
||||
|
||||
#: eeschema/annotate_dialog.h:53
|
||||
msgid "EESchema Annotation"
|
||||
msgstr "Numérotation des composants"
|
||||
|
||||
#: eeschema/dialog_find.h:39
|
||||
msgid "EESchema Locate"
|
||||
msgstr "Recherche"
|
||||
|
||||
#: eeschema/dialog_build_BOM.h:61
|
||||
msgid "List of Material"
|
||||
msgstr "Liste du Matériel"
|
||||
|
||||
#: eeschema/sheet.h:43
|
||||
msgid "Sheet properties"
|
||||
msgstr "Propriétés de la feuille"
|
||||
|
|
Loading…
Reference in New Issue