# HG changeset patch # User zas_ # Date 1209861125 0 # Node ID 6867a444839c4edc76865ccc5f5b505165ce47d3 # Parent 0da87187d5fb2db2c1c6aafdeb5b0d746e0464a4 Shorten Edit menu labels, dropping "in ". It will ease translations too, and user can define its own label in Preferences. diff -r 0da87187d5fb -r 6867a444839c src/layout_util.c --- a/src/layout_util.c Sun May 04 00:21:14 2008 +0000 +++ b/src/layout_util.c Sun May 04 00:32:05 2008 +0000 @@ -875,11 +875,11 @@ if (options->editor_name[i] && strlen(options->editor_name[i]) > 0) { - text = g_strdup_printf(_("_%d in %s..."), i, options->editor_name[i]); + text = g_strdup_printf(_("_%d %s..."), i, options->editor_name[i]); } else { - text = g_strdup_printf(_("_%d in (unknown)..."), i); + text = g_strdup_printf(_("_%d (unknown)..."), i); } g_object_set(action, "label", text, "sensitive", TRUE, NULL); diff -r 0da87187d5fb -r 6867a444839c src/menu.c --- a/src/menu.c Sun May 04 00:21:14 2008 +0000 +++ b/src/menu.c Sun May 04 00:32:05 2008 +0000 @@ -73,9 +73,9 @@ { gchar *text; if (options->editor_name[i] && strlen(options->editor_name[i]) > 0) - text = g_strdup_printf(_("_%d in %s..."), i, options->editor_name[i]); + text = g_strdup_printf(_("_%d %s..."), i, options->editor_name[i]); else - text = g_strdup_printf(_("_%d in (unknown)..."), i); + text = g_strdup_printf(_("_%d (unknown)..."), i); if (accel_grp) add_menu_item(menu, text, accel_grp, i + 49, GDK_CONTROL_MASK, func, GINT_TO_POINTER(i)); else