don't assert if the locale couldn't be set in AddCatalog(), we should still be able to use translations in this case
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
d6a3ec35c8
commit
e5cf63c9a8
@ -2573,7 +2573,7 @@ bool wxLocale::AddCatalog(const wxString& szDomain,
|
||||
const wxString& msgIdCharset)
|
||||
|
||||
{
|
||||
wxCHECK_MSG( IsOk(), false, "must initialize catalog first" );
|
||||
wxCHECK_MSG( !m_strShort.empty(), false, "must initialize catalog first" );
|
||||
|
||||
|
||||
// It is OK to not load catalog if the msgid language and m_language match,
|
||||
|
Loading…
Reference in New Issue
Block a user