mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-15 02:37:49 -06:00
Use the right catalog for the Cura plugins
This commit is contained in:
parent
f82ed32ef0
commit
1646007e9c
4 changed files with 14 additions and 7 deletions
|
@ -1,14 +1,19 @@
|
|||
#Shoopdawoop
|
||||
from . import CuraEngineBackend
|
||||
|
||||
from UM.i18n import i18nCatalog
|
||||
catalog = i18nCatalog('cura')
|
||||
|
||||
def getMetaData():
|
||||
return {
|
||||
'type': 'backend',
|
||||
'plugin': {
|
||||
'name': "CuraEngine Backend"
|
||||
'name': "CuraEngine Backend",
|
||||
'author': 'Arjen Hiemstra',
|
||||
'description': catalog.i18nc('CuraEngine backend plugin description', 'Provides the link to the CuraEngine slicing backend')
|
||||
}
|
||||
}
|
||||
|
||||
def register(app):
|
||||
return {"backend":CuraEngineBackend.CuraEngineBackend()}
|
||||
return { "backend": CuraEngineBackend.CuraEngineBackend() }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue