/* wxWidgets about dialog */ #include #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(); /* Check for unicode */ #if wxUSE_UNICODE description << (_(" Unicode " )); #else 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 ")); #ifdef _LP64 description << (_("64 bits")); #else description << (_("32 bits")); #endif #endif info.SetDescription(description); /* Set copyright */ info.SetCopyright(_T("(C) 1992-2008 KiCad Developers Team")); /* Set license */ info.SetLicence(wxString::FromAscii ( "The complete KiCad EDA Suite is released under the following license: \n" "\n" "GNU General Public License version 2\n" "\n" "See for more information" )); /* Add developers */ info.AddDeveloper(_T("Dick Hollenbeck ")); info.AddDeveloper(_T("\nJean-Pierre Charras ")); /* Add document writers */ info.AddDocWriter(_T("Jean-Pierre Charras ")); info.AddDocWriter(_T("\nIgor Plyatov ")); /* Add translators */ info.AddTranslator(wxT("Czech (CZ) Milan Horák ")); /* fix for translation ! */ info.AddTranslator(_("\nDutch (NL) Jerry Jacobs ")); info.AddTranslator(_("\nFrench (FR) Jean-Pierre Charras ")); info.AddTranslator(wxT("\nPolish (PL) Mateusz Skowroński ")); /* fix for translation ! */ info.AddTranslator(_("\nPortuguese (PT) Renie Marquet ")); info.AddTranslator(_("\nRussian (RU) Igor Plyatov ")); }