? write-in-english-2.diff
? write-in-english.diff
? po/stamp-it
Index: src/bug-buddy.c
===================================================================
RCS file: /cvs/gnome/bug-buddy/src/bug-buddy.c,v
retrieving revision 1.140
diff -u -p -r1.140 bug-buddy.c
--- src/bug-buddy.c	25 Oct 2006 23:36:31 -0000	1.140
+++ src/bug-buddy.c	7 Nov 2006 13:37:16 -0000
@@ -784,22 +784,31 @@ known_app_finished (GladeXML *xml)
 {
 	GtkWidget *email_entry;
 	char *default_email;
+	char *lang_note, *label_text;
 	
 	gtk_widget_show (glade_xml_get_widget (xml, "final-box"));
 	gtk_widget_show (glade_xml_get_widget (xml, "send-button"));
 	gtk_widget_hide (glade_xml_get_widget (xml, "progressbar"));
 	gtk_statusbar_pop (GTK_STATUSBAR (glade_xml_get_widget (xml, "statusbar")), DEBUGGING);
 
+	lang_note = g_strdup (_("\nPlease write your report in English, if possible.\n"));
 
+	label_text = g_strconcat (_("The information about the crash has been successfully collected. "
+				    "Please provide some background about what you were doing when "
+				    "the application crashed.\n\n"
+				    "A valid email address is required.  This will allow developers to "
+				    "contact you for more information if necessary.\n\n" 
+				    "Sensitive data may be present in the debug information, so please "
+				    "review details below if you are concerned about transmitting "
+				    "passwords or other sensitive data.\n"), 
+				  strcmp (lang_note, "\nPlease write your report in English, if possible.\n")? lang_note : NULL, 
+				  NULL);
+	
 	gtk_label_set_text (GTK_LABEL (glade_xml_get_widget (xml, "main-text")),
-			    _("The information about the crash has been successfully collected. "
-			      "Please provide some background about what you were doing when "
-			      "the application crashed.\n\n"
-			      "A valid email address is required.  This will allow developers to "
-			      "contact you for more information if necessary.\n\n" 
-			      "Sensitive data may be present in the debug information, so please "
-			      "review details below if you are concerned about transmitting "
-	                      "passwords or other sensitive data.\n"));
+			    label_text);
+	
+	g_free (label_text);
+	g_free (lang_note);
 
 	show_pending_checkbox_if_pending (xml);
 	
@@ -1209,6 +1218,7 @@ main (int argc, char *argv[])
 		/* No binary file, so this is a non-crashing bug. Look the application from the --package arg */
 		GtkWidget *email_entry;
 		char *default_email;
+		char *msg, *lang_note;
 		
 		app = g_hash_table_find (apps, bugzilla_search_for_package, gopt_data.package);
 		if (app == NULL) {
@@ -1220,12 +1230,19 @@ main (int argc, char *argv[])
 		                     	     gopt_data.package);
 			return 0;
 		}
-		s = g_markup_printf_escaped (_("Thank you for helping us improving our software.\n"
-				               "Please fill your suggestions/error information for %s application.\n"),
-                                              	app->name);
+
+		lang_note = g_strdup (_("\nPlease write your report in English, if possible.\n"));
+		msg = g_strconcat (_("Thank you for helping us improving our software.\n"
+				     "Please fill your suggestions/error information for %s application.\n"),
+				   strcmp (lang_note, "\nPlease write your report in English, if possible.\n")? lang_note: NULL, 
+				   NULL);
+
+		s = g_markup_printf_escaped (msg, app->name);
 		gtk_label_set_text (GTK_LABEL (glade_xml_get_widget (xml, "main-text")), s);
 		g_free (s);
-		
+		g_free (lang_note);
+		g_free (msg);
+
 		g_object_set_data (G_OBJECT (xml), "app", app);
 	
 		if (app->pixbuf)
