Make dictionary printfs easier to read. (also add one for the thesaurus)

Originally committed to SVN as r4051.
This commit is contained in:
Amar Takhar 2010-01-26 13:56:56 +00:00
parent 0c9f32fbb8
commit e89e7b4be2
2 changed files with 3 additions and 1 deletions

View File

@ -267,7 +267,7 @@ void HunspellSpellChecker::SetLanguage(wxString language) {
dicpath = wxString::Format("%s%s.dic", path, language);
usrdicpath = wxString::Format("%s%s.dic", userPath, language);
wxLogDebug("Using dictionary %ls for spellchecking\n", dicpath);
wxLogDebug("Using dictionary: %ls", dicpath);
// Check if language is available
if (!wxFileExists(affpath) || !wxFileExists(dicpath)) return;

View File

@ -161,6 +161,8 @@ void MySpellThesaurus::SetLanguage(wxString language) {
// Check if language is available
if (!wxFileExists(idxpath) || !wxFileExists(datpath)) return;
wxLogDebug(_("Using thesarus: %ls"), datpath.c_str());
// Load
mythes = new MyThes(idxpath.mb_str(wxConvLocal),datpath.mb_str(wxConvLocal));
conv = NULL;