kicad/common/about_kicad.cpp

84 lines
2.3 KiB
C++
Raw Normal View History

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();
/* Check for unicode */
2008-08-15 16:38:05 +00:00
#if wxUSE_UNICODE
description << (_(" Unicode " ));
2008-08-15 16:38:05 +00:00
#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 "));
#if __x86_64
description << (_("64 bits"));
2008-08-22 13:36:05 +00:00
#else
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
(
"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 */
info.AddDeveloper(_T("Dick Hollenbeck <dick@softplc.com>"));
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>"));
info.AddDocWriter(_T("\nIgor Plyatov <plyatov@gmail.com>"));
2008-08-15 16:38:05 +00:00
/* Add translators */
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-15 16:38:05 +00:00
}