Loading common/about_kicad.cpp +88 −82 Original line number Diff line number Diff line Loading @@ -10,9 +10,9 @@ extern wxString g_Main_Title; // Import program title /**********************************/ wxString SetMsg( const wxString& msg ) wxString SetMsg( const wxString& msg ) /**********************************/ /* add \n at the beginning of msg under Windows, and do nothing under other version of wxWidgets * Needed under wxWidgets 2.8 because wxGTK and wxMSW do not have the same behavior * Add Developer needs \n between names under wxMSW, and nothing under wxGTK Loading @@ -20,20 +20,19 @@ wxString SetMsg( const wxString& msg ) * Perhaps depending on wxWidgets versions */ { wxString tmp; wxString message; // #ifdef __WINDOWS__ #if 1 tmp = wxT( "\n" ); #if 1 /* Windows */ message = wxT( "\n" ); #endif tmp << msg; return tmp; message << msg; return message; } /**************************************************/ void InitKiCadAbout( wxAboutDialogInfo& info ) void InitKiCadAbout( wxAboutDialogInfo& info ) /**************************************************/ { /* Set name and title */ Loading @@ -42,17 +41,21 @@ void InitKiCadAbout( wxAboutDialogInfo& info ) /* Set description */ wxString description; /* KiCad build version */ description << ( _T( "Build: " ) ) << GetAboutBuildVersion(); /* Check for unicode */ description << ( wxT( "\n\nUsing " ) ); description << ( wxT( "wxWidgets " ) ); description << wxMAJOR_VERSION << wxT( "." ) << wxMINOR_VERSION << wxT( "." ) << wxRELEASE_NUMBER; /* Print for wxversion */ description << ( wxT( "\n\nwxWidgets " ) ) << wxMAJOR_VERSION << wxT( "." ) << wxMINOR_VERSION << wxT( "." ) << wxRELEASE_NUMBER /* Show Unicode or Ansi version */ #if wxUSE_UNICODE description << ( wxT( " Unicode " ) ); << ( wxT( " Unicode\n" ) ); # else description << ( wxT( " Ansi " ) ); << ( wxT( " Ansi\n" ) ); #endif /* Check for wxMSW */ Loading @@ -61,37 +64,34 @@ void InitKiCadAbout( wxAboutDialogInfo& info ) /* Check for wxMAC */ # elif defined __WXMAC__ description << ( wxT( "on Macintosch" ) ); description << ( wxT( "\non Macintosch" ) ); /* Linux 64 bits */ # elif defined _LP64 && __LINUX__ description << ( wxT( "on 64 Bits GNU/Linux" ) ); /* Check for linux and arch */ /* Linux 32 bits */ # elif defined __LINUX__ description << ( wxT( "on GNU/Linux " ) ); description << ( wxT( "on 32 Bits GNU/Linux" ) ); #endif #ifdef _LP64 description << ( wxT( " 64 bits" ) ); #else description << ( wxT( " 32 bits" ) ); #endif description << wxT( "\n\nWeb sites:\n" ); description << wxT( "http://iut-tice.ujf-grenoble.fr/kicad/" ); description << wxT( "\n" ); description << wxT( "http://kicad.sourceforge.net/" ); description << wxT( "\n" ); /* Websites */ description << wxT( "\n\nKiCad on the web\n" ); description << wxT( "http://iut-tice.ujf-grenoble.fr/kicad \n" ); description << wxT( "http://kicad.sourceforge.net \n" ); description << wxT( "http://www.kicadlib.org" ); /* Set the complete about description */ info.SetDescription( description ); /* Set copyright */ info.SetCopyright( _T( "(C) 1992-2008 KiCad Developers Team" ) ); /* Set copyright dialog */ info.SetCopyright( _T( "(C) 1992-2009 KiCad Developers Team" ) ); /* Set license */ /* Set license dialog */ info.SetLicence( wxString::FromAscii ( "The complete KiCad EDA Suite is released under the following license: \n" "\n" "GNU General Public License version 2\n" "See <http://www.gnu.org/licenses/> for more information" ( "The complete KiCad EDA Suite is released under the\n" "GNU General Public License version 2.\n" "See <http://www.gnu.org/licenses/> for more information." )); /* Add developers */ Loading @@ -100,6 +100,7 @@ void InitKiCadAbout( wxAboutDialogInfo& info ) info.AddDeveloper( SetMsg( wxT( "Dick Hollenbeck <dick@softplc.com>" ) ) ); info.AddDeveloper( SetMsg( wxT( "KBool Library <http://boolean.klaasholwerda.nl/bool.html>" ) ) ); info.AddDeveloper( SetMsg( wxT( "Vesa Solonen <vesa.solonen@hut.fi>" ) ) ); info.AddDeveloper( SetMsg( wxT( "Wayne Stambaugh <stambaughw@verizon.net>" ) ) ); /* Add document writers*/ info.AddDocWriter( wxT( "Jean-Pierre Charras <jean-pierre.charras@inpg.fr>" ) ); Loading @@ -108,16 +109,21 @@ void InitKiCadAbout( wxAboutDialogInfo& info ) /* Add translators */ info.AddTranslator( wxT( "Czech (CZ) Martin Kratoška <martin@ok1rr.com>" ) ); info.AddTranslator( SetMsg( wxT( "Dutch (NL) Jerry Jacobs <jerkejacobs@gmail.com>" ) ) ); info.AddTranslator( SetMsg( wxT( "French (FR) Jean-Pierre Charras <jean-pierre.charras@inpg.fr>" ) ) ); info.AddTranslator( SetMsg( wxT( "French (FR) Jean-Pierre Charras <jean-pierre.charras@inpg.fr>" ) ) ); info.AddTranslator( SetMsg( wxT( "Polish (PL) Mateusz Skowroński <skowri@gmail.com>" ) ) ); info.AddTranslator( SetMsg( wxT( "Portuguese (PT) Renie Marquet <reniemarquet@uol.com.br>" ) ) ); info.AddTranslator( SetMsg( wxT( "Russian (RU) Igor Plyatov <plyatov@gmail.com>" ) ) ); info.AddTranslator( SetMsg( wxT( " David Briscoe, Remy Halvick, Boris Barbour, Dominique Laigle, Paul Burke" ) ) ); info.AddTranslator( SetMsg( wxT( "Pedro Martin del Valle, Inigo Zuluaga"))); /* TODO are these all russian translators, placed them here now TODO TODO or else align them below other language maintainer with mail adres TODO*/ info.AddTranslator( SetMsg( wxT( " Remy Halvick" ) ) ); info.AddTranslator( SetMsg( wxT( " David Briscoe" ) ) ); info.AddTranslator( SetMsg( wxT( " Dominique Laigle" ) ) ); info.AddTranslator( SetMsg( wxT( " Paul Burke" ) ) ); info.AddTranslator( SetMsg( wxT( " Pedro Martin del Valle" ) ) ); info.AddTranslator( SetMsg( wxT( " Iñigo Zuluaga" ) ) ); /* Add programm credits for icons */ info.AddArtist( wxT( "Icons: Inigo Zuluaga" ) ); info.AddArtist( wxT( "Icons by Iñigo Zuluaga" ) ); info.AddArtist( wxT( "3D modules by Renie Marquet <reniemarquet@uol.com.br>" ) ); } Loading
common/about_kicad.cpp +88 −82 Original line number Diff line number Diff line Loading @@ -10,9 +10,9 @@ extern wxString g_Main_Title; // Import program title /**********************************/ wxString SetMsg( const wxString& msg ) wxString SetMsg( const wxString& msg ) /**********************************/ /* add \n at the beginning of msg under Windows, and do nothing under other version of wxWidgets * Needed under wxWidgets 2.8 because wxGTK and wxMSW do not have the same behavior * Add Developer needs \n between names under wxMSW, and nothing under wxGTK Loading @@ -20,20 +20,19 @@ wxString SetMsg( const wxString& msg ) * Perhaps depending on wxWidgets versions */ { wxString tmp; wxString message; // #ifdef __WINDOWS__ #if 1 tmp = wxT( "\n" ); #if 1 /* Windows */ message = wxT( "\n" ); #endif tmp << msg; return tmp; message << msg; return message; } /**************************************************/ void InitKiCadAbout( wxAboutDialogInfo& info ) void InitKiCadAbout( wxAboutDialogInfo& info ) /**************************************************/ { /* Set name and title */ Loading @@ -42,17 +41,21 @@ void InitKiCadAbout( wxAboutDialogInfo& info ) /* Set description */ wxString description; /* KiCad build version */ description << ( _T( "Build: " ) ) << GetAboutBuildVersion(); /* Check for unicode */ description << ( wxT( "\n\nUsing " ) ); description << ( wxT( "wxWidgets " ) ); description << wxMAJOR_VERSION << wxT( "." ) << wxMINOR_VERSION << wxT( "." ) << wxRELEASE_NUMBER; /* Print for wxversion */ description << ( wxT( "\n\nwxWidgets " ) ) << wxMAJOR_VERSION << wxT( "." ) << wxMINOR_VERSION << wxT( "." ) << wxRELEASE_NUMBER /* Show Unicode or Ansi version */ #if wxUSE_UNICODE description << ( wxT( " Unicode " ) ); << ( wxT( " Unicode\n" ) ); # else description << ( wxT( " Ansi " ) ); << ( wxT( " Ansi\n" ) ); #endif /* Check for wxMSW */ Loading @@ -61,37 +64,34 @@ void InitKiCadAbout( wxAboutDialogInfo& info ) /* Check for wxMAC */ # elif defined __WXMAC__ description << ( wxT( "on Macintosch" ) ); description << ( wxT( "\non Macintosch" ) ); /* Linux 64 bits */ # elif defined _LP64 && __LINUX__ description << ( wxT( "on 64 Bits GNU/Linux" ) ); /* Check for linux and arch */ /* Linux 32 bits */ # elif defined __LINUX__ description << ( wxT( "on GNU/Linux " ) ); description << ( wxT( "on 32 Bits GNU/Linux" ) ); #endif #ifdef _LP64 description << ( wxT( " 64 bits" ) ); #else description << ( wxT( " 32 bits" ) ); #endif description << wxT( "\n\nWeb sites:\n" ); description << wxT( "http://iut-tice.ujf-grenoble.fr/kicad/" ); description << wxT( "\n" ); description << wxT( "http://kicad.sourceforge.net/" ); description << wxT( "\n" ); /* Websites */ description << wxT( "\n\nKiCad on the web\n" ); description << wxT( "http://iut-tice.ujf-grenoble.fr/kicad \n" ); description << wxT( "http://kicad.sourceforge.net \n" ); description << wxT( "http://www.kicadlib.org" ); /* Set the complete about description */ info.SetDescription( description ); /* Set copyright */ info.SetCopyright( _T( "(C) 1992-2008 KiCad Developers Team" ) ); /* Set copyright dialog */ info.SetCopyright( _T( "(C) 1992-2009 KiCad Developers Team" ) ); /* Set license */ /* Set license dialog */ info.SetLicence( wxString::FromAscii ( "The complete KiCad EDA Suite is released under the following license: \n" "\n" "GNU General Public License version 2\n" "See <http://www.gnu.org/licenses/> for more information" ( "The complete KiCad EDA Suite is released under the\n" "GNU General Public License version 2.\n" "See <http://www.gnu.org/licenses/> for more information." )); /* Add developers */ Loading @@ -100,6 +100,7 @@ void InitKiCadAbout( wxAboutDialogInfo& info ) info.AddDeveloper( SetMsg( wxT( "Dick Hollenbeck <dick@softplc.com>" ) ) ); info.AddDeveloper( SetMsg( wxT( "KBool Library <http://boolean.klaasholwerda.nl/bool.html>" ) ) ); info.AddDeveloper( SetMsg( wxT( "Vesa Solonen <vesa.solonen@hut.fi>" ) ) ); info.AddDeveloper( SetMsg( wxT( "Wayne Stambaugh <stambaughw@verizon.net>" ) ) ); /* Add document writers*/ info.AddDocWriter( wxT( "Jean-Pierre Charras <jean-pierre.charras@inpg.fr>" ) ); Loading @@ -108,16 +109,21 @@ void InitKiCadAbout( wxAboutDialogInfo& info ) /* Add translators */ info.AddTranslator( wxT( "Czech (CZ) Martin Kratoška <martin@ok1rr.com>" ) ); info.AddTranslator( SetMsg( wxT( "Dutch (NL) Jerry Jacobs <jerkejacobs@gmail.com>" ) ) ); info.AddTranslator( SetMsg( wxT( "French (FR) Jean-Pierre Charras <jean-pierre.charras@inpg.fr>" ) ) ); info.AddTranslator( SetMsg( wxT( "French (FR) Jean-Pierre Charras <jean-pierre.charras@inpg.fr>" ) ) ); info.AddTranslator( SetMsg( wxT( "Polish (PL) Mateusz Skowroński <skowri@gmail.com>" ) ) ); info.AddTranslator( SetMsg( wxT( "Portuguese (PT) Renie Marquet <reniemarquet@uol.com.br>" ) ) ); info.AddTranslator( SetMsg( wxT( "Russian (RU) Igor Plyatov <plyatov@gmail.com>" ) ) ); info.AddTranslator( SetMsg( wxT( " David Briscoe, Remy Halvick, Boris Barbour, Dominique Laigle, Paul Burke" ) ) ); info.AddTranslator( SetMsg( wxT( "Pedro Martin del Valle, Inigo Zuluaga"))); /* TODO are these all russian translators, placed them here now TODO TODO or else align them below other language maintainer with mail adres TODO*/ info.AddTranslator( SetMsg( wxT( " Remy Halvick" ) ) ); info.AddTranslator( SetMsg( wxT( " David Briscoe" ) ) ); info.AddTranslator( SetMsg( wxT( " Dominique Laigle" ) ) ); info.AddTranslator( SetMsg( wxT( " Paul Burke" ) ) ); info.AddTranslator( SetMsg( wxT( " Pedro Martin del Valle" ) ) ); info.AddTranslator( SetMsg( wxT( " Iñigo Zuluaga" ) ) ); /* Add programm credits for icons */ info.AddArtist( wxT( "Icons: Inigo Zuluaga" ) ); info.AddArtist( wxT( "Icons by Iñigo Zuluaga" ) ); info.AddArtist( wxT( "3D modules by Renie Marquet <reniemarquet@uol.com.br>" ) ); }