q66 pushed a commit to branch master.

http://git.enlightenment.org/apps/ephoto.git/commit/?id=4ca60280083bf8d13863006f343d8d32d15a039d

commit 4ca60280083bf8d13863006f343d8d32d15a039d
Author: Daniel Kolesa <d.kol...@osg.samsung.com>
Date:   Tue Aug 11 15:58:02 2015 +0100

    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

-- 


Reply via email to