removed translations where not needed (backported to 2.4)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18357 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -333,14 +333,11 @@ void *wxDllLoader::GetSymbol(wxDllType dllHandle, const wxString &name, bool *su
|
||||
|
||||
if ( !symbol )
|
||||
{
|
||||
wxString msg(_("wxDllLoader failed to GetSymbol '%s'"));
|
||||
|
||||
#ifdef HAVE_DLERROR
|
||||
const wxChar *err = dlerror();
|
||||
if( err )
|
||||
{
|
||||
failed = TRUE;
|
||||
wxLogError( msg, err );
|
||||
wxLogError(wxT("%s"), err);
|
||||
}
|
||||
#else
|
||||
failed = TRUE;
|
||||
|
@@ -279,7 +279,6 @@ void *wxDynamicLibrary::GetSymbol(const wxString &name, bool *success) const
|
||||
|
||||
if ( !symbol )
|
||||
{
|
||||
wxString msg(_("wxDynamicLibrary failed to GetSymbol '%s'"));
|
||||
#if defined(HAVE_DLERROR) && !defined(__EMX__)
|
||||
|
||||
#if wxUSE_UNICODE
|
||||
@@ -291,8 +290,7 @@ void *wxDynamicLibrary::GetSymbol(const wxString &name, bool *success) const
|
||||
|
||||
if( err )
|
||||
{
|
||||
failed = TRUE;
|
||||
wxLogError( msg, err );
|
||||
wxLogError(wxT("%s"), err);
|
||||
}
|
||||
#else
|
||||
failed = TRUE;
|
||||
|
@@ -370,9 +370,9 @@ void wxPreviewControlBar::OnGoto(void)
|
||||
wxString strPrompt;
|
||||
wxString strPage;
|
||||
|
||||
strPrompt.Printf( _("%d...%d"),
|
||||
strPrompt.Printf( wxT("%d...%d"),
|
||||
preview->GetMinPage(), preview->GetMaxPage());
|
||||
strPage.Printf( _("%d"), preview->GetCurrentPage() );
|
||||
strPage.Printf( wxT("%d"), preview->GetCurrentPage() );
|
||||
|
||||
strPage =
|
||||
wxGetTextFromUser( strPrompt, _("Goto Page"), strPage);
|
||||
|
@@ -140,7 +140,7 @@ void wxScrollBar::MacHandleControlClick( WXWidget control , wxInt16 controlpart
|
||||
scrollEvent = wxEVT_SCROLL_THUMBTRACK;
|
||||
break ;
|
||||
default :
|
||||
wxLogError(_("illegal scrollbar selector %d"), controlpart);
|
||||
wxFAIL_MSG(wxT("illegal scrollbar selector"));
|
||||
break ;
|
||||
}
|
||||
|
||||
|
@@ -140,7 +140,7 @@ void wxScrollBar::MacHandleControlClick( WXWidget control , wxInt16 controlpart
|
||||
scrollEvent = wxEVT_SCROLL_THUMBTRACK;
|
||||
break ;
|
||||
default :
|
||||
wxLogError(_("illegal scrollbar selector %d"), controlpart);
|
||||
wxFAIL_MSG(wxT("illegal scrollbar selector"));
|
||||
break ;
|
||||
}
|
||||
|
||||
|
@@ -310,9 +310,9 @@ bool wxTopLevelWindowMSW::CreateDialog(const void *dlgTemplate,
|
||||
|
||||
if ( !m_hWnd )
|
||||
{
|
||||
wxFAIL_MSG(_("Failed to create dialog. Incorrect DLGTEMPLATE?"));
|
||||
wxFAIL_MSG(wxT("Failed to create dialog. Incorrect DLGTEMPLATE?"));
|
||||
|
||||
wxLogSysError(_("Can't create dialog using memory template"));
|
||||
wxLogSysError(wxT("Can't create dialog using memory template"));
|
||||
|
||||
return FALSE;
|
||||
}
|
||||
|
@@ -364,9 +364,9 @@ bool wxTopLevelWindowOS2::CreateDialog(
|
||||
|
||||
if ( !m_hWnd )
|
||||
{
|
||||
wxFAIL_MSG(_("Did you forget to include wx/os2/wx.rc in your resources?"));
|
||||
wxFAIL_MSG(wxT("Did you forget to include wx/os2/wx.rc in your resources?"));
|
||||
|
||||
wxLogSysError(_("Can't create dialog using template '%ul'"), ulDlgTemplate);
|
||||
wxLogSysError(wxT("Can't create dialog using template '%ul'"), ulDlgTemplate);
|
||||
|
||||
return FALSE;
|
||||
}
|
||||
|
Reference in New Issue
Block a user