Commit 13a2beb5 authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann

mark "Space" and "Backslash" for translation (using the same translation

2006-09-08  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpwidgets-utils.c: mark "Space" and "Backslash"
	for translation (using the same translation context as in GTK+).
parent ccb25e37
2006-09-08 Sven Neumann <sven@gimp.org>
* app/widgets/gimpwidgets-utils.c: mark "Space" and "Backslash"
for translation (using the same translation context as in GTK+).
2006-09-08 Hans Breuer <hans@breuer.org>
* **/makefile.msc app/gimpcore.def : updated
......@@ -5,7 +10,7 @@
* app/paint/gimpperspectiveclone.c : error C2057: expected constant
expression. Stack allocation of dynamic sized arrays is afaik a GCC
extension, use g_alloca() instead.
2006-09-08 Michael Natterer <mitch@gimp.org>
* app/tools/gimpperspectiveclonetool.c
......
......@@ -519,6 +519,8 @@ gimp_substitute_underscores (gchar *str)
*p = ' ';
}
/* pretty much straight copy of _gtk_accel_label_class_get_accelerator_label */
gchar *
gimp_get_accel_string (guint key,
GdkModifierType modifiers)
......@@ -542,10 +544,12 @@ gimp_get_accel_string (guint key,
switch (ch)
{
case ' ':
g_string_append (gstring, "Space");
/* do not translate the part before the | */
g_string_append (gstring, Q_("keyboard label|Space"));
break;
case '\\':
g_string_append (gstring, "Backslash");
/* do not translate the part before the | */
g_string_append (gstring, Q_("keyboard label|Backslash"));
break;
default:
g_string_append_unichar (gstring, g_unichar_toupper (ch));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment