[gimp] app: don't use gimp_get_mod_reparator() for the source tool status
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: don't use gimp_get_mod_reparator() for the source tool status
- Date: Thu, 6 Oct 2011 22:35:16 +0000 (UTC)
commit 23dca3b52282baa3e273a45599395e5e95777a34
Author: Michael Natterer <mitch gimp org>
Date: Fri Oct 7 00:29:52 2011 +0200
app: don't use gimp_get_mod_reparator() for the source tool status
The new code is just as broken from an i18n point of view, but at
least looks right if translated right. Add translator comments to the
used strings in the clone and heal tools.
app/tools/gimpclonetool.c | 1 +
app/tools/gimphealtool.c | 1 +
app/tools/gimpsourcetool.c | 3 +--
3 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/app/tools/gimpclonetool.c b/app/tools/gimpclonetool.c
index 5f98001..5f91e00 100644
--- a/app/tools/gimpclonetool.c
+++ b/app/tools/gimpclonetool.c
@@ -86,6 +86,7 @@ gimp_clone_tool_init (GimpCloneTool *clone)
paint_tool->status_ctrl = _("%s to set a new clone source");
source_tool->status_paint = _("Click to clone");
+ /* Translators: the translation of "Click" must be the first word */
source_tool->status_set_source = _("Click to set a new clone source");
source_tool->status_set_source_ctrl = _("%s to set a new clone source");
}
diff --git a/app/tools/gimphealtool.c b/app/tools/gimphealtool.c
index fb5bb77..acdd92a 100644
--- a/app/tools/gimphealtool.c
+++ b/app/tools/gimphealtool.c
@@ -77,6 +77,7 @@ gimp_heal_tool_init (GimpHealTool *heal)
paint_tool->status_ctrl = _("%s to set a new heal source");
source_tool->status_paint = _("Click to heal");
+ /* Translators: the translation of "Click" must be the first word */
source_tool->status_set_source = _("Click to set a new heal source");
source_tool->status_set_source_ctrl = _("%s to set a new heal source");
}
diff --git a/app/tools/gimpsourcetool.c b/app/tools/gimpsourcetool.c
index 721c66b..6944ce7 100644
--- a/app/tools/gimpsourcetool.c
+++ b/app/tools/gimpsourcetool.c
@@ -324,9 +324,8 @@ gimp_source_tool_oper_update (GimpTool *tool,
}
else
{
- gimp_tool_replace_status (tool, display, "%s%s%s",
+ gimp_tool_replace_status (tool, display, "%s-%s",
gimp_get_mod_string (toggle_mask),
- gimp_get_mod_separator (),
source_tool->status_set_source);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]