Enlightenment CVS committal Author : titan Project : e17 Module : proto
Dir : e17/proto/ephoto/src/bin Modified Files: ephoto.c Log Message: Fix NLS =================================================================== RCS file: /cvs/e/e17/proto/ephoto/src/bin/ephoto.c,v retrieving revision 1.3 retrieving revision 1.4 diff -u -3 -r1.3 -r1.4 --- ephoto.c 2 Dec 2006 19:33:31 -0000 1.3 +++ ephoto.c 4 Dec 2006 23:13:35 -0000 1.4 @@ -8,6 +8,13 @@ return 1; } + /* NLS */ +#ifdef ENABLE_NSL + setlocale(LC_MESSAGES, ""); + bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR); + bind_textdomain_codeset(PACKAGE, "UTF-8"); + textdomain(PACKAGE); +#endif //ewl_theme_theme_set(PACKAGE_DATA_DIR "/themes/ephoto.edj"); init_gui(); ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs