mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-07-03 13:15:13 +08:00
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:
parent
18659935ff
commit
1e5f1d3fa5
@ -16,9 +16,10 @@ from UM.Resources import Resources
|
|||||||
|
|
||||||
class BackendPlugin(AdditionalSettingDefinitionsAppender, PluginObject):
|
class BackendPlugin(AdditionalSettingDefinitionsAppender, PluginObject):
|
||||||
catalog = i18nCatalog("cura")
|
catalog = i18nCatalog("cura")
|
||||||
|
settings_catalog = i18nCatalog("fdmprinter.def.json")
|
||||||
|
|
||||||
def __init__(self) -> None:
|
def __init__(self) -> None:
|
||||||
super().__init__()
|
super().__init__(self.settings_catalog)
|
||||||
self.__port: int = 0
|
self.__port: int = 0
|
||||||
self._plugin_address: str = "127.0.0.1"
|
self._plugin_address: str = "127.0.0.1"
|
||||||
self._plugin_command: Optional[List[str]] = None
|
self._plugin_command: Optional[List[str]] = None
|
||||||
|
Loading…
x
Reference in New Issue
Block a user