Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
Replaced _("") with wxT("") to stop error messages in gettext
authorSteve Brokenshire <sbrokenshire@xestia.co.uk>
Sun, 13 Nov 2016 13:31:14 +0000 (13:31 +0000)
committerSteve Brokenshire <sbrokenshire@xestia.co.uk>
Sun, 13 Nov 2016 13:31:14 +0000 (13:31 +0000)
source/frmNewAccount-CardDAV2.cpp
source/widgets/XABContactMenu.cpp

index 214e84f..3798bbf 100644 (file)
@@ -24,11 +24,11 @@ void frmNewAccount::RunCardDAV2Test( wxCommandEvent& event ){
        NewAccountResult *ResultData = new NewAccountResult;
        
        lblServerConnResult->SetLabel(_("Testing..."));
-       lblCardDAVSupportResult->SetLabel(_(""));
-       lblServerResponse->SetLabel(_(""));
-       lblServerSSLResult->SetLabel(_(""));
-       lblServerSSLValid->SetLabel(_(""));
-       lblAbleToLoginResult->SetLabel(_(""));
+       lblCardDAVSupportResult->SetLabel(wxT(""));
+       lblServerResponse->SetLabel(wxT(""));
+       lblServerSSLResult->SetLabel(wxT(""));
+       lblServerSSLValid->SetLabel(wxT(""));
+       lblAbleToLoginResult->SetLabel(wxT(""));
        bool UsingSSLBypass = false;
        
        // Setup a CardDAV2 connection object for testing.
index d643c06..c29149b 100644 (file)
@@ -28,24 +28,24 @@ XABContactMenu::XABContactMenu(XABContactMenuType MenuTypeIn){
 
        // Setup the menu items.
        
-       AppendMenuItem(wxT("opencontact"), _("Open Contact..."), _(""), ID_CONTACTMENU_OPEN, wxITEM_NORMAL);
-       AppendMenuItem(wxT("sep1"), _(""), _(""), ID_CONTACTMENU_SEPARATOR, wxITEM_SEPARATOR);
+       AppendMenuItem(wxT("opencontact"), _("Open Contact..."), wxT(""), ID_CONTACTMENU_OPEN, wxITEM_NORMAL);
+       AppendMenuItem(wxT("sep1"), wxT(""), wxT(""), ID_CONTACTMENU_SEPARATOR, wxITEM_SEPARATOR);
        
        if (MenuType == XABCONTACTMENU_MAIN){
        
                // Setup up the add contact option if in the main window.
 
-               AppendMenuItem(wxT("newcontact"), _("New Contact..."), _(""), ID_CONTACTMENU_NEW, wxITEM_NORMAL);
+               AppendMenuItem(wxT("newcontact"), _("New Contact..."), wxT(""), ID_CONTACTMENU_NEW, wxITEM_NORMAL);
        
        }
        
-       AppendMenuItem(wxT("editcontact"), _("Edit Contact..."), _(""), ID_CONTACTMENU_EDIT, wxITEM_NORMAL);
+       AppendMenuItem(wxT("editcontact"), _("Edit Contact..."), wxT(""), ID_CONTACTMENU_EDIT, wxITEM_NORMAL);
 
        if (MenuType == XABCONTACTMENU_SEARCH){
        
                // Setup up the reveal contact option if in the search window.
        
-               AppendMenuItem(wxT("revealcontact"), _("Reveal Contact..."), _(""), ID_CONTACTMENU_REVEAL, wxITEM_NORMAL);
+               AppendMenuItem(wxT("revealcontact"), _("Reveal Contact..."), wxT(""), ID_CONTACTMENU_REVEAL, wxITEM_NORMAL);
        
        }
        
@@ -53,9 +53,9 @@ XABContactMenu::XABContactMenu(XABContactMenuType MenuTypeIn){
        
                // Setup the delete and refresh contact options if in the main window.
        
-               AppendMenuItem(wxT("deletecontact"), _("Delete Contact..."), _(""), ID_CONTACTMENU_DELETE, wxITEM_NORMAL);
-               AppendMenuItem(wxT("sep2"), _(""), _(""), ID_CONTACTMENU_SEPARATOR, wxITEM_SEPARATOR);
-               AppendMenuItem(wxT("refreshab"), _("Refresh Address Book"), _(""), ID_CONTACTMENU_REFRESHAB, wxITEM_NORMAL);
+               AppendMenuItem(wxT("deletecontact"), _("Delete Contact..."), wxT(""), ID_CONTACTMENU_DELETE, wxITEM_NORMAL);
+               AppendMenuItem(wxT("sep2"), wxT(""), wxT(""), ID_CONTACTMENU_SEPARATOR, wxITEM_SEPARATOR);
+               AppendMenuItem(wxT("refreshab"), _("Refresh Address Book"), wxT(""), ID_CONTACTMENU_REFRESHAB, wxITEM_NORMAL);
        
        }
 
Xestia Software Development
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software

Xestia Address Book
Xestia Calendar
Development

Xestia Gelforn
Everything else

About
News
Privacy Policy