Commit 86c7926e authored by g_harland's avatar g_harland

Provided captions for the dialog boxes invoked by the "Help -> About" command

parent 45a3a4b3
...@@ -36,12 +36,14 @@ wxT("** EESCHEMA (sept 1994 .. 2007) **") ...@@ -36,12 +36,14 @@ wxT("** EESCHEMA (sept 1994 .. 2007) **")
#endif #endif
); );
/* Routines Locales */ // Routines Locales
/*******************************************/ /*******************************************/
void Print_Kicad_Infos(wxWindow * frame) void Print_Kicad_Infos(wxWindow * frame)
/*******************************************/ /*******************************************/
{ {
wxString AboutCaption = wxT("About ");
wxString Msg = MsgInfos; wxString Msg = MsgInfos;
Msg << wxT("\n\n") << _("Build Version:") << wxT("\n") ; Msg << wxT("\n\n") << _("Build Version:") << wxT("\n") ;
...@@ -62,13 +64,15 @@ wxString Msg = MsgInfos; ...@@ -62,13 +64,15 @@ wxString Msg = MsgInfos;
Msg << wxT(" JP CHARRAS\n\n") << _("Based on wxWidgets "); Msg << wxT(" JP CHARRAS\n\n") << _("Based on wxWidgets ");
Msg << wxMAJOR_VERSION << wxT(".") << Msg << wxMAJOR_VERSION << wxT(".") <<
wxMINOR_VERSION << wxT(".") << wxRELEASE_NUMBER; wxMINOR_VERSION << wxT(".") << wxRELEASE_NUMBER;
if ( wxSUBRELEASE_NUMBER ) if( wxSUBRELEASE_NUMBER )
Msg << wxT(".") << wxSUBRELEASE_NUMBER; Msg << wxT(".") << wxSUBRELEASE_NUMBER;
Msg << _("\n\nGPL License"); Msg << _("\n\nGPL License");
Msg << _("\n\nWeb sites:\n"); Msg << _("\n\nWeb sites:\n");
Msg << wxT("http://iut-tice.ujf-grenoble.fr/kicad/\n"); Msg << wxT("http://iut-tice.ujf-grenoble.fr/kicad/\n");
Msg << wxT("http://www.gipsa-lab.inpg.fr/realise_au_lis/kicad/"); Msg << wxT("http://www.gipsa-lab.inpg.fr/realise_au_lis/kicad/");
wxMessageBox(Msg, wxEmptyString, wxICON_INFORMATION, frame); AboutCaption << g_Main_Title << wxT(" ") << GetBuildVersion();
wxMessageBox(Msg, AboutCaption, wxICON_INFORMATION, frame);
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment