i18n fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -479,7 +479,8 @@ wxLocale::~wxLocale()
|
|||||||
const char *wxLocale::GetString(const char *szOrigString,
|
const char *wxLocale::GetString(const char *szOrigString,
|
||||||
const char *szDomain) const
|
const char *szDomain) const
|
||||||
{
|
{
|
||||||
wxASSERT( szOrigString != NULL ); // would be pretty silly
|
if ( IsEmpty(szOrigString) )
|
||||||
|
return szDomain;
|
||||||
|
|
||||||
const char *pszTrans = NULL;
|
const char *pszTrans = NULL;
|
||||||
|
|
||||||
|
@@ -1170,9 +1170,9 @@ void wxMimeTypesManagerImpl::ReadMailcap(const wxString& strFileName)
|
|||||||
// programmer
|
// programmer
|
||||||
wxLogDebug
|
wxLogDebug
|
||||||
(
|
(
|
||||||
_("Mailcap file %s, line %d: unknown "
|
"Mailcap file %s, line %d: unknown "
|
||||||
"field '%s' for the MIME type "
|
"field '%s' for the MIME type "
|
||||||
"'%s' ignored."),
|
"'%s' ignored.",
|
||||||
strFileName.c_str(),
|
strFileName.c_str(),
|
||||||
nLine + 1,
|
nLine + 1,
|
||||||
curField.c_str(),
|
curField.c_str(),
|
||||||
|
Reference in New Issue
Block a user