mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-06-26 01:15:28 -06:00
added catalog as an extra argument for translations
translations of backend plugin such as gradual flow CURA-11732
This commit is contained in:
parent
f481a56ba0
commit
44c7345f3b
1 changed files with 2 additions and 2 deletions
|
@ -18,8 +18,8 @@ class BackendPlugin(AdditionalSettingDefinitionsAppender, PluginObject):
|
|||
catalog = i18nCatalog("cura")
|
||||
settings_catalog = i18nCatalog("fdmprinter.def.json")
|
||||
|
||||
def __init__(self) -> None:
|
||||
super().__init__(self.settings_catalog)
|
||||
def __init__(self, catalog_i18n = settings_catalog) -> None:
|
||||
super().__init__(catalog_i18n)
|
||||
self.__port: int = 0
|
||||
self._plugin_address: str = "127.0.0.1"
|
||||
self._plugin_command: Optional[List[str]] = None
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue