Mercurial > pidgin
changeset 22398:b3dbd42c228c
merge of 'd1ef38716fb62522b4d8ce47ed39d9e34d2b2c77'
and 'f30db84d0b905aeecbbe516037ffdd572852b313'
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Sun, 02 Mar 2008 16:43:55 +0000 |
parents | 801116601a7b (current diff) 19f26913fe71 (diff) |
children | 46b86c4f2c4f |
files | |
diffstat | 2 files changed, 7 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/plugin.c Sat Mar 01 09:42:07 2008 +0000 +++ b/libpurple/plugin.c Sun Mar 02 16:43:55 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 Sat Mar 01 09:42:07 2008 +0000 +++ b/pidgin/gtkplugin.c Sun Mar 02 16:43:55 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);