mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-09 07:56:22 -06:00
Make machine action button translatable
CURA-336
This commit is contained in:
parent
b48f4ff8a2
commit
8deb0dc274
1 changed files with 4 additions and 1 deletions
|
@ -4,9 +4,12 @@ from UM.Application import Application
|
|||
|
||||
from PyQt5.QtCore import pyqtSignal, pyqtProperty, pyqtSlot
|
||||
|
||||
from UM.i18n import i18nCatalog
|
||||
catalog = i18nCatalog("cura")
|
||||
|
||||
class DiscoverUM3Action(MachineAction):
|
||||
def __init__(self):
|
||||
super().__init__("DiscoverUM3Action", "Discover printers")
|
||||
super().__init__("DiscoverUM3Action", catalog.i18nc("@action","Connect via Network"))
|
||||
self._qml_url = "DiscoverUM3Action.qml"
|
||||
|
||||
self._network_plugin = None
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue