Get us some nice auto translation scheme
authorsachiel <sachiel@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 19 Oct 2011 14:17:14 +0000 (14:17 +0000)
committersachiel <sachiel@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 19 Oct 2011 14:17:14 +0000 (14:17 +0000)
commit4e8ccf6c095a46313e290fbde522abaac8f2878c
treeb1aba62c1ee50ef7c677756aa089b1366ce7b559
parent795288dfea814936dd0d7ac430adc99c11a9676d
Get us some nice auto translation scheme

First things first, I'm not sure I'm setting the right variable on
the setlocale() call, so someone more knowledgeable can look at it and fix it.

How this works, you say? Just like elm_object_text_part_set(), except now it
will pass the string given through dgettext() with the given domain (NULL
means it uses whatever the app set with textdomain()), and when changing
language with elm_language_set(), it will re-set the strings with a new
translation.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@64179 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33
14 files changed:
po/Makevars
src/lib/Elementary.h.in
src/lib/elc_fileselector.c
src/lib/elm_entry.c
src/lib/elm_genlist.c
src/lib/elm_label.c
src/lib/elm_list.c
src/lib/elm_main.c
src/lib/elm_priv.h
src/lib/elm_toolbar.c
src/lib/elm_widget.c
src/lib/elm_widget.h
src/lib/elm_win.c
src/lib/els_tooltip.c