Attached Files | svn_revisions_dlg.diff [^] (1,645 bytes) 2005-08-31 23:56 [Show Content] [Hide Content]Index: TextClient.cpp
===================================================================
--- TextClient.cpp (revision 5350)
+++ TextClient.cpp (working copy)
@@ -185,10 +185,19 @@
void CamulecmdFrame::OnAbout(wxCommandEvent& WXUNUSED(event))
{
wxString msg;
- msg = wxString::Format(
- _("amulecmd DLG version\n"
- "Using %s\n(c) aMule Dev Team"),
- wxVERSION_STRING);
+ #ifdef CVSDATE
+ msg = wxString::Format(
+ _("amulecmd [DLG version] %s %s\n"
+ "Using %s\n"
+ "(c) aMule Dev Team"),
+ wxT(VERSION), wxT(CVSDATE), wxVERSION_STRING);
+ #else
+ msg = wxString::Format(
+ _("amulecmd [DLG version] %s\n"
+ "Using %s\n"
+ "(c) aMule Dev Team"),
+ wxT(VERSION), wxVERSION_STRING);
+ #endif
wxMessageBox(msg, _("About amulecmd"), wxOK | wxICON_INFORMATION, this);
}
Index: webserver/src/WebInterface.cpp
===================================================================
--- webserver/src/WebInterface.cpp (revision 5350)
+++ webserver/src/WebInterface.cpp (working copy)
@@ -170,10 +170,19 @@
void CamulewebFrame::OnAbout(wxCommandEvent& WXUNUSED(event))
{
wxString msg;
- msg = wxString::Format(
- _("amuleweb [DLG version]\n"
- "Using %s\n(c) aMule Dev Team"),
- wxVERSION_STRING);
+ #ifdef CVSDATE
+ msg = wxString::Format(
+ _("amuleweb [DLG version] %s %s\n"
+ "Using %s\n"
+ "(c) aMule Dev Team"),
+ wxT(VERSION), wxT(CVSDATE), wxVERSION_STRING);
+ #else
+ msg = wxString::Format(
+ _("amuleweb [DLG version] %s\n"
+ "Using %s\n"
+ "(c) aMule Dev Team"),
+ wxT(VERSION), wxVERSION_STRING);
+ #endif
wxMessageBox(msg, _("About amuleweb"), wxOK | wxICON_INFORMATION, this);
}
|