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

Modified Files:
        AdbFrame.cpp 
Log Message:
translate more strings (fixes part of bug 746)

Index: AdbFrame.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/adb/AdbFrame.cpp,v
retrieving revision 1.107
retrieving revision 1.108
diff -b -u -2 -r1.107 -r1.108
--- AdbFrame.cpp        22 Jul 2003 22:01:39 -0000      1.107
+++ AdbFrame.cpp        30 Jul 2003 00:01:04 -0000      1.108
@@ -988,5 +988,5 @@
 public:
   wxAdbNamePage(wxNotebook *notebook)
-    : wxAdbPage(notebook, _T("General"), wxAdbNotebook::General,
+    : wxAdbPage(notebook, _("General"), wxAdbNotebook::General,
                 AdbField_NamePageFirst, AdbField_NamePageLast) { }
 
@@ -1000,5 +1000,5 @@
 public:
   wxAdbEMailPage(wxNotebook *notebook)
-    : wxAdbPage(notebook, _T("Email"), wxAdbNotebook::EMail,
+    : wxAdbPage(notebook, _("Email"), wxAdbNotebook::EMail,
                 AdbField_EMailPageFirst, AdbField_EMailPageLast) { }
 
@@ -1042,5 +1042,5 @@
 public:
   wxAdbOfficeAddrPage(wxNotebook *notebook)
-    : wxAdbAddrPage(notebook, _T("Office"), wxAdbNotebook::Work, TRUE) { }
+    : wxAdbAddrPage(notebook, _("Office"), wxAdbNotebook::Work, TRUE) { }
 
 private:
@@ -1053,5 +1053,5 @@
 public:
   wxAdbHomeAddrPage(wxNotebook *notebook)
-    : wxAdbAddrPage(notebook, _T("Home"), wxAdbNotebook::Home, FALSE) { }
+    : wxAdbAddrPage(notebook, _("Home"), wxAdbNotebook::Home, FALSE) { }
 
 private:
@@ -1671,5 +1671,5 @@
   // prepare strings for diagnostic messages
   wxString strWhere, strGroup = group->GetWhere();
-  wxString strWhat = wxGetTranslation(m_bLastNewWasGroup ? _T("group") : _T("entry"));
+  wxString strWhat = m_bLastNewWasGroup ? _("group") : _("entry");
 
   // first check that it doesn't already exist
@@ -1764,5 +1764,5 @@
   else {
     // it's a normal entry or group
-    strWhat = wxGetTranslation(m_current->IsGroup() ? _T("group") : _T("entry"));
+    strWhat = m_current->IsGroup() ? _("group") : _("entry");
     strName = m_current->GetName();
 
@@ -2985,5 +2985,5 @@
   if ( m_strName.IsEmpty() ) {
     wxLogError(_("Please specify a name for the new %s!"),
-               wxGetTranslation(m_bGroup ? _T("group") : _T("entry")));
+               m_bGroup ? _("group") : _("entry"));
     return FALSE;
   }



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates

Reply via email to