X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9d814be8d00ebf4f0fa1bf4537f246ef4396c776..5d91a088076e2ea980ecf4fdcf1d1522d57035fc:/samples/internat/internat.cpp diff --git a/samples/internat/internat.cpp b/samples/internat/internat.cpp index 1bf57ba9a4..0a931caccd 100644 --- a/samples/internat/internat.cpp +++ b/samples/internat/internat.cpp @@ -87,7 +87,7 @@ enum }; // ---------------------------------------------------------------------------- -// wxWindows macros +// wxWidgets macros // ---------------------------------------------------------------------------- BEGIN_EVENT_TABLE(MyFrame, wxFrame) @@ -229,7 +229,7 @@ bool MyApp::OnInit() MyFrame::MyFrame(wxLocale& locale) : wxFrame(NULL, -1, - _("International wxWindows App"), + _("International wxWidgets App"), wxPoint(50, 50), wxSize(350, 60)), m_locale(locale) @@ -337,8 +337,7 @@ void MyFrame::OnTest2(wxCommandEvent& WXUNUSED(event)) { const wxChar* title = _("Testing _N() (ngettext)"); wxTextEntryDialog d(this, - _("Please enter range for plural forms of \"n files deleted\"" - "phrase"), + _("Please enter range for plural forms of \"n files deleted\" phrase"), title, _T("0-10")); if (d.ShowModal() == wxID_OK) { @@ -348,8 +347,9 @@ void MyFrame::OnTest2(wxCommandEvent& WXUNUSED(event)) s << _T("\n"); for (int n = first; n <= last; ++n) { - s << n << _T(" ") << - wxGetTranslation("file deleted", "files deleted", n) << _T("\n"); + s << n << _T(" ") << + wxGetTranslation(_T("file deleted"), _T("files deleted"), n) << + _T("\n"); } wxMessageBox(s); }