NLS: on Windows, we need to include libintl.h so that NLS functions and macros are declared
Test Plan: compilation Reviewers: Hermet, raster Differential Revision: https://phab.enlightenment.org/D12301
This commit is contained in:
parent
1d4957aa8b
commit
2f8b1063b4
|
@ -2,6 +2,10 @@
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef ENABLE_NLS
|
||||||
|
# include <libintl.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <Ecore_Getopt.h>
|
#include <Ecore_Getopt.h>
|
||||||
#include <Eio.h>
|
#include <Eio.h>
|
||||||
#include "common.h"
|
#include "common.h"
|
||||||
|
@ -1092,8 +1096,8 @@ init(app_data *ad, int argc, char **argv)
|
||||||
{
|
{
|
||||||
#ifdef ENABLE_NLS
|
#ifdef ENABLE_NLS
|
||||||
setlocale(LC_ALL, "");
|
setlocale(LC_ALL, "");
|
||||||
bindtextdomain(PACKAGE, LOCALE_DIR);
|
bindtextdomain(PACKAGE_NAME, LOCALE_DIR);
|
||||||
textdomain(PACKAGE);
|
textdomain(PACKAGE_NAME);
|
||||||
#endif /* set locale */
|
#endif /* set locale */
|
||||||
|
|
||||||
elm_setup();
|
elm_setup();
|
||||||
|
|
Loading…
Reference in New Issue