changeset 32341:15e80ced77a2

Mark the "hold" and "mute" menu items for translation in the media dialog. This patch (and the previous one) are both from Gabor Kelemen.
author Mark Doliner <mark@kingant.net>
date Mon, 31 Oct 2011 01:22:26 +0000
parents f21518a8f3b8
children 064eb5d78946 00ea5f8ef509
files pidgin/gtkmedia.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin/gtkmedia.c	Mon Oct 31 01:20:22 2011 +0000
+++ b/pidgin/gtkmedia.c	Mon Oct 31 01:22:26 2011 +0000
@@ -789,7 +789,7 @@
 
 		/* 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 @@
 
 	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);