app: FG select: remove trailing space from the "status_mode" message

such formatting should not be done intranslatable strings, instead
add the space between the two messages when putting them together
using an untranslatable format string.
This commit is contained in:
Michael Natterer 2014-04-18 21:42:08 +02:00
parent 667f4e2d3a
commit 5ba7eaa5c7
1 changed files with 4 additions and 4 deletions

View File

@ -367,11 +367,11 @@ gimp_foreground_select_tool_oper_update (GimpTool *tool,
gimp_draw_tool_resume (draw_tool);
if (options->draw_mode == GIMP_MATTING_DRAW_MODE_FOREGROUND)
status_mode = _("Selecting foreground, ");
status_mode = _("Selecting foreground,");
else if (options->draw_mode == GIMP_MATTING_DRAW_MODE_BACKGROUND)
status_mode = _("Selecting background, ");
status_mode = _("Selecting background,");
else
status_mode = _("Selecting unknown, ");
status_mode = _("Selecting unknown,");
if (fg_select->state == MATTING_STATE_PAINT_TRIMAP)
status_stage = _("press Enter to preview.");
@ -382,7 +382,7 @@ gimp_foreground_select_tool_oper_update (GimpTool *tool,
if (proximity && status_stage)
{
if (status_mode)
gimp_tool_replace_status (tool, display, "%s%s", status_mode, status_stage);
gimp_tool_replace_status (tool, display, "%s %s", status_mode, status_stage);
else
gimp_tool_replace_status (tool, display, "%s", status_stage);
}