From e1184dbf66d8d10bfc4ccc36c1295192521334dd Mon Sep 17 00:00:00 2001 From: "Carsten Haitzler (Rasterman)" Date: Sat, 20 Sep 2014 23:04:44 +0900 Subject: [PATCH] rage main - sety up localedir if nls etc. set. no nls yet - but std setup --- src/bin/main.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/bin/main.c b/src/bin/main.c index d23dcfd..2ef2e56 100644 --- a/src/bin/main.c +++ b/src/bin/main.c @@ -89,8 +89,11 @@ elm_main(int argc, char **argv) elm_policy_set(ELM_POLICY_QUIT, ELM_POLICY_QUIT_LAST_WINDOW_CLOSED); elm_app_compile_bin_dir_set(PACKAGE_BIN_DIR); - elm_app_compile_data_dir_set(PACKAGE_DATA_DIR); elm_app_compile_lib_dir_set(PACKAGE_LIB_DIR); + elm_app_compile_data_dir_set(PACKAGE_DATA_DIR); +#if HAVE_GETTEXT && ENABLE_NLS + elm_app_compile_locale_set(LOCALEDIR); +#endif elm_app_info_set(elm_main, "rage", "themes/default.edj"); #if (ELM_VERSION_MAJOR > 1) || (ELM_VERSION_MINOR >= 10)