mark strings for translation and add translator comments for them.

2009-02-06  Sven Neumann  <sven@gimp.org>

	* app/actions/actions.c (action_select_property): mark strings 
for
	translation and add translator comments for them.


svn path=/trunk/; revision=27992
This commit is contained in:
Sven Neumann 2009-02-06 10:12:20 +00:00 committed by Sven Neumann
parent 2ca771ec55
commit 2c3e22e680
2 changed files with 13 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2009-02-06 Sven Neumann <sven@gimp.org>
* app/actions/actions.c (action_select_property): mark strings for
translation and add translator comments for them.
2009-02-06 Sven Neumann <sven@gimp.org>
* app/actions/actions.c: prototype action_message() with format

View File

@ -511,7 +511,10 @@ action_select_property (GimpActionSelectType select_type,
const gchar *blurb = g_param_spec_get_blurb (pspec);
if (blurb)
action_message (display, object, "%s: %.2f", blurb, value);
{
/* value description and new value shown in the status bar */
action_message (display, object, _("%s: %.2f"), blurb, value);
}
}
}
else if (G_IS_PARAM_SPEC_INT (pspec))
@ -534,7 +537,10 @@ action_select_property (GimpActionSelectType select_type,
const gchar *blurb = g_param_spec_get_blurb (pspec);
if (blurb)
action_message (display, object, "%s: %d", blurb, value);
{
/* value description and new value shown in the status bar */
action_message (display, object, _("%s: %d"), blurb, value);
}
}
}
else