Follow-up to 9d34d350a5: Missed one more translation for category, when checking selection on the left panel

+ Fixed a typo in CS and ES dictionaries
This commit is contained in:
YuSanka 2020-12-21 14:28:50 +01:00
parent dc2e7aeb4e
commit 738c115ec1
5 changed files with 3 additions and 3 deletions

View file

@ -2963,7 +2963,7 @@ void Tab::rebuild_page_tree()
continue;
auto itemId = m_treectrl->AppendItem(rootItem, translate_category(p->title(), m_type), p->iconID());
m_treectrl->SetItemTextColour(itemId, p->get_item_colour());
if (p->title() == selected)
if (translate_category(p->title(), m_type) == selected)
item = itemId;
}
if (!item) {