changeset 22392:fa7ddf4b2e0a

merge of '2b67a6080c2cabe152977731157b424f9e83dd5c' and 'f25f4d846c906ec908881571d5279d50893652f0'
author Kevin Stange <kevin@simguy.net>
date Sun, 02 Mar 2008 22:35:56 +0000
parents ec1a551c11f0 (current diff) 46b86c4f2c4f (diff)
children dfe4a3e3336a
files
diffstat 2 files changed, 7 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/plugin.c	Sun Mar 02 20:09:54 2008 +0000
+++ b/libpurple/plugin.c	Sun Mar 02 22:35:56 2008 +0000
@@ -924,7 +924,7 @@
 	g_return_val_if_fail(plugin, NULL);
 	g_return_val_if_fail(plugin->info, NULL);
 
-	return plugin->info->name;
+	return _(plugin->info->name);
 }
 
 const gchar *
@@ -940,7 +940,7 @@
 	g_return_val_if_fail(plugin, NULL);
 	g_return_val_if_fail(plugin->info, NULL);
 
-	return plugin->info->summary;
+	return _(plugin->info->summary);
 }
 
 const gchar *
@@ -948,7 +948,7 @@
 	g_return_val_if_fail(plugin, NULL);
 	g_return_val_if_fail(plugin->info, NULL);
 
-	return plugin->info->description;
+	return _(plugin->info->description);
 }
 
 const gchar *
@@ -956,7 +956,7 @@
 	g_return_val_if_fail(plugin, NULL);
 	g_return_val_if_fail(plugin->info, NULL);
 
-	return plugin->info->author;
+	return _(plugin->info->author);
 }
 
 const gchar *
--- a/pidgin/gtkplugin.c	Sun Mar 02 20:09:54 2008 +0000
+++ b/pidgin/gtkplugin.c	Sun Mar 02 22:35:56 2008 +0000
@@ -559,10 +559,10 @@
 
 	gtk_tree_model_get(model, &iter, 2, &plugin, -1);
 
-	markup = g_strdup_printf("<span size='x-large' weight='bold'>%s</span>\n<b>Description:</b> %s\n<b>Author:</b> %s",
+	markup = g_strdup_printf("<span size='x-large' weight='bold'>%s</span>\n<b>%s:</b> %s\n<b>%s:</b> %s",
 			name = g_markup_escape_text(purple_plugin_get_name(plugin), -1),
-			desc = g_markup_escape_text(purple_plugin_get_description(plugin), -1),
-			author = g_markup_escape_text(purple_plugin_get_author(plugin), -1));
+			_("Description"), desc = g_markup_escape_text(purple_plugin_get_description(plugin), -1),
+			_("Author"), author = g_markup_escape_text(purple_plugin_get_author(plugin), -1));
 
 	layout = gtk_widget_create_pango_layout(tipwindow, NULL);
 	pango_layout_set_markup(layout, markup, -1);