From 0e808f5d5a389ba9663485f71f39a25fcd44f623 Mon Sep 17 00:00:00 2001 From: Robert Roebling Date: Wed, 6 Nov 2002 10:44:23 +0000 Subject: [PATCH] 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 --- samples/internat/de/internat.mo | Bin 1105 -> 1417 bytes samples/internat/de/internat.po | 2 +- samples/internat/internat.cpp | 4 ++-- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/samples/internat/de/internat.mo b/samples/internat/de/internat.mo index c5adfd9059dd7b623ef45f4655aaa8ac617ada90..a8204ad49d03117991d03991453dafe83629a0f8 100644 GIT binary patch delta 701 zcmYMwL2J}N6bJCx+UlBCt@R*i4?~4TEE6}PYc|%>uo>52vRQVw1wA#p9b;roN-|3K zl!IRS0lcW-Q4l;8JbCgPcof8=R}X?9c@Eqp9;aRB7{%>phI8yZl96LfKB)o zuE4Lbiu1|ea$yeFQw5h{4GtmBpWYr!H$yLE9;seH9j0Ccw>XSb7@@CeVB5nugOPeI z6(^ADLZoI7(}Qt^SBh?yJ{BX%+#R+hvOG=`i+1hSJ-f~67Vq`lprdtz0c&L1~xPiZXmn@!x<@B+-Up(Y;VBE&@tU;FH=nF=CqJajzBX} z36L4V85n_C9fj|CUOn4+pL_1TyXW3FNX(-CG8=vrB14{%4`hx^IwCP_VFY`4ho>3dVqi!7IF@E3?&h7da zYU4Ft;t$5L8WPFl6`o@g3pm6mPHa65)_sw028M-Vm=B?wH1zdcIyhASPKwkmdbz*Q yKSAFhIOad}VhLO6BMwMYZCu~ox~?ncqTTVt)NZ`)=-w$ik%eh^z0oH0;_LteBquNc diff --git a/samples/internat/de/internat.po b/samples/internat/de/internat.po index 8f4bb2036c..c33de1ebf0 100644 --- a/samples/internat/de/internat.po +++ b/samples/internat/de/internat.po @@ -20,7 +20,7 @@ msgstr "Internationales wxWindows Programm" #: ../internat.cpp:128 msgid "&About..." -msgstr "Ü&ber" +msgstr "Ü&ber..." #: ../internat.cpp:130 msgid "E&xit" diff --git a/samples/internat/internat.cpp b/samples/internat/internat.cpp index d009e1cbf8..d94d9eb457 100644 --- a/samples/internat/internat.cpp +++ b/samples/internat/internat.cpp @@ -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