seoz pushed a commit to branch master. http://git.enlightenment.org/tools/elm-theme-viewer.git/commit/?id=ba853f12275707b2de429b6a66f423576653527b
commit ba853f12275707b2de429b6a66f423576653527b Author: Daniel Juyung Seo <[email protected]> Date: Fri Aug 29 11:42:54 2014 +0900 main: base for the multi language support. --- src/bin/main.c | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/bin/main.c b/src/bin/main.c index 2b466e8..7778faa 100644 --- a/src/bin/main.c +++ b/src/bin/main.c @@ -33,8 +33,8 @@ static const Ecore_Getopt options = { } }; -EAPI_MAIN int -elm_main(int argc, char **argv) +int +main(int argc, char **argv) { const char *edje_file = NULL; int gui_init_ret = 0; @@ -64,11 +64,14 @@ elm_main(int argc, char **argv) ECORE_GETOPT_VALUE_NONE }; - //setlocale(LC_ALL, ""); + // for the future support for multi languages + setlocale(LC_ALL, ""); + + elm_init(argc, argv); elm_app_compile_bin_dir_set(PACKAGE_BIN_DIR); elm_app_compile_data_dir_set(PACKAGE_DATA_DIR); - elm_app_info_set(elm_main, "elm-theme-viewer", "images/logo.png"); + elm_app_info_set(main, "elm-theme-viewer", "images/logo.png"); log_init(); @@ -148,4 +151,3 @@ end: return 0; } -ELM_MAIN() --
