comparison src/layout_util.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 fd51eac09ead
children 905688aa2317
comparison
equal deleted inserted replaced
570:0da87187d5fb 571:6867a444839c
873 { 873 {
874 gchar *text; 874 gchar *text;
875 875
876 if (options->editor_name[i] && strlen(options->editor_name[i]) > 0) 876 if (options->editor_name[i] && strlen(options->editor_name[i]) > 0)
877 { 877 {
878 text = g_strdup_printf(_("_%d in %s..."), i, options->editor_name[i]); 878 text = g_strdup_printf(_("_%d %s..."), i, options->editor_name[i]);
879 } 879 }
880 else 880 else
881 { 881 {
882 text = g_strdup_printf(_("_%d in (unknown)..."), i); 882 text = g_strdup_printf(_("_%d (unknown)..."), i);
883 } 883 }
884 g_object_set(action, "label", text, 884 g_object_set(action, "label", text,
885 "sensitive", TRUE, NULL); 885 "sensitive", TRUE, NULL);
886 g_free(text); 886 g_free(text);
887 } 887 }