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



commit 5ba7eaa5c70545d95b1abf9eca030d53d5bd144b
Author: Michael Natterer <mitch gimp org>
Date:   Fri Apr 18 21:42:08 2014 +0200

    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.

 app/tools/gimpforegroundselecttool.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/app/tools/gimpforegroundselecttool.c b/app/tools/gimpforegroundselecttool.c
index 5ef1688..dabe833 100644
--- a/app/tools/gimpforegroundselecttool.c
+++ b/app/tools/gimpforegroundselecttool.c
@@ -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);
     }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]