pidgin.2.x.y: 0ba3afb8: Mark the "hold" and "mute" menu items fo...

markdoliner at pidgin.im markdoliner at pidgin.im
Sun Oct 30 21:25:41 EDT 2011


----------------------------------------------------------------------
Revision: 0ba3afb8adb303a77581a7872d674c600979a5a6
Parent:   8fb25fb2aa5ea501e127ca455dc40ba664998a24
Author:   markdoliner at pidgin.im
Date:     10/30/11 21:22:26
Branch:   im.pidgin.pidgin.2.x.y
URL: http://d.pidgin.im/viewmtn/revision/info/0ba3afb8adb303a77581a7872d674c600979a5a6

Changelog: 

Mark the "hold" and "mute" menu items for translation in the media dialog.

This patch (and the previous one) are both from Gabor Kelemen.

Changes against parent 8fb25fb2aa5ea501e127ca455dc40ba664998a24

  patched  pidgin/gtkmedia.c

-------------- next part --------------
============================================================
--- pidgin/gtkmedia.c	dc80609ada5239f165538b4f1cada0ae2a4029bd
+++ pidgin/gtkmedia.c	bac74b56aeaa0e4b77e66d8db67ebee98d66533a
@@ -789,7 +789,7 @@ pidgin_media_ready_cb(PurpleMedia *media
 
 		/* Hold button */
 		gtkmedia->priv->hold =
-				gtk_toggle_button_new_with_mnemonic("_Hold");
+				gtk_toggle_button_new_with_mnemonic(_("_Hold"));
 		gtk_box_pack_end(GTK_BOX(button_widget), gtkmedia->priv->hold,
 				FALSE, FALSE, 0);
 		gtk_widget_show(gtkmedia->priv->hold);
@@ -878,7 +878,7 @@ pidgin_media_ready_cb(PurpleMedia *media
 
 	if (type & PURPLE_MEDIA_SEND_AUDIO) {
 		gtkmedia->priv->mute =
-				gtk_toggle_button_new_with_mnemonic("_Mute");
+				gtk_toggle_button_new_with_mnemonic(_("_Mute"));
 		gtk_box_pack_end(GTK_BOX(button_widget), gtkmedia->priv->mute,
 				FALSE, FALSE, 0);
 		gtk_widget_show(gtkmedia->priv->mute);


More information about the Commits mailing list