mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 10:11:08 +00:00
curl: Add i18n
This commit is contained in:
parent
d4bf5aeae9
commit
69d794b004
2 changed files with 10 additions and 0 deletions
|
@ -20,6 +20,8 @@
|
|||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#include <gst/gst-i18n-plugin.h>
|
||||
|
||||
#include "gstcurlbasesink.h"
|
||||
#include "gstcurltlssink.h"
|
||||
#include "gstcurlhttpsink.h"
|
||||
|
@ -34,6 +36,12 @@
|
|||
static gboolean
|
||||
plugin_init (GstPlugin * plugin)
|
||||
{
|
||||
#ifdef ENABLE_NLS
|
||||
GST_DEBUG ("binding text domain %s to locale dir %s", GETTEXT_PACKAGE,
|
||||
LOCALEDIR);
|
||||
bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR);
|
||||
bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
|
||||
#endif /* ENABLE_NLS */
|
||||
|
||||
if (!gst_element_register (plugin, "curlhttpsink", GST_RANK_NONE,
|
||||
GST_TYPE_CURL_HTTP_SINK))
|
||||
|
|
|
@ -77,6 +77,8 @@
|
|||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#include <gst/gst-i18n-plugin.h>
|
||||
|
||||
#include "gstcurlhttpsrc.h"
|
||||
#include "gstcurlqueue.h"
|
||||
#include "gstcurldefaults.h"
|
||||
|
|
Loading…
Reference in a new issue