diff pidgin/gtkblist.c @ 16010:eae8e127e4fb

make things cleaner for translators
author Nathan Walp <nwalp@pidgin.im>
date Sat, 07 Apr 2007 22:46:39 +0000
parents d64602bb59d2
children 07554cc5d090
line wrap: on
line diff
--- a/pidgin/gtkblist.c	Sat Apr 07 19:48:38 2007 +0000
+++ b/pidgin/gtkblist.c	Sat Apr 07 22:46:39 2007 +0000
@@ -4107,7 +4107,7 @@
 	GtkWidget *sep;
 	GtkWidget *label;
 	GList *accounts;
-	char *pretty;
+	char *pretty, *tmp;
 	GtkAccelGroup *accel_group;
 	GtkTreeSelection *selection;
 	GtkTargetEntry dte[] = {{"PURPLE_BLIST_NODE", GTK_TARGET_SAME_APP, DRAG_ROW},
@@ -4180,12 +4180,14 @@
 #endif
 
 	/* Translators: Please maintain the use of -> and <- to refer to menu heirarchy */
-	pretty = pidgin_make_pretty_arrows(_("<span weight='bold' size='larger'>Welcome to " PIDGIN_NAME "!</span>\n\n"
+	tmp = g_strdup_printf(_("<span weight='bold' size='larger'>Welcome to %s!</span>\n\n"
 
 					       "You have no accounts enabled. Enable your IM accounts from the "
 					       "<b>Accounts</b> window at <b>Accounts->Add/Edit</b>. Once you "
 					       "enable accounts, you'll be able to sign on, set your status, "
-					       "and talk to your friends."));
+					       "and talk to your friends."), PIDGIN_NAME);
+	pretty = pidgin_make_pretty_arrows(tmp);
+	g_free(tmp);
 	label = gtk_label_new(NULL);
 	gtk_widget_set_size_request(label, purple_prefs_get_int("/purple/gtk/blist/width") - 12, -1);
 	gtk_label_set_line_wrap(GTK_LABEL(label), TRUE);