suffix error with period
authorThomas Vander Stichele <thomas@apestaart.org>
Mon, 2 Feb 2004 17:29:30 +0000 (17:29 +0000)
committerThomas Vander Stichele <thomas@apestaart.org>
Mon, 2 Feb 2004 17:29:30 +0000 (17:29 +0000)
Original commit message from CVS:
suffix error with period

ChangeLog
docs/random/error
gst/gstelement.c

index 861bd4e..af2cae7 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2004-02-02  Thomas Vander Stichele  <thomas at apestaart dot org>
+
+       * gst/gstelement.c: (gst_element_default_error):
+          suffix error messages with period
+
 2004-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
 
        * gst/elements/gstfilesrc.c: (gst_filesrc_open_file):
index faf2a46..7dba910 100644 (file)
@@ -24,8 +24,8 @@ Some notes on the error handling introduced after 0.7.3
   - message is either NULL (to signal the standard error message for the
     given domain and code), or a printf-like set with the format being
     marked for translation.
-    The string should start with a capital and not end in a period
-    (FIXME: this is something we may want to change).
+    The string should start with a capital and end in a period so it forms
+    a complete sentence.
     The string can/should be shown to the user of an application.
   - debug is either NULL or a non-translated debug string, which can be used
     to diagnose errors after they've happened.
index 454cc1a..df23ec3 100644 (file)
@@ -236,7 +236,7 @@ gst_element_default_error (GObject *object, GstObject *source, GError *error, gc
 {
   gchar *name = gst_object_get_path_string (source);
 
-  g_print (_("ERROR: from element %s: %s.\n"), name, error->message);
+  g_print (_("ERROR: from element %s: %s\n"), name, error->message);
   if (debug)
     g_print (_("Additional debug info:\n%s\n"), debug);