elementary: fix build of elementary without internationalization.

SVN revision: 65435
This commit is contained in:
Cedric BAIL 2011-11-20 13:58:35 +00:00
parent a0e6f838a2
commit 22fbd58e71
2 changed files with 4 additions and 1 deletions

View File

@ -266,6 +266,7 @@ extern int _elm_log_dom;
extern Eina_List *_elm_win_list;
extern int _elm_win_deferred_free;
#ifdef ENABLE_NLS
/* Our gettext wrapper, used to disable translation of elm if the app
* is not translated. */
static inline const char *
@ -278,7 +279,7 @@ _elm_dgettext(const char *string)
return dgettext(PACKAGE, string);
}
#endif
/* Used by the paste handler */
void _elm_entry_entry_paste(Evas_Object *obj, const char *entry);

View File

@ -2389,7 +2389,9 @@ elm_widget_translate(Evas_Object *obj)
{
const Eina_List *l;
Evas_Object *child;
#ifdef HAVE_GETTEXT
Elm_Translate_String_Data *ts;
#endif
API_ENTRY return;
EINA_LIST_FOREACH(sd->subobjs, l, child) elm_widget_translate(child);