im.pidgin.pidgin: 50da2976a7c558ef77a9e53ebd765a362c82bec0

markdoliner at pidgin.im markdoliner at pidgin.im
Sun Feb 3 06:45:50 EST 2008


-----------------------------------------------------------------
Revision: 50da2976a7c558ef77a9e53ebd765a362c82bec0
Ancestor: 378760c806bd36d89c3ef9e01d39e91924b128ff
Author: markdoliner at pidgin.im
Date: 2008-02-03T11:36:33
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/50da2976a7c558ef77a9e53ebd765a362c82bec0

Modified files:
        pidgin/gtklog.c

ChangeLog: 

Mark some strings for translation

-------------- next part --------------
============================================================
--- pidgin/gtklog.c	4d768fdac97ec90b4c0d0efbe86acc79dba1ad84
+++ pidgin/gtklog.c	0a03dc067e8e7fdb9b211c227745bda139ba017e
@@ -242,8 +242,8 @@ static void delete_log_cb(gpointer *data
 {
 	if (!purple_log_delete((PurpleLog *)data[2]))
 	{
-		purple_notify_error(NULL, NULL, "Log Deletion Failed",
-		                  "Check permissions and try again.");
+		purple_notify_error(NULL, NULL, _("Log Deletion Failed"),
+		                  _("Check permissions and try again."));
 	}
 	else
 	{
@@ -321,7 +321,7 @@ static void log_delete_log_cb(GtkWidget 
 	data2[0] = lv->treestore;
 	data2[1] = data[3]; /* iter */
 	data2[2] = log;
-	purple_request_action(lv, NULL, "Delete Log?", tmp, 0,
+	purple_request_action(lv, NULL, _("Delete Log?"), tmp, 0,
 						NULL, NULL, NULL,
 						data2, 2,
 						_("Delete"), delete_log_cb,
@@ -332,7 +332,7 @@ static void log_show_popup_menu(GtkWidge
 static void log_show_popup_menu(GtkWidget *treeview, GdkEventButton *event, gpointer *data)
 {
 	GtkWidget *menu = gtk_menu_new();
-	GtkWidget *menuitem = gtk_menu_item_new_with_label("Delete Log...");
+	GtkWidget *menuitem = gtk_menu_item_new_with_label(_("Delete Log..."));
 
 	if (!purple_log_is_deletable((PurpleLog *)data[1]))
 		gtk_widget_set_sensitive(menuitem, FALSE);


More information about the Commits mailing list