Elementary gettext: Don't set default textdomain, elm is a lib...
authortasn <tasn@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 27 Apr 2011 07:41:06 +0000 (07:41 +0000)
committertasn <tasn@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 27 Apr 2011 07:41:06 +0000 (07:41 +0000)
git-svn-id: https://svn.enlightenment.org/svn/e/trunk/elementary@58949 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/elm_config.c

index eb787b9..9dbaf3a 100644 (file)
@@ -1540,8 +1540,7 @@ _env_get(void)
 
    /* Get RTL orientation from system */
    setlocale(LC_ALL, "");
-   bindtextdomain("elementary", LOCALE_DIR);
-   textdomain("elementary");
+   bindtextdomain(PACKAGE, LOCALE_DIR);
    _elm_config->is_mirrored = !strcmp(E_("default:LTR"), "default:RTL");
 
    s = getenv("ELM_TOOLTIP_DELAY");