From c6867ca8cc751a4cd04b029a6358740dbd4929d4 Mon Sep 17 00:00:00 2001 From: Martin Owens Date: Mon, 30 Sep 2013 11:38:50 -0400 Subject: Fix translations for tool messages (bzr r12631) --- src/tools-switch.cpp | 46 +++++++++++++++++++++++----------------------- 1 file changed, 23 insertions(+), 23 deletions(-) (limited to 'src/tools-switch.cpp') diff --git a/src/tools-switch.cpp b/src/tools-switch.cpp index 32fab9f7e..a3c0f2daa 100644 --- a/src/tools-switch.cpp +++ b/src/tools-switch.cpp @@ -88,28 +88,28 @@ static char const *const tool_names[] = { }; static char const *const tool_msg[] = { NULL, - _("Click to Select and Tranform objects, Drag to select many objects."), - _("Modify selected path points (nodes) directly."), - _("To tweak a path by pushing, select it and drag over it."), - _("Drag, click or click and scroll to spray the selected objects."), - _("Drag to create a rectangle. Drag controls to round corners and resize. Click to select."), - _("Drag to create a 3D box. Drag controls to resize in perspective. Click to select (with Ctrl+Alt for single faces)."), - _("Drag to create an ellipse. Drag controls to make an arc or segment. Click to select."), - _("Drag to create a star. Drag controls to edit the star shape. Click to select."), - _("Drag to create a spiral. Drag controls to edit the spiral shape. Click to select."), - _("Drag to create a freehand line. Shift appends to selected path, Alt activates sketch mode."), - _("Click or click and drag to start a path; with Shift to append to selected path. Ctrl+click to create single dots (straight line modes only)."), - _("Drag to draw a calligraphic stroke; with Ctrl to track a guide path. Arrow keys adjust width (left/right) and angle (up/down)."), - _("Click to select or create text, drag to create flowed text; then type."), - _("Drag or double click to create a gradient on selected objects, drag handles to adjust gradients."), - _("Drag or double click to create a mesh on selected objects, drag handles to adjust meshes."), - _("Click or drag around an area to zoom in, Shift+click to zoom out."), - _("Drag to measure the dimensions of objects."), - _("Click to set fill, Shift+click to set stroke; drag to average color in area; with Alt to pick inverse color; Ctrl+C to copy the color under mouse to clipboard"), - _("Click and drag between shapes to create a connector."), - _("Click to paint a bounded area, Shift+click to union the new fill with the current selection, Ctrl+click to change the clicked object's fill and stroke to the current setting."), - _("Drag to erase."), - _("Choose a subtool from the toolbar"), + N_("Click to Select and Tranform objects, Drag to select many objects."), + N_("Modify selected path points (nodes) directly."), + N_("To tweak a path by pushing, select it and drag over it."), + N_("Drag, click or click and scroll to spray the selected objects."), + N_("Drag to create a rectangle. Drag controls to round corners and resize. Click to select."), + N_("Drag to create a 3D box. Drag controls to resize in perspective. Click to select (with Ctrl+Alt for single faces)."), + N_("Drag to create an ellipse. Drag controls to make an arc or segment. Click to select."), + N_("Drag to create a star. Drag controls to edit the star shape. Click to select."), + N_("Drag to create a spiral. Drag controls to edit the spiral shape. Click to select."), + N_("Drag to create a freehand line. Shift appends to selected path, Alt activates sketch mode."), + N_("Click or click and drag to start a path; with Shift to append to selected path. Ctrl+click to create single dots (straight line modes only)."), + N_("Drag to draw a calligraphic stroke; with Ctrl to track a guide path. Arrow keys adjust width (left/right) and angle (up/down)."), + N_("Click to select or create text, drag to create flowed text; then type."), + N_("Drag or double click to create a gradient on selected objects, drag handles to adjust gradients."), + N_("Drag or double click to create a mesh on selected objects, drag handles to adjust meshes."), + N_("Click or drag around an area to zoom in, Shift+click to zoom out."), + N_("Drag to measure the dimensions of objects."), + N_("Click to set fill, Shift+click to set stroke; drag to average color in area; with Alt to pick inverse color; Ctrl+C to copy the color under mouse to clipboard"), + N_("Click and drag between shapes to create a connector."), + N_("Click to paint a bounded area, Shift+click to union the new fill with the current selection, Ctrl+click to change the clicked object's fill and stroke to the current setting."), + N_("Drag to erase."), + N_("Choose a subtool from the toolbar"), }; static int @@ -152,7 +152,7 @@ tools_switch(SPDesktop *dt, int num) /* First 4 tools use guides, first is undefined but we don't care */ dt->activate_guides(num < 5); inkscape_eventcontext_set(dt->getEventContext()); - dt->tipsMessageContext()->set(Inkscape::NORMAL_MESSAGE, tool_msg[num] ); + dt->tipsMessageContext()->set(Inkscape::NORMAL_MESSAGE, gettext( tool_msg[num] ) ); } void tools_switch_by_item(SPDesktop *dt, SPItem *item, Geom::Point const p) -- cgit v1.2.3