pidgin: bf06a214: Update HTML in Translator Information di...
qulogic at pidgin.im
qulogic at pidgin.im
Thu Feb 23 04:06:28 EST 2012
----------------------------------------------------------------------
Revision: bf06a214451f7816a36e0dbb431dc7a5cfcf279d
Parent: 6ed841c1a79190262c818b9b0c279a004441ccf0
Author: qulogic at pidgin.im
Date: 02/23/12 00:41:16
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/bf06a214451f7816a36e0dbb431dc7a5cfcf279d
Changelog:
Update HTML in Translator Information dialog.
Changes against parent 6ed841c1a79190262c818b9b0c279a004441ccf0
patched pidgin/gtkdialogs.c
-------------- next part --------------
============================================================
--- pidgin/gtkdialogs.c dd56a763ec162b3d6643878e28bf8959e6567f82
+++ pidgin/gtkdialogs.c b23c3346104b141ac48f1d3488a9f03c57770109
@@ -349,13 +349,13 @@ add_translators(GString *str, const stru
{
for (; list->language != NULL; list++) {
if (list->email != NULL) {
- g_string_append_printf(str, " <b>%s (%s)</b> - <a href=\"mailto:%s\">%s</a><br/>",
+ g_string_append_printf(str, "<dt>%s (%s)</dt><dd><a href=\"mailto:%s\">%s</a></dd>",
_(list->language),
list->abbr,
list->email,
_(list->name));
} else {
- g_string_append_printf(str, " <b>%s (%s)</b> - %s<br/>",
+ g_string_append_printf(str, "<dt>%s (%s)</dt><dd>%s</dd>",
_(list->language),
list->abbr,
_(list->name));
@@ -780,15 +780,16 @@ void pidgin_dialogs_translators(void)
str = g_string_sized_new(4096);
/* Current Translators */
- g_string_append_printf(str, "<FONT SIZE=\"4\">%s:</FONT><BR/>",
+ g_string_append_printf(str, "<h3>%s</h3><dl>",
_("Current Translators"));
add_translators(str, translators);
- g_string_append(str, "<BR/>");
+ g_string_append(str, "</dl>");
/* Past Translators */
- g_string_append_printf(str, "<FONT SIZE=\"4\">%s:</FONT><BR/>",
+ g_string_append_printf(str, "<h3>%s:</h3><dl>",
_("Past Translators"));
add_translators(str, past_translators);
+ g_string_append(str, "</dl>");
tmp = g_strdup_printf(_("%s Translator Information"), PIDGIN_NAME);
translator_info = pidgin_build_help_dialog(tmp, "translator_info", str);
More information about the Commits
mailing list