changeset 32543:f233e05b97e6

Update HTML in Translator Information dialog.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Thu, 23 Feb 2012 05:41:16 +0000
parents b824530a8b7b
children 130f0c87a85d
files pidgin/gtkdialogs.c
diffstat 1 files changed, 6 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin/gtkdialogs.c	Thu Feb 23 05:35:11 2012 +0000
+++ b/pidgin/gtkdialogs.c	Thu Feb 23 05:41:16 2012 +0000
@@ -349,13 +349,13 @@
 {
 	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 @@
 	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);