mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-10-09 00:31:19 +00:00
Update Translations + String improvements (#16142)
Co-authored-by: Alexandre Folle de Menezes <afmenez@gmail.com>
This commit is contained in:
co-authored by
Alexandre Folle de Menezes
parent
c1e6de7e4e
commit
eb5b9a77b9
@@ -1676,7 +1676,7 @@ void MixedFilamentDialog::update_ok_button_state()
|
||||
wxString parts;
|
||||
for (auto it = type_groups.begin(); it != type_groups.end(); ++it) {
|
||||
if (!parts.empty())
|
||||
parts += _L(" and ");
|
||||
parts += "; ";
|
||||
wxString slots;
|
||||
for (size_t j = 0; j < it->second.size(); ++j) {
|
||||
if (!slots.empty()) slots += ", ";
|
||||
@@ -1684,7 +1684,7 @@ void MixedFilamentDialog::update_ok_button_state()
|
||||
}
|
||||
parts += wxString::Format(_L("Slot %s (%s)"), slots, wxString::FromUTF8(it->first));
|
||||
}
|
||||
m_type_mismatch_msg = parts + " " + _L("cannot be mixed. Please select the same filament type.");
|
||||
m_type_mismatch_msg = wxString::Format(_L("Different filament types cannot be mixed: %s. Please select the same filament type."), parts);
|
||||
} else {
|
||||
m_type_mismatch_msg.clear();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user