Change a few checks to use built-in features

This commit is contained in:
Veronica K. B. Olsen committed 2020-10-07 20:33:34 +02:00
1 parent 8bbdbde7ca
commit 014b970982
3 files changed
+7 -10

No files matched your search

+1 -1
View File
@@ -509,7 +509,7 @@ class GuiDocEditor(QTextEdit):
aLang, aName = self.theDict.describeDict()
self.theParent.statusBar.setLanguage(
aLang, "%s/%s" % (self.mainConf.spellTool, aName)
aLang, "%s [%s]" % (self.mainConf.spellTool.title(), aName.title())
)
if not self.bigDoc: