Commit 08ccd9ec authored by Martin Steghöfer's avatar Martin Steghöfer Committed by Thomas Daede

Use translations in oggdec

The "oggdec" executable uses the "_" (underscore) macro for
internationalization and has translations of the relevant strings
available in the .po files, but nevertheless outputs everything
in English. This was due to a lack of initialization of the
internationalization modules in that executable.

parent 2d544500
......@@ -16,6 +16,7 @@
#include <getopt.h>
#include <errno.h>
#include <string.h>
#include <locale.h>
#if defined(_WIN32) || defined(__EMX__) || defined(__WATCOMC__)
#include <fcntl.h>
......@@ -364,6 +365,10 @@ int main(int argc, char **argv)
int i;
setlocale(LC_ALL, "");
bindtextdomain(PACKAGE, LOCALEDIR);
if(argc == 1) {
return 1;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment