Fix the exception about checking locale dir 74/117874/2
authorHwankyu Jhun <h.jhun@samsung.com>
Wed, 8 Mar 2017 01:55:05 +0000 (10:55 +0900)
committerHwankyu Jhun <h.jhun@samsung.com>
Wed, 8 Mar 2017 02:30:54 +0000 (11:30 +0900)
Even though the locale directory doesn't exist, the appcore
should call the bindtextdomain.

Change-Id: I540ba74d8cc67c65c2347957e14937c86260304a
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
src/base/appcore_base.c

index 305c065..58aef2f 100644 (file)
@@ -589,7 +589,7 @@ static int __get_locale_resource_dir(char *locale_dir, int size)
 
        snprintf(locale_dir, size, "%s" PATH_LOCALE, res_path);
        if (access(locale_dir, R_OK) != 0)
-               return -1;
+               _DBG("%s does not exist", locale_dir);
 
        return 0;
 }