fix localization for real

This commit is contained in:
Daniel Kolesa 2015-08-11 15:58:02 +01:00
parent 5dba2e5034
commit 4ca6028008
1 changed files with 3 additions and 1 deletions

View File

@ -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