From 6e9cead3a2ad900e353e1155771e1d9d51be007e Mon Sep 17 00:00:00 2001 From: Saumya Jain Date: Tue, 26 Mar 2024 15:29:52 +0100 Subject: [PATCH] Updated with correct catalog for translations CURA-11732 --- CuraEngineGradualFlow/GradualFlowPlugin.py | 4 ++-- CuraEngineGradualFlow/__init__.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CuraEngineGradualFlow/GradualFlowPlugin.py b/CuraEngineGradualFlow/GradualFlowPlugin.py index 1963526..9dbba19 100644 --- a/CuraEngineGradualFlow/GradualFlowPlugin.py +++ b/CuraEngineGradualFlow/GradualFlowPlugin.py @@ -13,12 +13,12 @@ from . import constants -catalog = i18nCatalog("curaengine_plugin_gradual_flow") +catalog = i18nCatalog("gradual_flow_settings.def.json") class GradualFlowPlugin(BackendPlugin): def __init__(self): - super().__init__() + super().__init__(catalog) self.definition_file_paths = [Path(__file__).parent.joinpath("gradual_flow_settings.def.json").as_posix()] if not self.isDebug(): if not self.binaryPath().exists(): diff --git a/CuraEngineGradualFlow/__init__.py b/CuraEngineGradualFlow/__init__.py index 857c8d3..f0455cb 100644 --- a/CuraEngineGradualFlow/__init__.py +++ b/CuraEngineGradualFlow/__init__.py @@ -5,7 +5,7 @@ from UM.i18n import i18nCatalog -catalog = i18nCatalog("curaengine_plugin_gradual_flow") +catalog = i18nCatalog("gradual_flow_settings.def.json") from . import constants