File: nls.c

package info (click to toggle)
ms-sys 2.1.0-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 328 kB
  • ctags: 125
  • sloc: ansic: 1,753; makefile: 125
file content (12 lines) | stat: -rw-r--r-- 210 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
#include <locale.h>

#include "nls.h"

void nls_init(void)
{   
#ifndef NO_LIBINTL_OR_GETTEXT
   setlocale (LC_ALL, "");
   bindtextdomain (PACKAGE, LOCALEDIR);
   textdomain (PACKAGE);
#endif
} /* nls_init */