mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 09:05:53 +08:00
Fix translation of category headers on profiles page
Contributes to CURA-3123 (No, not really, but I do not want to make a new issue)
This commit is contained in:
parent
a2f98638cf
commit
94a50362e1
@ -185,6 +185,8 @@ class QualitySettingsModel(UM.Qt.ListModel.ListModel):
|
||||
for definition in definition_container.findDefinitions():
|
||||
if definition.type == "category":
|
||||
current_category = definition.label
|
||||
if self._i18n_catalog:
|
||||
current_category = self._i18n_catalog.i18nc(definition.key + " label", definition.label)
|
||||
continue
|
||||
|
||||
profile_value = None
|
||||
|
Loading…
x
Reference in New Issue
Block a user