mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-22 17:51:16 +00:00
suffix error with period
Original commit message from CVS: suffix error with period
This commit is contained in:
parent
6c3d92e603
commit
031bcfd561
3 changed files with 8 additions and 3 deletions
|
@ -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):
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue