mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-04-22 13:49:39 +08:00

It was in the wrong catalogue. This means that our template picks it up but our actual code couldn't find the translation in that catalogue. Contributes to issue CURA-5166.
21 lines
581 B
Python
21 lines
581 B
Python
# Copyright (c) 2018 Ultimaker B.V.
|
|
# Cura is released under the terms of the LGPLv3 or higher.
|
|
|
|
from . import SupportEraser
|
|
|
|
from UM.i18n import i18nCatalog
|
|
i18n_catalog = i18nCatalog("cura")
|
|
|
|
def getMetaData():
|
|
return {
|
|
"tool": {
|
|
"name": i18n_catalog.i18nc("@label", "Support Blocker"),
|
|
"description": i18n_catalog.i18nc("@info:tooltip", "Create a volume in which supports are not printed."),
|
|
"icon": "tool_icon.svg",
|
|
"weight": 4
|
|
}
|
|
}
|
|
|
|
def register(app):
|
|
return { "tool": SupportEraser.SupportEraser() }
|