mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Point to correct catalog
CURA-11783
This commit is contained in:
parent
b2c0767165
commit
b2fea2c1b5
2 changed files with 4 additions and 4 deletions
|
@ -110,7 +110,7 @@ class SettingsExportModel(QObject):
|
|||
|
||||
@staticmethod
|
||||
def _exportSettings(settings_stack):
|
||||
i18n_catalog = i18nCatalog("cura")
|
||||
settings_catalog = i18nCatalog("fdmprinter.def.json")
|
||||
user_settings_container = settings_stack.userChanges
|
||||
user_keys = user_settings_container.getAllKeys()
|
||||
exportable_settings = SettingsExportModel.EXPORTABLE_SETTINGS
|
||||
|
@ -126,7 +126,7 @@ class SettingsExportModel(QObject):
|
|||
options = settings_stack.getProperty(setting_to_export, "options")
|
||||
msgctxt = f"{setting_to_export} option {value}"
|
||||
msgid = options.get(value, "")
|
||||
value_name = i18n_catalog.i18nc(msgctxt, msgid)
|
||||
value_name = settings_catalog.i18nc(msgctxt, msgid)
|
||||
|
||||
setting_type = settings_stack.getProperty(setting_to_export, "type")
|
||||
if setting_type is not None:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue