GP: Small changes to help text
authorAntonioya <blendergit@gmail.com>
Sun, 23 Dec 2018 15:54:14 +0000 (16:54 +0100)
committerAntonioya <blendergit@gmail.com>
Sun, 23 Dec 2018 15:54:20 +0000 (16:54 +0100)
source/blender/editors/gpencil/gpencil_primitive.c

index 310f47f25cbd1074ea706dfa5a49e597f48c8a91..0035d679018c8027e4f97140df8a04c097ca424b 100644 (file)
@@ -402,19 +402,33 @@ static void gpencil_primitive_status_indicators(bContext *C, tGPDprimitive *tgpi
        char msg_str[UI_MAX_DRAW_STR];
 
        if (tgpi->type == GP_STROKE_LINE) {
-               BLI_strncpy(msg_str, IFACE_("Line: ESC to cancel, LMB set origin, Enter/MMB to confirm, WHEEL/+- to adjust subdivision number, Shift to align, Alt to center"), UI_MAX_DRAW_STR);
+               BLI_strncpy(
+                       msg_str,
+                       IFACE_("Line: ESC to cancel, LMB set origin, Enter/MMB to confirm, WHEEL/+- to adjust subdivision number, Shift to align, Alt to center, E: extrude"),
+                       UI_MAX_DRAW_STR);
        }
        else if (tgpi->type == GP_STROKE_BOX) {
-               BLI_strncpy(msg_str, IFACE_("Rectangle: ESC to cancel, LMB set origin, Enter/MMB to confirm, WHEEL/+- to adjust subdivision number, Shift to square, Alt to center"), UI_MAX_DRAW_STR);
+               BLI_strncpy(
+                       msg_str,
+                       IFACE_("Rectangle: ESC to cancel, LMB set origin, Enter/MMB to confirm, WHEEL/+- to adjust subdivision number, Shift to square, Alt to center"),
+                       UI_MAX_DRAW_STR);
        }
        else if (tgpi->type == GP_STROKE_CIRCLE) {
-               BLI_strncpy(msg_str, IFACE_("Circle: ESC to cancel, Enter/MMB to confirm, WHEEL/+- to adjust edge number, Shift to square, Alt to center"), UI_MAX_DRAW_STR);
+               BLI_strncpy(
+                       msg_str,
+                       IFACE_("Circle: ESC to cancel, Enter/MMB to confirm, WHEEL/+- to adjust edge number, Shift to square, Alt to center"),
+                       UI_MAX_DRAW_STR);
        }
        else if (tgpi->type == GP_STROKE_ARC) {
-               BLI_strncpy(msg_str, IFACE_("Arc: ESC to cancel, Enter/MMB to confirm, WHEEL/+- to adjust edge number, Shift to square, Alt to center, M: Flip"), UI_MAX_DRAW_STR);
+               BLI_strncpy(msg_str,
+                       IFACE_("Arc: ESC to cancel, Enter/MMB to confirm, WHEEL/+- to adjust edge number, Shift to square, Alt to center, M: Flip, E: extrude"),
+                       UI_MAX_DRAW_STR);
        }
        else if (tgpi->type == GP_STROKE_CURVE) {
-               BLI_strncpy(msg_str, IFACE_("Curve: ESC to cancel, Enter/MMB to confirm, WHEEL/+- to adjust edge number, Shift to square, Alt to center, E: extrude"), UI_MAX_DRAW_STR);
+               BLI_strncpy(
+                       msg_str,
+                       IFACE_("Curve: ESC to cancel, Enter/MMB to confirm, WHEEL/+- to adjust edge number, Shift to square, Alt to center, E: extrude"),
+                       UI_MAX_DRAW_STR);
        }
 
        if (ELEM(tgpi->type, GP_STROKE_CIRCLE, GP_STROKE_ARC, GP_STROKE_LINE, GP_STROKE_BOX)) {