Code

* Translatable context menu on the colours palette, patch by Marcin Floryan (closes...
authorluca_bruno <luca_bruno@users.sourceforge.net>
Thu, 14 Feb 2008 11:14:48 +0000 (11:14 +0000)
committerluca_bruno <luca_bruno@users.sourceforge.net>
Thu, 14 Feb 2008 11:14:48 +0000 (11:14 +0000)
src/dialogs/swatches.cpp

index e4cf9e9265f7f51b8f190fc862b86d543bd5a72b..52178e53a7f356f256ab4d1cfe1f3a23651dc5ef 100644 (file)
@@ -265,14 +265,16 @@ static gboolean handleButtonPress( GtkWidget* widget, GdkEventButton* event, gpo
             popupMenu = gtk_menu_new();
             GtkWidget* child = 0;
 
-            child = gtk_menu_item_new_with_label("Set fill");
+            //TRANSLATORS: An item in context menu on a colour in the swatches
+            child = gtk_menu_item_new_with_label(_("Set fill"));
             g_signal_connect( G_OBJECT(child),
                               "activate",
                               G_CALLBACK(redirClick),
                               user_data);
             gtk_menu_shell_append(GTK_MENU_SHELL(popupMenu), child);
 
-            child = gtk_menu_item_new_with_label("Set stroke");
+            //TRANSLATORS: An item in context menu on a colour in the swatches
+            child = gtk_menu_item_new_with_label(_("Set stroke"));
 
             g_signal_connect( G_OBJECT(child),
                               "activate",