From 4ca60280083bf8d13863006f343d8d32d15a039d Mon Sep 17 00:00:00 2001 From: Daniel Kolesa Date: Tue, 11 Aug 2015 15:58:02 +0100 Subject: [PATCH] fix localization for real --- src/bin/ephoto.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/bin/ephoto.c b/src/bin/ephoto.c index add5ec6..a103e54 100644 --- a/src/bin/ephoto.c +++ b/src/bin/ephoto.c @@ -14,9 +14,11 @@ elm_main(int argc, char **argv) elm_need_efreet(); elm_need_ethumb(); elm_language_set(""); + elm_app_compile_data_dir_set(PACKAGE_DATA_DIR); + elm_app_info_set(elm_main, "ephoto", "themes/crop.edj"); #if HAVE_GETTEXT && ENABLE_NLS elm_app_compile_locale_set(LOCALEDIR); - bindtextdomain(PACKAGE, LOCALEDIR); + bindtextdomain(PACKAGE, elm_app_locale_dir_get()); bind_textdomain_codeset(PACKAGE, "UTF-8"); textdomain(PACKAGE); #endif