Updated internat sample for Unicode, correction.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17736 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2002-11-06 10:44:23 +00:00
parent 7ed43ac2e8
commit 0e808f5d5a
3 changed files with 3 additions and 3 deletions

Binary file not shown.

View File

@@ -20,7 +20,7 @@ msgstr "Internationales wxWindows Programm"
#: ../internat.cpp:128
msgid "&About..."
msgstr "<22>&ber"
msgstr "<22>&ber..."
#: ../internat.cpp:130
msgid "E&xit"

View File

@@ -120,7 +120,7 @@ bool MyApp::OnInit()
#ifdef __LINUX__
{
wxLogNull noLog;
m_locale.AddCatalog("fileutils"); // 3) and another just for testing
m_locale.AddCatalog(_T("fileutils")); // 3) and another just for testing
}
#endif
@@ -193,7 +193,7 @@ void MyFrame::OnPlay(wxCommandEvent& WXUNUSED(event))
if ( num == 0 )
str = _("You've probably entered an invalid number.");
else if ( num == 9 ) // this message is not translated (not in catalog)
str = "You've found a bug in this program!";
str = _T("You've found a bug in this program!");
else if ( num != 17 ) // a more implicit way to write _()
str = wxGetTranslation(wxT("Bad luck! try again..."));
else