diff options
author | Bastien Nocera <hadess@hadess.net> | 2015-01-13 21:39:39 +0100 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2015-01-13 21:39:39 +0100 |
commit | e6c93469ed1cc758cc3300cd06a4b0756c446daf (patch) | |
tree | 6bc5d134bfae0c9a721d411ff0eb7ebfa31ea98d /src/totem-video-thumbnailer.c | |
parent | 751c1daa0c5bdd24e0ed67f2b235c46f2f1c1956 (diff) | |
download | totem-e6c93469ed1cc758cc3300cd06a4b0756c446daf.tar.gz |
thumbnailer: Fix missing translation support
https://bugzilla.gnome.org/show_bug.cgi?id=742881
Diffstat (limited to 'src/totem-video-thumbnailer.c')
-rw-r--r-- | src/totem-video-thumbnailer.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/totem-video-thumbnailer.c b/src/totem-video-thumbnailer.c index 663317814..5feea07e9 100644 --- a/src/totem-video-thumbnailer.c +++ b/src/totem-video-thumbnailer.c @@ -36,6 +36,7 @@ #include <gdk/gdk.h> #include <totem-pl-parser.h> +#include <locale.h> #include <errno.h> #include <unistd.h> #include <string.h> @@ -891,6 +892,11 @@ int main (int argc, char *argv[]) const char *input, *output; ThumbApp app; + setlocale (LC_ALL, ""); + bindtextdomain (GETTEXT_PACKAGE, GNOMELOCALEDIR); + bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8"); + textdomain (GETTEXT_PACKAGE); + context = g_option_context_new ("Thumbnail movies"); options = gst_init_get_option_group (); g_option_context_add_main_entries (context, entries, GETTEXT_PACKAGE); |