mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-10 11:29:55 +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>
|
2004-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||||
|
|
||||||
* gst/elements/gstfilesrc.c: (gst_filesrc_open_file):
|
* 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
|
- 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
|
given domain and code), or a printf-like set with the format being
|
||||||
marked for translation.
|
marked for translation.
|
||||||
The string should start with a capital and not end in a period
|
The string should start with a capital and end in a period so it forms
|
||||||
(FIXME: this is something we may want to change).
|
a complete sentence.
|
||||||
The string can/should be shown to the user of an application.
|
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
|
- debug is either NULL or a non-translated debug string, which can be used
|
||||||
to diagnose errors after they've happened.
|
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);
|
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)
|
if (debug)
|
||||||
g_print (_("Additional debug info:\n%s\n"), debug);
|
g_print (_("Additional debug info:\n%s\n"), debug);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue