Commit 6112eeb7 authored by Dmitry Kazakov's avatar Dmitry Kazakov
Browse files

Rename painting tools according to the suggested guideline

parent d32f6a35
......@@ -37,7 +37,7 @@
KisToolBrush::KisToolBrush(KoCanvasBase * canvas)
: KisToolFreehand(canvas,
KisCursor::load("tool_freehand_cursor.png", 5, 5),
i18nc("(qtundo-format)", "Brush"))
i18nc("(qtundo-format)", "Freehand Brush Stroke"))
{
setObjectName("tool_brush");
}
......
......@@ -85,7 +85,7 @@ public:
KisToolBrushFactory(const QStringList&)
: KoToolFactoryBase("KritaShape/KisToolBrush") {
setToolTip(i18n("Paint with brushes"));
setToolTip(i18n("Freehand Brush Tool"));
// Temporarily
setToolType(TOOL_TYPE_SHAPE);
......
......@@ -61,7 +61,7 @@ void KisToolEllipse::finishRect(const QRectF& rect)
if (!currentNode()->inherits("KisShapeLayer")) {
KisSystemLocker locker(currentNode());
KisFigurePaintingToolHelper helper(i18n("Ellipse"),
KisFigurePaintingToolHelper helper(i18nc("(qtundo-format)", "Draw Ellipse"),
image(),
canvas()->resourceManager(),
strokeStyle(),
......
......@@ -53,7 +53,7 @@ class KisToolEllipseFactory : public KoToolFactoryBase
public:
KisToolEllipseFactory(const QStringList&)
: KoToolFactoryBase("KritaShape/KisToolEllipse") {
setToolTip(i18n("Draw an ellipse"));
setToolTip(i18n("Ellipse Tool"));
setToolType(TOOL_TYPE_SHAPE);
setActivationShapeId(KRITA_TOOL_ACTIVATION_ID);
setIconName(koIconNameCStr("krita_tool_ellipse"));
......
......@@ -183,7 +183,7 @@ void KisToolLine::endPrimaryAction(KoPointerEvent *event)
#endif
if (nodeAbility == PAINT) {
KisFigurePaintingToolHelper helper(i18nc("a straight drawn line", "Line"),
KisFigurePaintingToolHelper helper(i18nc("(qtundo-format)", "Draw Line"),
image(),
canvas()->resourceManager(),
KisPainter::StrokeStyleBrush,
......
......@@ -82,7 +82,7 @@ public:
KisToolLineFactory(const QStringList&)
: KoToolFactoryBase("KritaShape/KisToolLine") {
setToolTip(i18n("Draw a straight line with the current brush"));
setToolTip(i18n("Line Tool"));
// Temporarily
setToolType(TOOL_TYPE_SHAPE);
setActivationShapeId(KRITA_TOOL_ACTIVATION_ID);
......
......@@ -56,6 +56,7 @@ KisToolMultihand::KisToolMultihand(KoCanvasBase *canvas)
{
m_helper =
new KisToolMultihandHelper(paintingInformationBuilder(),
i18nc("(qtundo-format)", "Multibrush Stroke"),
recordingAdapter());
resetHelper(m_helper);
......
......@@ -96,7 +96,7 @@ public:
KisToolMultiBrushFactory(const QStringList&)
: KoToolFactoryBase("KritaShape/KisToolMultiBrush") {
setToolTip(i18n("Paint with multibrushes"));
setToolTip(i18n("Multibrush Tool"));
// Temporarily
setToolType(TOOL_TYPE_SHAPE);
......
......@@ -72,5 +72,5 @@ void __KisToolPathLocalTool::paintPath(KoPathShape &pathShape, QPainter &painter
void __KisToolPathLocalTool::addPathShape(KoPathShape* pathShape)
{
m_parentTool->addPathShape(pathShape, i18n("Path"));
m_parentTool->addPathShape(pathShape, i18nc("(qtundo-format)", "Draw Bezier Curve"));
}
......@@ -73,7 +73,7 @@ class KisToolPathFactory : public KoToolFactoryBase
public:
KisToolPathFactory(const QStringList&)
: KoToolFactoryBase("KisToolPath") {
setToolTip(i18n("Draw a path. Shift-mouseclick ends the path."));
setToolTip(i18n("Bezier Curve Tool. Shift-mouseclick ends the curve."));
setToolType(TOOL_TYPE_SHAPE);
setActivationShapeId(KRITA_TOOL_ACTIVATION_ID);
setIconName(koIconNameCStr("krita_draw_path"));
......
......@@ -58,5 +58,5 @@ void __KisToolPencilLocalTool::addPathShape(KoPathShape* pathShape, bool closePa
pathShape->normalize();
}
m_parentTool->addPathShape(pathShape, i18n("Path"));
m_parentTool->addPathShape(pathShape, i18nc("(qtundo-format)", "Draw Freehand Path"));
}
......@@ -64,7 +64,7 @@ class KisToolPencilFactory : public KoToolFactoryBase
public:
KisToolPencilFactory(const QStringList&)
: KoToolFactoryBase("KisToolPencil") {
setToolTip(i18n("Draw a freehand path."));
setToolTip(i18n("Freehand Path Tool"));
setToolType(TOOL_TYPE_SHAPE);
setActivationShapeId(KRITA_TOOL_ACTIVATION_ID);
setIconName(koIconNameCStr("krita_tool_freehandvector"));
......
......@@ -64,7 +64,7 @@ void KisToolRectangle::finishRect(const QRectF &rect)
if (!currentNode()->inherits("KisShapeLayer")) {
KisSystemLocker locker(currentNode());
KisFigurePaintingToolHelper helper(i18n("Rectangle"),
KisFigurePaintingToolHelper helper(i18nc("(qtundo-format)", "Draw Rectangle"),
image(),
canvas()->resourceManager(),
strokeStyle(),
......
......@@ -58,7 +58,7 @@ class KisToolRectangleFactory : public KoToolFactoryBase
public:
KisToolRectangleFactory(const QStringList&)
: KoToolFactoryBase("KritaShape/KisToolRectangle") {
setToolTip(i18n("Draw a rectangle"));
setToolTip(i18n("Rectangle Tool"));
setToolType(TOOL_TYPE_SHAPE);
setActivationShapeId(KRITA_TOOL_ACTIVATION_ID);
......
......@@ -43,7 +43,7 @@
KisToolDyna::KisToolDyna(KoCanvasBase * canvas)
: KisToolFreehand(canvas, KisCursor::load("tool_freehand_cursor.png", 5, 5), i18nc("(qtundo-format)", "Dyna"))
: KisToolFreehand(canvas, KisCursor::load("tool_freehand_cursor.png", 5, 5), i18nc("(qtundo-format)", "Dynamic Brush Stroke"))
{
setObjectName("tool_dyna");
initDyna();
......
......@@ -152,7 +152,7 @@ public:
KisToolDynaFactory(const QStringList&)
: KoToolFactoryBase("KritaShape/KisToolDyna") {
setToolTip(i18n("Paint with brushes using dynamic movements"));
setToolTip(i18n("Dynamic Brush Tool"));
// Temporarily
setToolType(TOOL_TYPE_SHAPE);
......
......@@ -60,7 +60,7 @@ void KisToolPolygon::finishPolyline(const QVector<QPointF>& points)
}
if (!currentNode()->inherits("KisShapeLayer")) {
KisSystemLocker locker(currentNode());
KisFigurePaintingToolHelper helper(i18n("Polygon"),
KisFigurePaintingToolHelper helper(i18nc("(qtundo-format)", "Draw Polygon"),
image(),
canvas()->resourceManager(),
strokeStyle(),
......
......@@ -48,7 +48,7 @@ class KisToolPolygonFactory : public KoToolFactoryBase
public:
KisToolPolygonFactory(const QStringList&)
: KoToolFactoryBase("KisToolPolygon") {
setToolTip(i18n("Draw a polygon. Shift-mouseclick ends the polygon."));
setToolTip(i18n("Polygon Tool. Shift-mouseclick ends the polygon."));
setToolType(TOOL_TYPE_SHAPE);
setActivationShapeId(KRITA_TOOL_ACTIVATION_ID);
setIconName(koIconNameCStr("tool_polygon"));
......
......@@ -64,7 +64,7 @@ void KisToolPolyline::finishPolyline(const QVector<QPointF>& points)
}
if (!currentNode()->inherits("KisShapeLayer")) {
KisSystemLocker locker(currentNode());
KisFigurePaintingToolHelper helper(i18n("Polyline"),
KisFigurePaintingToolHelper helper(i18nc("(qtundo-format)", "Draw Polyline"),
image(),
canvas()->resourceManager(),
strokeStyle(),
......
......@@ -48,7 +48,7 @@ class KisToolPolylineFactory : public KoToolFactoryBase
public:
KisToolPolylineFactory(const QStringList&)
: KoToolFactoryBase("KisToolPolyline") {
setToolTip(i18n("Draw a polyline. Shift-mouseclick ends the polyline."));
setToolTip(i18n("Polyline Tool. Shift-mouseclick ends the polyline."));
setToolType(TOOL_TYPE_SHAPE);
setActivationShapeId(KRITA_TOOL_ACTIVATION_ID);
setIconName(koIconNameCStr("polyline"));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment