wacom: Add i18n support to calibrator test prog
This commit is contained in:
parent
f547c902b6
commit
0cd211cfda
1 changed files with 7 additions and 0 deletions
|
@ -21,10 +21,13 @@
|
|||
* THE SOFTWARE.
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <ctype.h>
|
||||
#include <string.h>
|
||||
#include <dirent.h>
|
||||
#include <glib/gi18n.h>
|
||||
|
||||
#include <X11/extensions/XInput.h>
|
||||
|
||||
|
@ -380,6 +383,10 @@ int main(int argc, char** argv)
|
|||
|
||||
struct Calib* calibrator = main_common(argc, argv);
|
||||
|
||||
bindtextdomain (GETTEXT_PACKAGE, GNOMELOCALEDIR);
|
||||
bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
|
||||
textdomain (GETTEXT_PACKAGE);
|
||||
|
||||
/* GTK setup */
|
||||
gtk_init(&argc, &argv);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue