2008-08-15 16:38:05 +00:00
|
|
|
/* wxWidgets about dialog */
|
|
|
|
#include <wx/aboutdlg.h>
|
|
|
|
#include "wx/statline.h"
|
|
|
|
#include "wx/generic/aboutdlgg.h"
|
|
|
|
|
|
|
|
#include "fctsys.h"
|
|
|
|
#include "gr_basic.h"
|
|
|
|
#include "common.h"
|
|
|
|
|
|
|
|
extern wxString g_Main_Title; // Import program title
|
|
|
|
|
|
|
|
|
|
|
|
/**************************************************/
|
|
|
|
void InitKiCadAbout(wxAboutDialogInfo& info)
|
|
|
|
/**************************************************/
|
|
|
|
{
|
|
|
|
/* Set name and title */
|
|
|
|
info.SetName(g_Main_Title);
|
|
|
|
|
|
|
|
/* Set description */
|
|
|
|
wxString description;
|
|
|
|
|
|
|
|
description << (_T("Build: ")) << GetAboutBuildVersion();
|
2008-08-22 13:12:22 +00:00
|
|
|
|
|
|
|
/* Check for unicode */
|
2008-08-15 16:38:05 +00:00
|
|
|
#if wxUSE_UNICODE
|
2008-08-22 13:12:22 +00:00
|
|
|
description << (_(" Unicode " ));
|
2008-08-15 16:38:05 +00:00
|
|
|
#else
|
2008-08-22 13:12:22 +00:00
|
|
|
description << (_(" Ansi "));
|
|
|
|
#endif
|
|
|
|
|
|
|
|
/* Check for wxMSW */
|
|
|
|
#if wxMSW
|
|
|
|
description << (_("on Windows"));
|
|
|
|
#endif
|
|
|
|
|
|
|
|
/* Check for wxMAC */
|
|
|
|
#if wxMAC
|
|
|
|
description << (_("on Macintosch"));
|
|
|
|
#endif
|
|
|
|
|
|
|
|
/* Check for linux and arch */
|
|
|
|
#if __gnu_linux__
|
|
|
|
description << (_("on GNU/Linux "));
|
|
|
|
#if __x86_64
|
|
|
|
description << (_("64 bits"));
|
|
|
|
#elif
|
|
|
|
description << (_("32 bits"));
|
|
|
|
#endif
|
2008-08-15 16:38:05 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
info.SetDescription(description);
|
|
|
|
|
|
|
|
/* Set copyright */
|
|
|
|
info.SetCopyright(_T("(C) 1992-2008 KiCad Developers Team"));
|
|
|
|
|
|
|
|
/* Set license */
|
|
|
|
info.SetLicence(wxString::FromAscii
|
|
|
|
(
|
2008-08-17 10:10:20 +00:00
|
|
|
"The complete KiCad EDA Suite is released under the following license: \n"
|
|
|
|
"\n"
|
|
|
|
"GNU General Public License version 2\n"
|
|
|
|
"\n"
|
|
|
|
"See <http://www.gnu.org/licenses/> for more information"
|
2008-08-15 16:38:05 +00:00
|
|
|
));
|
|
|
|
|
|
|
|
/* Add developers */
|
2008-08-17 10:10:20 +00:00
|
|
|
info.AddDeveloper(_T("Dick Hollenbeck <dick@softplc.com>"));
|
2008-08-17 18:37:03 +00:00
|
|
|
info.AddDeveloper(_T("\nJean-Pierre Charras <jean-pierre.charras@inpg.fr>"));
|
2008-08-15 16:38:05 +00:00
|
|
|
|
|
|
|
/* Add document writers */
|
|
|
|
info.AddDocWriter(_T("Jean-Pierre Charras <jean-pierre.charras@inpg.fr>"));
|
2008-08-17 18:37:03 +00:00
|
|
|
info.AddDocWriter(_T("\nIgor Plyatov <plyatov@gmail.com>"));
|
2008-08-15 16:38:05 +00:00
|
|
|
|
|
|
|
/* Add translators */
|
2008-08-22 13:12:22 +00:00
|
|
|
info.AddTranslator(wxT("Czech (CZ) Milan Horák <stranger@tiscali.cz>")); /* fix for translation ! */
|
|
|
|
info.AddTranslator(_("\nDutch (NL) Jerry Jacobs <jerkejacobs@gmail.com>"));
|
|
|
|
info.AddTranslator(_("\nFrench (FR) Jean-Pierre Charras <jean-pierre.charras@inpg.fr>"));
|
|
|
|
info.AddTranslator(wxT("\nPolish (PL) Mateusz Skowroński <skowri@gmail.com>")); /* fix for translation ! */
|
|
|
|
info.AddTranslator(_("\nPortuguese (PT) Renie Marquet <reniemarquet@uol.com.br>"));
|
|
|
|
info.AddTranslator(_("\nRussian (RU) Igor Plyatov <plyatov@gmail.com>"));
|
2008-08-17 10:10:20 +00:00
|
|
|
|
2008-08-15 16:38:05 +00:00
|
|
|
}
|