Update of /cvsroot/mahogany/M/src/gui
In directory sc8-pr-cvs1:/tmp/cvs-serv23903/src/gui

Modified Files:
        wxSearchDialog.cpp 
Log Message:
some strings were not extracted for translation (part of bug 746)

Index: wxSearchDialog.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/gui/wxSearchDialog.cpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -b -u -2 -r1.5 -r1.6
--- wxSearchDialog.cpp  8 Sep 2002 19:23:10 -0000       1.5
+++ wxSearchDialog.cpp  19 Jul 2003 23:24:55 -0000      1.6
@@ -56,5 +56,5 @@
 // ----------------------------------------------------------------------------
 
-static const wxString searchCriteria[] =
+static const wxChar *searchCriteria[] =
 {
    gettext_noop("Full Message"),
@@ -189,7 +189,13 @@
 
    // second line: In [Where___]
+   wxString searchCriteriaTrans[WXSIZEOF(searchCriteria)];
+   for ( size_t n = 0; n < WXSIZEOF(searchCriteria); n++ )
+   {
+      searchCriteriaTrans[n] = _(searchCriteria[n]);
+   }
+
    m_choiceWhere = new wxPChoice("SearchWhere", this, -1,
                                  wxDefaultPosition, wxDefaultSize,
-                                 WXSIZEOF(searchCriteria), searchCriteria);
+                                 WXSIZEOF(searchCriteria), searchCriteriaTrans);
    c = new wxLayoutConstraints;
    c->left.SameAs(m_textWhat, wxLeft);



-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates

Reply via email to