From 1bb7a34a5ee9ecef6a060f4b13975eec38b30340 Mon Sep 17 00:00:00 2001 From: "Zane U. Ji" Date: Sat, 4 Aug 2012 15:50:30 +0800 Subject: [PATCH] Fixed a UNICODE problem Updated contributor list --- src/xmlcopyeditor.cpp | 2 +- src/xmlcopyeditorcopy.h | 14 ++++++++++++-- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/src/xmlcopyeditor.cpp b/src/xmlcopyeditor.cpp index 75b83d0..1299dbf 100755 --- a/src/xmlcopyeditor.cpp +++ b/src/xmlcopyeditor.cpp @@ -1232,7 +1232,7 @@ void MyFrame::OnAbout ( wxCommandEvent& WXUNUSED ( event ) ) { wxString description; description = ABOUT_DESCRIPTION; - description.Append ( ABOUT_DESCRIPTION_THANKS ); + description.Append ( ABOUT_CONTRIBUTORS ); description.Append ( _T("\n\nFramework version: ") ); description.Append ( wxVERSION_STRING ); description.Append ( _T("\n") ); diff --git a/src/xmlcopyeditorcopy.h b/src/xmlcopyeditorcopy.h index 6db69cb..be21c47 100755 --- a/src/xmlcopyeditorcopy.h +++ b/src/xmlcopyeditorcopy.h @@ -23,9 +23,19 @@ #else #define FILE_FILTER _("All files (*)|*|XML (*.xml)|*.xml|XHTML (*.html)|*.html|DTD (*.dtd)|*.dtd|XML Schema (*.xsd)|*.xsd|RELAX NG grammar (*.rng)|*.rng|XSL (*.xsl)|*.xsl") #endif -#define ABOUT_COPYRIGHT _("Copyright © 2005-2009 Gerald Schmidt ") +#define ABOUT_COPYRIGHT _(_T("Copyright © 2005-2009 Gerald Schmidt ")) #define ABOUT_DESCRIPTION _("\nXML Copy Editor is free software released under the GNU\nGeneral Public License.\n\nMany thanks are due to ") -#define ABOUT_DESCRIPTION_THANKS _T("Tim van Niekerk, Matt Smigielski,\nDavid Scholl, Jan Merka, Marcus Bingenheimer, Roberto\nRosselli Del Turco, Ken Zalewski, C.J. Meidlinger,\nThomas Zajic, Viliam Búr, David Håsäther, François\nBadier, Thomas Wenzel, Roger Sperberg, SHiNE CsyFeK,\nHSU PICHAN, YANG SHUFUN, CHENG PAULIAN,\nCHUANG KUO-PING, Justin Dearing, Serhij Dubyk,\nAntonio Angelo, Jose Luis Rivero, Siarhei Kuchuk,\nIan Abbott, Kev James, Marcos Pérez González, Anh\nTrinh, Rob Elemans and Robert Falcó Miramontes.") +#define ABOUT_CONTRIBUTORS _T(\ +"Tim van Niekerk, Matt Smigielski,\n"\ +"David Scholl, Jan Merka, Marcus Bingenheimer, Roberto\n"\ +"Rosselli Del Turco, Ken Zalewski, C.J. Meidlinger,\n"\ +"Thomas Zajic, Viliam Búr, David Håsäther, François\n"\ +"Badier, Thomas Wenzel, Roger Sperberg, SHiNE CsyFeK,\n"\ +"HSU PICHAN, YANG SHUFUN, CHENG PAULIAN,\n"\ +"CHUANG KUO-PING, Justin Dearing, Serhij Dubyk,\n"\ +"Antonio Angelo, Jose Luis Rivero, Siarhei Kuchuk,\n"\ +"Ian Abbott, Kev James, Marcos Pérez González, Anh Trinh,\n"\ +"Rob Elemans, Robert Falcó Miramontes and Zane Ji.") #define ABOUT_LICENSE _T(\ "This program is free software; you can redistribute it\n"\ "and/or modify it under the terms of the GNU General Public\n"\