Enlightenment CVS committal Author : englebass Project : e17 Module : apps/e
Dir : e17/apps/e/src/bin Modified Files: e_intl.h Log Message: Create a define which can be used to wrap internal E stuff. This works as the define is created in config.h which isn't exported. This will break modules which still uses _() to wrap NLS strings. It is an error that they use it as modules strings wont be defined in E's domain. Modules should use D_() and define it to lock up strings in their own domain. =================================================================== RCS file: /cvs/e/e17/apps/e/src/bin/e_intl.h,v retrieving revision 1.20 retrieving revision 1.21 diff -u -3 -r1.20 -r1.21 --- e_intl.h 25 Sep 2007 14:26:36 -0000 1.20 +++ e_intl.h 10 Jan 2008 07:43:01 -0000 1.21 @@ -3,8 +3,10 @@ */ #ifdef E_TYPEDEFS +#if E_INTERNAL #define _(str) gettext(str) #define d_(str, dom) dgettext(PACKAGE dom, str) +#endif /* This macro is used to just mark string for translation, this is useful * for string lists which are not dynamically allocated ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs