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:
Binary file not shown.
@@ -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"
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user