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

@ -10199,7 +10199,7 @@ msgstr "Vítejte v %s Konfiguračním průvodci"
#: src/slic3r/GUI/SavePresetDialog.cpp:310
msgid "What would you like to do with \"%1%\" preset after saving?"
msgstr "Co chcete udělat s přednastavením „% 1%“ po uložení?"
msgstr "Co chcete udělat s přednastavením \"%1%\" po uložení?"
#: src/slic3r/GUI/Preferences.cpp:114
msgid "When checked, the print and filament presets are shown in the preset editor even if they are marked as incompatible with the active printer"

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) {