mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-18 04:05:34 +00:00
parse: fix erroneous use of _("")
Fixes xgettext warnings when doing 'make update-po': gst/parse/grammar.y:217: warning: Empty msgid. It is reserved by GNU gettext: gettext("") returns the header entry with meta information, not the empty string.
This commit is contained in:
parent
9429a7b932
commit
f7391936ce
1 changed files with 2 additions and 2 deletions
|
@ -214,12 +214,12 @@ static void add_missing_element(graph_t *graph,gchar *name){
|
|||
#define TRY_SETUP_LINK(l) G_STMT_START { \
|
||||
if( (!(l)->src.element) && (!(l)->src.name) ){ \
|
||||
SET_ERROR (graph->error, GST_PARSE_ERROR_LINK, _("link has no source [sink=%s@%p]"), \
|
||||
(l)->sink.name ? (l)->sink.name : _(""), \
|
||||
(l)->sink.name ? (l)->sink.name : "", \
|
||||
(l)->sink.element); \
|
||||
gst_parse_free_link (l); \
|
||||
}else if( (!(l)->sink.element) && (!(l)->sink.name) ){ \
|
||||
SET_ERROR (graph->error, GST_PARSE_ERROR_LINK, _("link has no sink [source=%s@%p]"), \
|
||||
(l)->src.name ? (l)->src.name :_(""), \
|
||||
(l)->src.name ? (l)->src.name : "", \
|
||||
(l)->src.element); \
|
||||
gst_parse_free_link (l); \
|
||||
}else{ \
|
||||
|
|
Loading…
Reference in a new issue