comparison src/menu.c @ 571:6867a444839c

Shorten Edit menu labels, dropping "in ". It will ease translations too, and user can define its own label in Preferences.
author zas_
date Sun, 04 May 2008 00:32:05 +0000
parents 0da87187d5fb
children 905688aa2317
comparison
equal deleted inserted replaced
570:0da87187d5fb 571:6867a444839c
71 { 71 {
72 if (options->editor_command[i] && strlen(options->editor_command[i]) > 0) 72 if (options->editor_command[i] && strlen(options->editor_command[i]) > 0)
73 { 73 {
74 gchar *text; 74 gchar *text;
75 if (options->editor_name[i] && strlen(options->editor_name[i]) > 0) 75 if (options->editor_name[i] && strlen(options->editor_name[i]) > 0)
76 text = g_strdup_printf(_("_%d in %s..."), i, options->editor_name[i]); 76 text = g_strdup_printf(_("_%d %s..."), i, options->editor_name[i]);
77 else 77 else
78 text = g_strdup_printf(_("_%d in (unknown)..."), i); 78 text = g_strdup_printf(_("_%d (unknown)..."), i);
79 if (accel_grp) 79 if (accel_grp)
80 add_menu_item(menu, text, accel_grp, i + 49, GDK_CONTROL_MASK, func, GINT_TO_POINTER(i)); 80 add_menu_item(menu, text, accel_grp, i + 49, GDK_CONTROL_MASK, func, GINT_TO_POINTER(i));
81 else 81 else
82 menu_item_add(menu, text, func, GINT_TO_POINTER(i)); 82 menu_item_add(menu, text, func, GINT_TO_POINTER(i));
83 g_free(text); 83 g_free(text);