From 24e67da1f53aeabc4aedf4b927ef73482e70988c Mon Sep 17 00:00:00 2001 From: ChunEon Park Date: Wed, 18 Dec 2013 21:55:12 +0900 Subject: [PATCH] elementary/config - commented out the translation availabilty check. It's insane to me app sholud have only "messages" text domain?! --- legacy/elementary/src/lib/elm_config.c | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/legacy/elementary/src/lib/elm_config.c b/legacy/elementary/src/lib/elm_config.c index e77b52f..5fd31f5 100644 --- a/legacy/elementary/src/lib/elm_config.c +++ b/legacy/elementary/src/lib/elm_config.c @@ -2415,15 +2415,21 @@ _translation_init() const char *trans_comment = gettext(""); const char *msg_locale = setlocale(LC_MESSAGES, NULL); + /* How does it decide translation with current domain?? + Application could use their own text domain. + This is insane to me. */ + /* Same concept as what glib does: * We shouldn't translate if there are no translations for the * application in the current locale + domain. (Unless locale is * en_/C where translating only parts of the interface make some * sense). */ - _elm_config->translate = !(strcmp (cur_dom, "messages") && - !*trans_comment && strncmp (msg_locale, "en_", 3) && - strcmp (msg_locale, "C")); + /* + _elm_config->translate = !(strcmp (cur_dom, "messages") && + !*trans_comment && strncmp (msg_locale, "en_", 3) && + strcmp (msg_locale, "C")); + */ /* Get RTL orientation from system */ if (_elm_config->translate) { -- 2.7.4