pidgin/plugins/relnot.c

branch
release-2.1.0
changeset 18103
0b37f2f70dfb
parent 17538
a1ae88080722
child 18169
2d325551db9e
equal deleted inserted replaced
18102:9139e4655e6f 18103:0b37f2f70dfb
67 67
68 while(*changelog == '\n') changelog++; 68 while(*changelog == '\n') changelog++;
69 69
70 message = g_string_new(""); 70 message = g_string_new("");
71 g_string_append_printf(message, _("You are using %s version %s. The " 71 g_string_append_printf(message, _("You are using %s version %s. The "
72 "current version is %s.<hr>"), 72 "current version is %s. You can get it from "
73 "<a href=\"" PURPLE_WEBSITE "\">" PURPLE_WEBSITE "</a><hr>"),
73 PIDGIN_NAME, purple_core_get_version(), cur_ver); 74 PIDGIN_NAME, purple_core_get_version(), cur_ver);
74 75
75 if(*changelog) { 76 if(*changelog) {
76 formatted = purple_strdup_withhtml(changelog); 77 formatted = purple_strdup_withhtml(changelog);
77 g_string_append_printf(message, _("<b>ChangeLog:</b>\n%s<br><br>"), 78 g_string_append_printf(message, _("<b>ChangeLog:</b><br>%s"),
78 formatted); 79 formatted);
79 g_free(formatted); 80 g_free(formatted);
80 } 81 }
81
82 g_string_append_printf(message, _("You can get version %s from:<br>"
83 "<a href=\"http://pidgin.im/\">"
84 "http://pidgin.im</a>."), cur_ver);
85 82
86 purple_notify_formatted(NULL, _("New Version Available"), 83 purple_notify_formatted(NULL, _("New Version Available"),
87 _("New Version Available"), NULL, message->str, 84 _("New Version Available"), NULL, message->str,
88 NULL, NULL); 85 NULL, NULL);
89 86

mercurial