changeset 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 4dee80352786
files src/layout_util.c src/menu.c
diffstat 2 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- 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);
--- 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