pnmixer
Volume mixer for the system tray
support-intl.c
Go to the documentation of this file.
1 /* support-intl.c
2  * PNmixer is written by Nick Lanham, a fork of OBmixer
3  * which was programmed by Lee Ferrett, derived
4  * from the program "AbsVolume" by Paul Sherman
5  * This program is free software; you can redistribute
6  * it and/or modify it under the terms of the GNU General
7  * Public License v3. source code is available at
8  * <http://github.com/nicklan/pnmixer>
9  */
10 
17 #ifdef HAVE_CONFIG_H
18 #include "config.h"
19 #endif
20 
21 #include <stdlib.h>
22 #include <locale.h>
23 
24 #include "support-intl.h"
25 
26 void
27 intl_init(void)
28 {
29  setlocale(LC_ALL, "");
30 
31 #ifdef ENABLE_NLS
32  bindtextdomain(GETTEXT_PACKAGE, PACKAGE_LOCALE_DIR);
33  bind_textdomain_codeset(GETTEXT_PACKAGE, "UTF-8");
34  textdomain(GETTEXT_PACKAGE);
35 #endif
36 }
Internationalization support.
#define textdomain(String)
Definition: support-intl.h:39
void intl_init(void)
Definition: support-intl.c:27
#define bindtextdomain(Domain, Directory)
Definition: support-intl.h:43