]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/internat/internat.cpp
-1->wxID_ANY, TRUE->true and FALSE->false replacements.
[wxWidgets.git] / samples / internat / internat.cpp
index 1bf57ba9a401e92eab9d232cb0856cfaf1ab7293..ba105e911ca14287ce537f8ba01811c777448365 100644 (file)
@@ -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);
     }