Skip to content
This repository has been archived by the owner on Aug 22, 2024. It is now read-only.

Commit

Permalink
Updated with correct catalog for translations
Browse files Browse the repository at this point in the history
CURA-11732
  • Loading branch information
saumyaj3 committed Mar 26, 2024
1 parent f9b1047 commit 6e9cead
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions CuraEngineGradualFlow/GradualFlowPlugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -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():
Expand Down
2 changes: 1 addition & 1 deletion CuraEngineGradualFlow/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 6e9cead

Please sign in to comment.