diff options
author | s_nakamoto <s_nakamoto@1a98c847-1fd6-4fd8-948a-caf3550aa51b> | 2010-02-17 17:22:01 +0000 |
---|---|---|
committer | s_nakamoto <s_nakamoto@1a98c847-1fd6-4fd8-948a-caf3550aa51b> | 2010-02-17 17:22:01 +0000 |
commit | e4806597650d8a17f1da7a5b5501eb367ea786fc (patch) | |
tree | f474d2b08e0b538df5fa5e431b8a2bfdc6f79d09 /util.h | |
parent | 2b63e68bbfebc370aa6f2d542419a6e5680f33c5 (diff) |
all builds are now with wxWidgets-2.9.0, we are now using UTF-8, v0.2.2
added support for language translation file locale/<lang>/LC_MESSAGES/bitcoin.mo
-- version 0.2.2
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@66 1a98c847-1fd6-4fd8-948a-caf3550aa51b
Diffstat (limited to 'util.h')
-rw-r--r-- | util.h | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -340,10 +340,11 @@ void skipspaces(T& it) ++it;
}
-
-
-
-
+inline const char* wxGetTranslation(const char* psz)
+{
+ // Return translated UTF-8 const char*
+ return wxGetTranslation(wxString(psz, wxConvUTF8)).utf8_str();
+}
|