https://bugs.kde.org/show_bug.cgi?id=320074
--- Comment #3 from André Marcelo Alvarenga <[email protected]> --- (In reply to comment #2) > In identity which language do you use as autocorrection ? when I wrote the bug report, autocorrect language was empty (not defined), since I was running KDE in a virtual machine. Changing to Brazilian Portuguese (Português do Brasil), I deleted /home/user/.kde/share/apps/autocorrect/custom-pt_BR.xml file and tested again, but the problem remains. KMail is still using: /usr/share/kde4/apps/autocorrect/pt.xml instead of: /usr/share/kde4/apps/autocorrect/pt_BR.xml I'm not a developer and maybe I'm wrong, but see this part of the code: /calligra/plugins/textediting/autocorrection/Autocorrect.cpp Line: 743 Q_FOREACH(const QString& path, folders) { if (!m_autocorrectLang.isEmpty()) fname = KGlobal::dirs()->findResource("data", path + "autocorrect/" + m_autocorrectLang + ".xml"); if (m_autocorrectLang != "all_languages") { if (fname.isEmpty() && !kdelang.isEmpty()) fname = KGlobal::dirs()->findResource("data", path + "autocorrect/" + kdelang + ".xml"); if (fname.isEmpty() && kdelang.contains("_")) { kdelang.remove( QRegExp( "_.*" ) ); fname = KGlobal::dirs()->findResource("data", path + "autocorrect/" + kdelang + ".xml"); } } if(!fname.isEmpty()) { readAutocorrectXmlEntry(fname, false); break; } } This is correct? -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ Kdepim-bugs mailing list [email protected] https://mail.kde.org/mailman/listinfo/kdepim-bugs
