As it is now, e_intl.h exports '_('. This isn't good, as '_(' isn't
usable in external modules. It should be hidden somehow to force a
compile error.
Sebastian
Brian 'morlenxus' Miculcy wrote:
> Ah, thanks. :)
>
> On Tue, Nov 20, 2007 at 06:08:10AM -0500, Enlightenment CVS wrote:
>> Enlightenment CVS committal
>>
>> Author : englebass
>> Project : e_modules
>> Module : calendar
>>
>> Dir : e_modules/calendar
>>
>>
>> Modified Files:
>> e_mod_main.c
>>
>>
>> Log Message:
>> Use D_ to mark translateable messages in module.
>>
>> ===================================================================
>> RCS file: /cvs/e/e_modules/calendar/e_mod_main.c,v
>> retrieving revision 1.11
>> retrieving revision 1.12
>> diff -u -3 -r1.11 -r1.12
>> --- e_mod_main.c 20 Nov 2007 10:45:58 -0000 1.11
>> +++ e_mod_main.c 20 Nov 2007 11:08:10 -0000 1.12
>> @@ -424,7 +424,7 @@
>> if (act)
>> {
>> act->func.go = _cb_action;
>> - e_action_predef_name_set(_("Calendar"), _("Monthview Popup
>> (Show/Hide)"), "calendar",
>> + e_action_predef_name_set(D_("Calendar"), D_("Monthview Popup
>> (Show/Hide)"), "calendar",
>> "<none>", NULL, 0);
>> }
>> return m;
>> @@ -438,7 +438,7 @@
>> /* remove module-supplied action */
>> if (act)
>> {
>> - e_action_predef_name_del(_("Calendar"), _("Monthview Popup
>> (Show/Hide)"));
>> + e_action_predef_name_del(D_("Calendar"), D_("Monthview Popup
>> (Show/Hide)"));
>> e_action_del("calendar");
>> act = NULL;
>> }
>>
>>
>>
>> -------------------------------------------------------------------------
>> This SF.net email is sponsored by: Microsoft
>> Defy all challenges. Microsoft(R) Visual Studio 2005.
>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>> _______________________________________________
>> enlightenment-cvs mailing list
>> [EMAIL PROTECTED]
>> https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> enlightenment-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel