diff options
-rw-r--r-- | gettext.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -163,6 +163,9 @@ void git_setup_gettext(void) if (!podir) podir = system_path(GIT_LOCALE_PATH); + if (!is_directory(podir)) + return; + bindtextdomain("git", podir); setlocale(LC_MESSAGES, ""); setlocale(LC_TIME, ""); |