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)
committerMike McCormack <mj.mccormack@samsung.com>
Tue, 8 Nov 2011 09:46:02 +0000 (18:46 +0900)
commitaeb15382d311890c70309274e8c66e21397b0e1d
treeac128db31a3e46b3e39658413d19ff81000d2d6c
parentc4f2141ccbf9aac1d85f577a3a40651730084bbb
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: https://svn.enlightenment.org/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