Skip to content

armgit / krita

Public Imported from GitHub
0

Krita is a free and open source cross-platform application that offers an end-to-end solution for creating digital art files from scratch built on the KDE and Qt frameworks.

C++

Workflow Buttons: Make docker name translateable

Freya Lupencc4a053f2d7c
diff --git a/plugins/python/workflow_buttons/workflow_buttons.py b/plugins/python/workflow_buttons/workflow_buttons.py
index d87cb1b241..dda70debf6 100644
--- a/plugins/python/workflow_buttons/workflow_buttons.py
+++ b/plugins/python/workflow_buttons/workflow_buttons.py
@@ -11,14 +11,13 @@ from .flow_layout import FlowLayout
from .buttons_settings_dialog import LISTOFTOOLS, LISTOFSIZES, ButtonsSettingsDialog
import ast
-DOCKER_NAME = 'Workflow Buttons'
DOCKER_ID = 'pykrita_workflow_buttons'
INSTANCE = Krita.instance()
class WorkflowButtons(DockWidget):
def __init__(self):
super().__init__()
- self.setWindowTitle(DOCKER_NAME)
+ self.setWindowTitle(i18nc("@title:window", "Workflow Buttons"))
self.sizeIndex = 2
self.globalButtonSize = QSize(LISTOFSIZES[self.sizeIndex], LISTOFSIZES[self.sizeIndex])
self.settingsButtonPosition = 0