Dear all, this is an elementary gettext patch from Govindaraju.
I attached the patch and pasted Govindaraju's messge below.
Please review this patch.
Thanks.

Daniel Juyung Seo (SeoZ)

=================================================================

Dear Daniel,

Can you please post the small patch to EFL community?
Gettext macro #define _(string) gettext(string)   is defined in 
elm_config.c  to handle multi Lingual string. many other widgets has 
same requirement.
so moving this macro to elm_priv.h.

--------------
Author: Govindaraju SM <[email protected]>
Change Log:   #define _(string) gettext(string)   macro definition moved 
to elm_priv.h. So all the Widgets can utilize this macro for any 
internal i18n string.
-------------

Thanks.

Regards,
Govind
Index: src/lib/elm_config.c
===================================================================
--- src/lib/elm_config.c        (revision 56950)
+++ src/lib/elm_config.c        (working copy)
@@ -9,7 +9,6 @@
 #include <Elementary.h>
 #include "elm_priv.h"
 
-#define _(string) gettext(string)
 
 Elm_Config *_elm_config = NULL;
 char *_elm_profile = NULL;
Index: src/lib/elm_priv.h
===================================================================
--- src/lib/elm_priv.h  (revision 56950)
+++ src/lib/elm_priv.h  (working copy)
@@ -26,6 +26,8 @@
 #define INF(...)      EINA_LOG_DOM_INFO(_elm_log_dom, __VA_ARGS__)
 #define DBG(...)      EINA_LOG_DOM_DBG (_elm_log_dom, __VA_ARGS__)
 
+#define _(string) gettext(string)
+
 typedef struct _Elm_Config    Elm_Config;
 typedef struct _Elm_Module    Elm_Module;
 
------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to