comparison pidgin/gtkaccount.c @ 16010:eae8e127e4fb

make things cleaner for translators
author Nathan Walp <nwalp@pidgin.im>
date Sat, 07 Apr 2007 22:46:39 +0000
parents d04878ce947b
children 07554cc5d090
comparison
equal deleted inserted replaced
16009:1bde57348057 16010:eae8e127e4fb
2125 GtkWidget *sw; 2125 GtkWidget *sw;
2126 GtkWidget *label; 2126 GtkWidget *label;
2127 GtkWidget *treeview; 2127 GtkWidget *treeview;
2128 GtkTreeSelection *sel; 2128 GtkTreeSelection *sel;
2129 GtkTargetEntry gte[] = {{"PURPLE_ACCOUNT", GTK_TARGET_SAME_APP, 0}}; 2129 GtkTargetEntry gte[] = {{"PURPLE_ACCOUNT", GTK_TARGET_SAME_APP, 0}};
2130 char *pretty; 2130 char *pretty, *tmp;
2131 2131
2132 frame = gtk_frame_new(NULL); 2132 frame = gtk_frame_new(NULL);
2133 gtk_frame_set_shadow_type(GTK_FRAME(frame), GTK_SHADOW_IN); 2133 gtk_frame_set_shadow_type(GTK_FRAME(frame), GTK_SHADOW_IN);
2134 2134
2135 accounts_window->notebook = gtk_notebook_new(); 2135 accounts_window->notebook = gtk_notebook_new();
2138 gtk_container_add(GTK_CONTAINER(frame), accounts_window->notebook); 2138 gtk_container_add(GTK_CONTAINER(frame), accounts_window->notebook);
2139 2139
2140 /* Create a helpful first-time-use label */ 2140 /* Create a helpful first-time-use label */
2141 label = gtk_label_new(NULL); 2141 label = gtk_label_new(NULL);
2142 /* Translators: Please maintain the use of -> or <- to represent the menu heirarchy */ 2142 /* Translators: Please maintain the use of -> or <- to represent the menu heirarchy */
2143 pretty = pidgin_make_pretty_arrows(_( 2143 tmp = g_strdup_printf(_(
2144 "<span size='larger' weight='bold'>Welcome to " PIDGIN_NAME "!</span>\n\n" 2144 "<span size='larger' weight='bold'>Welcome to %s!</span>\n\n"
2145 2145
2146 "You have no IM accounts configured. To start connecting with " PIDGIN_NAME " " 2146 "You have no IM accounts configured. To start connecting with %s "
2147 "press the <b>Add</b> button below and configure your first " 2147 "press the <b>Add</b> button below and configure your first "
2148 "account. If you want " PIDGIN_NAME " to connect to multiple IM accounts, " 2148 "account. If you want %s to connect to multiple IM accounts, "
2149 "press <b>Add</b> again to configure them all.\n\n" 2149 "press <b>Add</b> again to configure them all.\n\n"
2150 2150
2151 "You can come back to this window to add, edit, or remove " 2151 "You can come back to this window to add, edit, or remove "
2152 "accounts from <b>Accounts->Add/Edit</b> in the Buddy " 2152 "accounts from <b>Accounts->Add/Edit</b> in the Buddy "
2153 "List window")); 2153 "List window"), PIDGIN_NAME, PIDGIN_NAME, PIDGIN_NAME);
2154 pretty = pidgin_make_pretty_arrows(tmp);
2155 g_free(tmp);
2154 gtk_label_set_markup(GTK_LABEL(label), pretty); 2156 gtk_label_set_markup(GTK_LABEL(label), pretty);
2155 g_free(pretty); 2157 g_free(pretty);
2156 2158
2157 gtk_label_set_line_wrap(GTK_LABEL(label), TRUE); 2159 gtk_label_set_line_wrap(GTK_LABEL(label), TRUE);
2158 gtk_widget_show(label); 2160 gtk_widget_show(label);