Make it possible to have translated 'appended' settings.

Just translate them locally. See the backend (Uranium) implementation for this for more details.

done as part of CURA-10994
This commit is contained in:
Remco Burema 2023-10-05 16:07:12 +02:00
parent 18659935ff
commit 1e5f1d3fa5

View File

@ -16,9 +16,10 @@ from UM.Resources import Resources
class BackendPlugin(AdditionalSettingDefinitionsAppender, PluginObject):
catalog = i18nCatalog("cura")
settings_catalog = i18nCatalog("fdmprinter.def.json")
def __init__(self) -> None:
super().__init__()
super().__init__(self.settings_catalog)
self.__port: int = 0
self._plugin_address: str = "127.0.0.1"
self._plugin_command: Optional[List[str]] = None