Loading common/about_kicad.cpp +1 −1 Original line number Original line Diff line number Diff line Loading @@ -8,7 +8,7 @@ #include "appl_wxstruct.h" #include "appl_wxstruct.h" #define BUILD_VERSION wxT("(20090325-unstable)") #define BUILD_VERSION wxT("(20090406-unstable)") wxString g_BuildVersion wxString g_BuildVersion Loading include/wxPcbStruct.h +24 −6 Original line number Original line Diff line number Diff line Loading @@ -252,14 +252,32 @@ public: // loading footprints // loading footprints MODULE* Get_Librairie_Module( wxWindow* winaff, /** function Get_Librairie_Module const wxString& library, * const wxString& ModuleName, * Read active libraries or one library to find and load a given module bool show_msg_err ); * If found the lodule is linked to the tail of linked list of modules * @param aLibrary: the full filename of the library to read. If empty, all active libraries are read * @param aModuleName = module name to load * @param aDisplayMessageError = true to display an error message if any. * @return a MODULE * pointer to the new module, or NULL * */ MODULE* Get_Librairie_Module( const wxString& aLibraryFullFilename, const wxString& aModuleName, bool aDisplayMessageError ); /** Function Select_1_Module_From_List * Display a list of modules found in active libraries or a given library * @param aLibraryFullFilename = library to list (if aLibraryFullFilename == void, list all modules) * @param aMask = Display filter (wildcart)( Mask = wxEmptyString if not used ) * @param aKeyWord = keyword list, to display a filtered list of module having one (or more) of these keyworks in their keywork list * ( aKeyWord = wxEmptyString if not used ) * * @return wxEmptyString if abort or fails, or the selected module name if Ok */ wxString Select_1_Module_From_List( wxString Select_1_Module_From_List( WinEDA_DrawFrame* active_window, const wxString& Library, WinEDA_DrawFrame* active_window, const wxString& aLibraryFullFilename, const wxString& Mask, const wxString& KeyWord ); const wxString& aMask, const wxString& aKeyWord ); MODULE* Load_Module_From_Library( const wxString& library, wxDC* DC ); MODULE* Load_Module_From_Library( const wxString& library, wxDC* DC ); Loading internat/fr/kicad.mo −746 B (173 KiB) File changed.No diff preview for this file type. View original file View changed file internat/fr/kicad.po +5556 −4431 File changed.File size exceeds preview limit. View original file View changed file pcbnew/librairi.cpp +4 −4 Original line number Original line Diff line number Diff line Loading @@ -213,7 +213,7 @@ void WinEDA_ModuleEditFrame::Export_Module( MODULE* ptmod, bool createlib ) /**********************************************************/ /**********************************************************/ void WinEDA_ModuleEditFrame::Delete_Module_In_Library( const void WinEDA_ModuleEditFrame::Delete_Module_In_Library( const wxString& libname ) wxString& aLibname ) /**********************************************************/ /**********************************************************/ { { wxFileName newFileName; wxFileName newFileName; Loading @@ -224,17 +224,17 @@ void WinEDA_ModuleEditFrame::Delete_Module_In_Library( const wxString CmpName, msg; wxString CmpName, msg; /* Demande du nom du composant a supprimer */ /* Demande du nom du composant a supprimer */ CmpName = Select_1_Module_From_List( this, libname, wxEmptyString, wxEmptyString ); CmpName = Select_1_Module_From_List( this, aLibname, wxEmptyString, wxEmptyString ); if( CmpName == wxEmptyString ) if( CmpName == wxEmptyString ) return; return; /* Confirmation */ /* Confirmation */ msg.Printf( _( "Ok to delete module %s in library %s" ), msg.Printf( _( "Ok to delete module %s in library %s" ), CmpName.GetData(), libname.GetData() ); CmpName.GetData(), aLibname.GetData() ); if( !IsOK( this, msg ) ) if( !IsOK( this, msg ) ) return; return; oldFileName = libname; oldFileName = aLibname; if( ( lib_module = wxFopen( oldFileName.GetFullPath(), if( ( lib_module = wxFopen( oldFileName.GetFullPath(), wxT( "rt" ) ) ) == NULL ) wxT( "rt" ) ) ) == NULL ) Loading Loading
common/about_kicad.cpp +1 −1 Original line number Original line Diff line number Diff line Loading @@ -8,7 +8,7 @@ #include "appl_wxstruct.h" #include "appl_wxstruct.h" #define BUILD_VERSION wxT("(20090325-unstable)") #define BUILD_VERSION wxT("(20090406-unstable)") wxString g_BuildVersion wxString g_BuildVersion Loading
include/wxPcbStruct.h +24 −6 Original line number Original line Diff line number Diff line Loading @@ -252,14 +252,32 @@ public: // loading footprints // loading footprints MODULE* Get_Librairie_Module( wxWindow* winaff, /** function Get_Librairie_Module const wxString& library, * const wxString& ModuleName, * Read active libraries or one library to find and load a given module bool show_msg_err ); * If found the lodule is linked to the tail of linked list of modules * @param aLibrary: the full filename of the library to read. If empty, all active libraries are read * @param aModuleName = module name to load * @param aDisplayMessageError = true to display an error message if any. * @return a MODULE * pointer to the new module, or NULL * */ MODULE* Get_Librairie_Module( const wxString& aLibraryFullFilename, const wxString& aModuleName, bool aDisplayMessageError ); /** Function Select_1_Module_From_List * Display a list of modules found in active libraries or a given library * @param aLibraryFullFilename = library to list (if aLibraryFullFilename == void, list all modules) * @param aMask = Display filter (wildcart)( Mask = wxEmptyString if not used ) * @param aKeyWord = keyword list, to display a filtered list of module having one (or more) of these keyworks in their keywork list * ( aKeyWord = wxEmptyString if not used ) * * @return wxEmptyString if abort or fails, or the selected module name if Ok */ wxString Select_1_Module_From_List( wxString Select_1_Module_From_List( WinEDA_DrawFrame* active_window, const wxString& Library, WinEDA_DrawFrame* active_window, const wxString& aLibraryFullFilename, const wxString& Mask, const wxString& KeyWord ); const wxString& aMask, const wxString& aKeyWord ); MODULE* Load_Module_From_Library( const wxString& library, wxDC* DC ); MODULE* Load_Module_From_Library( const wxString& library, wxDC* DC ); Loading
internat/fr/kicad.mo −746 B (173 KiB) File changed.No diff preview for this file type. View original file View changed file
internat/fr/kicad.po +5556 −4431 File changed.File size exceeds preview limit. View original file View changed file
pcbnew/librairi.cpp +4 −4 Original line number Original line Diff line number Diff line Loading @@ -213,7 +213,7 @@ void WinEDA_ModuleEditFrame::Export_Module( MODULE* ptmod, bool createlib ) /**********************************************************/ /**********************************************************/ void WinEDA_ModuleEditFrame::Delete_Module_In_Library( const void WinEDA_ModuleEditFrame::Delete_Module_In_Library( const wxString& libname ) wxString& aLibname ) /**********************************************************/ /**********************************************************/ { { wxFileName newFileName; wxFileName newFileName; Loading @@ -224,17 +224,17 @@ void WinEDA_ModuleEditFrame::Delete_Module_In_Library( const wxString CmpName, msg; wxString CmpName, msg; /* Demande du nom du composant a supprimer */ /* Demande du nom du composant a supprimer */ CmpName = Select_1_Module_From_List( this, libname, wxEmptyString, wxEmptyString ); CmpName = Select_1_Module_From_List( this, aLibname, wxEmptyString, wxEmptyString ); if( CmpName == wxEmptyString ) if( CmpName == wxEmptyString ) return; return; /* Confirmation */ /* Confirmation */ msg.Printf( _( "Ok to delete module %s in library %s" ), msg.Printf( _( "Ok to delete module %s in library %s" ), CmpName.GetData(), libname.GetData() ); CmpName.GetData(), aLibname.GetData() ); if( !IsOK( this, msg ) ) if( !IsOK( this, msg ) ) return; return; oldFileName = libname; oldFileName = aLibname; if( ( lib_module = wxFopen( oldFileName.GetFullPath(), if( ( lib_module = wxFopen( oldFileName.GetFullPath(), wxT( "rt" ) ) ) == NULL ) wxT( "rt" ) ) ) == NULL ) Loading